Manuscript Offprint
arXiv:2610.40587Beyond Ground Truth: A Heuristic Unsupervised Quality Assurance Engine for Diagnosing Calibrational Blindness in Dental Segmentation
Fatematuj Johura Mim
Department of Computer Science & Engineering
North East University Bangladesh
Sylhet, Bangladesh
Email: fatematuj.jm@gmail.com
Abstract—In real-world clinical settings, dental X-ray segmentation using deep learning methods suffers from reliability issues. Even when the segmentation quality is bad, deep learning models show high confidence in their predictions (calibrational blindness). Moreover, in real use, doctors do not have ground-truth masks to check their accuracy. To address this problem, we introduce a simple quality-checking engine called HUS-QA with three stages. We train it on the PRAD (Periapical Dental X-ray) dataset to build our SimCLR self-supervised ResNet-18 U-Net model, which generates the segmentation mask and then evaluates its quality. Our HUS-QA checks the segmentation mask quality without a ground-truth mask. Prediction confidence, edge sharpness, shape connectivity, and area-size penalty are the simple indicators considered in this research. Results show that standard confidence methods fail ( , , ROC AUC = 0.4275). By contrast, our HUS-QA shows a positive correlation with actual Dice scores ( , ) and achieves a strong ROC-AUC of 0.8405. Therefore, HUS-QA serves as a practical tool for clinical quality control.
Index Terms—Dental Radiography, Image Segmentation, Self-Supervised Learning, Quality Assurance, Calibrational Blindness, Dental X-ray Segmentation.
I. INTRODUCTION
In modern medical systems, automatically segmenting dental X-rays is essential, as it helps clinicians diagnose oral conditions [1], [2]. Deep learning models, especially encoder-decoder models [3], help doctors detect oral diseases and save time by segmenting different dental anatomical structures in images [4]. But in real-world use, calibrational blindness is a major problem. Deep learning models often show high confidence even when their output masks are wrong or incomplete [5]. After deployment, clinicians have no labels to check whether the masks generated by deep learning models are reliable or misleading [6].
We need a quality-control framework that can assess predicted mask quality without ground truth to build trust in Medical AI tools [6], [7]. Standard quality checks only look at basic confidence scores, but high confidence does not guarantee good shape or structure [5]. To solve this issue, we present the Heuristic Unsupervised Quality Assurance (HUS-QA) engine. By looking at four simple visual indicators such as confidence score, boundary sharpness, component connectivity, and anatomical area size, HUS-QA checks the segmentation quality of X-rays. It combines these indicators into one final score to tell doctors if a mask needs manual checking. Also, to lower the cost of expert annotations, our framework uses Self-Supervised Learning (SimCLR) to learn features from unannotated X-ray images first [8], [9].
The primary contributions of this work are:
• We present HUS-QA, a simple approach that checks dental segmentation quality and catches overconfident errors without using ground-truth masks.
• We combine basic confidence scores with structural signals like Sobel edge sharpness, shape connectivity, and area penalties.
• We use a SimCLR self-supervised ResNet-18 [10] U-Net model on the PRAD dataset to get good segmentation results with fewer labeled images.
- Test results show that HUS-QA has a positive correlation with Dice scores ( , ) and yields a strong ROC-AUC of 0.8405 for separating bad segmentations, which is significantly better than standard confidence methods (-0.1394, ROC-AUC = 0.4275).
A. Deep Learning in Dental Radiography
In medical image segmentation, convolutional neural networks such as U-Net models [3] are standard AI tools [4]. Deep learning methods are widely used for tooth segmentation, cancer detection, caries detection, and anatomical structure analysis in the dental sector [1], [2]. However, training traditional supervised models requires a huge amount of pixel-level annotated data from experts, which is time-consuming and expensive.
B. Self-Supervised Learning in Medical AI
The problem of labeled data scarcity can be solved by Self-Supervised Learning (SSL). Contrastive methods like SimCLR [8] learn useful features from unlabeled images by pulling the two augmented views of a single image close together in feature space, while pushing views from other images further
979-8-3195-4477-3/26/$31.00 © 2026 IEEE apart. The segmentation quality can be improved by SSL pre-trained models when labeled data is small in size [7], [9]. Additionally, recent studies show that self-supervised learning has performed well in learning features without manual labeling in medical imaging [11].
C. Quality Control and Calibrational Blindness
Deep neural networks can show high confidence even if they do not predict correctly. They frequently give very high confidence on noisy data [5]. In real medical systems, calibrational blindness can be risky for human beings. To check the prediction quality of models without ground truth, Valindria et al. have proposed reverse classification accuracy (RCA) [6]. Calculating model uncertainty is used by other methods to predict segmentation quality [12] or fix calibration issues [13]. On the other hand, using uncertainty estimation methods can be slower or heavier in real-time use. Therefore, shape rules and boundary metrics can be used to identify bad outputs without heavy uncertainty estimation. Moving forward with the concept, our HUS-QA engine combines confidence, edge sharpness, connectivity, and area limits into a simple framework which is designed to address dental segmentation errors and assess the quality of the segmentation.
Research Gap. Some methods can check segmentation quality without ground truth, for example, reverse classification accuracy [6] and uncertainty-based methods [12], [13]. But these were mostly made for general medical images. As per our knowledge, it remains untested whether a model's confidence can be trusted as a quality score on dental X-rays, although overconfidence is a known problem [5]. Our results show that this is a real problem. On periapical X-rays, confidence does not follow segmentation quality (AUC = 0.4275), and a nearly empty mask can still get 99.96% confidence (Fig. 5, Case C). So we propose HUS-QA, a simple quality check that does not need ground-truth masks.
III. METHODOLOGY
The full design of our three-stage framework is shown in Fig. 1. It works as an automatic quality assurance system using the PRAD dataset. During testing, a periapical dental X-ray is first pre-processed and sent through the SimCLR-initialized ResNet-18 [10] U-Net to produce a tooth mask. Next, the HUS-QA module checks the output reliability without ground-truth masks and gives a quality score to help doctors accept or reject the result.
A. Dataset Setup and Data Splitting:
We evaluated our system (HUS-QA) on PRAD dataset with separate data splits for self-supervised pre-training and supervised training tasks. At first, we performed self-supervised feature learning using 2,500 unlabeled X-ray images in Stage 1. For Stage 2, the labeled dataset was split into three sets. These three sets were 1,750 image-mask pairs for training, 250 pairs for validation, and 500 pairs for final testing.

