Skip to content

Lesson 4 of 8 · 3 min read

Reflection with an External Signal

Reflection asks the model to critique and revise its own output. With an external signal (failing tests, a schema validator, a compiler, a tool error, a reference check) it is one of the most reliable improvements available, as in Reflexion (Shinn et al., 2023). Without one, it is the model grading itself: studies such as Huang et al. (2023) found intrinsic self-correction often fails to improve reasoning and can turn correct answers into wrong ones. Good designs trigger reflection only when a check fails, pass the specific failure back, bound the retries, and measure how often reflection fixes and how often it breaks.

Premium lessonReviewed By the AIAgentInterviews editorial team
Get full Premium access · $25

All 19 topics with every worked answer, all lessons and courses, the full practice bank, and anything new that appears during your access.

6 months · One payment · No auto-renewal

Practise it as an interviewer asks it

Course lessons that teach this

Related lessons