Apply to my task
arXiv:2605.14186 ★ 84 May 13, 2026

Metacognitive Harness: Steering Retries with the Model's Own Confidence Signals

Key result

LLMs have a built-in "I don't know" detector: it works, it correlates with actual accuracy, and it was tested on nine models. The problem is elsewhere: without an explicit request, the model simply doesn't use it and answers a hard question with the same calm as an obvious one. Metacognitive Harness lets you pull that signal out and turn it into a command: low confidence means try again. The trick: on the retry, the model sees only the result of the previous answer and the reason for doubt, not the reasoning itself. That way it doesn't drag the old mistake along; it starts fresh with the right focus.

01

TL;DR

Every LLM has a hidden self-assessment channel: before answering, the model senses whether it knows the answer, and afterward it can tell how solid its output is. Metacognitive Harness is a technique that pulls these signals out explicitly and uses them as a lever: trust the answer, ask for a redo, or collect several attempts and pick the best one.

The key insight: models know when they're unsure, but on their own they don't adjust their effort. Ask a hard question and an easy one, and the model will spend roughly the same amount of "thinking resources" on both. It won't say on its own, "hold on, I'm not sure, let me try again". It's like a student who senses they don't know the answer but hands in the test anyway without rereading it.

The method splits monitoring and action into two explicit signals: FOK (Feeling of Knowing) before the answer and JOL (Judgment of Learning, a quality rating) after. If confidence is low, the model gets compact feedback and tries again without seeing its previous reasoning (only the result and the reason for doubt). If it's high, the answer is accepted right away.

Want this for your own case? Apply this study to your task: AI adapts its method to what you are working on and writes the prompt.

02

Method Blueprint

STEP 1: FOK request (before the answer)
  → The model gives a 0–1 rating: "how sure am I that I know the answer"
  → No reasoning, no calculations, just a gut rating

STEP 2: Solving the task
  → The model gives a full answer
  → After the answer, it gives a 0–1 JOL rating + the reason for doubt

STEP 3: Decide "trust or retry"
  → High confidence (JOL close to 1) → accept the answer
  → Low confidence → go to step 4

