Systematic Outliers in Large Language Models

Yongqi An, Xu Zhao, Tao Yu, Ming Tang, Jinqiao Wang
2/12/2026

No official code found. Best implementation: an-yongqi/systematic-outliers (11 stars, MIT, last commit 2025-02-11).

Abstract

Outliers have been widely observed in Large Language Models (LLMs), significantly impacting model performance and posing challenges for model compression. Understanding the functionality and formation mechanisms of these outliers is critically important. Existing works, however, largely focus on reducing the impact of outliers from an algorithmic perspective, lacking an in-depth investigation into their causes and roles. In this work, we provide a detailed analysis of the formation process, underlying causes, and functions of outliers in LLMs. We define and categorize three types of outliers-activation outliers, weight outliers, and attention outliers-and analyze their distributions across different dimensions, uncovering inherent connections between their occurrences and their ultimate influence on the attention mechanism. Based on these observations, we hypothesize and explore the mechanisms by which these outliers arise and function, demonstrating through theoretical derivations and experiments that they emerge due to the self-attention mechanism's softmax operation. These outliers act as implicit context-aware scaling factors within the attention mechanism. As these outliers stem from systematic influences, we term them systematic outliers. Our study not only enhances the understanding of Transformer-based LLMs but also shows that structurally eliminating outliers can accelerate convergence and improve model compression. The code is avilable at https://github.com/an-yongqi/systematic-outliers.

View on arXivView PDF

Code Implementations(1)

MIT

[ICLR 2025] Systematic Outliers in Large Language Models.

113PythonFeb 10, 20251 years agoMIT
iclr2025interpretabilitylanguage-modelllamallm

Similar Papers

Cite this paper

@article{an2026systematic,
  title  = {Systematic Outliers in Large Language Models},
  author = {Yongqi An and Xu Zhao and Tao Yu and Ming Tang and Jinqiao Wang},
  year   = {2026},
  eprint = {2502.06415},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2502.06415},
  journal = {ICLR 2025 2025}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2502.06415.svg)](https://codeofpaper.com/paper/2502.06415)

Discussion