TRANSMISSION // 2608.30230v3
Teaching image AI when not to sound so sure
Source published
A paper authors’ test-time prompt-tuning method uses confidence-dependent temperature scaling of altered image views, then averages them to guide predictions and preserve uncertainty.

An image classifier can be accurate yet poorly calibrated: its confidence may not match how often its predictions are correct. In an arXiv preprint, the authors propose adapting a vision-language model’s prompt using unlabeled test images while accounting for uncertainty across altered views of each image.
The confidence problem in image recognition
Calibration describes how closely a model’s stated confidence matches its accuracy in practice. A model can make many correct predictions and still be poorly calibrated if its confidence does not reliably reflect how often it is right.
Test-time prompt tuning (TPT) adapts a vision-language model, such as CLIP, during evaluation. It creates multiple altered versions of a test image and uses their predictions to update a prompt, without requiring labels for that image. A common approach minimizes prediction entropy—a measure that falls as a probability distribution becomes more concentrated.
The authors of this arXiv preprint argue that entropy minimization can make predictions sharper even when an image is difficult or the altered views provide uncertain evidence. They also identify a mismatch: adaptation uses predictions from augmented views, while the final prediction is made from the original image. Their question is whether a different objective can connect those predictions while better preserving uncertainty.
Matching predictions while accounting for uncertainty
The proposed method forms a target probability distribution from predictions on augmented views, then compares it with the prediction for the original image. The loss is the Kullback–Leibler divergence, KL(p_aug || p), where p_aug is the augmentation-derived target and p is the original-view prediction. The target is not fixed: it remains differentiable and is updated during adaptation too.
To construct the target, the method first temperature-scales each augmented-view prediction according to its confidence. Confident predictions become sharper; less confident predictions become softer. It then averages these scaled distributions equally. Confidence changes each view’s sharpness, not its averaging weight. A confidently wrong view can still be sharpened, though its contribution to the average is bounded by 1/N, where N is the number of views.
The objective is cross-entropy matching minus the entropy of the target distribution. In the authors’ account, this is equivalent to KL(p_aug || p). A sharp target has lower entropy and provides a stronger matching signal; a soft, uncertain target has higher entropy and reduces the matching cost. The goal is to transfer class preferences from augmented views without forcing the original-view prediction to become overconfident when that target is uncertain.
What the experiments report
The paper evaluates the approach with CLIP ViT-B/16 on ten fine-grained image-classification benchmarks, averaging three runs. It reports average accuracy of 65.71% and expected calibration error (ECE) of 3.65. ECE summarizes differences between confidence and observed accuracy across prediction groups; a lower ECE indicates better calibration by this metric. In the same comparison, standard TPT reports 64.62% accuracy and 11.67 ECE. Other calibration-oriented TPT baselines also have higher average ECE in that comparison, though results vary by dataset.
The authors also test different prompt initializations and a separate prompt-tuning framework, DynaPrompt. In those comparisons, their method reports the lowest average ECE among the listed methods while maintaining competitive accuracy. On five ImageNet-related test sets, the paper reports average ECE of 3.55, compared with 11.99 for TPT. TPT has the highest average accuracy in that comparison; the proposed method’s accuracy is close to the strongest baseline, not the highest.
Additional analyses support the authors’ interpretation in these settings. On the DTD texture dataset, they report lower confidence on incorrect predictions than with entropy minimization. They also report reducing the rate at which augmentation-derived predictions differ from the original-view prediction. These results do not establish that confidence will be reliable in every use case.
What remains uncertain
This work is an arXiv preprint; the supplied source does not establish peer review. The experiments cover particular vision-language models, benchmarks, prompt-tuning procedures, and calibration measures. The authors say that broader architectures and adaptation strategies remain to be tested. They also identify open questions about alternative measures such as negative log-likelihood and Brier score, sensitivity to temperature settings, whether augmentations suit different domains, and whether confidence is the best proxy for view reliability.
The practical point is limited but important: making predictions sharper is not the same as making them more trustworthy. This study tests a prompt-adaptation objective that uses confidence-dependent temperature scaling of altered views, averages those predictions, and explicitly accounts for uncertainty in the resulting target.
- test-time prompt tuning
- model calibration
- vision-language models
- CLIP
- uncertainty estimation
- image classification
Related reading
Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.
ACTOR uses delayed labels to improve later image classifications
Source published
Shared keywords: image classification, vision language models
When AI counts the same evidence twice
Source published
Shared keywords: model calibration, uncertainty estimation
A federated fine-tuning method aims to personalize language models—and measure uncertainty
Source published
Shared keywords: model calibration, uncertainty estimation
When AI sees a changed image, relationships may help
Source published
Shared keywords: image classification, vision language models
An AI Agent Designs Custom Adaptations for Image Models
Source published
Shared keywords: vision language models