A seguirPróximo guia
Auto-reflexão em Loops de Agente
Técnico
GUIA de aplicações
Reflexion is a research framework in which language agents use task feedback to write textual reflections for later attempts.
Ouça este guiaNarrado por IA · ~1 min
It changes context, not model weights.
The Reflexion paper describes an Actor that attempts a task, an Evaluator that scores the result, and a Self-Reflection model that turns feedback into language stored in episodic memory. The next attempt can use that reflection as context; the framework does not update model weights. The paper reports improvements on selected tasks, including a HumanEval result for its particular setup. Benchmark results should not be generalized to every agent or deployment. In the Reflexion paper’s reported coding experiment, the framework achieved 91% pass@1 on HumanEval, compared with 80% for the GPT-4 baseline described in that paper. These are results for the paper’s particular setup and benchmark, not a general performance guarantee.
An agent receives unit-test feedback, writes a reflection, and retries a coding task.
A researcher compares Reflexion’s benchmark setup with its stated baseline.
An evaluator supplies task-specific feedback that the agent can inspect.
A developer stops iteration when a defined success condition is met.
Self-correction methods remain dependent on evaluation quality, task design, and iteration cost. Avoid claims of general improvement without testing; reflections can be mistaken or lead to loops.
Boletim informativo gratuito
Três histórias verificadas de IA a cada manhã de dia útil, escritas em linguagem simples. Gratuito para sempre, sem anúncios.
Um e-mail a cada dia útil. Cancele a inscrição com um clique. Nunca vendemos ou compartilhamos seu endereço.
Teste você mesmo
Feedback instantâneo sobre cada resposta e um certificado compartilhável com um ID verificável assim que você concluir um curso.
Apoie a educação gratuita em IA. O AI Understanding é uma organização sem fins lucrativos 501(c)(3) — sem anúncios, sem paywall, nunca. Faça uma doação
Reflexion is a research framework in which language agents use task feedback to write textual reflections for later attempts. It changes context, not model weights.
A reflexão é por vezes chamada de “aprendizagem por reforço verbal” porque as lições são armazenadas como texto de linguagem natural na memória, e não codificadas nos parâmetros do modelo.
O Avaliador (um teste de unidade, verificação de correspondência exata ou juiz LLM) produz o sinal de que a etapa de Auto-Reflexão se transforma em uma lição textual.
Se o avaliador não for confiável, o agente poderá escrever reflexões confiantes com base em feedback ruim, direcionando futuras tentativas na direção errada.
The paper reports 91% pass@1 on HumanEval for its Reflexion coding setup; the result is specific to that evaluation.
Sem uma boa regra de parada, um agente pode continuar revisando as respostas corretas, desperdiçando computação e, às vezes, degradando a boa saída.
Continue aprendendo
Mais guias escolhidos para este tópico
A seguirPróximo guia
Auto-reflexão em Loops de Agente
Técnico