Fig. 1. Overall framework of the SimCLR ResNet-18 U-Net segmentation and HUS-QA quality check pipeline.
B. Stage 1: Pre-processing and Self-Supervised Learning:
Image Pre-processing: At first, we converted dental X-rays into grayscale and enhanced them with CLAHE where the clip limit is 2.0, and the tile grid is to make details clearer. Then images were saved as 3-channel RGB and resized to pixels.
SimCLR Augmentations: Each image was transformed into two views using random crops (scale = 0.6–1.0), horizontal flips (p = 0.5), brightness adjustments (p = 0.8), ImageNet normalization, and Gaussian noise (p = 0.3, ).
Self-Supervised Backbone Pre-training: A ResNet-18 [10] encoder with a two-layer projection head was trained on the 2,500 unlabeled pre-training images using the SimCLR self-supervised learning method. The Normalized Temperature-scaled Cross-Entropy (NT-Xent) loss was used to optimize the encoder:
Here, and are the projected representations of the two augmented views. denotes cosine similarity, and is an indicator function that equals 1 when . is the temperature parameter, set to 0.5 in this work. The encoder was pre-trained for 100 epochs to learn robust structural representations from the unlabeled periapical dental radiographs.
C. Stage 2: Dental segmentation initiated by Self-Supervised Learning:
The pre-trained SimCLR ResNet-18 encoder was used as the encoder of a U-Net architecture for supervised dental segmentation. We applied standard medical preprocessing, including CLAHE, to all input images to enhance boundary clarity and resized them to pixels. The SimCLR self-supervised ResNet-18 U-Net model was trained on 1,750 paired images and masks, with model selection guided by the 250 validation pairs. For 25 training epochs, the model received paired data augmentation in the form of random horizontal flipping and rotation ().
The segmentation network was optimized using a hybrid Dice-BCE loss:
where . The AdamW optimizer with cosine annealing learning-rate scheduling was used to train the network. The model, which achieved the highest validation Dice score on the validation set, was selected for the subsequent quality assessment stage.
D. Stage 3: Proposed Ground-Truth-Free Segmentation Quality Assessment (HUS-QA):
Without relying on ground-truth annotations, the proposed HUS-QA module assesses the predicted segmentations across 500 test samples. To estimate overall reliability, it analyzes both the soft prediction confidences and the corresponding binary masks.
Four complementary quality indicators are extracted:
-
Prediction Confidence (): Computed from the confidence distribution of the predicted soft mask.
-
Boundary Sharpness (): Estimated using the Sobel gradient magnitude of the predicted segmentation boundaries.
-
Structural Connectivity (): Measured from the connected components of the binary segmentation mask to penalize fragmented or isolated predictions.
-
Anatomical Area Consistency (): An area penalty factor to suppress anatomically unrealistic segmentation regions.
The first three indicators are combined to compute the geometric quality score:
We chose the weights (0.40, 0.40, 0.20) based on 250 validation pairs only. Edge sharpness () and confidence () were the main factors of the mask quality, which are equally important (0.40). Shape connectivity () provided a supporting check, with a lower weight (0.20).
Finally, our HUS-QA score was obtained by including the anatomical area penalty:
The range was limited to 0–100 for the resulting score, where higher values indicate more reliable segmentation outputs. During testing, HUS-QA automatically predicted segmentation quality without requiring manual annotations, providing an effective quality assessment mechanism for clinical support.
IV. RESULTS AND DISCUSSION
A. Segmentation Performance
We used 500 test images from the PRAD dataset to evaluate the SimCLR ResNet-18 U-Net model. As reported in Table I, the model acquired an Accuracy of 0.9872, a Dice Score of 0.6961, and an IoU (Jaccard) of 0.5666.
We intentionally did not try to improve the segmentation model to perfection. Instead, we wanted to test our HUS-QA engine on challenging and imperfect masks. This proves that our QA engine can successfully detect and measure errors even when the segmentation model makes mistakes.
TABLE I SEGMENTATION PERFORMANCE ON THE PRAD TEST DATASET
| Metric | Score |
|---|---|
| Accuracy | 0.9872 |
| Dice Score | 0.6961 |
| IoU (Jaccard) | 0.5666 |
B. Segmentation Quality Assessment
- Baseline Quality Assessment: Fig. 2 illustrates the performance of the baseline confidence-based quality assessment method on the test set. We considered a segmentation acceptable when its Dice score reached or higher, following the literature [14], [15]. This cutoff was used to label samples as acceptable or poor for the ROC-AUC analysis in Fig. 2 and Fig. 3. The scatter plot reveals a weak negative correlation with the ground-truth Dice score. The corresponding ROC curve yields an AUC of only 0.4275, performing worse than random guessing (AUC = 0.50). This happens because of how the model behaves when it predicts nothing. As Fig. 5 (Case C) shows, when the model predicts an almost empty mask, its confidence stays very high, since the sigmoid values are close to zero across the whole image. So even the worst predictions can get high confidence scores. This is why the correlation turns negative, and the AUC ends up below random guessing.