STEP 4: Retry with metacognitive context
  → The model sees: the previous answer + the JOL rating + the reason for doubt
  → It does NOT see: the previous reasoning (so it doesn't loop on the mistake)
  → It generates a new answer + JOL

STEP 5: Aggregation (if there are several attempts)
  → A separate block: compare the attempts by reasoning and answer
  → Pick the best one (ignoring the JOL ratings across attempts)

You can run all the steps in one long prompt or split them across several requests.
03

Example in Practice

Task: You're preparing an investor pitch for an EdTech startup, an online tutoring marketplace. In 3 minutes you need to explain why you won't get crushed by competition from Wyzant and Varsity Tutors.

Prompt:

I'm going to give you a task. Before answering, complete three steps strictly in order.

---

STEP 1, ONLY THIS:
On a 0.0–1.0 scale, rate how confident you are that you can give an accurate and in-depth answer to the question below. Don't reason, don't start answering: just a number and one sentence on why.

Question: "How can a small EdTech startup (a tutoring marketplace, $15K in monthly revenue) convince an investor in a 3-minute pitch that it can withstand competition from Wyzant and Varsity Tutors?"

STEP 1 format:
FOK: [number]
Reason: [one sentence]

---

STEP 2, after you've written the FOK:
Answer the question in detail. Give concrete arguments and a pitch structure.

---

STEP 3, right after the answer:
On a 0.0–1.0 scale, rate how confident you are that your answer is accurate, useful and applicable to this specific situation. State the main reason for doubt (if any).

STEP 3 format:
JOL: [number]
Doubt: [one sentence]

Result:

The model will first give a FOK rating, say 0.7, with a note like "I don't have data on the specifics of this market". Then a detailed answer with arguments. Then a JOL, say 0.6, with a clarification like "I don't know Wyzant's current metrics or the startup's actual niche".

If the JOL is below 0.75, you paste in the second prompt (template below). The model will try again knowing only the result and the reason for doubt, without repeating its old reasoning. The final attempt is usually more accurate and more specific.

04

Why It Works

The LLM weakness: a model generates text on autopilot, one token after another, never looking back. It doesn't stop halfway and say "wait, something's off". Without an explicit request for self-assessment, that signal stays inside and has no effect on behavior.

The LLM strength: if you explicitly ask "rate your confidence", the model gives a signal that correlates with actual accuracy. This was confirmed on nine different models: the higher the FOK/JOL, the more correct answers. The model doesn't lie about its uncertainty; it just doesn't use that knowledge on its own.

How the method uses this: it breaks the passivity. Instead of confidence just sitting somewhere inside, we pull it out as an explicit number and use it as a command: "low confidence = try again". The key trick: on a retry, the model sees only the result of the previous attempt and the reason for doubt, not the reasoning itself. This avoids the "anchoring to the old mistake" effect: the model starts fresh, knowing exactly what bothered it, but without copying the failed line of thinking.

Control levers: - JOL threshold (e.g. 0.75): below it → retry. Lower the threshold for simple tasks, raise it for critical decisions - Number of attempts: in the study the average was 2.4. Cap it at 2–3 to save money - Retry context: pass only the JOL + the reason, not the full reasoning. This is essential - Aggregation: with several attempts, strip the JOL ratings from the context of the final pick, so the model judges by quality of reasoning, not by self-confidence

05

Prompt Template

I'm going to give you a task. Complete exactly three steps.

---

STEP 1, only this:
On a 0.0–1.0 scale, rate your confidence that you'll give an accurate answer to the question below.
Don't reason, don't start answering: just a number and one sentence.

Question: {your_question}

FOK: [number]
Reason: [one sentence]

---

STEP 2:
Answer the question in detail.

---

STEP 3, right after the answer:
On a 0.0–1.0 scale, rate your confidence that your answer is accurate and applicable.
State the main reason for doubt.

JOL: [number]
Doubt: [one sentence]

If JOL < {threshold}, the retry prompt:

Your previous answer: {previous_answer}
Your confidence was: {JOL}
Reason for doubt: {doubt}

Try answering again, keeping these doubts in mind.
Don't copy your previous reasoning; start from a clean slate.

After the answer, give again:
JOL: [number]
Doubt: [one sentence]

If there are several attempts, the final pick:

I have {N} candidate answers to the question: {question}

{Attempt 1: reasoning + answer}
{Attempt 2: reasoning + answer}

Compare the candidates by quality of reasoning and accuracy of the answer.
Pick the best one and explain why.

Placeholders: - {your_question}: the task itself - {threshold}: your trust bar (I recommend 0.75–0.8 for hard tasks) - {previous_answer}, {JOL}, {doubt}: taken from the STEP 3 response - {N}, {Attempt 1...}: for the final aggregation


🚀 Quick start: paste this into your chat:

Here is a Metacognitive Harness template. Adapt it to my task: {your task}.
Ask me questions to fill in the fields.

[paste the template above]

The LLM will ask which question to pose, which JOL threshold to use, and what counts as a "good enough" answer, because without that it won't know when to stop and what to revisit.

06

Limitations

⚠️ Not all models are equally self-aware: In the study, only Claude Sonnet-4.6 passed the full diagnostic: its FOK/JOL genuinely correlate with accuracy and are well calibrated. Gemini-Flash could tell right answers from wrong ones, but its numbers were unreliable as threshold values. Gemma-4 gave almost no useful signal. Before using this seriously, test it: ask the model to rate itself on 10 questions with known answers and see whether its confidence matches reality.

⚠️ Not for simple tasks: The method increases the number of requests (2.4x on average). For obvious questions that's wasted effort. Use it on tasks where correctness really matters: analysis, strategy, complex conclusions.

⚠️ Doing it by hand gets tedious at volume: If you need to process 50 similar tasks in a row, it's slow without automation. The method works best for one-off, high-stakes requests in a chat.

⚠️ FOK without reasoning goes against the model's nature: The STEP 1 prompt must explicitly forbid any calculation before the rating. If the model starts solving before the FOK, the signal loses its meaning: it'll be rating its confidence while already knowing the answer.

07

How They Studied It

A team from UC San Diego took nine different LLMs and gave them one test: rate your confidence before and after answering, and let's see whether it matches actual accuracy. The result was surprising: most of them have the signal. Models with high FOK/JOL really did answer more accurately. But here's the striking part: that signal had no effect on their behavior. Confident and unconfident questions got the same amount of "thinking effort". The gap between knowing and acting was obvious.

So the researchers built a control loop: they fixed a single base Claude Sonnet-4.6 (no weight changes) and added only a control layer: FOK before, JOL after, and an SVM classifier to decide "trust or retry". They tested it on three benchmarks: expert STEM questions (HLE-Verified), hard coding problems (LiveCodeBench v6), and multimodal tasks (R-Bench-V), 1,859 examples in total. Importantly, the diagnostic set (100 questions for training the SVM) was kept strictly separate from the test set to avoid data leakage.

The bottom line: +8.6 percentage points of accuracy at an average cost of 2.4 attempts instead of one. The biggest gain was on hard coding problems (+19.6 on the Hard split). A side-by-side comparison showed this isn't just "more attempts": plain sampling of 4 attempts delivered less at a higher cost. The main contribution is the ability to stop early when confident and try again when not.

08

Adaptations and Extrapolations

🔧 Technique: FOK without a number → qualitative self-assessment

If the 0–1 numeric scale seems unreliable for a particular model, swap it for categories:

Before answering, rate yourself: "Confident / Fairly confident / Not confident / Don't know"
and explain why in one sentence.

Models sometimes give a more honest rating through categories than through numbers, since there's less pull toward a "respectable" number.

🔧 Extrapolation: Metacognitive Harness as a filter for important decisions

Use FOK/JOL not for retries but as a flag: if the JOL is below the threshold, that's a signal to check the answer some other way (search, an expert, a different model). Not an automatic retry, but a recommendation: "this answer needs verification".

After the answer, give:
JOL: [0.0–1.0]
Doubt: [what you're unsure about]
Verification recommendation: [what to check, where to confirm it]
09

Resources

Paper: LLMs Know When They Know, but Do Not Act on It: A Metacognitive Harness for Test-time Scaling

Authors: Qi Cao, Peijia Qin, Yufan Wang, Shuhao Zhang, Pengtao Xie — University of California, San Diego

Theoretical foundation: Nelson–Narens metacognition framework (cognitive psychology)

Benchmarks: HLE-Verified, LiveCodeBench v6, R-Bench-V

Research digest

Key result

LLMs have a built-in "I don't know" detector: it works, it correlates with actual accuracy, and it was tested on nine models. The problem is elsewhere: without an explicit request, the model simply doesn't use it and answers a hard question with the same calm as an obvious one. Metacognitive Harness lets you pull that signal out and turn it into a command: low confidence means try again. The trick: on the retry, the model sees only the result of the previous answer and the reason for doubt, not the reasoning itself. That way it doesn't drag the old mistake along; it starts fresh with the right focus.

Principle

The method asks for two explicit signals: FOK (feeling of knowing) before the answer, and JOL (a quality rating) after. Both on a 0–1 scale, both with a one-sentence reason. If the JOL is below the threshold (say, 0.75), a retry kicks off, but the context is trimmed: only the previous answer and what exactly felt off, with no chain of reasoning. This isn't "ask twice". It's controlled amnesia: the model remembers where it ended up but not how it got there, so it looks for a different path. FOK without reasoning is a separate trick: if the model starts solving before the rating, the signal loses its meaning, since it'll be rating its confidence while already knowing the answer.

Why it works

An LLM generates text token by token and physically can't stop halfway; there's no "wait, something's off" mechanism. But if you explicitly ask "rate your confidence", the answer is honest. This is confirmed: the higher the FOK and JOL, the more correct answers, across nine models. The model doesn't lie about its uncertainty. It just doesn't use that knowledge unless you ask. Metacognitive Harness breaks that passivity: it pulls the signal out as an explicit number and turns it into an instruction for action.

When to apply

Analysis, strategy, complex conclusions, especially when a mistake is costly and there's no way to check the answer externally. Works well for one-off, high-stakes requests in a chat: legal analysis, product decisions, pitch arguments, complex technical conclusions. NOT a fit for simple, obvious tasks: the method increases the number of requests by 2.4x on average. For a stream of 50 similar tasks you need automation; by hand it'll be slow. Test your model before serious use: ask it to rate itself on 10 questions with known answers and see whether its confidence matches reality. Claude Sonnet gives a reliable signal, Gemini Flash a partial one, Gemma-4 almost none.

Mini recipe

1. Ask for the FOK before the answer: have the model rate its confidence from 0 to 1 with one reason, and explicitly forbid any reasoning before that rating. Otherwise the model will solve first and rate second, and the signal loses its meaning. 2. Get the answer + JOL after: after the detailed answer, another 0–1 rating and the main doubt in one sentence. 3. Decide: accept or retry. If the JOL is below the threshold (0.75–0.8 for important tasks), run a retry. Pass along only: the previous answer, the JOL rating, the reason for doubt. Don't pass the reasoning. 4. With several attempts, make the final pick by reasoning, not by JOL ratings. Ask the model to compare the candidates on logic and accuracy, ignoring the confidence numbers; otherwise it'll pick the most self-assured attempt, not the best one.

Examples

[BAD]: `How can a small EdTech startup convince an investor in a 3-minute pitch that it can withstand its competitors?` [GOOD]: `Complete three steps strictly in order. STEP 1, only this: Rate from 0.0 to 1.0 your confidence that you'll give an accurate answer to the question below. Don't reason, don't start answering: just a number and one sentence on why. Question: "How can a small EdTech startup (a tutoring marketplace, $15K a month) convince an investor in a 3-minute pitch that it can withstand competition from Wyzant?" FOK: [number] Reason: [one sentence] STEP 2: Answer in detail: arguments and a pitch structure. STEP 3, right after the answer: Rate from 0.0 to 1.0 how accurate and applicable your answer is for this situation. State the main reason for doubt. JOL: [number] Doubt: [one sentence]` If the JOL comes out below 0.75, send a second request: `Your previous answer: [answer from step 2] Your confidence was: [JOL] Reason for doubt: [doubt from step 3] Try answering again, keeping these doubts in mind. Don't copy your previous reasoning; start from a clean slate. After the answer, give again: JOL: [number] Doubt: [one sentence]`

In plain words

Here's the deal: models have a kind of "intuition", but they're compulsive talkers who never know when to shut up. The study shows that inside every LLM there's a hidden self-assessment signal. Before it even starts generating, the model roughly knows whether it can handle the question, and after answering it can see perfectly well where it messed up. The problem is that this signal is blocked by default: the model just spits out token after token on autopilot, even when it realizes it's talking total nonsense.

It's like a tipsy professor at a party. He may not remember when the Hundred Years' War started, but instead of honestly saying "I don't know", he launches into a confident three-hour lecture, hoping nobody catches on. Deep down he knows he's making stuff up, but he can't stop: the setting demands that he live up to his reputation. The Metacognitive Harness method is like assigning the professor a sober assistant who slaps his wrist at the right moment and makes him either think again or just keep quiet.

Technically it works by explicitly pulling out metacognitive signals. We don't just ask the model to answer; we make it rate its own confidence on a scale or stress-test its own draft. If the model's "inner voice" says the answer is junk, the system kicks in test-time scaling: it makes the model generate several options, compare them, and keep the one where the logic holds together. That turns blind generation into a deliberate selection process where answer quality matters more than speed.

You can apply this anywhere the cost of a mistake is above zero. If you're preparing an investor pitch and ask an AI how to fend off competitors, a regular model will hand you a pile of platitudes. With this method, the system realizes its arguments look weak and starts "digging" deeper until it finds a genuinely killer USP. The principle is universal: from writing code to legal consultations. Instead of hoping for luck, we use the model's inner censor to weed out hallucinations before they land.

Bottom line: stop taking the model at its word; it knows when it's bluffing. The main takeaway of the study is that neural self-control already exists inside the model's weights; you just need to pull it out the right way. Instead of endlessly fine-tuning the model on new data, sometimes it's enough to make it engage its brain before it opens its mouth. Whoever learns to use this lever gets a reliable tool instead of an unpredictable text generator.

AI lab assistant

Apply this study to your task

Describe what you're working on. AI takes the method and the measured results from this paper and adapts them to your case, or writes a ready prompt built on them.

Based on Metacognitive Harness: Steering Retries with the Model's Own Confidence Signals arXiv:2605.14186

Sign in to apply this study New accounts get 50 free credits.