This paper, recently published by researchers at the University of Central Florida, tackles a subtle but pervasive statistical trap in the way we interpret deep learning models. When we "probe" a model—training small classifiers on its internal layers to see what it "knows"—we often want to know exactly when (at what depth) a specific piece of information emerges.
The authors demonstrate that the standard way of answering this question is fundamentally flawed due to the way Transformer layers are built, and they provide a new, calibrated framework for doing it right.
TL;DR
Probing transformer layers for signal "onset" is prone to massive errors because adjacent layers are highly correlated, leading to false positives. The authors propose a null-calibrated persistence rule and apply it to protein folding models, discovering that "familiar" protein families can actually make it harder for a model to identify novel binding sites.
What Problem Does This Paper Address?
In "layer-by-layer probing," researchers freeze a pre-trained model and train simple "probes" (like logistic regression) on the representations at each layer. A common goal is to find the onset: the first layer where a signal (e.g., "is this residue part of a binding pocket?") becomes decodable.
The "obvious" rule is to look for the first layer where the probe score exceeds a threshold and stays above it for a few consecutive layers (persistence). However, the authors point out a major blind spot: Depth Correlation. Because Transformers use residual connections, layer $N+1$ is just a small update to layer $N$. Their representations are highly correlated.
On synthetic data with a known ground truth, the authors show that a standard "3-layer persistence" rule reports a signal emergence 19 stages too early. This is a "silent failure"—the results look confident, but they are mathematically wrong.
Methods
The authors introduce a more robust, calibrated approach:
- Synthetic Calibration: They first used synthetic "proteins" with known signal onsets to test different rules. They found that while a 3-layer rule fails under high correlation ($\rho=0.9$), a 5-layer persistence rule successfully filters out the noise.
- Null-Calibrated Onset Rule: To set a threshold, they built "null trajectories." They permuted labels within each protein (destroying the signal) but held that permutation fixed across all depths. This preserves the correlation structure of the model, ensuring the threshold is high enough to survive chance runs of correlated noise.
- Two-Axis Familiarity Design: They stratified protein targets into four regimes based on whether the Protein Family was familiar/novel and whether the Binding Pocket geometry was familiar/novel (FF, FN, NF, NN).
- Accumulation Depth ($\ell_{90}$): Since they found that pocket information is often decodable from the very first block, the "onset" (layer 0) couldn't distinguish between regimes. They introduced $\ell_{90}$—the layer at which 90% of the total decodability gain is achieved—as a more sensitive metric.
Datasets
- PLINDER: The authors used the 2026-09 release of this protein-ligand interaction dataset, which provides pre-computed similarity annotations.
- Boltz-1: They probed the "trunk" of this open-source co-folding model (48 Pairformer blocks).
- Synthetic Benchmarks: Custom-generated sequences used to validate the statistical properties of the onset rule.
Key Insights and Ideas
- The "Hard" Cell (FN): Counterintuitively, the hardest pockets to decode are structurally novel pockets on familiar protein families (the FN regime). You might expect a totally novel protein (NN) to be harder, but the model performs significantly worse on FN.
- Early Assembly: Most of the "work" in identifying a pocket happens in the first third of the model. By layer 20 (out of 48), the AUPRC curves largely flatten out.
- The Boltz-2 Warning: In a surprising side-note, the authors report that the widely used Boltz-2 public checkpoint is missing 128 parameters per block compared to its code. This causes the model to run with random noise in its LayerNorm modules—a failure that is "silent" because the model still produces output, but one that would invalidate any depth-resolved analysis.
Key Results
- Statistical Validation: The naive 3-layer rule had a false-positive rate of 12-17% on null data. The authors' calibrated 5-layer rule brought this down to 4-7%, matching the nominal 5% significance level.
- Performance Gap: In the FN regime (familiar family, novel pocket), the median AUPRC was only 0.230, compared to 0.601 for the NF regime (novel family, familiar pocket).
- Signal Accumulation: The FN regime was the slowest to "mature," reaching its $\ell_{90}$ at layer 22-27, whereas other regimes reached it much earlier (e.g., layer 14 for NF).
Limitations and Future Work
- Model Specificity: The findings are based on Boltz-1. It remains to be seen if the "FN Paradox" holds across other architectures like AlphaFold 3.
- Linearity: The study uses linear probes. While this measures "accessibility," it doesn't prove the information isn't present in a non-linear form that a more complex "head" could extract.
- Origin of the Deficit: The authors narrowed the FN deficit down to the first block of the model but couldn't distinguish if it stems from the input embeddings, the MSA (Multiple Sequence Alignment) processing, or the pre-training data distribution.
For more details, you can find the full paper and code at https://github.com/maryam-rahimi/Beyond_Pocket.
Summary updated