---
title: "SmolLM3 Retrieves Perfectly at 64x Its Training Length by Moving Dropout"
subtitle: "A new paper argues the right dropout placement, not just positional encoding, lets transformers extrapolate up to 64x past their training context length."
url: "https://alphasignal.ai/news/smollm3-retrieves-perfectly-at-64x-its-training-length-by-moving-dropout"
author: "AlphaSignal Newsroom"
author_url: "https://alphasignal.ai/editorial-team"
company: "AlphaSignal"
company_url: "https://alphasignal.ai/company/alphasignal"
published: "2026-10-03T00:00:00.000Z"
updated: "2026-10-06T18:05:45.015Z"
type: "Paper"
topics:
  - "Llms"
  - "Training Infra"
subtopics:
  - "Long Context"
  - "Scaling Laws"
  - "Pretraining"
upvotes: 152
source_url: "https://arxiv.org/abs/2610.04518"
comments: 0
truncated: true
---

# SmolLM3 Retrieves Perfectly at 64x Its Training Length by Moving Dropout

> A new paper argues the right dropout placement, not just positional encoding, lets transformers extrapolate up to 64x past their training context length.

Length generalization measures whether a model trained on short sequences can handle much longer ones. Common remedies alter positional encoding or attention through NoPE, ALiBi, RoPE scaling, YaRN, NTK scaling, or sliding windows. Researchers at Instituto Superior Técnico and the University of Edinburgh now report that regularization choices can determine whether those architectures extrapolate successfully.

[The arXiv paper](https://arxiv.org/abs/2610.04518) identifies two effects across its experiments. Weight decay weakened extrapolation, while dropout improved it when moved to a different point inside each block. A modified SmolLM3 continued pretraining with the revised recipe achieved perfect Needle-in-a-Haystack retrieval at tested lengths through 64 times its pretraining context.

## Why the mask’s location matters

In a typical pre-norm transformer block, normalized hidden states pass through attention or an MLP, dropout follows the output projection, and the result joins the residual stream. A simplified form is `x_next = x + Dropout(F(Norm(x)))`. The next block receives that altered residual stream through LayerNorm, RMSNorm, or a related normalization layer.

During training, inverted dropout keeps each activation with probability q and scales survivors by `1/q`. For a fixed activation x, the masked value `z = mx/q` preserves the expectation, `E[z] = x`, while increasing the second moment to `E[z²] = x²/q`. At inference, dropout disappears and the unmasked activations pass through unchanged.

The relevant train-test mismatch sits in the residual vectors presented to normalization. LayerNorm and RMSNorm compute statistics anew for each token, but stochastic masking still changes the vector’s variance, direction, and mixture with the residual branch. The paper links the accumulated mismatch across layers to degraded performance beyond the training length.

Pre-Linear dropout reverses the local order around a projection, replacing

_Preview only. Full text requires an AlphaSignal Pro account._

## Sources

- [Length Generalization Needs Proper Regularization](https://arxiv.org/abs/2610.04518)
- [Length Generalization Needs Proper Regularization (HTML)](https://arxiv.org/html/2610.04518v1)
- [Transformers Can Achieve Length Generalization But Not Robustly](https://arxiv.org/pdf/2402.09371)
