mlsanityData to 14 Oct 2026

Reasoning-as-Logic-Units: Scaling Test-Time Reasoning in Large Language Models Through Logic Unit Alignment

arXiv 2502.07803 ↗First posted 5 Feb 2025cs.AI cs.LGcited by 12

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

  1. 2024Beyond Accuracy: Evaluating the Reasoning Behavior of Large Language Models -- A Survey2 Apr
  2. 2023Deductive Verification of Chain-of-Thought Reasoning6 Jun
  3. 2023Chain-of-Thought Hub: A Continuous Effort to Measure Large Language Models' Reasoning Performance26 May
  4. 2023Evaluating the Logical Reasoning Ability of ChatGPT and GPT-47 Apr
  5. 2023Natural Language Reasoning, A Survey26 Mar

Other references · 33

  1. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  2. 2021Training Verifiers to Solve Math Word Problemscited by 10,109
  3. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
  4. 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,371
  5. 2021Program Synthesis with Large Language Modelscited by 3,637
  6. 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,211
  7. 2024Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameterscited by 1,986
  8. 2023MetaGPT: Meta Programming for A Multi-Agent Collaborative Frameworkcited by 1,808
  9. 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Modelscited by 1,407
  10. 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,391
  11. 2022Program of Thoughts Prompting: Disentangling Computation from Reasoning for Numerical Reasoning Taskscited by 1,076
  12. 2023Large Language Models Cannot Self-Correct Reasoning Yetcited by 1,017
21 more
  1. 2023Teaching Large Language Models to Self-Debugcited by 988
  2. 2023Graph of Thoughts: Solving Elaborate Problems with Large Language Modelscited by 886
  3. 2023CRITIC: Large Language Models Can Self-Correct with Tool-Interactive Critiquingcited by 783
  4. 2022Automatic Chain of Thought Prompting in Large Language Modelscited by 688
  5. 2024GSM-Symbolic: Understanding the Limitations of Mathematical Reasoning in Large Language Modelscited by 550
  6. 2022CodeT: Code Generation with Generated Testscited by 384
  7. 2024OpenCodeInterpreter: Integrating Code Generation with Execution and Refinementcited by 247
  8. 2024When Can LLMs Actually Correct Their Own Mistakes? A Critical Survey of Self-Correction of LLMscited by 240
  9. 2023LEVER: Learning to Verify Language-to-Code Generation with Executioncited by 239
  10. 2023SelfCheck: Using LLMs to Zero-Shot Check Their Own Step-by-Step Reasoningcited by 159
  11. 2024Evaluation of OpenAI o1: Opportunities and Challenges of AGIcited by 127
  12. 2022Automated Repair of Programs from Large Language Modelscited by 71
  13. 2024Large Language Models have Intrinsic Self-Correction Abilitycited by 46
  14. 2024CYCLE: Learning to Self-Refine the Code Generationcited by 42
  15. 2024UniDebugger: Hierarchical Multi-Agent Framework for Unified Software Debuggingcited by 35
  16. 2023CodeCoT: Tackling Code Syntax Errors in CoT Reasoning for Code Generationcited by 29
  17. 2024Self-Refine Instruction-Tuning for Aligning Reasoning in Language Modelscited by 24
  18. 2023Getting from Generative AI to Trustworthy AI: What LLMs might learn from Cyccited by 19
  19. 2024Divide-and-Conquer Meets Consensus: Unleashing the Power of Functions in Code Generationcited by 19
  20. 2024Enhancing Mathematical Reasoning in LLMs by Stepwise Correctioncited by 16
  21. 2024How Do Humans Write Code? Large Models Do It the Same Way Toocited by 11

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 7; 2026: 5.

12 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Advancing Reasoning in Large Language Models: Promising Methods and Approaches
  2. 2025Crosslingual Reasoning through Test-Time Scaling
  3. 2025AutoLogi: Automated Generation of Logic Puzzles for Evaluating Reasoning Abilities of Large Language Models
  4. 2025Towards Thinking-Optimal Scaling of Test-Time Compute for LLM Reasoning
  5. 2025Prompting Test-Time Scaling Is A Strong LLM Reasoning Data Augmentation
  6. 2024LogicBench: Towards Systematic Evaluation of Logical Reasoning Ability of Large Language Models
  7. 2024LogicAsker: Evaluating and Improving the Logical Reasoning Ability of Large Language Models
  8. 2025Early Stopping Chain-of-thoughts in Large Language Models