about
ReST Meets ReAct: Self-Improvement for Multi-Step Reasoning LLM Agent (arxiv.org)
3 points by gardenfelder on Dec 21, 2023 | hide | past | pdf | 1 comment on HN

In plain words: The agent reasons step by step and searches outside knowledge to answer hard questions, then retrains on its own past attempts using AI-judged feedback to improve. After two rounds, a small fine-tuned model matched a much larger prompted one with 100 times fewer parameters.

Abstract · ReST meets ReAct: Self-Improvement for Multi-Step Reasoning LLM Agent

Answering complex natural language questions often necessitates multi-step reasoning and integrating external information. Several systems have combined knowledge retrieval with a large language model (LLM) to answer such questions. These systems, however, suffer from various failure cases, and we cannot directly train them end-to-end to fix such failures, as interaction with external knowledge is non-differentiable. To address these deficiencies, we define a ReAct-style LLM agent with the ability to reason and act upon external knowledge. We further refine the agent through a ReST-like method that iteratively trains on previous trajectories, employing growing-batch reinforcement learning with AI feedback for continuous self-improvement and self-distillation. Starting from a prompted large model and after just two iterations of the algorithm, we can produce a fine-tuned small model that achieves comparable performance on challenging compositional question-answering benchmarks with two orders of magnitude fewer parameters.

Renat Aksitov, Sobhan Miryoosefi, Zonglin Li, Daliang Li, Sheila Babayan, Kavya Kopparapu, Zachary Fisher, Ruiqi Guo, Sushant Prakash, Pranesh Srinivasan, Manzil Zaheer, Felix Yu, et al.
arXiv:2312.10003 · cs.CL · submitted Dec 15, 2023
abstract · pdf · html · 19 pages, 4 figures, 4 tables, 8 listings

add comment on HN

"Answering complex natural language questions often necessitates multi-step reasoning and integrating external information."