A Training Data Recipe to Accelerate A* Search with Language Models
On the map: LLM reasoning → Test-time compute and efficient thinking
Abstract (arXiv)
Combining Large Language Models (LLMs) with heuristic search algorithms like A* holds the promise of enhanced LLM reasoning and scalable inference. To accelerate training and reduce computational demands, we investigate the coreset selection problem for the training data of LLM heuristic learning. Few methods to learn the heuristic functions consider the interaction between the search algorithm and the machine learning model. In this work, we empirically disentangle the requirements of A* search algorithm from the requirements of the LLM to generalise on this task. Surprisingly, we find an overlap between their requirements; A* requires more accurate predictions on search nodes near the goal, and LLMs need the same set of nodes for effective generalisation. With these insights, we derive a data-selection distribution for learning LLM-based heuristics. On three classical planning domains, maze navigation, Sokoban and sliding tile puzzles, our technique reduces the number of iterations required to find the solutions by up to 15x, with a wall-clock speed-up of search up to 5x. The codebase is at https://github.com/devaansh100/a_star.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Placed in Test-time compute and efficient thinking, one of 17 directions in LLM reasoning. Builds on 26 of its 49 references that are in the map. First posted on arXiv 13 Jul 2024.
Builds on
26 of 49 references.
Closest ancestors · 1
Same direction, newest first
Other references · 25
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
- 2023Reasoning with Language Model is Planning with World Modelcited by 846
- 2023Language Agent Tree Search Unifies Reasoning Acting and Planning in Language Modelscited by 551
- 2021Deep Learning on a Data Diet: Finding Important Examples Early in Trainingcited by 529
- 2022Beyond neural scaling laws: beating power law scaling via data pruningcited by 519
- 2023LLM+P: Empowering Large Language Models with Optimal Planning Proficiencycited by 496
- 2023On the Planning Abilities of Large Language Models : A Critical Investigationcited by 308
- 2023SemDeDup: Data-efficient learning at web-scale through semantic deduplicationcited by 295
- 2023Reasoning or Reciting? Exploring the Capabilities and Limitations of Language Models Through Counterfactual Taskscited by 243
- 2019Differentiation of Blackbox Combinatorial Solverscited by 224
- 2023Leveraging Pre-trained Large Language Models to Construct and Utilize World Models for Model-based Task Planningcited by 204
- 2024LLMs Can't Plan, But Can Help Planning in LLM-Modulo Frameworkscited by 178
13 more
- 2024Distilling System 2 into System 1cited by 152
- 2024Beyond A*: Better Planning with Transformers via Search Dynamics Bootstrappingcited by 89
- 2019An investigation of model-free planningcited by 64
- 2023Coupling Large Language Models with Logic Programming for Robust and General Reasoning from Textcited by 59
- 2020Path Planning using Neural A* Searchcited by 51
- 2024When is Tree Search Useful for LLM Planning? It Depends on the Discriminatorcited by 46
- 2017Learning Generalized Reactive Policies using Deep Neural Networkscited by 39
- 2020Learning Heuristic Selection with Dynamic Algorithm Configurationcited by 21
- 2021Policy-Guided Heuristic Search with Guaranteescited by 20
- 2022TransPath: Learning Heuristics For Grid-Based Pathfinding via Transformerscited by 13
- 2024What Are We Measuring When We Evaluate Large Vision-Language Models? An Analysis of Latent Factors and Biasescited by 13
- 2023Levin Tree Search with Context Modelscited by 7
- 2021Heuristic Search Planning with Deep Neural Networks using Imitation, Attention and Curriculum Learningcited by 6
Built on by
Citing papers per year: 2025: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2025LLM-First Search: Self-Guided Exploration of the Solution Space
- 2026LinTree: Improving LLM Reasoning with Explicitly Structured Search Histories
- 2024Navigating the Labyrinth: Evaluating LLMs' Ability to Reason About Search Problems
- 2025Classical Planning with LLM-Generated Heuristics: Challenging the State of the Art with Python Code
- 2024Thought of Search: Planning with Language Models Through The Lens of Efficiency
- 2025Unifying Tree Search Algorithm and Reward Design for LLM Reasoning: A Survey
- 2025SEM: Reinforcement Learning for Search-Efficient Large Language Models
- 2023Alphazero-like Tree-Search can Guide Large Language Model Decoding and Training