The reviewed record of science sign in
Pith

arxiv: 2407.09985 · v2 · pith:ZKYRMB54 · submitted 2024-07-13 · cs.AI · cs.LG

A Training Data Recipe to Accelerate A* Search with Language Models

Reviewed by Pith T0 review T1 audit T2 compute T3 formal T4 kernel pith:ZKYRMB54record.jsonopen to challenge →

classification cs.AI cs.LG
keywords searchheuristiclearningrequirementstrainingacceleratealgorithmdata
0
0 comments X
read the original abstract

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.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.