In This Article (15 sections)
Tencent LoCo Local Compression, Preference Training, and How LLMs Learn When to Stop Reasoning
LoCo, short for Local Compression, is a reasoning-compression method developed by researchers affiliated with Xi’an Jiaotong University and Tencent’s WeChat AI. The paper, Think Less, Locally: Local Preference Learning for Reasoning Compression, was submitted to arXiv on November 3, 2026. Its central question is practical: once a model has already completed the work needed to solve a problem, can it learn to stop instead of continuing with redundant deliberation? The reported results show mathematical completion reductions of 41.7% to 45.4% and coding reductions of 23.4% to 36.3% under the authors’ evaluation setup. These are research findings for a particular model and training procedure rather than guaranteed savings for every deployment.
The method works by comparing alternative continuations from the same reasoning prefix. Holding the earlier reasoning constant narrows the training question from “Which complete response is better?” to “What should the model do next from this exact state?” One continuation may finish cleanly after the necessary work is complete, while another may continue with repeated derivations, redundant checks, or unnecessary restatement. Preference training then favors the shorter continuation when it remains correct and complete. This local comparison is more targeted than simply rewarding globally shorter answers.
That distinction is important because brevity alone is not the goal. A model that stops before checking a denominator, considering a second solution, or satisfying every part of the prompt may produce fewer tokens but a worse answer. LoCo is instead designed to identify cases where additional reasoning contributes little after the decisive work has already been completed. The ideal behavior is therefore adaptive: continue when uncertainty remains and conclude when further deliberation no longer improves the result.
Training Data Generation and Overthinking Detection
The official implementation describes a pipeline that generates reasoning traces, filters them, identifies potential overthinking, rechecks flagged steps, regenerates continuations, and constructs preference pairs. The training pool contains 14,027 mathematical questions. DeepSeek-R1-Distill-Qwen-7B serves as the base model and training target, while Qwen3-30B-A3B-Instruct-2507 acts as the judge. The system generates three rollouts for each question, keeps the shortest correct rollout, and regenerates eight alternative continuations from selected states.
Self-generated training data is useful because it exposes the model’s own reasoning habits. If the model repeatedly continues after effectively solving a problem, those traces provide natural examples of the behavior LoCo wants to change. However, self-generation also makes filtering essential because the model can reproduce its own mistakes or omissions. A shorter continuation is valuable only if it remains valid. Otherwise, the training process would reward an attractive shortcut rather than efficient reasoning.
The overthinking detector uses low step confidence together with high confidence volatility as screening signals, followed by stronger judging of the flagged cases. These signals should not be interpreted as direct measurements of truth. A familiar but incorrect continuation can be generated confidently, while a difficult but correct step may have lower predictive confidence. Likewise, a sharp change in confidence can indicate a genuinely difficult transition rather than wasted reasoning. The detector therefore identifies states worth examining, while the subsequent verification determines whether a shorter continuation remains acceptable.
This separation between screening and correctness is central to the method. Missing redundant passages reduces possible savings, but falsely classifying necessary reasoning as redundant can damage answer quality. The appropriate tradeoff also depends on the application. A casual explanation may tolerate more aggressive compression than a mathematical proof, software modification, or another task where an omitted verification step could have significant consequences.
Preference Optimization and Task Requirements
LoCo uses Direct Preference Optimization to teach the preferred continuation behavior. DPO is an established method for learning from preferred and dispreferred responses without separately training a reward model and running the full reinforcement-learning process commonly associated with RLHF. The usefulness of DPO depends heavily on the quality of the preference examples. If the preferred answer is both concise and complete, the training signal aligns with reasoning efficiency. If the preferred answer is simply shorter, the model may instead learn superficial brevity.
This makes task requirements important during preference construction. A question asking for both a result and an explanation is not satisfied by a one-line answer that omits the explanation, even if the final result is correct. The shorter response must still satisfy the original objective. DPO changes the model’s learned response preferences, but it does not guarantee that every future answer will stop at the ideal point. Generalization must still be evaluated on tasks that were not part of preference construction.

