Low-Cost Black-Box Detection of LLM Hallucinations via Dynamical System Prediction
cs.LG, math.DS
Submitted: 2026-05-06
Updated: 2026-09-25
License: http://creativecommons.org/licenses/by/4.0/
The gist: Large Language Models (LLMs) frequently generate plausible but non-factual content, a phenomenon known as hallucination.
Terminology
Abstract
Large Language Models (LLMs) frequently generate plausible but non-factual content, a phenomenon known as hallucination. While existing detection methods typically rely on computationally expensive sampling-based consistency checks or external knowledge retrieval, we propose a new method that treats the LLM as a black-box dynamical system. By projecting LLM responses into a high-dimensional manifold via an embedding model, we characterize the resulting vector sequences as observable realizations of the model's latent state-space dynamics. Leveraging Koopman operator theory, we fit the transition operators for both factual and hallucinated regimes and define a differential residual score based on their respective prediction errors. This approach enables low-cost hallucination detection in a single-sample pass, avoiding the need for secondary sampling or external grounding. Extensive testing across three data benchmarks demonstrates that our method achieves state-of-the-art performance with reduced resource overhead.
Sources
- GPT-4 Technical Report
- A Survey on Hallucination in Large Language Models: Principles, Taxonomy, Challenges, and Open Questions
- A Multitask, Multilingual, Multimodal Evaluation of ChatGPT on Reasoning, Hallucination, and Interactivity
- Edge subdivisions and the $L^2$-homology of right-angled Coxeter groups
- Why Language Models Hallucinate
- Approximating Nash Equilibria in Normal-Form Games via Stochastic Optimization
- Non-commutative rational Clark measures
- Blizzard: Adding True Persistence to Main Memory Data Structures
- INSIDE: LLMs' Internal States Retain the Power of Hallucination Detection
- Lowest Span Confidence: Zero-Shot Hallucination Detection from a Single LLM Response
- jina-embeddings-v5-text: Task-Targeted Embedding Distillation
- Qwen3-VL-Embedding and Qwen3-VL-Reranker: A Unified Framework for State-of-the-Art Multimodal Retrieval and Ranking
- F2LLM-v2: Inclusive, Performant, and Efficient Embeddings for a Multilingual World
- The Llama 3 Herd of Models
Related papers
- Polynomial-Augmented Neural Networks (PANNs) with Weak Orthogonality Constraints for Enhanced Function and PDE Approximation
- AIRL-S: Unifying Reinforcement Learning and Search-Based Test-Time Scaling via Adversarial Inverse Reinforcement Learning
- Transformers as Bayesian In-Context Experimenters: Smoothness-Adaptive Efficient ATE Estimation
- Convergence issues in Relational Concept Analysis based on AOC-posets
- Beliefs Beyond Posteriors: The Predictive Cost of ELBO Binding
- Understanding Diffusion Models via Ratio-Based Function Approximation with SignReLU Networks