Specialized Large Language Models for Markovian Reasoning: Structural Cache Compression, Transition Pretraining, and Dual-Loop Transformers
Abstract
Standard autoregressive large language models attend to the growing history of generated tokens, making the key-value (KV) cache a central memory and throughput bottleneck in long-chain reasoning and multi-branch sampling. Yet an important class of reasoning problems is naturally first-order Markovian: the next step depends on a sufficient representation of the current state, rather than on the raw sequence of all earlier steps. We develop a unified design paradigm for Markovian-reasoning specialized large language models. At the cache level, the Markovian state interface transforms history-dependent KV storage into constant-size state transfer with respect to the number of reasoning steps. At the learning level, we reformulate long-chain prediction as independently trainable one-step transition objectives, with explicit state bottlenecks, distillation, invariance, and drift-consistency losses. At the architectural level, we introduce a dual-loop Transformer: an outer loop advances the reasoning state, while an inner recurrent-depth loop allocates adaptive computation to each transition through shared weights and explicit memory tokens or recurrent matrix states. We connect this architecture to a three-region cache, step-relative positions, truncated backpropagation, branch-aware checkpoints, and a transition-centric evaluation protocol. The organizing principle is simple: the optimal reasoning system need not remember everything; it must carry forward exactly what the future needs. This principle opens a path toward specialized reasoning engines whose memory footprint is decoupled from reasoning-chain length.
Create a lesson
Related papers
Reasoning-Trace Analysis Using Large Language Models for Interpretable Q-Matrix Construction
Shared title terminology · Jihong Zhang, Zijing Jin, Mingfeng Xue
X-AQA: Unifying Action Quality Assessment with Multimodal Large Language Models and Multi-Domain Learning
Shared title terminology · Kaili Zheng, Wei Ding, Yuchen Ding et al.
SLP-Bench: Evaluating and Improving Acoustic Claims of Reasoning Audio Language Models on Clinical Speech
Shared title terminology · Côme Hosxe, Rachid Riad, Quentin Spinat
No Perfect Guardrail & No Perfect Guard: On the Decidability of Output Policies for Large Language Models
Shared title terminology · Ahmed Amer, Loren Kinczel, Darrell D. E. Long
The Geometry of Lies: Knowledge and Persona Directions for Detecting Deception in Large Language Models
Shared title terminology · Md. Abdullah Al Zami, Suraiya Shanaz, Mahdi Hasan et al.
Human-in-the-Loop Runbook Improvement with Agentic Support Automation
Shared title terminology · Rocker D'Antonio, Harry Xie