Papers › Tranception: protein fitness prediction with autoregressive transformers and...

Tranception: protein fitness prediction with autoregressive transformers and inference-time retrieval

27 May 2022arXiv:2205.13760archive 2025-07-28

Pascal Notin, Mafalda Dias, Jonathan Frazer, Javier Marchena-Hurtado, Aidan Gomez, Debora S. Marks, Yarin Gal

The ability to accurately model the fitness landscape of protein sequences is critical to a wide range of applications, from quantifying the effects of human variants on disease likelihood, to predicting immune-escape mutations in viruses and designing novel biotherapeutic proteins. Deep generative models of protein sequences trained on multiple sequence alignments have been the most successful approaches so far to address these tasks. The performance of these methods is however contingent on the availability of sufficiently deep and diverse alignments for reliable training. Their potential scope is thus limited by the fact many protein families are hard, if not impossible, to align. Large language models trained on massive quantities of non-aligned protein sequences from diverse families address these problems and show potential to eventually bridge the performance gap. We introduce Tranception, a novel transformer architecture leveraging autoregressive predictions and retrieval of homologous sequences at inference to achieve state-of-the-art fitness prediction performance. Given its markedly higher performance on multiple mutants, robustness to shallow alignments and ability to score indels, our approach offers significant gain of scope over existing approaches. To enable more rigorous model testing across a broader range of protein families, we develop ProteinGym -- an extensive set of multiplexed assays of variant effects, substantially increasing both the number and diversity of assays compared to existing benchmarks.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2205.13760")

Code

Syntology Ran 6 of 11 code samples harvested from 3 repositories linked to this paper; 5 have no recorded run. Of those that ran: 1 ran · honoured contract; 2 ran · violated contract; 3 ran · our draft was wrong.

By repository: official repository: 4 samples from 1 repository, 2 ran; community (archive-listed): 4 samples from 1 repository, 1 ran; community: 1 sample from 1 repository, 1 ran; 2 identical to code first harvested elsewhere. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

oatml-markslab/tranception officialmentioned in papermentioned on GitHubpytorchMIT report
stephen2526/structure-informed_plm mentioned on GitHubpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

11 samples harvested; 6 ran; 1 honoured the contract we drafted; 5 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · honoured contract
2ran · violated contract
3ran · our draft was wrong
5unverified

Licence: 2 of the 11 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 3 repositories linked to this paper, official or community; each sample names its own and says which. Some samples are identical code Syntology first harvested from another repository; for those, this paper's copy is not located and its licence is not recorded. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

compute_bootstrap_standard_error OATML-Markslab/Tranception/performance_analysis_proteingym.py official repository ran · our draft was wrong MIT (permissive) · 33f068d49d985a33 · report
get_slopes OATML-Markslab/Tranception/tranception/model_pytorch.py official repository ran · honoured contract fingerprinted MIT (permissive) · 4305f4fdd8e54bc1 · report
nanmean OATML-Markslab/Tranception/tranception/model_pytorch.py official repository unverified MIT (permissive) · 5574012ba4af04ff · report
standardization OATML-Markslab/Tranception/performance_analysis_proteingym.py official repository unverified MIT (permissive) · 3b99aecc12883bf5 · report
url_to_filename stephen2526/structure-informed_plm/model_scripts/models/file_utils.py community (archive-listed) ran · our draft was wrong fingerprinted MIT (permissive) · 5eff22fa0a651276 · report
get_etag stephen2526/structure-informed_plm/model_scripts/models/file_utils.py community (archive-listed) unverified MIT (permissive) · a646bd4aa40ada48 · report
kth_diag_indices stephen2526/structure-informed_plm/model_scripts/datasets.py community (archive-listed) unverified MIT (permissive) · 178b88e1633a64dd · report
pad_sequences stephen2526/structure-informed_plm/model_scripts/datasets.py community (archive-listed) unverified MIT (permissive) · f46196e824839598 · report
FeedForward lucidrains/tranception-pytorch/tranception_pytorch/tranception_pytorch.py community ran · our draft was wrong MIT (permissive) · ae9385b0bfe945a2 · report
default identical code first harvested elsewhere ran · violated contract fingerprinted licence of this copy not recorded · 60fff7c3c400d7ff · report
exists identical code first harvested elsewhere ran · violated contract licence of this copy not recorded · aa5486a3650902d8 · report

Tasks

Retrieval

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections