Guarantees on Dynamical System Distinguishability for LLM Token Generation
Not on the map. Why?
Abstract (arXiv)
Recent work has shown that classifying large language models (LLMs)' responses can be distinguished by modeling token embeddings as trajectories of a black-box dynamical system (DS) and comparing prediction residuals of two DSs. Despite the empirical success of this dynamical approach, a theoretical understanding of why it works, how well it scales as a function of the token sequence, and when it transfers across embedding models remains lacking. We address these questions by formalizing the classification task as a binary hypothesis test between two stochastic linear DSs. We show that the total variation distance between the stationary marginal distributions of the two DSs can be arbitrarily small even when the dynamics differ substantially, which provides a fundamental accuracy floor for any classifier that ignores token dynamics. We then show that the misclassification probability of DS-based classification decays exponentially in the sequence length L, with the decay governed by a dynamical discriminability quantity δ2 that captures the spectral distance between the two DSs. We also characterize cross-embedding generalization by introducing an approximate intertwining condition between embedding models and establishing a lower bound on the transferable discriminability in terms of the intertwining map's smallest singular value. Together, these results explain the empirical performance of DS-based classification and motivate further investigation into using DS theory to analyze AI systems, in contrast to the more common approach of using AI to model dynamical systems.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 9 of its 20 references that are in the map. First posted on arXiv 25 Jul 2026.
Builds on
9 of 20 references.
References · 9
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2018Neural Ordinary Differential Equationscited by 3,733
- 2022Locating and Editing Factual Associations in GPTcited by 2,609
- 2023SelfCheckGPT: Zero-Resource Black-Box Hallucination Detection for Generative Large Language Modelscited by 787
- 2023HaluEval: A Large-Scale Hallucination Evaluation Benchmark for Large Language Modelscited by 329
- 2018Learning Without Mixing: Towards A Sharp Analysis of Linear System Identificationcited by 158
- 2023SAC3: Reliable Hallucination Detection in Black-Box Language Models via Semantic-aware Cross-check Consistencycited by 89
- 2026Low-Cost Black-Box Detection of LLM Hallucinations via Dynamical System Predictioncited by 3
- 2023Online Change Points Detection for Linear Dynamical Systems with Finite Sample Guaranteescited by 1
Built on by
Citing papers per year: 2026: 1.
1 paper.