Efficient Reasoning via Constrained Optimization in Latent Space
Abstract
Large Reasoning Models (LRMs) have shown remarkable reasoning capabilities, yet they still suffer from overthinking, generating redundant reasoning steps which incur substantial token consumption. Existing methods, such as suppressing reflective keywords or forcing shorter reasoning lengths, attempt to mitigate this issue but inevitably truncate necessary steps and induce underthinking, thereby compromising performance. To address this dilemma, we investigate the latent representations and observe that efficient reasoning steps naturally cluster into a concentrated region in latent space, while those deviating from this region tend to produce verbose sequences. To leverage this, we keep reasoning focused within this region via a quadratic program which projects deviating hidden states back into the region. Then we propose a novel training-free framework to achieve efficient reasoning that reduces token generation costs without sacrificing performance. Extensive experiments conducted on four models ranging from 1.5B to 14B, and across six benchmarks in math reasoning, coding, and scientific QA, validate the effectiveness of our method, up to a 12.1\% improvement in accuracy while reducing generated tokens by 11.8\% to 52.8\%. Codes are available at https://github.com/hzn18/Opt4Reasoninghttps://github.com/hzn18/Opt4Reasoning.
Create a lesson
Metadata
- Categories
- cs.AI, math.OC
- Comments
- Accepted by NeurIPS2026
Related papers
GaokaoMathGen: Chinese Gaokao Mathematics Finale Problem Generation Controlled by Latent Reasoning Structures
Shared title terminologycs.AIQian Chen, Kun Zhu, Zhongyi Wang et al.
Seeking in Space: Benchmarking Purposeful Active Exploration of Vision-Language Models for Spatial Reasoning
Shared title terminologycs.AIXiwei Liu, Yulong Li, Xuhui Li et al.
Beyond a single latent space: a dual-latent world model for long-horizon planning
Shared title terminologycs.AIDelin Zhao, Zhengrong Yue, Shaobin Zhuang et al.
Reasoning with Continuous Latent Diffusion
Shared title terminologycs.AIXiang Cheng
Not All Thinking is Created Equal: Latent Reasoning Discovers a Recurrent Search Algorithm for Depth Generalization
Shared title terminologycs.AIHuzi Cheng, Zhewei Zhang
AGL-SKILL: Coding Harnesses as Agentic Optimizers
Shared title terminologycs.AIRyan Tsui, Yuge Zhang, Yuqing Yang