Lyapunov Probes for Hallucination Detection in Large Foundation Models
Organizations: Beijing Advanced Innovation Center for Future Blockchain and Privacy Computing, School of Artificial Intelligence, Beihang University · Shanghai University · School of Electronic and Information Engineering, State Key Laboratory of CNS/ATM, Beihang University · National Key Laboratory of Information Systems Engineering, National University of Defense Technology ·
Abstract
We address hallucination detection in Large Language Models (LLMs) and Multimodal Large Language Models (MLLMs) by framing the problem through the lens of dynamical systems stability theory. Rather than treating hallucination as a straightforward classification task, we conceptualize (M)LLMs as dynamical systems, where factual knowledge is represented by stable equilibrium points within the representation space. Our main insight is that hallucinations tend to arise at the boundaries of knowledge-transition regions separating stable and unstable zones. To capture this phenomenon, we propose Lyapunov Probes: lightweight networks trained with derivative-based stability constraints that enforce a monotonic decay in confidence under input perturbations. By performing systematic perturbation analysis and applying a two-stage training process, these probes reliably distinguish between stable factual regions and unstable, hallucination-prone regions. Experiments on diverse datasets and models demonstrate consistent improvements over existing baselines.
Figures & tables
| Model | Method | TriviaQA | PopQA | CoQA | MMLU |
|---|---|---|---|---|---|
| Llama-2-7B | Verbalized [ 43 ] | 58.37 | 20.13 | 51.52 | 28.99 |
| Surrogate [ 50 ] | 57.14 | 18.42 | 53.29 | 30.77 | |
| Seq. Prob. [ 25 ] | 63.76 | 20.22 | 49.63 | 29.41 | |
| Probe [ 37 ] | 75.99 | 61.87 | 72.25 | 33.60 | |
| Ours | 83.09 | 63.37 | 76.13 | 33.79 | |
| Llama-3-8B | Verbalized [ 43 ] | 64.72 | 21.23 | 52.40 | 54.09 |
| Model | Method | POPE | TextVQA | VizWiz | MME |
|---|---|---|---|---|---|
| LLaVA-1.5 | Probe [ 37 ] | 98.08 | 85.89 | 77.02 | 93.61 |
| Ours | 99.13 | 89.02 | 83.18 | 95.18 | |
| Qwen-2.5-VL | Probe [ 37 ] | 98.41 | 95.61 | 84.04 | 96.32 |
| Ours | 99.00 | 96.98 | 85.17 | 97.57 |
| Model | Method | CoQA | PopQA |
|---|---|---|---|
| Llama-2-7B | Verbalized [ 43 ] | 51.52 | 20.13 |
| Surrogate [ 50 ] | 53.29 | 18.42 | |
| Seq. Prob. [ 25 ] | 49.63 | 20.22 | |
| Cross-domain Probe | 71.47 | 54.48 | |
| In-domain Probe | 76.13 | 63.37 | |
| Llama-3-8B | Verbalized [ 43 ] | 52.40 | 21.23 |
| Settings | Llama-2-7B | Llama-3-8B | Qwen-3-4B | Falcon-7B |
|---|---|---|---|---|
| w/o Perturbation Data | 82.41 | 82.35 | 79.92 | 65.65 |
| w/o Two-Stage Training | 82.00 | 84.80 | 80.58 | 64.27 |
| w/o Multi-layer Hidden States | 77.34 | 82.16 | 77.59 | 60.50 |
| w/o Lyapunov Constraint Loss | 78.13 | 82.86 | 74.19 | 62.48 |
| Our Full Lyapunov Probe | 83.09 | 86.46 | 79.47 | 65.52 |
Hallucination Detection
Hallucination detection identifies unsupported, fabricated, or evidence-inconsistent content in language and multimodal model outputs.
See all 78 papers