Reasoning-as-Logic-Units: Scaling Test-Time Reasoning in Large Language Models Through Logic Unit Alignment
On the map: LLM reasoning → Reasoning benchmarks and evaluation
Abstract (arXiv)
Chain-of-Thought (CoT) prompting has shown promise in enhancing the reasoning capabilities of large language models (LLMs) by generating natural language (NL) rationales that lead to the final answer. However, it struggles with numerical computation, which has somehow led to the development of program-aided techniques. Despite their potential, a persistent challenge remains: inconsistencies between LLM-reported reasoning steps and the logic in generated programs, which we term ``reasoning hallucinations." This stems from the inherent ambiguities of NL and the statistical nature of LLMs, which often lack rigorous logical coherence. To address this challenge, we propose a novel test-time scaling framework, Reasoning-as-Logic-Units (RaLU), which constructs a more reliable reasoning path by aligning logical units between the generated program and their corresponding NL descriptions. By decomposing the initially generated program into discrete units using static analysis, RaLU engages in an iterative dialogue with the LLM to judge, refine, and explain each unit. A rewind-and-correct mechanism ensures alignment between code statements and task requirements in each unit, ultimately forming a cohesive reasoning path under the program's logic, from which the model reaches a final solution. Our experiments demonstrate that RaLU significantly outperforms existing baselines in mathematical reasoning (GSM8K, MATH) and algorithmic reasoning (HumanEval+, MBPP+), underscoring its potential to advance LLM reasoning and programming by offering enhanced accuracy and interpretability.
Key facts. Cited by 12 papers in the map (data through 14 Oct 2026). Placed in Reasoning benchmarks and evaluation, one of 17 directions in LLM reasoning. Builds on 38 of its 43 references that are in the map. First posted on arXiv 5 Feb 2025.
Builds on
38 of 43 references.
Closest ancestors · 5
Same direction, newest first
- 2024Beyond Accuracy: Evaluating the Reasoning Behavior of Large Language Models -- A Survey2 Apr
- 2023Deductive Verification of Chain-of-Thought Reasoning6 Jun
- 2023Chain-of-Thought Hub: A Continuous Effort to Measure Large Language Models' Reasoning Performance26 May
- 2023Evaluating the Logical Reasoning Ability of ChatGPT and GPT-47 Apr
- 2023Natural Language Reasoning, A Survey26 Mar
Other references · 33
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,371
- 2021Program Synthesis with Large Language Modelscited by 3,637
- 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,211
- 2024Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameterscited by 1,986
- 2023MetaGPT: Meta Programming for A Multi-Agent Collaborative Frameworkcited by 1,808
- 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Modelscited by 1,407
- 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,391
- 2022Program of Thoughts Prompting: Disentangling Computation from Reasoning for Numerical Reasoning Taskscited by 1,076
- 2023Large Language Models Cannot Self-Correct Reasoning Yetcited by 1,017
21 more
- 2023Teaching Large Language Models to Self-Debugcited by 988
- 2023Graph of Thoughts: Solving Elaborate Problems with Large Language Modelscited by 886
- 2023CRITIC: Large Language Models Can Self-Correct with Tool-Interactive Critiquingcited by 783
- 2022Automatic Chain of Thought Prompting in Large Language Modelscited by 688
- 2024GSM-Symbolic: Understanding the Limitations of Mathematical Reasoning in Large Language Modelscited by 550
- 2022CodeT: Code Generation with Generated Testscited by 384
- 2024OpenCodeInterpreter: Integrating Code Generation with Execution and Refinementcited by 247
- 2024When Can LLMs Actually Correct Their Own Mistakes? A Critical Survey of Self-Correction of LLMscited by 240
- 2023LEVER: Learning to Verify Language-to-Code Generation with Executioncited by 239
- 2023SelfCheck: Using LLMs to Zero-Shot Check Their Own Step-by-Step Reasoningcited by 159
- 2024Evaluation of OpenAI o1: Opportunities and Challenges of AGIcited by 127
- 2022Automated Repair of Programs from Large Language Modelscited by 71
- 2024Large Language Models have Intrinsic Self-Correction Abilitycited by 46
- 2024CYCLE: Learning to Self-Refine the Code Generationcited by 42
- 2024UniDebugger: Hierarchical Multi-Agent Framework for Unified Software Debuggingcited by 35
- 2023CodeCoT: Tackling Code Syntax Errors in CoT Reasoning for Code Generationcited by 29
- 2024Self-Refine Instruction-Tuning for Aligning Reasoning in Language Modelscited by 24
- 2023Getting from Generative AI to Trustworthy AI: What LLMs might learn from Cyccited by 19
- 2024Divide-and-Conquer Meets Consensus: Unleashing the Power of Functions in Code Generationcited by 19
- 2024Enhancing Mathematical Reasoning in LLMs by Stepwise Correctioncited by 16
- 2024How Do Humans Write Code? Large Models Do It the Same Way Toocited by 11
Built on by
Citing papers per year: 2025: 7; 2026: 5.
12 papers.
- 2025Towards Reasoning Era: A Survey of Long Chain-of-Thought for Reasoning Large Language Modelscited by 384
- 2025A Survey on Test-Time Scaling in Large Language Models: What, How, Where, and How Well?cited by 223
- 2025UI-Venus Technical Report: Building High-performance UI Agents with RFTcited by 93
- 2025Scaling over Scaling: Exploring Test-Time Scaling Plateau in Large Reasoning Modelscited by 11
- 2025Reasoning Path Divergence: A New Metric and Curation Strategy to Unlock LLM Diverse Thinkingcited by 10
- 2025Trust but Verify! A Survey on Verification Design for Test-time Scalingcited by 8
- 20263D-Layout-R1: Structured Reasoning for Language-Instructed Spatial Editingcited by 4
- 2026Reasoning Can Be Restored by Correcting a Few Decision Tokenscited by 2
- 2025LLMSR@XLLM25: An Empirical Study of LLM for Structural Reasoningcited by 0
- 2026Towards Compositional Generalization in LLMs for Smart Contract Security: A Case Study on Reentrancy Vulnerabilitiescited by 0
- 2026Primal Generation, Dual Judgment: Self-Training from Test-Time Scalingcited by 0
- 2026Refining Over Resampling: Test-Time Self-Correction for LLM Reasoningcited by 0
- 2026Refining Over Resampling: Test-Time Self-Correction for LLM Reasoning6 Aug 2026
- 2026Reasoning Can Be Restored by Correcting a Few Decision Tokens16 May 2026
- 2026Primal Generation, Dual Judgment: Self-Training from Test-Time Scaling11 May 2026
- 20263D-Layout-R1: Structured Reasoning for Language-Instructed Spatial Editing23 Mar 2026
- 2026Towards Compositional Generalization in LLMs for Smart Contract Security: A Case Study on Reentrancy Vulnerabilities11 Jan 2026
- 2025Reasoning Path Divergence: A New Metric and Curation Strategy to Unlock LLM Diverse Thinking30 Oct 2025
- 2025Trust but Verify! A Survey on Verification Design for Test-time Scaling20 Aug 2025
- 2025UI-Venus Technical Report: Building High-performance UI Agents with RFT14 Aug 2025
- 2025Scaling over Scaling: Exploring Test-Time Scaling Plateau in Large Reasoning Models26 May 2025
- 2025LLMSR@XLLM25: An Empirical Study of LLM for Structural Reasoning18 May 2025
- 2025A Survey on Test-Time Scaling in Large Language Models: What, How, Where, and How Well?31 Mar 2025
- 2025Towards Reasoning Era: A Survey of Long Chain-of-Thought for Reasoning Large Language Models12 Mar 2025
Similar, not cited
Close in wording, no citation either way
- 2025Advancing Reasoning in Large Language Models: Promising Methods and Approaches
- 2025Crosslingual Reasoning through Test-Time Scaling
- 2025AutoLogi: Automated Generation of Logic Puzzles for Evaluating Reasoning Abilities of Large Language Models
- 2025Towards Thinking-Optimal Scaling of Test-Time Compute for LLM Reasoning
- 2025Prompting Test-Time Scaling Is A Strong LLM Reasoning Data Augmentation
- 2024LogicBench: Towards Systematic Evaluation of Logical Reasoning Ability of Large Language Models
- 2024LogicAsker: Evaluating and Improving the Logical Reasoning Ability of Large Language Models
- 2025Early Stopping Chain-of-thoughts in Large Language Models