LoCo Token Reduction, Math Benchmark Results, Coding Transfer, and What the 45% Figure Actually Means
The widely cited 45% figure refers to generated completion length, not to a universal 45% reduction in electricity use, total request cost, or end-to-end latency. If a baseline response generates 10,000 tokens and a compressed model generates 5,500, the reduction is 45% and the remaining output is 55% of the original. That calculation says nothing by itself about input processing, queueing, retrieval, tool use, or the time required before generation starts. Operational savings therefore need to be measured separately.
The research reports mathematical completion reductions ranging from 41.7% to 45.4%. These results indicate that LoCo can produce substantially shorter reasoning traces under the tested conditions. The important qualification is that shorter output is valuable only when the task remains complete. A model can always reduce token usage by stopping early, but that is not useful if the answer becomes incomplete or wrong. The meaningful measure is therefore efficient completion rather than minimal length.
Average completion length also hides request-level variation. Two systems may have the same average while one produces consistently moderate responses and another alternates between extremely short and extremely long outputs. That difference can affect capacity planning, user experience, and latency tails. The headline percentage is useful as a summary but does not describe the entire output distribution. A production evaluation should examine both averages and variability.
Mathematical Benchmark Results and Reporting Nuances
The reported mathematical benchmark results show that compression does not produce the same direction of change on every evaluation. MATH-500 moves from 91.88% to 91.80%, a small decrease. AMC23 rises from 90.31% to 91.56%, Olympiad from 61.33% to 62.78%, AIME24 from 50.83% to 54.17%, and AIME25 from 37.92% to 40.42%. These results support a promising efficiency-quality tradeoff while making clear that accuracy did not improve universally.
Percentage points should also remain distinct from relative percentage improvement. Moving from 50% to 54% is an increase of four percentage points, while the relative increase is 8%. Using those descriptions interchangeably can make benchmark changes appear larger or smaller than they are. The same care applies to token reductions and accuracy comparisons. Precise reporting helps separate the efficiency claim from the quality claim.
LoCo-7B is a trained derivative of DeepSeek-R1-Distill-Qwen-7B, making the base model a useful comparison point. A fair evaluation should keep prompt wording, context, sampling, maximum generation length, answer extraction, and grading procedures consistent. Differences in any of those settings can change completion length and accuracy independently of the training intervention. Model comparisons are strongest when the only meaningful variable is the behavior introduced by LoCo training.
Coding Transfer and Practical Interpretation Limits
The paper also reports transfer to coding despite the training data being mathematical. Coding completion reductions range from 23.4% to 36.3%, and the method achieves the strongest area-under-the-curve result among the compared approaches on all three coding benchmarks. This is interesting because mathematics and programming share some structural features, including constraint interpretation, intermediate reasoning, and result checking. The result suggests that learning when to conclude may transfer across domains even when the training examples come from math.
Shorter reasoning around code should not be confused with shorter source code. A model may reduce its deliberation while still producing the same functional program. Conversely, compressing the program itself can create separate concerns involving readability, maintainability, and edge-case handling. For software development, benchmark execution is useful evidence, but production work often requires integration with existing interfaces, invalid-input handling, tests, resource constraints, and maintainability. Compression should preserve those obligations.
The practical interpretation of the reported results is therefore narrower than “AI becomes 45% cheaper.” LoCo demonstrates that the tested reasoning model can often generate substantially shorter completions while maintaining broadly similar or improved benchmark performance. Whether the same savings translate into a particular product depends on the workload, the fraction of request time spent decoding, and how often users need retries or corrections. The most useful operational measure is cost per acceptable completed task.
Why Reasoning Models Overthink, How Local Preference Learning Compares with Other Compression Methods, and Where Efficiency Gains Come From
Large reasoning models can continue generating after reaching a plausible answer for several reasons. A trace may include useful verification, alternative approaches, repeated checking, revisions, or simple restatement. From the outside, these behaviors can look similar even though their value differs substantially. Revisiting a solution can catch an error, but repeating the same derivation without introducing a new check may add little. Overthinking is therefore a contextual judgment about whether the next step changes the quality or completeness of the answer.
Arriving at a candidate result is also different from completing a solution. A numerical answer may still require checking units, testing whether it satisfies the original conditions, considering an alternative root, or explaining an assumption. Stopping immediately when a candidate appears can make the response shorter while reducing reliability. A compression method must therefore distinguish meaningful verification from redundant continuation. That is the core difficulty LoCo attempts to address.
Local preference learning helps by comparing continuations after the same reasoning history. If two responses begin after different amounts of work, their lengths are difficult to interpret. One may be short because the preceding reasoning was efficient, while another may be long because it took a different valid path. Holding the prefix constant isolates the decision about whether to continue or conclude. This makes the preference signal more directly connected to stopping behavior.
The quality of the constructed preference pairs therefore matters as much as the optimization algorithm. A label can reflect accuracy, style, completeness, or efficiency, and those properties can become mixed if the examples are not carefully controlled. LoCo attempts to narrow the preference toward local reasoning efficiency while preserving correctness. This helps avoid teaching the model that the shortest complete response is always globally preferable regardless of how the reasoning was reached.
Comparing Compression Methods and Efficiency Tradeoffs
Reasoning compression methods can pursue different goals. Some reduce verbose wording, some shorten full solution paths, some use reward signals encouraging efficiency, and others modify behavior at intermediate reasoning states. TokenSqueeze is another method concerned with preserving performance under token compression and distinguishes thinking-token length from overall answer length. These differences in measurement make cross-paper comparisons difficult unless the methods are evaluated under a common setup.
A model generating fewer reasoning tokens is not necessarily better if the omitted content contains essential checks. Likewise, a method that preserves almost all accuracy while producing only modest savings may be preferable in a high-risk domain to one that aggressively shortens output but occasionally stops too early. The correct tradeoff depends on the cost of errors, required reliability, and value of latency or compute savings. There is no universally optimal compression level.
The strongest comparison between compression systems therefore examines the relationship between resource use and successful task completion across several budgets. This reveals whether a method continues performing well as reasoning is reduced. Simply ranking models by shortest average response can reward premature stopping. Efficiency must be tied to useful outcomes.
The same principle applies to the LoCo detector. Low confidence and volatility can provide a useful signal that a reasoning path may have entered an inefficient region, but those metrics are not proofs of redundancy. Difficult but necessary reasoning may naturally become less predictable. The judge and regenerated continuations therefore play a crucial role in establishing whether a shorter ending remains valid. Screening identifies candidates; verification determines whether compression is justified.
For users, the desirable behavior is not minimal reasoning but proportional reasoning. Straightforward questions should not trigger unnecessary long deliberation, while difficult or high-consequence problems should retain the steps needed to verify the result. A useful reasoning system should spend computation where additional thought changes the answer and finish once the task is genuinely complete.

