How does the brain learn from mistakes? A new Duke study reveals a hidden circuit that helps control the learning process.