Skip to content
Live
Hugging Face Daily Papers·· 11 days ago34

Think Less, Locally: Local Preference Learning for Reasoning Compression

Think Less, Locally: Local Preference Learning for Reasoning Compression

Brief overview

LoCo teaches reasoning models when to stop reasoning through local preference learning, significantly reducing output length in mathematical and code tasks while maintaining or improving accuracy. The method reduces completion length by 41.7%--45.4% on mathematical tasks and 23.4%--36.3% on code tasks, while maintaining or improving accuracy, and achieves the best AUC on all code benchmarks. LoCo's code and models will be publicly released.

Article

Published on Nov 3

Authors:

,

,

,

,

,

Abstract

LoCo uses local preference learning to teach reasoning models when to stop deliberating, reducing output length substantially while preserving or improving accuracy across math and code tasks.

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.

View arXiv page View PDF Project page GitHub 2 Add to collection

Get this paper in your agent:

hf papers read 2611.04814

Don't have the latest CLI?

curl -LsSf https://hf.co/cli/install.sh | bash

Models citing this paper 1

MuyaoYuan/LoCo-7B

Text Generation •

8B •

Updated about 5 hours ago

•

26

•

16

Datasets citing this paper 0

No dataset linking this paper

Cite arxiv.org/abs/2611.04814 in a dataset README.md to link it from this page.

Spaces citing this paper 0

No Space linking this paper

Cite arxiv.org/abs/2611.04814 in a Space README.md to link it from this page.

Collections including this paper 0

No Collection including this paper

Add this paper to a collection to link it from this page.

Source: Hugging Face Daily Papers · huggingface.co