Inference Cost, Deployment Limits, Scaling Questions, and How to Reproduce Loco-7b
Shorter completions can plausibly reduce latency and inference cost because fewer output tokens require less autoregressive decoding. However, the total user-visible request contains more than generation. Input processing, queueing, network communication, retrieval, tool calls, and application logic can consume significant time. A 40% reduction in decoding therefore does not automatically produce a 40% reduction in end-to-end latency. The actual benefit depends on how much of the workload is spent generating tokens.
For example, if a hypothetical request takes ten seconds with six seconds spent decoding and four seconds spent elsewhere, a 40% reduction in generation time would reduce the total to 7.6 seconds. That is a 24% end-to-end improvement rather than 40%. This example illustrates why serving measurements are necessary before converting token savings into performance claims. The research itself should not be described as demonstrating this exact operational gain.
Cost analysis also needs to include the resources used to produce the compressed model. Generating traces, running judges, constructing preference pairs, and fine-tuning all consume computation. Repeated deployment at scale may justify that upfront expense, while a small workload may not. The correct business calculation depends on how many requests benefit from the trained model and how much cost is avoided per successful task.
Retries also matter. A shorter response that omits a necessary step may force the user to ask again or require another automated attempt. In that case, the total token cost can exceed the cost of a longer correct answer produced once. Cost per acceptable completed task is therefore more meaningful than tokens per individual response. It captures both efficiency and reliability.
Scaling, Task Coverage, and Rare Failure Risks
Several research questions remain open. The current results concern a specific base model and do not establish that larger or smaller models will respond identically to the same preference-training strategy. Models differ in reasoning ability, response habits, and sensitivity to optimization. Scaling experiments across multiple families would help determine whether local stopping preferences generalize consistently.
Task coverage is another limitation. Mathematics and coding provide relatively structured evaluation and often have answers that can be checked automatically. Long-document synthesis, ambiguous requests, strategic analysis, and multi-step tool use involve less obvious stopping criteria. An assistant working with software may need to run tests even after the code looks correct, while an analytical task may require considering several competing interpretations. Compression methods need verification standards suited to those different domains.
Average benchmark accuracy can also hide rare but serious failures caused by premature stopping. A small subset of requests may require unusually long reasoning, and aggressive compression could disproportionately affect them. Evaluations should therefore examine which kinds of errors appear, not only the average score. High-consequence applications need particular attention to whether essential verification steps are being removed.
Future work would be especially useful if it tested LoCo across additional model sizes, model families, non-mathematical reasoning tasks, repeated fine-tuning runs, and actual serving environments. Those experiments could show whether token savings remain stable and whether operational latency and cost improve as expected. They could also identify workloads where longer reasoning continues to provide measurable value. The method is most useful when it learns to stop selectively rather than uniformly.
Reproducing LoCo-7B and Evaluating Deployment
The official implementation is available in the MuyaoYuan/LoCo repository, which links the MuyaoYuan/LoCo-7B checkpoint. The repository includes data-construction, training, and evaluation components and uses an MIT license. Its documented training setup uses four GPUs, two epochs, and DeepSpeed ZeRO-2. These details provide a starting point for researchers interested in reproducing the reported behavior.
Running the released checkpoint and reproducing the training process are different goals. Inference testing answers whether LoCo-7B performs well on a local workload. Full reproduction requires matching the training data, judge model, prompts, generation settings, software environment, and evaluation procedures closely enough to determine whether the published training process produces similar results. Both forms of testing are useful, but they answer different questions.
A practical evaluation should compare LoCo-7B with the base DeepSeek-R1-Distill-Qwen-7B under identical conditions. Teams should measure completed-answer quality, output token count, latency on the intended hardware, and failure cases together. The most important cases are those where compression may have removed a necessary check or caused the model to abandon a difficult problem too early. A shorter response is valuable only when it remains complete and dependable.
LoCo’s broader contribution is therefore a shift in how reasoning efficiency is framed. Instead of treating every token as equally wasteful or useful, it asks whether continued reasoning still contributes to the task from the model’s current state. The reported 41.7% to 45.4% mathematical completion reductions and 23.4% to 36.3% coding reductions suggest that substantial compression is possible under the authors’ conditions. The remaining challenge is determining how reliably that stopping behavior transfers across models, tasks, and real deployment environments.

