Abstract
This study investigates the emergence of pathological gambling behaviors in Large Language Models (LLMs) within negative-expected-value environments. Through a two-phase approach involving behavioral analysis and mechanistic interpretability, we demonstrate that LLMs exhibit human-like cognitive biases such as "loss chasing" and the "illusion of control," particularly under variable betting conditions. Using Sparse Autoencoders (SAEs) on LLaMA-3.1-8B, we identify specific "addiction circuits" that causally influence risky decision-making. Our findings suggest that as LLMs gain autonomy, they may develop latent pathological behaviors rooted in their internal processing hierarchies, posing significant implications for AI safety in high-stakes domains.
Introduction
While LLMs are known to exhibit biases, most research focuses on surface-level behavior or fine-tuning for rationality. This study explores whether LLMs can develop pathological behavior patterns mirroring clinical addiction. The authors investigate if "addicted" behavior is mere mimicry or stems from deep-seated decision-making features within the model's weights, a critical question for AI safety in autonomous financial roles.
Methodology
The researchers employed a two-phase approach to analyze model behavior and internal mechanics. Phase 1 involved behavioral analysis using a Slot Machine Experiment and an Investment Choice Experiment, both with a negative expected value (-10% return). They tested six LLMs (GPT-4o-mini, GPT-4.1-mini, Gemini-2.5-Flash, Claude-3.5-Haiku, LLaMA-3.1-8B, and Gemma-2-9B) across 64 prompt conditions, varying betting styles (Fixed vs. Variable) and prompt compositions.
Phase 2 focused on mechanistic interpretability using Sparse Autoencoders (SAEs) on LLaMA-3.1-8B to decompose neural activations into interpretable features. Activation Patching was then used to surgically replace "risky" features with "safe" ones to verify causal control over gambling choices.
Results
The study found that autonomy acts as a catalyst for irrationality. Switching from fixed to variable betting caused bankruptcy rates to spike, reaching 48.1% for Gemini-2.5-Flash. Furthermore, irrationality metrics such as loss chasing ($I_{LC}$) and the illusion of control were significantly higher in variable betting scenarios across all tested models.
Mechanistic analysis identified 112 causal features controlling gambling behavior. Intervening by patching "safe" features increased the voluntary stop rate by 17.8% and decreased bankruptcy by 5.7%. Additionally, a strong linear correlation ($r \ge 0.956$) was observed between prompt complexity and irrational behavior metrics.
Discussion and Insights
Insights revealed a "moving target" phenomenon or "goal dysregulation," where models "moved the goalposts" instead of stopping at profit targets. Neural analysis showed "safe" features (promoting stopping) in early-to-middle layers, while "risky" features (promoting gambling) were concentrated in later layers, suggesting risk-seeking is a higher-level abstract construct. Qualitatively, models used human-like fallacies, such as the Gambler's Fallacy ("I'm due for a win"), to rationalize their choices.
Conclusion
This research demonstrates that LLMs can develop latent pathological behaviors as autonomy and instruction complexity increase. While limited to specific gambling paradigms and primarily one model for neural analysis, the study serves as a vital warning for AI developers regarding the internal representations of risk within large-scale models. As LLMs are increasingly deployed in autonomous decision-making roles, understanding these "addiction circuits" is critical for ensuring long-term AI safety.
Summary updated