LogitsCoder: Towards Efficient Chain-of-Thought Path Search via Logits Preference Decoding for Code Generation
On the map: LLM reasoning → Test-time compute and efficient thinking
Abstract (arXiv)
Code generation remains a challenging task that requires precise and structured reasoning. Existing Test Time Scaling (TTS) methods, including structured tree search, have made progress in exploring reasoning paths but still face two major challenges: (1) underthinking, where reasoning chains tend to be shallow and fail to capture the full complexity of problems; and (2) overthinking, where overly verbose reasoning leads to inefficiency and increased computational costs. To address these issues, we propose LogitsCoder, a novel framework that enhances chain-of-thought reasoning through lightweight, logit-level control mechanisms for code generation. LogitsCoder iteratively generates and refines reasoning steps by first steering token selection toward statistically preferred patterns via Logits Preference Decoding, then selecting and aggregating diverse reasoning paths using Logits Rank Based Path Selection and Thoughts Aggregation. This results in coherent and effective reasoning chains that balance depth and efficiency. Extensive experiments demonstrate that LogitsCoder produces more efficient and higher-quality reasoning chains, leading to superior code generation performance compared to baseline methods.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Test-time compute and efficient thinking, one of 17 directions in LLM reasoning. Builds on 29 of its 40 references that are in the map. First posted on arXiv 15 Feb 2026.
Builds on
29 of 40 references.
Closest ancestors · 3
Same direction, newest first
- 2025Entropy-based Exploration Conduction for Multi-step Reasoning20 Mar
- 2025Thoughts Are All Over the Place: On the Underthinking of o1-Like LLMs30 Jan
- 2024O1 Replication Journey: A Strategic Progress Report -- Part 18 Oct
Other references · 26
- 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,146
- 2024Qwen2.5 Technical Reportcited by 4,713
- 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 1,906
- 2024OpenAI o1 System Cardcited by 1,220
- 2024Qwen2.5-Coder Technical Reportcited by 1,151
- 2021Measuring Coding Challenge Competence With APPScited by 879
- 2023WizardCoder: Empowering Code Large Language Models with Evol-Instructcited by 728
- 2019Fast Transformer Decoding: One Write-Head is All You Needcited by 700
- 2022Contrastive Decoding: Open-ended Text Generation as Optimizationcited by 598
- 2023Language Agent Tree Search Unifies Reasoning Acting and Planning in Language Modelscited by 551
- 2022Efficiently Scaling Transformer Inferencecited by 529
- 2022CodeT: Code Generation with Generated Testscited by 369
14 more
- 2023CodeT5+: Open Code Large Language Models for Code Understanding and Generationcited by 327
- 2024Chain-of-Thought Reasoning Without Promptingcited by 208
- 2022Language Models of Code are Few-Shot Commonsense Learnerscited by 160
- 2024Debug like a Human: A Large Language Model Debugger via Verifying Runtime Execution Step-by-stepcited by 123
- 2023Self-Edit: Fault-Aware Code Editor for Code Generationcited by 110
- 2024OpenR: An Open Source Framework for Advanced Reasoning with Large Language Modelscited by 92
- 2024RAP: Retrieval-Augmented Planning with Contextual Memory for Multimodal LLM Agentscited by 80
- 2024Planning In Natural Language Improves LLM Search For Code Generationcited by 79
- 2022Solving Math Word Problems via Cooperative Reasoning induced Language Modelscited by 76
- 2024CodeTree: Agent-guided Tree Search for Code Generation with Large Language Modelscited by 32
- 2024RethinkMCTS: Refining Erroneous Thoughts in Monte Carlo Tree Search for Code Generationcited by 25
- 2023CodeApex: A Bilingual Programming Evaluation Benchmark for Large Language Modelscited by 15
- 2025NL-Debugging: Exploiting Natural Language as an Intermediate Representation for Code Debuggingcited by 4
- 2024Top-nσ: Not All Logits Are You Needcited by 3
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025SEER: Enhancing Chain-of-Thought Code Generation through Self-Exploring Deep Reasoning
- 2025Reasoning Efficiently Through Adaptive Chain-of-Thought Compression: A Self-Optimizing Framework
- 2025CodeI/O: Condensing Reasoning Patterns via Code Input-Output Prediction
- 2024Chain of Preference Optimization: Improving Chain-of-Thought Reasoning in LLMs
- 2025Logit-Entropy Adaptive Stopping Heuristic for Efficient Chain-of-Thought Reasoning
- 2025CoT-RAG: Integrating Chain of Thought and Retrieval-Augmented Generation to Enhance Reasoning in Large Language Models
- 2025Z1: Efficient Test-time Scaling with Code
- 2025ThinkBrake: Efficient Reasoning via Log-Probability Margin Guided Decoding