Explorerโ€บPharmaceutical Researchโ€บBiochemistry
Research PaperResearchia:202609.29085

Correcting the Dropout-LayerNorm Expectation Gap Improves Protein Structure Models

Isaac Ellmen

Abstract

Although $\mathbb{E}[\mathrm{dropout}(x)] = x$, here we show that $\mathbb{E}[\mathrm{LayerNorm}(\mathrm{dropout}(x))]$ is not equal to $\mathrm{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 ...

Submitted: September 29, 2026Subjects: Biochemistry; Pharmaceutical Research

Description / Details

Although E[dropout(x)]=x\mathbb{E}[\mathrm{dropout}(x)] = x, here we show that E[LayerNorm(dropout(x))]\mathbb{E}[\mathrm{LayerNorm}(\mathrm{dropout}(x))] is not equal to LayerNorm(x)\mathrm{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%\sim0.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.


Source: arXiv:2609.32062v1 - http://arxiv.org/abs/2609.32062v1 PDF: https://arxiv.org/pdf/2609.32062v1 Original Link: http://arxiv.org/abs/2609.32062v1

Please sign in to join the discussion.

No comments yet. Be the first to share your thoughts!

Access Paper
View Source PDF
Submission Info
Date:
Sep 29, 2026
Topic:
Pharmaceutical Research
Area:
Biochemistry
Comments:
0
Bookmark
Correcting the Dropout-LayerNorm Expectation Gap Improves Protein Structure Models | Researchia