One Mistake, Three Layers: Persistence Rules Under Depth Correlation

Maryam Rahimimovassagh, Michael Brown, Sanjeda Sara Jennifer, Niloofar YousefiarXiv 2026 · arXiv

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:

  1. 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.
  2. 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.
  3. 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).
  4. 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).
Figure 2: Performance curves showing that the FN regime (solid orange) is consistently the hardest to decode across all feature sets.

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

Abstract

Probing frozen representations layer by layer is now standard practice, but reporting when a signal first becomes decodable requires a rule for reading a depth curve, and the obvious rule is wrong. On synthetic curves with known ground truth, requiring a probe score to exceed a null-calibrated threshold for three consecutive stages reports an onset nineteen stages early under transformer-like depth correlation, with every resample returning an onset. The failure follows from correlation between neighboring layers, a hazard known in neuroimaging but not, to our knowledge, checked for depth curves. We give an estimator whose error rate is calibrated rather than assumed. Null trajectories are built by permuting labels within each evaluation unit and holding each permutation fixed across depth, preserving the correlation structure the rule must survive; thresholds are per-layer order statistics; and the persistence requirement is calibrated rather than chosen. Applied to pocket information in a frozen co-folding trunk, stratifying 1,820 post-cutoff targets by protein-family and pocket familiarity, the five-stage rule fires on 4 to 7 per cent of null trajectories against a nominal 5 per cent and the three-stage rule on 12 to 17: the synthetic failure reproduces on real data. Pocket membership is decodable above threshold at all 48 blocks in all four regimes, so the onset cannot discriminate them; the pre-declared accumulation depth does, and is latest for familiar families with structurally novel pockets in every feature set. That regime is also the weakest, by a margin surviving controls for length, pocket measure and alignment depth. Separately, a widely used public co-folding checkpoint loads against its own code with 128 trunk parameters missing; those would be randomly initialized, and every representation extracted would be partly noise while appearing normal.
BibTeX
@misc{rahimimovassagh2026one,
  author = {Maryam Rahimimovassagh and Michael Brown and Sanjeda Sara Jennifer and Niloofar Yousefi},
  title = {{One Mistake, Three Layers: Persistence Rules Under Depth Correlation}},
  year = {2026},
  eprint = {2611.03968},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.03968},
}
Figure