NeurIPS 2026Coming to NeurIPS in Sydney?Explore papers, orals & directions

Modeling LLM Reasoning Dynamics with Structural Representations

Ilia Karpov, Andrey Atamanyuk, Dmitry Ilvovsky, Aleksandr Anokhin, Alex Elizov, Dmitry Zagorulkin, Sergei O. KuznetsovarXiv 2026

TL;DR

LLM reasoning isn't just a flat sequence of tokens; it follows structured temporal patterns like "deriving," "verifying," and "exploring." By modeling these dynamics using a new T/E/S (Text/Events/Spans) representation, researchers can significantly better predict a model's next moves and reduce the computational cost of deciding when to stop "thinking" or perform a retrieval by over 77%.

What Problem Does This Paper Address?

When an LLM agent tackles a complex problem, it doesn't just output a single stream of thought. It alternates between different phases: setting up the problem, performing derivations, and checking its work. Standard models often treat this as a black box, making it difficult to answer critical "meta-reasoning" questions:

  • How much more "thinking" (computation) is needed to reach an answer?
  • Is it worth spending the compute to perform another search/retrieval, or should the model answer now?
  • Can we predict if a reasoning process will finish within a specific time budget?

The authors argue that we need a structural way to represent these internal dynamics to build more efficient, adaptive agents that can manage their own "thought" budgets.

Methods

The core of the paper is the T/E/S representation, which breaks down a reasoning trace into three layers:

  1. Text (T): The raw generated tokens.
  2. Events (E): Local, discrete operations like "subgoal completion," "failed attempt," or "backtracking."
  3. Spans (S): Continuous intervals assigned to a specific reasoning mode, such as Derive, Verify, or Explore.
Figure 1: T/E/S separates a local check from the surround- ing derivation. Modes can recur; only the observed prefix is available for prediction.

The authors developed a Structural Observer to identify these layers from raw text. They then used this structure to perform Budgeted Continuation Analysis. Instead of just predicting the next token, they model the probability of success given a remaining computational budget.

A key algorithmic innovation is Shared Continuation Optimization. When comparing two possible actions (e.g., "retrieve more info" vs. "answer now"), if both actions eventually lead to the same future reasoning state, the model can "cancel out" that shared future mass, drastically speeding up the decision-making process.

Datasets

The researchers evaluated their approach across a wide array of reasoning and information-seeking benchmarks:

  • Math & Science: MATH, MATH500, GPQA, HLE.
  • General Reasoning: BBH (Big-Bench Hard).
  • Multi-hop QA: HotpotQA, MuSiQue. The study utilized over 56,000 reasoning traces generated by models ranging from Qwen (4B to 122B) to DeepSeek-R1 distillations.

Key Insights and Ideas

  • Reasoning has "Inertia": The duration of a span is highly predictive. If a model has been in "Derive" mode for a long time, it becomes statistically more likely to transition to a "Verify" or "End" state soon.
  • Events are Early Warning Signs: Local events like a "failed attempt" are strong precursors to a mode switch. Incorporating these events significantly improves the accuracy of predicting the model's next state.
  • Meta-reasoning is itself a cost: A controller shouldn't spend more time deciding whether to do more work than it saves by avoiding that work. The paper formalizes this "computational availability."
  • State Cancellation is Powerful: By identifying that different actions lead to identical future "thought" states, the system can make optimal decisions without fully simulating every possible path.

Key Results

The T/E/S representation consistently outperformed text-only baselines in predicting reasoning outcomes.

  • Prediction Accuracy: Adding Events and Spans improved next-outcome prediction in 70 of 76 evaluation groups for a standard Transformer and 74 of 76 for Qwen.
  • Efficiency Gains: In finite-process experiments, the "shared continuations" method reduced the mean CPU time required for action selection by 77.7% compared to full dynamic programming, without sacrificing decision quality.
Table 2: Action selection on 404 queries to finite-process mod- els. All methods select the same actions as full computation.
  • Inference Cost Prediction: On HotpotQA and MuSiQue, the structural observer improved the prediction of whether an inference procedure would finish within a CPU allowance, reducing the Brier loss from 0.0836 to 0.0756.
Table 1: Input ablation across corpus solvers: 282 validation questions. Weighted multitask loss; lower is better.

Limitations and Future Work

  • Observer Accuracy: An audit of the compact "MiniLM" observer found it still makes significant semantic errors (e.g., misidentifying a plan to search as a completed search). The current results are more about predicting measured computation than perfectly understanding the meaning of reasoning events.
  • Static vs. Dynamic: Much of the evaluation was performed on saved, paired branches of reasoning. Testing these controllers in a live, end-to-end environment with real-time "wall-clock" constraints is a necessary next step.
  • Generalization: While the results hold across many benchmarks, the specific "event vocabularies" (like backtracking) are currently task-specific. Developing a more universal grammar of reasoning events remains an open challenge.

Summary updated

Abstract

Language-model reasoning alternates between sustained activities and local operations. We study how this temporal structure predicts continuation and the computation needed to analyze it. T/E/S combines text, local events, and spans of activity. Across reasoning and information-seeking tasks, events and spans improve next-outcome prediction in 70 of 76 evaluation groups for a Transformer and 74 of 76 for Qwen with LoRA. Span duration and preceding events are associated with transitions, and retaining event history across span boundaries improves prediction. We formulate budget-allocation counting and action-conditional continuation queries, prove counting hardness under explicit encodings, and derive conditions for affordable decision certification. In finite-process experiments, bounds that cancel shared continuation mass recover the same optimal actions as full dynamic programming while reducing mean inference CPU time by 77.7%. On 71 held-out HotpotQA and MuSiQue questions, a compact structural observer improves prediction of whether a fixed inference procedure finishes within a CPU allowance: Brier loss falls from 0.0836 to 0.0756. An annotation audit identifies substantial errors in that observer, separating this computational result from semantic validation of its features.
BibTeX
@misc{karpov2026modeling,
  author = {Ilia Karpov and Andrey Atamanyuk and Dmitry Ilvovsky and Aleksandr Anokhin and Alex Elizov and Dmitry Zagorulkin and Sergei O. Kuznetsov},
  title = {{Modeling LLM Reasoning Dynamics with Structural Representations}},
  year = {2026},
  eprint = {2611.23749},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.23749},
}

Loading related content...

Figure