06 · Self-criticism

Check your own answer

06Self-criticism

Group 06 · 6 techniques

Self-criticism

Check your own answer. Answer, then check it, then fix it.

Each slide shows one technique: the plain prompt, the same prompt with the technique applied, and what changed. Use the arrows, the keys ← →, or pick a technique on the left.

Self-Refine

Iterative: the same LLM gives feedback on its initial answer, then improves it from the feedback, until a stopping condition.

Before

Give your answer once.

After · new words marked

Give an initial answer, then give yourself feedback on it, then improve it from that feedback. Repeat until it is good.

What happened

About 20% absolute average improvement across 7 tasks, from dialogue to math (GPT-3.5 / ChatGPT / GPT-4).

Self-Calibration

Answer first; then a new prompt (question + answer + 'is this correct?') gauges confidence.

Before

Answer the question.

After · new words marked

Answer the question. Then, in a new prompt: here is the question and your answer - is this correct? How confident are you?

What happened

Useful for deciding when to accept vs revise an answer (Kadavath et al. 2022).

Chain-of-Verification (CoVE)

Generate an answer; create verification questions; answer them; give all info back to the LLM for a final revised answer.

Before

Answer the question.

After · new words marked

Answer, then list verification questions about your answer, answer those, then revise your original answer using the verification results.

What happened

Improvements in QA and text generation (Dhuliawala et al. 2023).

Self-Verification

Generate multiple CoT candidate solutions; score each by masking parts of the question and asking the LLM to predict them from the rest + the solution.

Before

Pick the first solution.

After · new words marked

Generate several candidate solutions, then for each, mask part of the question and check whether the solution lets you recover it. Pick the best-scoring one.

What happened

Improvement on eight reasoning datasets (Weng et al. 2022).

Reversing Chain-of-Thought (RCoT)

Reconstruct the problem from the generated answer; compare original vs reconstructed problem for inconsistencies; feed back as a revision signal.

Before

Answer the problem.

After · new words marked

From your answer, reconstruct the original problem. Compare it with the real problem - if they differ, revise your answer.

What happened

Detects reasoning errors via reconstruction (Xue et al. 2023).

Cumulative Reasoning

Generate several potential steps; the LLM accepts or rejects each; repeat until the final answer is reached.

Before

Follow one chain to the end.

After · new words marked

Propose several next steps, accept only the valid ones, reject the rest, and repeat until the answer is reached.

What happened

Improvements in logical inference and mathematical problems (Zhang et al. 2023).