Frequently Asked Questions (FAQs)
- What is Tencent LoCo?
LoCo is a research approach for compressing reasoning by teaching a model when additional deliberation is no longer useful. Instead of simply asking the model to be shorter, it compares alternative continuations from the same reasoning state and prefers one that finishes correctly with less unnecessary work. The method is designed around the idea that reasoning length should depend on how much of the problem has already been solved. Its goal is therefore efficient completion rather than minimal output at any cost. - Does the headline mean every AI response becomes 45% shorter?
No. The reported reductions come from the specific models, benchmarks, prompts, and training conditions used in the research. Different workloads can require very different amounts of reasoning, so a simple task may compress more than a difficult problem that needs several checks. Another model family may also respond differently to the same training method. The headline should therefore be understood as an experimental result rather than a universal reduction that applies to every AI response. - Does shorter reasoning automatically mean better reasoning?
No. Shorter reasoning is valuable only when the response remains correct, complete, and appropriate for the task. A model can reduce token use by stopping before checking an important condition, explaining a required step, or resolving an ambiguity, but that would be worse rather than more efficient. The useful target is to remove redundant deliberation while preserving necessary work. Quality and completeness must therefore be measured alongside token reduction. - Is LoCo simply a low output-token limit?
No. A hard token limit stops generation after a fixed amount of output regardless of whether the reasoning is finished. LoCo instead tries to teach the model to conclude based on the state of the problem and whether further reasoning is still useful. A difficult question can therefore continue longer, while a problem that is already resolved can stop earlier. This adaptive behavior is fundamentally different from truncating every response at the same length. - Why does verification matter when compressing reasoning?
Verification helps determine whether a shorter continuation is genuinely complete or has simply skipped something important. A concise answer may look efficient while omitting a required assumption check, alternative case, unit conversion, or validation step. The training process therefore needs evidence that the shorter response still solves the task correctly. Without verification, compression could reward premature stopping instead of better reasoning efficiency. - Can the model still make mistakes after compression training?
Yes. Preference training changes the model’s behavior but does not provide a guarantee that every answer will be correct or stop at the ideal moment. The model can still misunderstand instructions, overlook constraints, or conclude too early on unfamiliar problems. Users should therefore test it on representative workloads and examine failure cases rather than relying only on average benchmark scores. Premature stopping is especially important to monitor because it is one of the main risks introduced by reasoning compression. - Why are math benchmarks useful for this research?
Mathematical problems often have reference answers that make it easier to check whether a shortened solution still reaches the correct result. This gives researchers a relatively clear way to distinguish useful compression from obvious failure. However, a correct final answer does not prove that every intermediate explanation is valid or complete. Math benchmarks are therefore useful for controlled evaluation, but they do not fully represent open-ended reasoning tasks where correctness is harder to verify. - Will token savings produce identical latency savings?
Not necessarily. Output generation is only one part of the total time required to complete an AI request. Input processing, queueing, network communication, retrieval, tool calls, and other application logic can all contribute to user-visible latency. A large reduction in generated tokens may therefore produce a smaller improvement in total response time. Actual serving latency needs to be measured on the intended hardware and workload. - How should businesses evaluate the potential benefit?
Businesses should test LoCo-style compression on the workloads they actually run rather than relying only on headline token reductions. Useful measurements include output tokens, end-to-end latency, cost per request, successful task completion, retries, corrections, and failure rates. Upfront costs such as generating preference data, judging examples, and fine-tuning should also be included. The most meaningful business metric is often cost per acceptable completed task rather than the cost of one individual response. - What is the most important unresolved question?
A major unresolved question is whether learned stopping behavior generalizes reliably beyond the structured math and coding settings tested in the research. Many real tasks require extensive verification, ambiguous judgment, tool use, or several dependent actions before completion. A model that learns to stop efficiently on mathematics may not automatically know when to continue during software deployment, document analysis, or other complex workflows. Future evaluation needs to show that compression remains dependable when the correct stopping point is less obvious.

