Correcting the Dropout-LayerNorm Expectation Gap Improves Protein Structure Models
Not on the map. Why?
Abstract (arXiv)
Although mathbbE[dropout(x)] = x, here we show that mathbbE[LayerNorm(dropout(x))] is not equal to LayerNorm(x). Accordingly, the pattern of a Dropout layer followed by a LayerNorm, which is common to many AlphaFold2-based protein structure predictors, produces a systematic bias at evaluation time that can hamper performance. To address this, we derive a closed-form, first-order correction for this gap, which we call a Dropout-LayerNorm Correction (DLC). DLC empirically matches the performance boost of large Monte Carlo dropout ensembles. We evaluate its effect across nine protein structure models (ESMFold, OpenFold, ABB3, FlashABB, Ibex, NbForge, Genie1, Genie2, Genie3) on both paired and single-chain antibody structures as well as one protein-ligand docking model (QuickBind). The correction is computationally negligible and improves accuracy in all ten models tested (~0.3%-13%), with a modest but consistent improvement in ESMFold and OpenFold and a substantial improvement in antibody-specific models. This work identifies the mathematical consequence of chaining together Dropout and LayerNorm and provides a free, principled adjustment to improve the evaluation performance of many pretrained models. Code to reproduce the experiments is available at https://github.com/oxpig/DLC.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 14 of its 33 references that are in the map. First posted on arXiv 25 Sep 2026.
Builds on
14 of 33 references.
References · 14
- 2017Attention Is All You Needcited by 60,361
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 7,005
- 2016Layer Normalizationcited by 5,669
- 2015Dropout as a Bayesian Approximation: Representing Model Uncertainty in Deep Learningcited by 4,448
- 2019Root Mean Square Layer Normalizationcited by 1,480
- 2021CogView: Mastering Text-to-Image Generation via Transformerscited by 694
- 2023Generating Novel, Designable, and Diverse Protein Structures by Equivariantly Diffusing Oriented Residue Cloudscited by 54
- 2024Improved motif-scaffolding with SE(3) flow matchingcited by 43
- 2018Understanding the Disharmony between Dropout and Batch Normalization by Variance Shiftcited by 37
- 2024Out of Many, One: Designing and Scaffolding Proteins at the Scale of the Structural Universe with Genie 2cited by 35
- 2024ABodyBuilder3: Improved and scalable antibody structure predictionscited by 4
Built on by
Not cited yet.