← Back to AI Engineering Mind Map
⚡Flashcard Drill➔
🤖 AI EngineeringID: reflexion-self-correction

Reflexion Self-Correction

Reflexion 自我反思与反思记忆
🎯Core Definition
Reflexion is an advanced agentic architecture that reinforces task performance through verbal self-reflection rather than traditional reinforcement learning weight updates; upon task execution failure evaluated by an objective judge (e.g., failed unit tests), the Self-Reflection module analyzes the entire trajectory, authoring a natural language critique detailing the failure root cause and strategic corrections; this reflection memory is appended to working memory, guiding the agent in subsequent trials to actively avoid past mistakes.
💡Use Cases
Autonomous code generation and test-driven self-repair (HumanEval, SWE-bench), multi-step scientific deduction, and strategic decision simulations.
⚡Key Problems Solved
Standard ReAct agents trapped in a bad state loop repeatedly repeat identical missteps across retries; Reflexion externalizes past mistakes into explicit textual memory buffers, enabling trial-over-trial error recovery and behavioral self-correction.
🎯Core Interview Exam Points
Fundamentals · Production Scenarios · Deep Dive
Core Def
Explain the core definition, underlying mechanism/math, and key principles of Reflexion Self-Correction.
Use Cases
In production engineering, what are the primary use cases for Reflexion Self-Correction and what core pain points does it solve?
🔥 High-Frequency Deep-Dive Questions
1
Detail the tripartite architecture of Reflexion: Actor, Evaluator, and Self-Reflection modules and their execution flow?
2
Explain the FIFO sliding window eviction and vector-based semantic retrieval across Reflexion memory buffers?
3
Why does unit-test grounded Reflexion boost HumanEval/LeetCode pass@1 from ~60% to over 90% across 3 trials?
4
Design prompt constraints to prevent models from authoring vague, ungrounded reflections that fail to guide self-correction?
5
Compare Reflexion vs traditional Reinforcement Learning (PPO/DPO) in sample efficiency, inference cost, and cold-start feasibility?
📖 In-depth Guide:📄 agent-design-patterns →
Updated 2026-08-14
🎯
Verify Mastery: Practice Exam Questions for "Reflexion Self-Correction"
Take pitfall multiple-choice questions with derivation options; mistakes are automatically logged.
🚀 Start Card Practice ➔
⚡
Test muscle memory on this topic via 3-Layer Flashcards
Active Recall: Mentally formulate Prompt ➔ Math Derivation ➔ Benchmark Implementation in 3 minutes.
🎯 Drill This Card Now➔
← Previous CardReAct Thought-Action-ObservationNext Card →Plan-and-Execute Pattern

🔗 More AI Engineering Knowledge Cards

引用出处: TalentMe 450+ 工业级 AI 架构考点知识库 (Tech Vault) · 遵循 CC-BY-4.0 知识共享协议
URL: https://talentme.airsota.com/resources/tech/roadmap/mindmap/AI_Engineering/card/reflexion-self-correction