potentialpaper

Length Generalization Needs Proper Regularization

Keep the title, authors and abstract in paper.json

potentialpaper · 2026-11-23 20:03 UTC · 08cc74db598c ·

.potentialpaper/metadata.json modified

+++ b/.potentialpaper/metadata.json
@@ -1,19 +1,5 @@
{
- "layout": 5,
- "identifiers": [
- {
- "scheme": "openreview",
- "value": "n3fdO8qFzG"
- }
- ],
- "title": "Length Generalization Needs Proper Regularization",
- "authors": [],
- "abstract": "Length generalization is the ability of sequential models to perform well on context lengths unseen during training.\nIn this work, we show that the challenge of achieving length generalization is related not only to architectural choices such as positional encoding and the attention mechanism but also to the training procedure itself.\nWe study how regularization affects length generalization and find that weight decay can hinder extrapolation.\nIn contrast, dropout improves extrapolation when its placement within the architecture is reconsidered. \nIn that regard, we show that the standard placement of dropout before layer normalization introduces a systematic distributional mismatch, and that applying dropout just before the linear projection resolves this issue.\nFor example, a modified SmolLM3 with sliding window attention, continually pre-trained with dropout, can extrapolate perfectly to 64$\\times$ on Needle-in-a-Haystack and far beyond the pre-training context size on RULER and HELMET. Mamba2 also benefits from dropout, suggesting an architecture-agnostic nature of the problem. \nWe further propose Variance-Preserving Affine Dropout (VPAD), a new dropout strategy that substantially reduces the resulting pre-activation variance mismatch, leading to further extrapolation improvements in transformers.",
- "year": 2027,
- "venue": "ICLR 2027 (under review)",
- "source": "openreview",
- "license": {
- "metadata": "CC0-1.0",
- "abstract": "CC0-1.0"
- }
+ "layout": 6,
+ "kind": "paper",
+ "key": "df4c0cbf-cc3c-4390-9e22-73cd4da227fc"
}

paper.json added

+++ b/paper.json
@@ -0,0 +1,9 @@
+{
+ "title": "Length Generalization Needs Proper Regularization",
+ "authors": [],
+ "abstract": "Length generalization is the ability of sequential models to perform well on context lengths unseen during training.\nIn this work, we show that the challenge of achieving length generalization is related not only to architectural choices such as positional encoding and the attention mechanism but also to the training procedure itself.\nWe study how regularization affects length generalization and find that weight decay can hinder extrapolation.\nIn contrast, dropout improves extrapolation when its placement within the architecture is reconsidered. \nIn that regard, we show that the standard placement of dropout before layer normalization introduces a systematic distributional mismatch, and that applying dropout just before the linear projection resolves this issue.\nFor example, a modified SmolLM3 with sliding window attention, continually pre-trained with dropout, can extrapolate perfectly to 64$\\times$ on Needle-in-a-Haystack and far beyond the pre-training context size on RULER and HELMET. Mamba2 also benefits from dropout, suggesting an architecture-agnostic nature of the problem. \nWe further propose Variance-Preserving Affine Dropout (VPAD), a new dropout strategy that substantially reduces the resulting pre-activation variance mismatch, leading to further extrapolation improvements in transformers.",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}