NastępnyNastępny poradnik
Autorefleksja w pętlach agentów
Techniczne
PRZEWODNIK Aplikacji
Reflexion is a research framework in which language agents use task feedback to write textual reflections for later attempts.
Posłuchaj tego przewodnikaOpowiadane przez sztuczną inteligencję · ~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.
Darmowy newsletter
Trzy zweryfikowane historie AI każdego poranka w dni robocze, napisane prostym angielskim. Bezpłatne na zawsze, bez reklam.
Jedno e‑mail każdego dnia roboczego. Wypisz się jednym kliknięciem. Nigdy nie sprzedajemy ani nie udostępniamy Twojego adresu.
Sprawdź się
Natychmiastowa informacja zwrotna na każde pytanie oraz udostępnialny certyfikat z weryfikowalnym ID po zaliczeniu kursu.
Wspieraj darmową edukację AI. AI Understanding jest organizacją non-profit 501(c)(3) — bez reklam, bez płatnej ściany, zawsze. Przekaż darowiznę
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.
Refleksja jest czasami nazywana „werbalnym uczeniem się przez wzmacnianie”, ponieważ lekcje są przechowywane w pamięci jako tekst w języku naturalnym, a nie kodowane w parametrach modelu.
Osoba oceniająca (test jednostkowy, sprawdzenie dokładnego dopasowania lub sędzia LLM) daje sygnał, że krok autorefleksji zamienia się w lekcję tekstową.
Jeśli oceniający jest nierzetelny, agent może napisać pewne przemyślenia w oparciu o złe opinie, kierując przyszłe próby w złym kierunku.
The paper reports 91% pass@1 on HumanEval for its Reflexion coding setup; the result is specific to that evaluation.
Bez dobrej reguły zatrzymywania agent może ciągle poprawiać poprawne odpowiedzi, marnując moc obliczeniową, a czasami pogarszając dobrą wydajność.
Ucz się dalej
Wybrano więcej przewodników na ten temat
NastępnyNastępny poradnik
Autorefleksja w pętlach agentów
Techniczne