Research ·
Think Less, Locally: Local Preference Learning for Reasoning Compression
Researchers introduced LoCo, a local preference learning method that teaches reasoning models when to stop deliberating, cutting chain-of-thought length by up to 45% on math and 36% on code while maintaining or improving accuracy.

LoCo is a reasoning compression method that targets the local decision of whether a model needs to keep reasoning, rather than compressing whole reasoning trajectories. It detects candidate overthinking states from the model's own traces, freezes the corresponding reasoning prefixes, regenerates shorter verified continuations from those states, and trains on the resulting state-conditioned preference pairs with DPO. This teaches the model when to continue versus conclude, rather than simply favoring shorter outputs overall.
Training data comes entirely from self-generated mathematical traces. LoCo reduces completion length by 41.7% to 45.4% on mathematics and 23.4% to 36.3% on code across five math and three code generation benchmarks, while maintaining or improving accuracy and achieving the best AUC on all code benchmarks. Despite math-only training, it transfers to code generation. In the discussion, the authors noted that token savings mainly come from cutting redundant verification, while necessary verification is preserved; on the hard AIME dataset the model shows some accuracy degradation, which they attribute to limited training data.
For builders deploying large reasoning models, LoCo addresses the real cost driver of long chain-of-thought inference by making stopping adaptive instead of globally truncating reasoning. A 7B model is released on Hugging Face, with code at a public GitHub repository, making it possible to cut inference token costs substantially with little to no accuracy loss on math and code workloads.
References
- Hugging Face · huggingface.co
Read the full story at Hugging Face ↗Like, save or discuss on Buzz