Can LLMs Critique and Iterate on Their Own Outputs? | Eric Jang
Avi Singh told me yesterday about a recent arxiv preprint, Reflexion, that proposes the following idea: use a LLM to examine whether the output of another generative model is “on the right track” during generation. According to the paper, “the reflection loop aims to help the agent correct common cases of hallucination and inefficiency through trial and error.” Reflexion extends the ReAct architecture to predict whether the agent should stop generating, pause, and reflect on its entire generated trajectory. Should the agent decide to self-reflect with a LLM, it restarts the generation process with its LLM critique of its past trajectory loaded in-context. The paper is evaluated against text-based decision-making benchmarks like AlfWorld, HotPotQA, and WebShop. If it helps the intuition, you can think of this like someone sending you a text, then quickly “unsending” it and then sending a new one.
Avi Singh told me yesterday about a recent arxiv preprint, Reflexion , that proposes the following idea: use a LLM to examine whether the output of another generative model is "on the right track" during generation. According to the paper, "the reflection loop aims to help the agent correct common cases of hallucination and inefficiency through trial and error." Reflexion extends the ReAct architecture to predict whether the agent should stop generating, pause, and reflect on its entire generated trajectory. Should the agent decide to self-reflect with a LLM, it restarts the generation process
saved by
related reading
- LLM Powered Autonomous Agents | Lil'Loglilianweng.github.io
- Recursive Language Models | Alex L. Zhangalexzhang13.github.io
- Lil'Loglilianweng.github.io
- Illustrating Reinforcement Learning from Human Feedback (RLHF)huggingface.co
- 1b44b878bb782e6954cd888628510e90-Paper-Conference.pdfproceedings.neurips.cc
- Modifying LLM Beliefs with Synthetic Document Finetuningalignment.anthropic.com
- Self-Adapting Language Modelsarxiv.org
- Language Models can Solve Computer Tasksarxiv.org
- Prefill awareness: can LLMs tell when “their” message history has been tampered with? — LessWronglesswrong.com
- 2401.10020.pdfarxiv.org
- [2303.11366] Reflexion: Language Agents with Verbal Reinforcement Learningarxiv.org
- Productizing Large Language Modelsblog.replit.com