Saved in:
Bibliographic Details
Main Authors: Cao, Daniel, Katz, Michael, Kokel, Harsha, Srinivas, Kavitha, Sohrabi, Shirin
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2408.11326
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913862649905152
author Cao, Daniel
Katz, Michael
Kokel, Harsha
Srinivas, Kavitha
Sohrabi, Shirin
author_facet Cao, Daniel
Katz, Michael
Kokel, Harsha
Srinivas, Kavitha
Sohrabi, Shirin
contents Large language models (LLMs) are being used to solve planning problems that require search. Most of the literature uses LLMs as world models to define the search space, forgoing soundness for the sake of flexibility. A recent work, Thought of Search (ToS), proposed defining the search space with code, having LLMs produce that code. ToS requires a human in the loop, collaboratively producing a sound successor function and goal test. The result, however, is worth the effort: all the tested datasets were solved with 100% accuracy. Consequently, there is great potential to automate the ToS process. We take a first major step towards automating ToS (AutoToS), taking the human out of the loop of interactions with the language model. AutoToS guides the language model step by step towards the generation of sound and complete search components, through feedback from both generic and domain specific unit tests. We show that AutoToS is able to achieve 100% accuracy on all the evaluated domains with a small number of LLM calls.
format Preprint
id arxiv_https___arxiv_org_abs_2408_11326
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Automating Thought of Search: A Journey Towards Soundness and Completeness
Cao, Daniel
Katz, Michael
Kokel, Harsha
Srinivas, Kavitha
Sohrabi, Shirin
Artificial Intelligence
Large language models (LLMs) are being used to solve planning problems that require search. Most of the literature uses LLMs as world models to define the search space, forgoing soundness for the sake of flexibility. A recent work, Thought of Search (ToS), proposed defining the search space with code, having LLMs produce that code. ToS requires a human in the loop, collaboratively producing a sound successor function and goal test. The result, however, is worth the effort: all the tested datasets were solved with 100% accuracy. Consequently, there is great potential to automate the ToS process. We take a first major step towards automating ToS (AutoToS), taking the human out of the loop of interactions with the language model. AutoToS guides the language model step by step towards the generation of sound and complete search components, through feedback from both generic and domain specific unit tests. We show that AutoToS is able to achieve 100% accuracy on all the evaluated domains with a small number of LLM calls.
title Automating Thought of Search: A Journey Towards Soundness and Completeness
topic Artificial Intelligence
url https://arxiv.org/abs/2408.11326