Fig. 2. Quality checking performance using standard confidence baseline.
- Proposed HUS-QA Performance: Fig. 3 highlights the evaluation of the proposed HUS-QA engine. HUS-QA showed a positive correlation with actual Dice scores (), with a very small -value (). The ROC curve gives a strong AUC of 0.8405, which is much better than the baseline AUC of 0.4275. Integrating edge sharpness, connectivity, and anatomical area constraints allows HUS-QA to reliably diagnose faulty outputs without ground truth.

Fig. 3. Quality checking performance using the proposed HUS-QA framework.
TABLE II QUALITY ASSESSMENT PERFORMANCE COMPARISON
| Method | Pearson (r) | p-value | ROC AUC |
|---|---|---|---|
| Baseline QA | -0.1394 | 0.4275 | |
| Proposed HUS-QA | 0.4647 | 0.8405 |
During testing and evaluation, the proposed HUS-QA framework assessed the segmentation quality of 500 untouched test samples without using their ground-truth masks.
C. Threshold Sensitivity Analysis
In our main evaluation, we considered a segmentation acceptable when its Dice score reached 70% or higher. To check that this specific cutoff does not bias the reported results, we recomputed the ROC-AUC for both the baseline QA method and the proposed HUS-QA across a range of thresholds (0.60 to 0.80). Table III shows the results.
TABLE III ROC-AUC ACROSS DIFFERENT DICE THRESHOLDS
| Dice Threshold | HUS-QA AUC | Baseline QA AUC | N (Acc.) | N (Poor) |
|---|---|---|---|---|
| 0.60 | 0.8279 | 0.3461 | 390 | 110 |
| 0.65 | 0.8397 | 0.3957 | 355 | 145 |
| 0.70 | 0.8405 | 0.4275 | 313 | 187 |
| 0.75 | 0.8238 | 0.4796 | 259 | 241 |
| 0.80 | 0.8264 | 0.5506 | 157 | 343 |
The AUC of HUS-QA stays close to 0.82–0.84 across all thresholds tested, even though the class balance changes considerably (from 390:110 at 0.60 to 157:343 at 0.80). This suggests the reported performance is not tied to the specific 0.7 cutoff. The baseline QA method stays weak at every threshold, with AUC ranging from 0.3461 to 0.5506 – close to random guessing (AUC = 0.50) and far below HUS-QA at all points tested.
HUS-QA Robustness Across Dice Thresholds