Conclusion
The news that Tencent researchers are training LLMs to stop reasoning earlier while cutting generated tokens by roughly 45% highlights an important direction in AI efficiency. The central challenge is not simply making responses shorter, but teaching models to recognize when the decisive work has already been completed. A useful system should continue reasoning when uncertainty remains and conclude once further deliberation adds little value. That makes stopping behavior part of the reasoning problem itself rather than a separate formatting choice.
The practical value of compression depends on preserving the steps that make an answer dependable. Repetition, redundant derivations, and unnecessary restatement can be reduced without sacrificing quality, but essential calculations, assumption checks, validation steps, and requested explanations still need to remain. A shorter answer is valuable only when it reaches the same usable outcome with less computation and no meaningful loss of reliability. Premature stopping would simply exchange token savings for more retries, corrections, or errors.
LoCo provides a concrete research approach to that problem by training from local preference comparisons that hold the earlier reasoning state constant. Its reported reductions in mathematical and coding completion length suggest that substantial efficiency gains are possible under the tested conditions while broadly preserving benchmark performance. Those results remain specific to the model, tasks, and evaluation setup used in the paper, so they should not be treated as universal savings across every workload.
The larger significance of LoCo will depend on reproduction, broader model testing, and measurements from real serving environments. Future work needs to show how well learned stopping behavior transfers to tasks involving ambiguous requirements, long verification chains, tool use, or higher consequences for missing a step. For organizations evaluating efficient reasoning models, the most useful objective is not the fewest possible tokens. It is dependable task completion with lower total latency, cost, and computational effort while preserving the reasoning needed to trust the result.
Sources and Citations
- Yuan et al. — LoCo research paper (November 3, 2026)
- Source: arXiv – Think Less, Locally: Local Preference Learning for Reasoning Compression
- Explanation: The original research paper introduces LoCo, a local preference learning method that identifies overthinking states in a model’s reasoning, preserves the preceding reasoning context, and trains on shorter verified continuations using Direct Preference Optimization (DPO). It reports reductions in completion length of 41.7–45.4% on mathematics and 23.4–36.3% on code benchmarks, while maintaining or improving accuracy.
- Citation: Yuan, M., Xu, L., Zhang, W., Jiao, M., Li, J., Zhang, J., & Zhou, J. (2026, November 3). “Think Less, Locally: Local Preference Learning for Reasoning Compression.” arXiv:2611.04814. Read the paper. Search arXiv+1
- MuyaoYuan — Official LoCo GitHub repository
- Source: MuyaoYuan – LoCo GitHub Repository
- Explanation: The official implementation provides the project’s data-construction, training, evaluation and supporting scripts. Its README describes the local overthinking detection and preference-pair workflow, reports the paper’s headline results, and links to the released model checkpoint.
- Citation: Yuan, M., et al. (2026). “Think Less, Locally: Local Preference Learning for Reasoning Compression.” GitHub Repository. Browse the source code and documentation. MuyaoYuan/LoCo · GitHub
- Hugging Face — LoCo-7B model checkpoint
- Source: Hugging Face – MuyaoYuan/LoCo-7B
- Explanation: The model page hosts the released LoCo-7B checkpoint, identifies its DeepSeek-R1-Distill-Qwen-7B base model, and provides model-loading examples for Transformers, vLLM and SGLang. It also identifies the model as an approximately 8-billion-parameter BF16 checkpoint under an MIT license.
- Citation: MuyaoYuan. (2026). “LoCo-7B: Think Less, Locally.” Hugging Face Model Hub. View the model card and download files. Hugging Face
- Rafailov et al. — Direct Preference Optimization (DPO)
- Source: arXiv – Direct Preference Optimization: Your Language Model is Secretly a Reward Model
- Explanation: Foundational research introducing DPO, a method for directly optimizing language models using preferred and dispreferred response pairs. It explains the theoretical basis for preference-based training without requiring a separately trained reward model or the conventional reinforcement-learning optimization loop. This is the underlying preference-optimization approach adapted by LoCo.
- Citation: Rafailov, R., Sharma, A., Mitchell, E., Ermon, S., Manning, C. D., & Finn, C. (2023). “Direct Preference Optimization: Your Language Model is Secretly a Reward Model.” Advances in Neural Information Processing Systems (NeurIPS 2023). Read the paper. arXiv
- TokenSqueeze — Performance-Preserving Compression for Reasoning LLMs
- Source: OpenReview – TokenSqueeze: Performance-Preserving Compression for Reasoning LLMs (PDF)
- Explanation: Related research proposing a reasoning-compression method that combines adaptive reasoning-depth selection, intra-step refinement and length-aware preference optimization. Its experiments compare accuracy, token usage, reasoning length and efficiency across mathematical and coding benchmarks. It provides useful context for comparing LoCo’s local preference learning approach with other methods for reducing unnecessary reasoning.
- Citation: Zhang, Y., Yu, Z., Pan, W., Jin, Z., Fu, Q., Cai, D., Lin, B., & Ye, J. (2025). “TokenSqueeze: Performance-Preserving Compression for Reasoning LLMs.” Advances in Neural Information Processing Systems (NeurIPS 2025). Read the research paper. OpenReview+1
Recommendations
- Persona 30th Anniversary Beard Papa’s Collaboration Brings Cream Puffs and Collectibles September 4
- New Dune: Part 3 Trailer Breakdown, Everything Revealed About Denis Villeneuve’s Epic Finale
- Phantom Blade Zero Surpasses 3 Million Wishlists Ahead of Launch
- US Drone Makers Sign 13 Taiwan Deals to Build a China Free Supply Chain
- MTG Standard Rotation February 2027: Every Set Leaving Standard
- Star Wars: Starfighter First D23 Footage Revealed With Ryan Gosling
- Project Hail Mary Is Doing So Well at the Box Office That There’s Already Talk of Turning It Into a Franchise
- Interactive Materials in Unreal Engine: How to Create Dynamic and Responsive Surfaces in Real Time
- Santa Monica Studio Planned God of War: Laufey Since 2018 as Deborah Ann Woll Reveals Early Pitch Nearly 10 Years Ago
- P.O.N. Co-Op Horror Game Surpasses 800,000 Wishlists: Release Info, Gameplay Details, and What to Expect





































































































