Paper explainer

RL with Metacognitive Feedback Teaches LLMs to Say “I’m Not Sure” Honestly

The core claim: if you reward a language model not only for correct answers but also for accurately judging its own confidence, it becomes both more capable and more honest. Instead of confidently hallucinating, the trained model hedges exactly when it should, because faithful uncertainty expression is baked into the reward it optimizes.

The Loop, Animated

The training loop from the paper: a query enters the policy model, which emits an answer y and a metacognitive statement m. Each is scored, the signals combine, and a gradient step updates the policy.

QueryxPolicy modelpi_thetaAnswer ytask outputConfidence mmetacognitiveRewardstask scoreMetacognitiveaccuracyr_theta, A_thetacombined signaltheta += grad J(theta)RL update

Press Play or Step to walk through the loop. Left and right arrow keys also step when the diagram controls are focused.

Calibration Simulator

Set how often the model is actually right, and what confidence it states. The combined reward peaks when stated confidence matches reality.

Inputs
0.70combined reward
Task reward (expected correctness)0.70
Metacognitive accuracy = 1 − |confidence − correctness|1.00
Combined reward (mean of both)0.85
VerdictWell-calibrated

Worked Example

Query from the paper: “What were the first plants to evolve?” The correct answer involves bryophyte-like nonvascular plants such as mosses and liverworts.

Confident and wrong

“The first plants were flowering plants, appearing 100 million years ago. I am 95% confident.”

Task reward: 0.00. Metacognitive accuracy: 1 − |0.95 − 0| = 0.05. Combined: 0.03. The high confidence on a wrong answer is punished hard.

Hedged and honest

“Likely bryophyte-like nonvascular plants, similar to mosses and liverworts, roughly 470 million years ago, though I am about 70% confident in the details.”

Task reward: 1.00. Metacognitive accuracy: 1 − |0.7 − 1| = 0.70. Combined: 0.85. Correct content plus honest hedging wins.

Why It Matters

Hallucination reduction. Vanilla RLHF often rewards fluent, confident-sounding text, which teaches models to bluff. Adding a metacognitive accuracy term makes bluffing costly: a wrong answer stated confidently scores near zero.

Trustworthy AI. Downstream users can act on stated confidence. If a model says 60%, it should be right about 60% of the time, which enables safe deferral to humans or tools.

Versus vanilla RLHF. RLHF optimizes human preference for answers; this method additionally optimizes agreement between the model’s stated confidence and its empirical correctness, so honesty is a first-class training objective rather than a side effect.

Check Your Understanding

Score: 0 / 5

Glossary

Calibration
The match between stated confidence and actual accuracy. A calibrated model saying 80% is right about 80% of the time.
RLHF
Reinforcement learning from human feedback: fine-tuning a policy model against a reward learned from human preferences.
Metacognition
Thinking about one’s own thinking. Here, the model’s statement m about how likely its own answer y is to be correct.
Policy gradient update
theta gets theta + grad J(theta): adjusting model weights in the direction that increases expected combined reward.
Enjoy this tool? Build your own with Super