q-bio.QMOct 26, 2026

Structure, Not Sequence: Tracking and Validating Folding Mechanisms in ESMFold's Trunk with Sparse Autoencoders

Authors: Bohan Liu, Xiaohan Fan, Wenqian Ye, Aidong Zhang

Organizations: University of Virginia Charlottesville VA 22903, USA

Abstract

Structure predictors like ESMFold fold proteins using neural network computation and have transformed structural biology. However, the driving mechanism from amino-acid (AA) sequence to 3D structure is insufficiently understood, and biological meaning remains locked in the dense network. Sparse autoencoders (SAEs) have shown promising results in obtaining interpretable concept features over an overcomplete basis of intermediate protein sequence-model representations. Yet folding models, which predict physical shape from AA sequence semantics, have no such account. We hypothesize that the features carrying the folding computation evolve in the 3D structural regression process. In this paper, we interpret the folding trunk in three steps. First, a pilot analysis on the representation distribution across modules and recycles locates distinct spatial computation in the trunk. Second, the dictionaries expose a division of labor: the single representation carries inherited semantics, and the pair representation computes the pairwise geometry. Third, we interpret the dictionary at scale with a reasoning language model, trace how the concepts compose across blocks by gradient-based attribution, and follow the interpreted code to the model's folding output, verifying where the computation aligns with, or departs from, known biochemistry. Together, the sparse dictionaries we train capture the relational geometry the trunk computes beyond the sequence model, and their concept activations forecast the model's own fold quality, turning the black-box folding trunk into a sparse, interpretable, and scientifically verifiable circuit.

Figures & tables

Appendix figures & tables13 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Two Stages of Folding: Convergent Mechanisms in AI Protein Folding Trunks

    Feb 5, 2026Kevin Lu, Jannik Brinkmann, Stefan Huber +4Protein Structure PredictionAI-Assisted Scientific Research

  2. Interpreting Latent Protein Language Model Features with Geometric Annotations

    Aug 26, 2026Siddharth Setlur, Djordje Mihajlovic, Darrick LeeMechanistic InterpretabilityProtein Language Models

  3. PairSAE: Mechanistic Interpretability from Pair Representations in Protein Co-Folding

    Jun 25, 2026Giosue Migliorini, Aristofanis Rontogiannis, Grigori Guitchounts +3Sparse AutoencodersMechanistic Interpretability