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

Qi Cao, Yufan Wang, Peijia Qin, Shuhao Zhang, Pengtao XiearXiv 2026

TL;DR

While large language models (LLMs) can accurately estimate their own likelihood of success before and after solving a problem, they fail to naturally translate this self-awareness into adaptive reasoning effort. By introducing an explicit "metacognitive harness" inspired by cognitive psychology, researchers transformed these passive confidence signals into an active control loop for test-time scaling, significantly boosting the accuracy of a fixed Claude Sonnet-4.6 model across text, code, and multimodal benchmarks without any fine-tuning.

What Problem Does This Paper Address?

When humans realize a problem is exceptionally difficult or that their initial solution feels shaky, they pause, rethink, and allocate more cognitive effort. Modern LLMs possess a similar latent capability—called metacognition—allowing them to generate useful internal signals about their own uncertainty.

However, as the authors demonstrate, LLMs are passive observers of their own doubt. Even when a model explicitly reports low confidence in an answer, it does not automatically adapt its reasoning behavior, retry the problem, or spend more time verifying its steps.

Current test-time scaling techniques attempt to solve this by either uniformly generating a fixed number of parallel attempts (like best-of-N sampling) or blindly forcing a model to critique itself within a single, continuous trajectory. The former is computationally wasteful on easy problems, while the latter often suffers from "anchoring bias," where the model gets stuck repeating its early mistakes. This paper addresses the gap between knowing and acting by building an external control interface that forces LLMs to regulate their reasoning based on their own self-monitoring signals.

Figure 1: LLMs exhibit metacognitive signals, but do not use them to control reasoning. (a) We directly prompt each LLM to report a scalar self-assessment in [0, 1] before answering, denoted as FOK (Feeling of Knowing), and after answering, denoted as JOL (Judgment of Learning). (b) These self-reported scores are meaningfully correlated with actual correctness: examples with higher FOK/JOL scores achieve higher accuracy, suggesting that LLMs possess usable metacognitive monitoring signals. (c) However, these signals do not translate into adaptive reasoning control: higher-confidence examples do not consistently receive more or less reasoning effort, measured by reasoning length normalized by each model’s average. Arrow counts summarize the per-model comparison between the high- and low-confidence bands across the nine evaluated LLMs: ↑means High > Low and ↓means High < Low. Details for the 9 evaluated LLMs are reported in Appendix A.

Methods

The authors design a Metacognitive Harness based on the Nelson–Narens monitoring-and-control framework from cognitive psychology. The system operates in two distinct phases:

  1. Metacognition Diagnosis: Before tackling a benchmark, a model is evaluated on a small, disjoint "anchor set" of 100 problems. The harness elicits two scalar self-assessment scores in the range [0, 1]:
  2. Feeling of Knowing (FOK): A prospective, gut-feeling score generated before any reasoning occurs.
  3. Judgment of Learning (JOL): A retrospective confidence score generated after producing a solution.

Using these anchor points, the harness trains a lightweight Support Vector Machine (SVM) to map the two-dimensional (FOK, JOL) space into a calibrated, model-specific decision boundary that determines exactly when to trust an answer and when to trigger a retry.

  1. Test-Time Control Loop: At inference time, the harness uses the learned SVM boundary to dynamically manage compute:
  2. If an attempt lands in the "trusted" zone, the loop terminates early, saving compute.
  3. If a retry is triggered, the harness passes a compact metacognitive history (prior answers, JOL scores, and natural language reasons for doubt) to the next attempt, while intentionally wiping out the previous full reasoning traces. This forces the model to try a fresh approach without being anchored to its old logic.
  4. Forced-Aggregator Selection: If multiple attempts are generated, an independent LLM verifier selects the best final answer by index. Crucially, the FOK/JOL scores are hidden from this verifier to prevent it from being swayed by superficial confidence cues.
Figure 2: Metacognitive harness. Inspired by the Nelson–Narens metacognition theory, we instanti- ate metacognition as a two-level control loop for language model reasoning. The meta level monitors the model’s reasoning state through self-reported signals, including pre-solve feeling of knowing (FOK) and post-solve judgment of learning (JOL), while the object level performs test-time scaling actions such as solving, retrying, aggregating, and stopping. A model-specific decision boundary learned from the anchor diagnosis converts FOK/JOL signals into control decisions, allowing each model to decide when to trust its current answer and when to allocate additional computation.

Datasets

The harness was evaluated across three primary public reasoning benchmarks:

  • HLE-Verified: A dataset focused on expert-level STEM reasoning.
  • LiveCodeBench v6: A benchmark evaluating code reasoning and executable implementation.
  • R-Bench-V: A multimodal reasoning benchmark requiring visual grounding.

A separate, independent 100-example anchor set spanning text, code, and multimodal domains was used exclusively for the initial metacognitive diagnosis phase to prevent benchmark contamination.

Key Insights and Ideas

  • LLMs are highly self-aware but inert: The paper confirms that frontier models like Claude Sonnet-4.6 have highly discriminative and well-calibrated internal confidence metrics, yet they require an external harness to actually act on them.
  • Lossy context is a feature, not a bug: Dropping the full reasoning chain during retries and only providing the previous answer and the reason for uncertainty acts as targeted negative feedback. It prevents the model from re-using a fundamentally flawed derivation.
  • Confidence is for macro-control, not micro-selection: An elegant finding of the paper is that JOL scores vary meaningfully across different problems, making them excellent for deciding whether to retry. However, within the same problem, JOL scores across multiple attempts have very low variance (a 5.6× narrower standard deviation). Therefore, confidence scores should guide retry loops, but final answer selection must rely purely on verifying the reasoning text itself.

Key Results

Using a fixed Claude Sonnet-4.6 base model, the metacognitive harness achieved state-of-the-art performance, outperforming the strongest listed leaderboard entries (including reasoning-optimized models like OpenAI's o3 and o4-mini) on public benchmark snapshots:

  • Pooled Accuracy: Raised the model's overall accuracy across all benchmarks from 48.3% to 56.9% (+8.6 point gain).
  • HLE-Verified (Gold): Jumped from 48.0% to 60.0%, beating GPT-5.2-H (52.5%).
  • LiveCodeBench v6 (Hard): Achieved a massive +19.6 point gain (moving from 55.0% to 74.6%), proving that the harness is most effective when tasks are highly challenging.
  • Efficiency: Compared to parallel sampling methods (like standard aggregators that uniformly generate 4 attempts per question), the harness achieved higher accuracy while averaging only 2.4 attempts per question, significantly reducing inference costs.

Limitations and Future Work

The primary limitation is that the harness is not model-universal. Its success hinges entirely on the base model's intrinsic ability to generate calibrated metacognitive signals. While Claude Sonnet-4.6 passed the diagnostic rubric perfectly, other models evaluated during the diagnosis phase (such as Gemma 4 or Gemini 3 Flash) exhibited miscalibrated or absent metacognitive signals, making them unsuitable for this style of harnessing without prior calibration tuning.

Additionally, the decision boundaries were fitted on a relatively small anchor set (100 examples), which could face robustness issues under severe distribution shifts. The authors note that future work will focus on packaging the harness into reusable agent frameworks (like the Model Context Protocol) and evaluating its performance in long-horizon, multi-step agent environments.

Summary updated

BibTeX
@misc{cao2026llms,
  author = {Qi Cao and Yufan Wang and Peijia Qin and Shuhao Zhang and Pengtao Xie},
  title = {{LLMs Know When They Know, but Do Not Act on It: A Metacognitive Harness for Test-time Scaling}},
  year = {2026},
  eprint = {2605.14186},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.14186},
}
Figure