Executive summary
An image model can often be right and still overstate its reliability. A-TPT examines whether separating class descriptions in a model can bring its confidence closer to observed accuracy. The researchers evaluate a method for vision-language models on multiple datasets. For visual inspection the practical question concerns the decisions that trigger a second examination or allow a part to pass automatically. An improved confidence score should hold up in precisely those groups.
FQI takeaway
- Report actual accuracy for each confidence range.
- Examine similar defect classes in pairs and record which ones are confused.
- Measure detection of rare defects and the quality of probability estimates separately.
The principle at a glance
A vision-language model assigns an image to the class whose textual description fits best in its learned representation. Descriptions can end up close together even when the inspection plan distinguishes them clearly. A-TPT adapts the text inputs during use. It encourages separation of the pair of class representations with the smallest angle. The pair currently closest together thus contributes directly to the adjustment.
Deep dive
One assessment measure is expected calibration error. It summarizes the gap between predicted confidence and the fraction of correct labels within groups of similar confidence. In Table 11, for CLIP ViT-B/16 the authors report a dataset-size-weighted average error of 2.73, compared with 4.74 and 3.91 for two comparison methods. A lower value indicates closer agreement overall on the evaluated data. It does not give the number of missed defects in a particular class.
For a local trial, FQI suggests running both the existing model and the adjusted one on the same independently assessed images. Inspect the group immediately above the automatic acceptance threshold. How many of these parts did an independent inspector find to be defective? Models with similar total numbers of correct labels may let quite different parts pass.
In a simplified example, two surface defects look alike but require different rework. Record which class was substituted for which and the confidence of each mistaken decision. Also group parts from the same batch when interpreting results. Counting many nearly identical images as independent cases can exaggerate how much evidence the trial provides.
Consider a hundred independently checked decisions with confidence close to ninety percent. About ninety correct labels would be consistent with that stated confidence. This is an illustrative calculation, separate from the reported experiments. The interpretation of a discrepancy depends on the group size. A handful of images for a rare class cannot give a precise estimate.
Limitations and risks
The authors report some loss of accuracy for classes with overlapping meanings. They use a fixed strength for the angular constraint. A different class catalog may need a different setting. The overall error can improve if scores become more accurate on frequent, easy cases while a small group of critical failures still performs poorly.
FQI conclusion
Change an acceptance threshold only after measuring its consequences on independently inspected parts. Better confidence estimates can help direct limited inspection time toward uncertain cases. When similar defects require different rework, the decision also needs a separate account of those confusions. Record the model version, class descriptions, threshold and image conditions together. The next change to the process can then be assessed against the decisions it is most likely to affect.
Sources & transparency
The methods and results are reported in the authors’ paper. The proposed workplace test and illustrative examples are FQI interpretations.
Artificial intelligence assisted preparation. Johann Fischer approved this article package for publication on 2026-11-07.
Open full-size graphic