Update (10/09): The link to the Claude model card has been fixed. Thanks for the catch!

Overview

This module develops three things today's lecture introduced but didn't have time to cover in depth: self-correction, task decomposition, and a pair of techniques that work above the level of a single prompt — Automatic Prompt Engineering (APE) and self-consistency. You saw self-correction work in the lab; this module explains what makes the loop reliable and where it breaks. Task decomposition covers what to do when a task is too complex for a single prompt. APE and self-consistency are qualitatively different from everything else covered so far: with APE the model participates in writing its own prompt, and with self-consistency you run the same prompt many times and treat the outputs statistically rather than individually.

Why This Matters

Self-correction's most common failure is sycophantic approval — a vague critique produces a model that says “this looks great” and changes nothing. Week 6 explains why this happens at the training level; this module gives you the practical fix now, so you can design around it before you've built a system that depends on it. Task decomposition matters because any project with a multi-step AI process is almost certainly better off decomposed — it is the difference between “the AI got the wrong answer” and “step 2 of the AI pipeline got the wrong answer,” which is the difference between a demo and something you can debug. APE and self-consistency are higher-cost techniques you won't use in most places, but knowing precisely when they help — and, just as importantly, when they actively mislead you — is what lets you reach for them deliberately instead of hoping they work.

Format and Timing

What You'll Learn

Required Materials

Optional Materials

If you want to go deeper on any of these topics (not required, but helpful if you're curious):

Completion and Assessment

This module is graded on completion. Submit your answers to the 4 questions on E3 before 11:59 PM on Sunday, October 11. You'll receive full credit for completing all questions; partial credit is not available. Two questions reward careful reading of the Weng sections, and two ask you to connect that reading to the cautions raised in the framing video — the held-out test for APE, and when majority vote misleads. Read the sections before you answer.

← Back to Calendar