"I May Not Have Articulated Myself Clearly": Diagnosing Dynamic Instability in LLM Reasoning at Inference Time
Jinkun Chen, Fengxiang Cheng, Sijia Han, Vlado Keselj
TL;DR
This work introduces an inference-time diagnostic for dynamic instability in LLM reasoning that uses only black-box, per-step top-$k$ token distributions. It defines an instability score $I_t = D_t + \lambda H_t$ with $D_t = \mathrm{JSD}(\tilde{p}_t,\tilde{p}_{t-1})$ and $H_t$ the entropy, and summarizes global instability as $S = \max_t I_t$, while also leveraging peak timing $\rho$ to distinguish corrective from destructive instability. Across GSM8K and HotpotQA, the instability strength correlates with failure rate and can separate correct from incorrect traces, with robust results across models and decoding settings; importantly, early instability tends to be recoverable while late instability is more destructive, highlighting the role of decoding horizon. The method is training-free, model-agnostic, and reproducible, offering a diagnostic lens rather than a control mechanism, and it emphasizes that instability can be informative rather than uniformly harmful. These findings contribute to understanding reasoning dynamics in LLMs and suggest timing-aware analysis as a principled approach to diagnosing trajectory-level failures.
Abstract
Reasoning failures in large language models (LLMs) are typically measured only at the end of a generation, yet many failures manifest as a process-level breakdown: the model "loses the thread" mid-reasoning. We study whether such breakdowns are detectable from inference-time observables available in standard APIs (token log probabilities), without any training or fine-tuning. We define a simple instability signal that combines consecutive-step distributional shift (JSD) and uncertainty (entropy), summarize each trace by its peak instability strength, and show that this signal reliably predicts failure. Across GSM8K and HotpotQA, instability strength predicts wrong answers with above-chance AUC and yields monotonic bucket-level accuracy decline at scale across model sizes. Crucially, we show that instability is not uniformly harmful: early instability can reflect subsequent stabilization and a correct final answer (\emph{corrective instability}), whereas late instability is more often followed by failure (\emph{destructive instability}), even at comparable peak magnitudes, indicating that recoverability depends not only on how strongly the distribution changes but also on when such changes occur relative to the remaining decoding horizon. The method is model-agnostic, training-free, and reproducible, and is presented as a diagnostic lens rather than a corrective or control mechanism.
