Language Agent Tree Search Unifies Reasoning Acting and Planning in LMs
arxiv.org
arxiv.org
- Combines reasoning (from chain-of-thought), acting (from ReAct), and planning (from tree-of-thought) into a general framework for LLM problem solving
- Adapts MCTS (from AlphaZero) for LLM high-level planning
- Strong performance on question-answering, programming, and web browsing
Currently I am creating different agent types for planned subtasks using langchain, so perhaps implementing a custom AgentExecutor? Or would I need to lift it up higher in the logic stack? I am not sure that I understand how the graph search and thought-action-reflection selection process is deciding when and how to reflect if a branch fails, and how it backpropogates the failure to other nodes?