Fig. 4. ROC-AUC of HUS-QA and baseline QA across Dice thresholds from 0.60 to 0.80. The red dotted line marks the 0.70 threshold used in the main evaluation.
D. Qualitative Analysis
Fig. 5 provides a visual comparison across three qualitative regimes. For high-quality segmentations (Case A), the predicted mask aligns closely with anatomical boundaries, giving high Dice and HUS-QA scores. In moderate failure cases (Case B), HUS-QA scores drop considerably due to severe under-segmentation and anatomical area loss. In severe failure cases (Case C), HUS-QA produces very low scores, marking these predictions for clinician audit. Conversely, the baseline confidence score remains uncalibrated, yielding high confidence values across all failure modes.
Case A: High-Quality (Best) Original + GT
UNet Prediction Actual Dice: 0.9230
Proposed HUS-QA: 64.13% Baseline QA: 98.79%

Case B: Moderate (Median) Original + GT

UNet Prediction Actual Dice: 0.7519
Proposed HUS-QA: 27.84% Baseline QA: 99.70%
Case C: Poor/Failed (Worst) Original + GT
UNet Prediction Actual Dice: 0.0000
Proposed HUS-QA: 23.66% Baseline QA: 99.96%
Fig. 5. Visual comparison of segmentation outputs under three quality levels.
E. Discussion
Our findings confirm that incorporating structural, boundary, and geometrical priors addresses calibrational blindness in deep learning segmentations without reference masks. HUS-QA exhibits superior correlation ( ) compared to naive confidence ( ), providing a reliable safeguard for automated dental radiography diagnostics. Although we tested our method only on the PRAD dataset, HUS-QA uses basic shape and edge rules. These general rules do not depend on a specific dataset, so the method may also work for other types of medical images.
V. CONCLUSION
This study proposed HUS-QA, an unsupervised quality assurance framework designed to detect overconfident segmentation errors in dental AI workflows. Evaluated on dental X-rays, HUS-QA synthesizes confidence, boundary sharpness, structural connectivity, and anatomical constraints without ground-truth masks. The framework achieves a moderate Pearson correlation with actual Dice scores ( , ) and an ROC AUC of 0.8405, outperforming standard confidence baselines ( , ROC AUC = 0.4275).
As mentioned in Section IV-A, we chose a moderately performing model on purpose to test HUS-QA under difficult conditions. In future work, we plan to test HUS-QA on a better-performing U-Net to see if it still works well when segmentation quality is high. We also plan to extend the indicator set and test HUS-QA on panoramic radiographs and 3D CBCT imaging techniques.
REFERENCES
[1] A. S. Nooraldaim and A. A. Saed, “Artificial intelligence for caries and tooth detection in dental imaging: A review,” Indonesian J. Comput. Sci., vol. 12, no. 6, pp. 3201–3215, 2023.
[2] G. Jader, J. Fontineli, M. Ruiz, K. Abdalla, M. Pithon, and L. Oliveira, "Deep instance segmentation of teeth in panoramic X-Ray images," in Proc. 31st SIBGRAPI Conf. Graph. Pattern. Images (SIBGRAPI), pp. 400–407, 2018.
[3] O. Ronneberger, P. Fischer, and T. Brox, “U-Net: Convolutional networks for biomedical image segmentation,” in Proc. Med. Image Comput. Comput.-Assist. Interv. (MICCAI), LNCS, vol. 9351, pp. 234–241, 2015.
[4] G. Litjens, T. Kooi, B. E. Bejnordi, A. A. A. Setio, F. Ciompi, M. Ghafoorian, J. A. van der Laak, B. van Ginneken, and C. I. Sánchez, "A survey on deep learning in medical image analysis," Med. Image Anal., vol. 42, pp. 60–88, 2017.
[5] C. Guo, G. Pleiss, Y. Sun, and K. Q. Weinberger, “On calibration of modern neural networks,” in Proc. Int. Conf. Mach. Learn. (ICML), pp. 1321–1330, 2017.
[6] V. V. Valindria, I. Lavdas, W. Bai, K. Kamnitsas, E. O. Aboagye, A. G. Rockall, D. Rueckert, and B. Glocker, “Reverse classification accuracy: Predicting segmentation performance in the absence of ground truth,” IEEE Trans. Med. Imag., vol. 36, no. 8, pp. 1597–1606, 2017.
[7] S. Azizi et al., “Big self-supervised models advance medical image classification,” in Proc. IEEE/CVF Int. Conf. Comput. Vis. (ICCV), pp. 3478–3488, 2021.
[8] T. Chen, S. Kornblith, M. Norouzi, and G. Hinton, “A simple framework for contrastive learning of visual representations,” in Proc. Int. Conf. Mach. Learn. (ICML), pp. 1597–1607, 2020.
[9] K. Chaitanya, E. Erdil, N. Karani, and E. Konukoglu, “Contrastive learning of global and local features for medical image segmentation with limited annotations,” in Proc. Adv. Neural Inf. Process. Syst. (NeurIPS), vol. 33, pp. 12546–12558, 2020.
[10] K. He, X. Zhang, S. Ren, and J. Sun, “Deep residual learning for image recognition,” in Proc. IEEE Conf. Comput. Vis. Pattern Recog. (CVPR), pp. 770–778, 2016.
[11] Y. Ali, A. Taleb, M. M.-C. Höhne, and C. Lippert, “Self-supervised learning for 3D medical image analysis using 3D SimCLR and Monte Carlo dropout,” arXiv preprint arXiv:2109.14288, 2021.
[12] T. Devries and G. Taylor, “Leveraging uncertainty estimates for predicting segmentation quality,” arXiv preprint arXiv:1807.00502, 2018.
[13] K. Zou et al., “Toward reliable medical image segmentation by modeling evidential calibrated uncertainty,” IEEE Trans. Cybern., vol. 55, no. 12, pp. 5975–5988, Dec. 2025.
[14] A. A. Taha and A. Hanbury, “Metrics for evaluating 3D medical image segmentation: analysis, selection, and tool,” BMC Med. Imag., vol. 15, no. 1, p. 29, 2015.
[15] K. H. Zou, S. K. Warfield, A. Bharatha, C. M. Tempany, M. R. Kaus, S. J. Haker, W. M. Wells III, F. A. Jolesz, and R. Kikinis, “Statistical validation of image segmentation quality based on a spatial overlap index,” Acad. Radiol., vol. 11, no. 2, pp. 178–189, 2004.