Research
Metacognitive Sensitivity for Test-Time Dynamic Model Selection
Overview Research area: Test-time dynamic model selection (ensemble/arbitration), metacognition-inspired AI, and contextual bandit learning. Technical level: Intermediate. Readers should be comfortabl
- arXiv
- 2512.10451
- Published
- 2025-12-11
- Authors
- Le Tuan Minh Trinh, Le Minh Vu Pham, Thi Minh Anh Pham, An Duc Nguyen
AI summary
Overview
Research area: Test-time dynamic model selection (ensemble/arbitration), metacognition-inspired AI, and contextual bandit learning.
Technical level: Intermediate. Readers should be comfortable with confidence calibration, Signal Detection Theory concepts, and contextual bandit algorithms (LinUCB, LinTS), but the paper's framing is largely conceptual.
Scope: The paper introduces meta-d'—a psychophysics measure of metacognitive sensitivity—as a dynamic context signal for a bandit-based arbiter that selects between two pre-trained models per test instance.
What This Paper Is About
Deep learning systems often rely on multiple specialised models, raising the question of which model to trust for a given input. Raw model confidence is a poor guide because deep networks are frequently miscalibrated, so the paper proposes borrowing meta-d' from human cognitive science to measure how reliably a model's confidence predicts its own accuracy. That "metacognitive sensitivity" score is then fed, alongside raw confidence, into a contextual bandit that learns at test time which of two models to query for each image.
Key Contributions
-
Introduction of meta-d' as a functional signal for model selection. The paper adapts the meta-d' framework (derived from Signal Detection Theory and fitted via hierarchical Bayesian inference) to quantify how well a model's confidence tracks its own correctness, framing it as a medium-term "trait" rather than a per-sample signal.
-
A bandit-based arbitration framework with a two-timescale context. The arbiter receives a 4-dimensional context vector
s_t = [c_A,t, μ_A,t, c_B,t, μ_B,t]combining each model's instantaneous confidence with its dynamically updated metacognitive sensitivity score. -
A dynamic, non-stationary update mechanism. Sensitivity scores are initialised from a burn-in of the first 100 trials and recomputed every 50 trials using a 100-trial sliding window, allowing adaptation to distribution shift. The authors also developed a GPU-parallelised package for efficient meta-d' estimation to handle the computational cost of hierarchical Bayesian inference.
-
Empirical evaluation across CNN and VLM model pairs, including on a domain-shift setting, showing joint-inference accuracy that exceeds the best individual constituent model at most checkpoints.
Main Findings
-
Early-trial gains are large, later gains moderate (CIFAR10). Across four CNN pairings (AlexNet, GoogleNet, EfficientNet, ViT) evaluated at 300, 700, and 1000 trials, the joint framework improved over the best individual model by 7.1%, 7.9%, 8.2%, and 4.8% at 300 trials. At 1000 trials the gains narrowed to 3.5% (AlexNet-ViT), 1.6% (AlexNet-GoogleNet), 1.4% (EfficientNet-ViT), and 2.5% (EfficientNet-GoogleNet).
-
One observed regression. The AlexNet-GoogleNet pair at 700 trials showed a slight decrease: 57.7% for the best individual model versus 57.5% for the combination (-0.2%).
-
Correlated errors limit the framework. When both models misclassify the same sample, no selection policy can help. This pattern is more common among architecturally similar models that share inductive biases from pre-training.
-
Architectural diversity helps. Heterogeneous pairings, such as CNN-Transformer combinations, exhibit fewer correlated errors and reach higher accuracy, which the authors attribute to inductive-bias diversity.
-
Adaptation to shifting sensitivity. In the AlexNet-GoogleNet pairing, when AlexNet's metacognitive sensitivity dropped (reported at trial 700), the bandit shifted selection toward GoogleNet.
-
Modest but consistent gains under domain shift with VLMs. On the CIFAR10-PACS combined benchmark evaluated at 1500, 2500, and 4000 trials, MetaCLIP-SigLIP moved from 98.7 to 99.0 (+0.3%), 98.7 to 98.6 (0.0%), and 98.4 to 98.5 (+0.1%). CLIP-ALIGN moved from 94.2 to 96.0 (+1.8%), 94.8 to 96.2 (+1.6%), and 94.8 to 95.8 (+1.0%). The authors note these gains are smaller than for image models because the VLMs are already highly accurate.
-
Motivation for the augmented dataset. PACS exhibits a 1:5 imbalance between photographic and non-photographic styles, which may skew results; adding CIFAR-10 introduces additional photographic diversity for a more balanced benchmark.
Methodology in Plain English
The setup is a two-model arbitration problem on image classification. Given a pair of pre-trained models and a stream of images, the system must choose which model to run on each image.
For every image, each model produces a prediction and a softmax confidence (the maximum softmax probability). Separately, the system tracks each model's meta-d' score: the models are run on a burn-in of the first 100 trials, and their recorded (confidence, correctness) pairs are used to fit a hierarchical Bayesian model that yields an initial sensitivity score. Then, during streaming evaluation, every 50 trials the score is recomputed from the 100 most recent trials and otherwise held fixed—producing a slowly drifting estimate of "does this model know when it knows?"
These four numbers form the context vector passed to a contextual bandit with two arms (one per model). The bandit picks an arm, the corresponding model's prediction is used, and a reward of 1 is given if that prediction matches the ground truth, otherwise 0. The bandit then updates its linear model. Two standard algorithms are used: LinUCB (linear upper confidence bound, with exploration parameter α) and LinTS (linear Thompson sampling, with prior variance parameter σ). Reported learning-dynamics figures use LinTS with σ = 0.5 and σ = 1.0, and LinUCB with α = 1.0 and α = 0.5. Overall accuracy is reported as total reward divided by the number of post-burn-in trials.
Why This Matters
The paper reframes ensemble selection as a problem of evaluating both short-term signals (per-sample confidence) and medium-term traits (metacognitive sensitivity), moving AI metacognition from a diagnostic property to an active control signal. If confidence reliability is genuinely more informative than confidence magnitude, this suggests a different design principle for arbitration and routing systems.
Real-world applications:
- Multi-model inference routing. Deciding per request which of several deployed models to run, rather than fixing one model or averaging all of them.
- Human-AI collaboration. Prior work cited by the authors suggests a lower-accuracy but higher-metacognitive-sensitivity AI can be a better partner, because its confidence signals are more trustworthy guides for when to follow its advice.
- Domain-shift deployment. The VLM experiments on the combined CIFAR10-PACS benchmark target settings where individual model performance degrades unpredictably.
- Error monitoring and escalation. A dynamically tracked sensitivity score could flag when a model's self-assessment has become unreliable, which is useful in any pipeline that escalates uncertain cases to humans or larger models.
Industry relevance: The framework is model-agnostic and operates on pre-trained models without retraining, which makes it practical for serving stacks that already host multiple checkpoints. The reported modest gains in high-accuracy VLM regimes are a caveat for production use, but the authors position metacognition-aware feedback as a path to more reliable and interpretable ensemble systems. The paper does not report latency, cost, or throughput measurements for the selection framework.
Future Directions
- Extending to large language model ensembles, which the authors name explicitly as a future direction.
- Richer reinforcement learning strategies for selection, replacing or augmenting the contextual bandit with more expressive policies.
- Reducing correlated-error limits, since the paper's diagnostic finding is that shared inductive biases cap the achievable gain—suggesting work on diversity-aware model-pool construction.
- Scaling the metacognitive estimation pipeline, given the acknowledged computational demands of hierarchical Bayesian inference that motivated the GPU-parallelised meta-d' package.
Target Audience
Researchers and practitioners working on ensemble selection, mixture-of-experts routing, test-time adaptation, and uncertainty quantification. It should also interest cognitive scientists studying metacognition who want to see the meta-d' framework operationalised in machine learning, and engineers building multi-model serving systems who are considering confidence-based routing. The paper does not report a full statistical analysis, ablation over window or burn-in sizes, or comparisons against alternative selection heuristics, so readers seeking those specifics will not find them here.
Authors’ abstract
A key aspect of human cognition is metacognition - the ability to assess one's own knowledge and judgment reliability. While deep learning models can express confidence in their predictions, they often suffer from poor calibration, a cognitive bias where expressed confidence does not reflect true competence. Do models truly know what they know? Drawing from human cognitive science, we propose a new framework for evaluating and leveraging AI metacognition. We introduce meta-d', a psychologically-grounded measure of metacognitive sensitivity, to characterise how reliably a model's confidence predicts its own accuracy. We then use this dynamic sensitivity score as context for a bandit-based arbiter that performs test-time model selection, learning which of several expert models to trust for a given task. Our experiments across multiple datasets and deep learning model combinations (including CNNs and VLMs) demonstrate that this metacognitive approach improves joint-inference accuracy over constituent models. This work provides a novel behavioural account of AI models, recasting ensemble selection as a problem of evaluating both short-term signals (confidence prediction scores) and medium-term traits (metacognitive sensitivity).