paper-with-me

Papers

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

2026-04-14 · Chashi Mahiul Islam, Alan Villarreal, Mao Nishino, Shaeke Salman, Xiuwen Liu arxiv

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.

📄 PDF Abstract BibTeX arXiv:2604.13206

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Chaos and unpredictability in evolution of cooperation in continuous time

2017-12-16

Cooperators benefit others with paying costs. Evolution of cooperation crucially depends on the cost-benefit ratio of cooperation, denoted as $c$. In this work, we investigate the infinitely repeated prisoner's dilemma f…

Modeling Chaotic Pedestrian Behavior Using Chaos Indicators and Supervised Learning

2025-11-28 · Md. Muhtashim Shahrier, Nazmul Haque, Md Asif Raihan, Md. Hadiuzzaman arxiv

As cities around the world aim to improve walkability and safety, understanding the irregular and unpredictable nature of pedestrian behavior has become increasingly important. This study introduces a data-driven framewo…

Embracing the chaos: analysis and diagnosis of numerical instability in variational flows

2023-07-12 · NeurIPS 2023 11

In this paper, we investigate the impact of numerical instability on the reliability of sampling, density evaluation, and evidence lower bound (ELBO) estimation in variational flows. We first empirically demonstrate that…

Diagnostic

Sparse chaos in cortical circuits

2024-12-30 · Rainer Engelken, Michael Monteforte, Fred Wolf

Nerve impulses, the currency of information flow in the brain, are generated by an instability of the neuronal membrane potential dynamics. Neuronal circuits exhibit collective chaos that appears essential for learning, …

PIPPS: Flexible Model-Based Policy Search Robust to the Curse of Chaos

2019-02-04 · ICML 2018 7 · Paavo Parmas, Carl Edward Rasmussen, Jan Peters, Kenji Doya

Previously, the exploding gradient problem has been explained to be central in deep learning and model-based reinforcement learning, because it causes numerical issues and instability in optimization. Our experiments in …

Model-based Reinforcement Learningreinforcement-learningReinforcement LearningReinforcement Learning (RL)