Mechanisms of AI Protein Folding in ESMFold

Kevin Lu, Jannik Brinkmann, Stefan Huber, Aaron Mueller, Yonatan Belinkov +2 more
2/5/2026
3 citations
cs.LGq-bio.BM

No official code found. Best implementation: kevinlu4588/ProteinFolding (10 stars, Jupyter Notebook, MIT, last commit 2026-02-10).

Abstract

How do protein structure prediction models fold proteins? We investigate this question by tracing how ESMFold folds a beta hairpin, a prevalent structural motif.

Show full abstract

Through counterfactual interventions on model latents, we identify two computational stages in the folding trunk. In the first stage, early blocks initialize pairwise biochemical signals: residue identities and associated biochemical features such as charge flow from sequence representations into pairwise representations. In the second stage, late blocks develop pairwise spatial features: distance and contact information accumulate in the pairwise representation. We demonstrate that the mechanisms underlying structural decisions of ESMFold can be localized, traced through interpretable representations, and manipulated with strong causal effects.

View on arXivView PDF

Code Implementations(1)

MIT

Mechanisms of AI Protein Folding in ESMFold [ICLR 2026 GEM Bio Workshop]

102Jupyter Notebook, PythonFeb 10, 20269 months agoMIT

Similar Papers

Cite this paper

@article{lu2026mechanisms,
  title  = {Mechanisms of AI Protein Folding in ESMFold},
  author = {Kevin Lu and Jannik Brinkmann and Stefan Huber and Aaron Mueller and Yonatan Belinkov and David Bau and Chris Wendler},
  year   = {2026},
  eprint = {2602.06020},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2602.06020v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2602.06020.svg)](https://codeofpaper.com/paper/2602.06020)

Discussion