Topsy-Turvy
A sequence-based protein interaction predictor with D-SCRIPT's architecture, trained with an added network-score loss.
Molecules, proteins and genomics · 56 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
- 631.2K
- Operations
- 56
- Framework
- PyTorch
- Recurrent
- No
- Published
- Bioinformatics (ISMB 2022)
- Cited by
- 89 (as of 28 October 2026)
- Authors
- Rohit Singh, Kapil Devkota, Samuel Sledzieski and others
- Source
- GitHub: samsledje/D-SCRIPT
- License
- MIT
- 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
- m21005
- Graph hash
- 5c2e2c0bb7d7aa8f55ba9cf7df805549f632333b46e35dc668de12c7507d7bc4
- Skeleton hash
- 5f55b52179e37b42dc92a1e0fe6c381aeeb1081dcc7ff928077739698fb322b7
- Architecture hash
- aec5b618b3154d671b438874801687e43899f93ee87b81a1227262d23c7b7161
- Diagram SHA-256
- 98b1015914cc7a0a9b4c352b8201b6892271ca577afb4c64717dd9a66f232de3
- 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
Topsy-Turvy is a sequence-based deep learning model for predicting protein–protein interactions (PPI) that also draws on a global, network-level view of interactions. The network view enters only during training, and the trained model needs only protein sequences to make a prediction.
Architecturally it is D-SCRIPT: protein language model features feed a convolutional neural network, and only the training approach and loss function change. The change is an additional task, predicting GLIDE scores between proteins, written as an extra loss term and trained end-to-end with the rest. GLIDE is a network-based method that combines local and global graph-theoretic techniques. Like D-SCRIPT, the network has a bottleneck layer designed to model the inter-protein contact map. Because the full n × m contact map is an intermediate step, running time and memory grow quadratically with the two protein lengths.
In the paper, Topsy-Turvy was trained on human PPI data and evaluated on other species. The paper reports that training took approximately 79 h for 10 epochs on 421 792 training pairs. For species that do have PPI data, it also presents TT-Hybrid, a weighted sum of Topsy-Turvy and GLIDE predictions. The D-SCRIPT software package lists the human-trained weights, samsl/topsy_turvy_human_v1, as its recommended default model.
Key idea. Topsy-Turvy trains a sequence-based protein interaction predictor with an added loss term for predicting GLIDE network scores, so network information shapes training but is not needed at inference.
- Topsy-Turvy
- topsy_turvy
- TT
- protein-protein interaction prediction
- PPI prediction
- sequence-based PPI prediction
- cross-species PPI
- protein interaction
- contact map
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@article{Singh_2022, title={Topsy-Turvy: integrating a global view into sequence-based PPI prediction}, volume={38}, ISSN={1367-4811}, url={http://dx.doi.org/10.1093/bioinformatics/btac258}, DOI={10.1093/bioinformatics/btac258}, number={Supplement_1}, journal={Bioinformatics}, publisher={Oxford University Press (OUP)}, author={Singh, Rohit and Devkota, Kapil and Sledzieski, Samuel and Berger, Bonnie and Cowen, Lenore}, year={2022}, month=June, pages={i264–i272} }