atlas

Research map / Large language models / Reasoning and chain of thought

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

ICML 2025 · Large language models › Reasoning and chain of thought · approach: Chain-of-thought training and analysis · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes RaLU, a training-free test-time scaling framework that decomposes an LLM-generated program into control-flow logic units and iteratively judges, explains, and repairs each unit with rewind-and-correct before synthesizing a final solution.

Problem

LLM reasoning via CoT and program-aided methods suffers from "reasoning hallucinations": inconsistencies between NL reasoning steps and the logic of generated programs, hurting math and code reasoning.

Approach

Use static analysis (CFG) to split a generated program into logic units, then run a stateful multi-turn dialogue where the same LLM judges OK/WRONG, explains, and repairs each unit, rewinding to re-validate prior units after a fix; final solution is synthesized from the verified path.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use RaLU instead of the strongest baselineDeepSeek V3 · GSM8Kaccuracy: +0.310Helped
Use RaLU instead of the strongest baselineDeepSeek V3 · MATH-npaccuracy: +0.860Helped
Use RaLU instead of the strongest baselineDeepSeek V3 · HumanEvalpass@1: +0.643Helped
Use RaLU instead of the strongest baselineDeepSeek V3 · HumanEval+pass@1: +2.036Helped
Use RaLU instead of the strongest baselineLlama3.3-72B · Mbpppass@1: +0.598Helped
Use RaLU instead of the strongest baselineQwen2.5-72B · Mbpp+pass@1: +4.678Helped
Replace CFG-driven units with line-by-line units (ablation)RaLU on Llama3.3 · All benchmarksperformance: 7.04% declineHurt
Replace CFG-driven units with line-by-line units (ablation)RaLU on Llama3.3 · All benchmarkstoken consumption: 37.7% increaseHurt
Replace program-guided logic units with CoT natural-language steps (ablation)RaLU · Mathematical tasksaccuracy: 5.52% accuracy dropHurt
Replace program-guided logic units with CoT natural-language steps (ablation)RaLU · Code reasoningscore: 4.35% score dropHurt

Surprising findings

Limitations

Experimental setup

Datasets: GSM8K MATH-np HumanEval HumanEval+ MBPP MBPP+

Benchmarks: GSM8K MATH-np HumanEval HumanEval+ MBPP MBPP+

Metrics: accuracy pass@1

Baselines: Direct prompting Zero-Shot CoT Tree-of-Thought Self-Consistency Self-Calibration Self-Refine Program-of-Thought Self-Check Self-Debugging

Builds on: Chain-of-Thought Program-of-Thought Self-Consistency Self-Refine Self-Debugging

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy