# Attention Drift: What Auto-Regressive Speculative Decoding Models Learn

*Doğaç Eldenk, Payal Mohapatra, Yigitcan Comlek, Kaan Oktay, Hongyang Zhang, Stephen Xia*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/152952) · [Open on the map](../papers.html#p152952)

Category: [Efficient LLM Inference & Training](../pcat/14.md) › [Speculative Decoding Optimization](../pgroup/126.md) · Type: new method · Keywords: speculative decoding, attention drift, post-norm, RMSNorm, LLM inference, drafter models

Areas: [Long Context](../areas/longcontext.md) › Long-context mechanisms › Long-context attention mechanisms

## Summary
The paper identifies attention drift in speculative decoding drafters and proposes post-norm and per-hidden-state RMSNorm to limit hidden state growth, improving acceptance length across template perturbation, long-context, and standard benchmarks.

## Explained to a 5-year-old
Computers use a small helper to guess what words come next while talking. This helper sometimes gets confused because it starts looking at its own guesses instead of the original question. The authors noticed this problem and called it "attention drift." They fixed it by changing how the helper normalizes its guesses, which helps it stay focused. Because of this fix, the helper works better on long talks and when the words are changed.

## Explained to a 5-year-old, longer
When a big computer talks, it can be slow, so it uses a tiny model to guess the next words quickly. This tiny model is called a "drafter" and it writes a draft of what it thinks will come next. Sometimes the drafter gets confused because it starts paying attention to the words it just wrote instead of the original prompt. This shift of attention makes the drafter less accurate, especially when the input is long or slightly changed. The researchers discovered this issue and named it "attention drift." They found that the drafter's internal numbers grow larger as it writes more tokens, which causes the drift. To stop this growth, they added a normalization step after the drafter's hidden states. They also added a per-state normalization that keeps each piece of information balanced. These simple changes keep the drafter focused on the original context. As a result, the drafter accepts longer sequences of correct tokens and works better on many tasks.

## For a technical reader
Speculative decoding uses a lightweight drafter to predict tokens, but its performance drops when inputs are perturbed or long. The authors show that the drafter’s attention drifts toward its own generated tokens because its hidden states grow unchecked. They mitigate this by adding post-norm normalization to the drafter’s hidden states and a per-hidden-state RMSNorm after the target’s hidden states. These changes improve acceptance length across multiple benchmarks and enable shorter training-test depth generalization.

## Problem
Speculative decoding drafters degrade under template perturbation and long contexts because attention shifts from the prompt to their own generated tokens, reducing acceptance rates.

## Method
The authors analyze hidden state growth in drafter chains and introduce post-norm normalization on drafter hidden states and per-hidden-state RMSNorm after target hidden states to curb this growth and stabilize attention.

## Results
The approach improves acceptance length by up to 2× under template perturbation, 1.18× on long-context tasks, and 1.10× on seven standard benchmarks.

## Contributions
The paper discovers attention drift in drafter models, explains its cause via hidden state growth, and introduces post-norm and per-hidden-state RMSNorm to mitigate it, yielding consistent gains across tasks.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/152952)
