Readoutby Atharv Pawar
PapersNewsletterAboutSubscribe
Readoutreadout.sheeshhatharv.com

Agents & harnesses20 March 2023arXiv:2303.11366

Reflexion: Language Agents with Verbal Reinforcement Learning

Noah Shinn, Federico Cassano, Edward Berman, Ashwin Gopinath, Karthik Narasimhan, Shunyu Yao. Northeastern, MIT, Princeton

TL;DR

Reflexion improves language agents through written self-reflection on failures, stored in memory, instead of weight updates.

Why builders should care

The root of most agent feedback-loop designs.

How to apply it

  1. 1.After a failed attempt, have the agent write what went wrong and feed that note into the next attempt.

Key results

Quoted from the abstract
  • Reflexion is flexible enough to incorporate various types (scalar values or free-form language) and sources (external or internally simulated) of feedback signals, and obtains significant improvements over a baseline agent across diverse tasks (sequential decision-making, coding, language reasoning).
  • For example, Reflexion achieves a 91% pass@1 accuracy on the HumanEval coding benchmark, surpassing the previous state-of-the-art GPT-4 that achieves 80%.
Summary written from the arXiv abstract. Read the original: https://arxiv.org/abs/2303.11366Curated by Atharv Pawar

Readoutby Atharv Pawar

PapersNewsletterAboutRSSXLinkedIn