Numerical Instability and Chaos: Quantifying the Unpredictability of Large Language Models

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Islam, Chashi Mahiul, Villarreal, Alan, Nishino, Mao, Salman, Shaeke, Liu, Xiuwen
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866918447075557376
author Islam, Chashi Mahiul
Villarreal, Alan
Nishino, Mao
Salman, Shaeke
Liu, Xiuwen
author_facet Islam, Chashi Mahiul
Villarreal, Alan
Nishino, Mao
Salman, Shaeke
Liu, Xiuwen
contents As Large Language Models (LLMs) are increasingly integrated into agentic workflows, their unpredictability stemming from numerical instability has emerged as a critical reliability issue. While recent studies have demonstrated the significant downstream effects of these instabilities, the root causes and underlying mechanisms remain poorly understood. In this paper, we present a rigorous analysis of how unpredictability is rooted in the finite numerical precision of floating-point representations, tracking how rounding errors propagate, amplify, or dissipate through Transformer computation layers. Specifically, we identify a chaotic "avalanche effect" in the early layers, where minor perturbations trigger binary outcomes: either rapid amplification or complete attenuation. Beyond specific error instances, we demonstrate that LLMs exhibit universal, scale-dependent chaotic behaviors characterized by three distinct regimes: 1) a stable regime, where perturbations fall below an input-dependent threshold and vanish, resulting in constant outputs; 2) a chaotic regime, where rounding errors dominate and drive output divergence; and 3) a signal-dominated regime, where true input variations override numerical noise. We validate these findings extensively across multiple datasets and model architectures.
format Preprint
id arxiv_https___arxiv_org_abs_2604_13206
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Numerical Instability and Chaos: Quantifying the Unpredictability of Large Language Models
Islam, Chashi Mahiul
Villarreal, Alan
Nishino, Mao
Salman, Shaeke
Liu, Xiuwen
Artificial Intelligence
Machine Learning
Numerical Analysis
As Large Language Models (LLMs) are increasingly integrated into agentic workflows, their unpredictability stemming from numerical instability has emerged as a critical reliability issue. While recent studies have demonstrated the significant downstream effects of these instabilities, the root causes and underlying mechanisms remain poorly understood. In this paper, we present a rigorous analysis of how unpredictability is rooted in the finite numerical precision of floating-point representations, tracking how rounding errors propagate, amplify, or dissipate through Transformer computation layers. Specifically, we identify a chaotic "avalanche effect" in the early layers, where minor perturbations trigger binary outcomes: either rapid amplification or complete attenuation. Beyond specific error instances, we demonstrate that LLMs exhibit universal, scale-dependent chaotic behaviors characterized by three distinct regimes: 1) a stable regime, where perturbations fall below an input-dependent threshold and vanish, resulting in constant outputs; 2) a chaotic regime, where rounding errors dominate and drive output divergence; and 3) a signal-dominated regime, where true input variations override numerical noise. We validate these findings extensively across multiple datasets and model architectures.
title Numerical Instability and Chaos: Quantifying the Unpredictability of Large Language Models
topic Artificial Intelligence
Machine Learning
Numerical Analysis
url https://arxiv.org/abs/2604.13206