# Attention Sinks and Outliers in Attention Residuals

*Haozheng Luo, Haoran Dai, Shaoyang Zhang, Xi Chen, Eric Hanchen Jiang, Yijiang Li, Ching-Yuen Huang, Chenghao Qiu, Chenwei Xu, Zhenyu Pan, Haotian Zhang, Binghui Wang, Yan Chen*

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

Category: [Efficient LLM Inference & Training](../pcat/14.md) › [Low-Rank LLM Quantization Compression](../pgroup/499.md) · Type: new method · Keywords: attention sinks, quantization robustness, AttnResidual, null signaling, inter-layer normalization

Areas: [Model Architectures & Sequence Modeling](../areas/architectures.md) › Language Model Architectures › Attention Replacement and Stabilization

## Summary
OASIS is an outlier- and sink-aware technique that reduces attention sinks and improves quantization robustness in AttnResidual architectures.

## Explained to a 5-year-old
In some computer programs that read words, some words become super popular and block others. This makes the program less stable and it breaks more when we make the numbers smaller to save memory. The researchers noticed this problem and studied why it happens in a special kind of design. They came up with a new trick that helps the popular words share the attention more evenly, so the program works better. This helps the program understand language and solve math problems more reliably.

## Explained to a 5-year-old, longer
Computers that read text, like those that power chatbots, look at each word and decide how much to focus on it. Sometimes one word becomes a "sink" and gets all the focus, pushing other words out of the way. When a word hogs all the attention, the computer can become unstable and make mistakes. Making the computer's numbers smaller to save memory can make this problem even worse. The researchers studied a new kind of design called AttnResidual that tries to give more flexibility to the attention. However, they found that this design also made the sink problem stronger. They also noticed that some unexpected values, called outliers, could appear and cause trouble. To fix these issues, they created a method that adds a special empty space for attention and connects it across layers. This empty space helps spread the focus away from the dominant sink and reduces the outliers. By doing this, the computer can keep a more balanced view of all the words. The result is that the program becomes more stable and works better even when its numbers are reduced. This improvement helps the program understand language and solve math problems more reliably.

## For a technical reader
The paper examines a flaw in a type of attention mechanism used in large language models where a few tokens dominate the attention distribution, causing instability. This dominance becomes more severe when the model is quantized for deployment, leading to higher errors and reduced robustness. The authors analyze why a dual-normalization design in AttnResidual architectures amplifies this problem and provide a theoretical insight linking normalization to sink formation. They propose adding a Softmax-based null space and an inter-layer null signal that redistributes attention away from the dominant tokens and mitigates outliers. Experiments on multiple datasets show consistent gains in metrics such as infinity norm, kurtosis, perplexity, and GSM8K Pass@1 after quantization.

## Problem
AttnResidual architectures, while improving inter-layer routing flexibility, suffer from attention sinks and activation outliers that degrade inference stability and quantization robustness. This leads to performance drops and brittleness in quantized deployment.

## Method
The approach introduces a Softmax_1-based null space and couples token-level null evidence to depth routing via an inter-layer null signal, reducing sink-dominated routing and enhancing structural robustness. It leverages dual-normalization design insights to mitigate sink formation and quantization brittleness.

## Results
The approach achieves an average 9.26% reduction in maximum infinity norm and 2.60% reduction in average kurtosis, lowers perplexity by 75.85% under W8A8 quantization, and improves GSM8K Pass@1 by 12.42% under W4A4.

## Contributions
It provides a theoretical analysis showing that dual-normalization intensifies sink formation and quantization brittleness, and introduces a null-signal-based mechanism to mitigate these issues. The method yields consistent improvements across multiple datasets and quantization settings.

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/148314)
