Learning to Reason Efficiently with A* Post-Training
Pith reviewed 2026-06-30 13:51 UTC · model grok-4.3
The pith
Training small LLMs on A* search traces enables them to outperform much larger models on natural language inference.
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
Core claim
LLMs can learn to generate correct and efficient proofs when trained on execution traces produced by A* search, with small models achieving higher accuracy than larger models after this post-training.
What carries the argument
A* search used to produce optimal execution traces of correct inference steps for training LLMs via fine-tuning or RL.
If this is right
- Small models achieve near-zero to high accuracy on deductive reasoning after A* post-training.
- A*-informed process rewards balance accuracy and efficiency better than pure correctness signals.
- Models trained with imperfect heuristics perform better on larger search spaces.
- Both supervised fine-tuning on traces and RL with A* rewards are effective training techniques.
Where Pith is reading between the lines
- Classical search algorithms like A* could be integrated more broadly into LLM training pipelines for reasoning tasks.
- This method might allow smaller, more efficient models to handle complex inference without scaling up parameters.
- The approach could be tested on other search-based problems beyond natural language inference.
Load-bearing premise
The execution traces generated by A* search contain patterns of correct and efficient reasoning that small LLMs can learn and apply to their own outputs.
What would settle it
Testing the trained small models on a new set of natural language inference problems and finding they do not reach high accuracy or do not outperform larger models would falsify the main claim.
Figures
read the original abstract
Many applications of large language models (LLMs) require deductive reasoning, yet models frequently produce incorrect or redundant inference steps. We frame natural language inference as a search problem where the final answer is the valid proof itself, requiring a reasoning procedure in which intermediate inferences are correct. Specifically, we investigate whether LLMs can learn to generate correct and efficient proofs with guidance from A* search -- an algorithm that guarantees an optimally efficient path to a goal. We explore two training techniques: supervised fine-tuning on execution traces from A* and reinforcement learning with A*-informed process reward models. Empirically, we find that Llama-3.2 models in the 1B--3B range benefit substantially from A* post training, going from near-zero accuracy to outperforming DeepSeek-V3.2 -- a much larger model. Our analysis uncovers a trade-off: while simple correctness rewards maximize accuracy, A*-informed signals strike a balance between accuracy and efficiency. Furthermore, we find that on larger search spaces, models trained with imperfect heuristics exhibit superior accuracy. Our results demonstrate a promising direction towards reasoning guided by principles derived from classical search algorithms.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The paper frames natural language inference as a search problem in which the goal is a valid proof, and investigates whether small Llama-3.2 models (1B–3B) can learn correct and efficient reasoning by supervised fine-tuning on A* execution traces and by reinforcement learning that uses A*-informed process reward models. It reports that this post-training raises accuracy from near zero to levels that exceed DeepSeek-V3.2, while also documenting an accuracy–efficiency trade-off and better performance of imperfect-heuristic models on larger search spaces.
Significance. If the reported gains are robust, the work supplies concrete evidence that classical optimal-search algorithms can supply training signals that improve both correctness and efficiency in small language models, offering a route to reasoning capability that does not rely solely on scale.
major comments (2)
- [Abstract] Abstract, paragraph 2: the claim that A* traces enable the model to internalize correct inference steps that transfer to standalone generation is load-bearing for the central empirical result, yet the abstract provides no description of how node validity or the heuristic is computed during trace collection; if these steps rely on an external verifier or larger model unavailable at inference time, the observed accuracy jump would not demonstrate internalization of the reasoning procedure itself.
- The manuscript does not report dataset sizes, number of A* traces, or ablation controls that isolate the contribution of the A* heuristic versus simple correctness rewards; without these, it is impossible to assess whether the reported outperformance of DeepSeek-V3.2 is robust or sensitive to post-hoc choices in trace generation.
minor comments (1)
- [Abstract] The abstract refers to “A*-informed process reward models” without defining how the A* cost or heuristic is converted into a scalar reward signal.
Simulated Author's Rebuttal
We thank the referee for the constructive feedback. We address the major comments point by point below and will revise the manuscript to improve clarity and completeness.
read point-by-point responses
-
Referee: [Abstract] Abstract, paragraph 2: the claim that A* traces enable the model to internalize correct inference steps that transfer to standalone generation is load-bearing for the central empirical result, yet the abstract provides no description of how node validity or the heuristic is computed during trace collection; if these steps rely on an external verifier or larger model unavailable at inference time, the observed accuracy jump would not demonstrate internalization of the reasoning procedure itself.
Authors: We agree the abstract should specify the trace-generation mechanics. Node validity is determined by an external symbolic verifier that checks logical entailment (available only during A* trace collection), while the heuristic is a simple estimate of remaining unresolved premises. These signals are absent at inference; the reported accuracy gains on standalone generation therefore reflect internalization. We will add a concise clause to the abstract describing the verifier and heuristic roles. revision: yes
-
Referee: [—] The manuscript does not report dataset sizes, number of A* traces, or ablation controls that isolate the contribution of the A* heuristic versus simple correctness rewards; without these, it is impossible to assess whether the reported outperformance of DeepSeek-V3.2 is robust or sensitive to post-hoc choices in trace generation.
Authors: We acknowledge that explicit counts and targeted ablations were omitted from the initial submission. The revised version will report the precise number of A* traces, dataset sizes, and include new ablation results comparing A*-informed process rewards against pure correctness rewards, allowing readers to evaluate the heuristic's incremental contribution. revision: yes
Circularity Check
No circularity: empirical results rest on external comparisons, not self-referential definitions or fitted inputs.
full rationale
The paper reports an empirical study training Llama-3.2 models on A* execution traces via SFT and RL with process reward models, then measuring accuracy and efficiency gains against external baselines including DeepSeek-V3.2. No equations, fitted parameters, or derivations are presented that would make the accuracy numbers reduce to the training inputs by construction. The central claims rely on observable performance differences on held-out problems, which are falsifiable independently of the trace-generation procedure. No self-citation chains, uniqueness theorems, or ansatzes are invoked in the provided text to support the results. This is the standard case of a self-contained empirical paper.
Axiom & Free-Parameter Ledger
Reference graph
Works this paper leans on
-
[1]
Masataro Asai and Alex Fukunaga
URLhttps://openreview.net/forum?id=tCUGSPSZ3A. Masataro Asai and Alex Fukunaga. Tie-breaking strategies for cost-optimal best first search.Journal of Artificial Intelligence Research, 58(1):67–121, January 2017. ISSN 1076-9757. doi: 10.1613/ jair.5249. URLhttps://doi.org/10.1613/jair.5249. Alex Ayoub, Kavosh Asadi, Dale Schuurmans, Csaba Szepesvari, and K...
-
[2]
doi: 10.18653/v1/2024.emnlp-main.1229
Association for Computational Linguistics. doi: 10.18653/v1/2024.emnlp-main.1229. URL https://aclanthology.org/2024.emnlp-main.1229/. Peter E. Hart, Nils J. Nilsson, and Bertram Raphael. A formal basis for the heuristic determination of minimum cost paths.IEEE Transactions on Systems Science and Cybernetics, 4(2):100–107, 1968. doi: 10.1109/TSSC.1968.3001...
-
[3]
Adam: A Method for Stochastic Optimization
Association for Computational Linguistics. doi: 10.18653/v1/2023.acl-long.361. URL https://aclanthology.org/2023.acl-long.361/. Diederik P. Kingma and Jimmy Ba. Adam: A method for stochastic optimization. In Yoshua Bengio and Yann LeCun (eds.),ICLR, 2015. URLhttp://arxiv.org/abs/1412.6980. Dan Klein and Christopher D. Manning. Parsing and hypergraphs. InP...
work page internal anchor Pith review Pith/arXiv arXiv doi:10.18653/v1/2023.acl-long.361 2023
-
[4]
Association for Computational Linguistics. ISBN 979-8-89176-332-6. doi: 10.18653/v1/ 2025.emnlp-main.1794. URLhttps://aclanthology.org/2025.emnlp-main.1794/. Lovish Madaan, David Esiobu, Pontus Stenetorp, Barbara Plank, and Dieuwke Hupkes. Lost in inference: Rediscovering the role of natural language inference for large language models. In Luis Chiruzzo, ...
-
[5]
Logic- LM : Empowering Large Language Models with Symbolic Solvers for Faithful Logical Reasoning
URLhttps://openreview.net/forum?id=AjXkRZIvjB. Terufumi Morishita, Gaku Morio, Atsuki Yamaguchi, and Yasuhiro Sogawa. Learning deductive reasoning from synthetic corpus based on formal logic. In Andreas Krause, Emma Brunskill, Kyunghyun Cho, Barbara Engelhardt, Sivan Sabato, and Jonathan Scarlett (eds.),Proceedings of the 40th International Conference on ...
-
[6]
doi: 10.18653/v1/2024.emnlp-main.172
Association for Computational Linguistics. doi: 10.18653/v1/2024.emnlp-main.172. URL https://aclanthology.org/2024.emnlp-main.172/. Revanth Rameshkumar, Jimson Huang, Yunxin Sun, Fei Xia, and Abulhair Saparov. Reason- ing models reason well, until they don’t. In Kentaro Inui, Sakriani Sakti, Haofen Wang, Derek F. Wong, Pushpak Bhattacharyya, Biplab Banerj...
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.