DeepTGIN
A hybrid of Transformer sequence encoders and a graph isomorphism network for protein-ligand binding affinity.
Molecules, proteins and genomics · 405 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Parameters
- 1.3M
- Operations
- 405
- Framework
- PyTorch
- Recurrent
- No
- Published
- 2024, Journal of Cheminformatics
- Cited by
- 27 (as of 28 October 2026)
- Authors
- Guishen Wang, Hangchen Zhang, Mengting Shao and others
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m16017
- Graph hash
- 9c58ae198515bee6b420823b8f06ffed29a5bcbd7d4837d7646bf48f4f368242
- Skeleton hash
- 4b7aff8ad2a8ee85fcdcf476ea4d9b99c3fc84ac82599092c4dde05002a39cb8
- Architecture hash
- f321e7d6a10f52e42212ea024e3e6dab8707697c1ae7186545564a2914120674
- Diagram SHA-256
- 13378075482cd584b5cce7386b5b5de663ced14c6006a6123af514fbb9e05621
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
DeepTGIN predicts how strongly a ligand binds to a protein, a quantity that matters in drug discovery. It is a multimodal model with three inputs: the protein residue sequence, the pocket residue sequence and the ligand molecular graph. The authors' argument is that sequence-based models ignore structural features while graph-based models depend heavily on how the graph is constructed, and that a hybrid can use the strengths of both.
Two identical Transformer encoders, each of four layers, read the protein and its binding pocket as sequences of residues. Sequences are truncated or zero-padded to 1000 residues for the protein and 63 for the pocket. The ligand becomes a molecular graph in which each atom is a node with a 108-dimensional one-hot feature vector covering ten atom properties. Four graph isomorphism network (GIN) layers and a pooling layer encode this graph, and, unlike the original GIN, each layer includes batch normalization. The outputs of the three encoders are concatenated, and an MLP produces the predicted affinity.
Training treats the problem as regression with an MSE loss. On the PDBbind 2016 core set, the paper reports that DeepTGIN outperformed the eight models it was compared with on all five of its metrics: R, RMSE, MAE, SD and CI. In the paper's ablation, removing the pocket input and its Transformer encoder made all five metrics worse.
Key idea. DeepTGIN combines two Transformer encoders for the protein and pocket sequences with a graph isomorphism network for the ligand graph to predict protein-ligand binding affinity.
- DeepTGIN
- protein-ligand binding affinity prediction
- drug-target affinity
- binding affinity regression
- transformer and GIN hybrid
- graph isomorphism network
- protein pocket sequence
- PDBbind
- drug discovery model
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@article{Wang_2024, title={DeepTGIN: a novel hybrid multimodal approach using transformers and graph isomorphism networks for protein-ligand binding affinity prediction}, volume={16}, ISSN={1758-2946}, url={http://dx.doi.org/10.1186/s13321-024-00938-6}, DOI={10.1186/s13321-024-00938-6}, number={1}, journal={Journal of Cheminformatics}, publisher={Springer Science and Business Media LLC}, author={Wang, Guishen and Zhang, Hangchen and Shao, Mengting and Feng, Yuncong and Cao, Chen and Hu, Xiaowen}, year={2024}, month=Dec }