ProteInfer
Dilated residual CNN that predicts EC numbers and GO terms from raw protein sequences.
Molecules, proteins and genomics · 204 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
- 36.1M
- Operations
- 204
- Framework
- PyTorch
- Recurrent
- No
- Published
- eLife 2023
- Cited by
- 200 (as of 5 October 2026)
- Authors
- Theo Sanderson, Maxwell L. Bileschi, David Belanger, Lucy J. Colwell
- License
- Apache-2.0
- 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
- m14406
- Graph hash
- 0c2c7031a10762d8bbdaf5741ac6b3c74ec4d6cd542cd4c0bb8d04d572c80106
- Skeleton hash
- 9fa664dc18df8647f5867922365b454ace9772affb6f5208f590855feeb865ea
- Architecture hash
- 61f33a67d7c078dc4bef5cbcbb2ead06086b528d7345df477f52b00febbe3215
- Diagram SHA-256
- 99c7338a3333fb098a8146de11d1f60b887cd514a975245603c145ccf2f369f1
- 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
ProteInfer is a deep dilated convolutional network that learns the mapping between full-length protein sequences and their functional annotations. The problem it addresses is scale: every day, more than a hundred thousand protein sequences are added to global sequence databases. Manual curation cannot keep up, so only 0.03% of publicly available protein sequences are manually annotated. The models take amino acid sequences as input and are trained on the well-curated portion of the protein universe annotated by Swiss-Prot. The labels are Enzyme Commission (EC) numbers and Gene Ontology (GO) terms, though the training framework extends to other label sets.
A raw amino acid sequence is first represented numerically as a one-hot matrix and then passed through a series of convolutional layers. The layers are residual, so each layer's output is added to its input, and dilated, so successive layers examine larger sub-sequences of the input. Average pooling then collapses the per-position embeddings into one sequence embedding, which lets the model accommodate sequences of arbitrary length. A fully-connected layer maps that embedding to logits for each potential label, and an element-wise sigmoid layer outputs per-label probabilities. The best EC model contains 5 residual blocks with 1100 filters each. Its penultimate layer embeds each protein sequence into a 1100-dimensional vector.
On the random split of Swiss-Prot, the EC model correctly predicts 96.7% of true labels with a false positive rate of 1.4% at its chosen confidence threshold. On the harder UniRef50 clustered split the score of a single network fell to 0.914, below BLAST at 0.950, while an ensemble of both reached 0.979. Class activation mapping showed that separate regions of a sequence cause the prediction of each enzymatic activity, and those regions match the known functions of those regions. The official code is TensorFlow 1.X, and ProteInferTorch is an unofficial PyTorch version of ProteInfer. That port covers four ProteInfer models, one for each task and data split combination, with weights hosted on Hugging Face. With the converted weights, the random-split EC model reaches a micro F1 of 0.979 against 0.977 for the original.
Key idea. ProteInfer shows that neural networks trained and evaluated on high-quality Swiss-Prot data accurately predict functional properties of proteins using only their raw, un-aligned amino acid sequences. The same network places proteins into an embedding space that captures additional properties beyond those on which the models were directly trained.
- ProteInfer
- ProteInferTorch
- protein function
- amino acid sequence
- EC number
- GO term
- Swiss-Prot
- UniRef50
- dilated convolution
- BLAST
- InterProScan
- embedding
AI-written summary, checked automatically against its sources; not reviewed by a person. Corrections welcome.
Cite the paper
@article{Sanderson_2023, title={ProteInfer, deep neural networks for protein functional inference}, volume={12}, ISSN={2050-084X}, url={http://dx.doi.org/10.7554/eLife.80942}, DOI={10.7554/elife.80942}, journal={eLife}, publisher={eLife Sciences Publications, Ltd}, author={Sanderson, Theo and Bileschi, Maxwell L and Belanger, David and Colwell, Lucy J}, year={2023}, month=Feb }