Think Less, Locally: Local Preference Learning for Reasoning Compression
Muyao Yuan, Liyan Xu, Weizhan Zhang, Muyan Jiao, Jiangnan Li, Jinchao Zhang, Jie Zhou · Tencent
3 Nov 2026 · cs.AI, cs.CL · single gpu · code · reasoning & test-time compute, rl & post-training, pretraining, data & scaling, code, evaluation & benchmarks
72 hf upvotes · 0 hn points, 0 comments · 9 stars · – citations
Large reasoning models achieve strong performance on challenging tasks, but their long chain-of-thought often incurs substantial inference costs by continuing to deliberate after sufficient information has been obtained. Existing reasoning compression methods primarily operate on reasoning trajectories, paying less attention to the local decision of whether further reasoning is necessary given the current state. We propose LoCo, a local preference learning method for reasoning compression. LoCo detects candidate overthinking states from the model's own traces, freezes the corresponding reasoning prefixes, regenerates shorter verified continuations from the same states, and trains on the resulting state-conditioned preference pairs with DPO. This formulation teaches the model when to continue reasoning and when to conclude, rather than simply encouraging shorter trajectories overall. We construct training data entirely from self-generated mathematical traces and evaluate LoCo on five mathematical and three code generation benchmarks. LoCo reduces completion length by 41.7%–45.4% on mathematics and 23.4%–36.3% on code, while maintaining or improving accuracy and achieving the best AUC across all code benchmarks. LoCo consistently improves the accuracy-efficiency trade-off on mathematics and transfers effectively to code generation despite math-only training, demonstrating the cross-domain generality of local preference learning for reasoning compression. The code and model will be publicly released at https://github.com/MuyaoYuan/LoCo.
Compute: single gpu. LoRA DPO on 7B model from self-generated math traces; authors used four H20 GPUs.
Paper's setup: four H20 GPUs. Smallest run that tests the claim: 7B DeepSeek-R1-Distill-Qwen with LoRA DPO on self-generated math preference pairs, 2 epochs (~150 GPU-hours on one A100-class GPU).
“Training is conducted on four H20 GPUs with a maximum sequence length of 14,336 tokens.”
(read from the paper's full text by Claude)
Potential
signals behind the hidden gems rankingearly traction: 24 upvotes/day in its first 3 days · from tencent, whose recent “Making MLLM Latents Matter: Factor-Aware Predictive Learning…” drew 153 upvotes/points
Existing reproductions
0 likely reproductions · 2 repos mention it · 1 HF model · checked 05/11/2026
Comments