Long Reasoning Chains Are Partly a Training Artifact
LoCo cuts chain-of-thought length 41.7-45.4% on math and 23.4-36.3% on code, with accuracy held, by training models on math traces only to stop deliberating at the right local moment.
Most reasoning compression methods treat the problem as a trajectory problem: find the long chain, make it shorter. That framing misses where the waste actually lives. Excess tokens don't accumulate because the model chose a long path at the start. They accumulate because the model keeps deliberating at individual states where it already has enough information to conclude.
LoCo (Local Preference Learning for Reasoning Compression) works by operating on those states directly. The method scans a model's own generated traces to identify candidate overthinking states, the points where continued reasoning adds no verified value. It then freezes the reasoning prefix up to that state, regenerates shorter continuations from the same starting point, verifies those continuations against ground truth, and builds preference pairs from the contrast. DPO training on those pairs teaches the model a local policy: given this prefix, stop now rather than continue. The key structural difference from prior work is that the preference signal is state-conditioned, not trajectory-conditioned. The model learns when to stop.
This distinction matters because it avoids a failure mode common to trajectory-level compression: shorter-overall incentives that push models to skip necessary reasoning steps, not just redundant ones. By anchoring the preference pairs to specific prefixes, LoCo preserves the reasoning that matters and removes only the deliberation that doesn't.
LoCo reduces completion length by 41.7-45.4% on five mathematical benchmarks and 23.4-36.3% on three code generation benchmarks, while maintaining or improving accuracy across all of them. It achieves the best accuracy-efficiency AUC across all code benchmarks, despite being trained exclusively on math traces. For teams running long chain-of-thought models in production, the takeaway is direct: a post-training step on self-generated data cut completion length by 23-45% in these tests, with no retraining from scratch, and a math-only training set carried over to code.
We're thinking: This paper names something the field has been slow to say: on these benchmarks, 41-45% of math completion length and 23-36% of code completion length could be removed with accuracy held, so a large share of long-CoT inference cost looks like a training artifact. Models weren't explicitly taught when sufficient reasoning had occurred, so they default to continuing. LoCo fixes that omission with a targeted preference signal rather than a blunt length penalty. The cross-domain transfer from math to code, with no code training data, is the result worth watching most carefully. It suggests the local stopping policy is learning something about reasoning structure in general, not math-specific heuristics. That has implications for how teams think about fine-tuning scope: a narrow, well-targeted training set may be more valuable than a broad one if the learned behavior is structural rather than domain-specific.
Key takeaways:
- LoCo identifies overthinking states within a model's own traces, freezes the prefix, regenerates shorter verified continuations, and trains on state-conditioned preference pairs with DPO, teaching a local stopping policy rather than a global brevity preference.
- Completion length drops 41.7-45.4% on math and 23.4-36.3% on code with accuracy maintained or improved across all eight benchmarks. Caveat: training used math traces only. The code results show transfer, but the paper does not test whether training on code traces would do better.
- Teams serving large reasoning models should evaluate LoCo as a post-training compression step before investing in architectural changes: the method uses self-generated data and requires no external annotations. The authors say code and model weights will be released at the linked repository.
Source: Think Less, Locally: Local Preference Learning for Reasoning Compression