TL;DR
The authors introduce DualTTA, a model-agnostic framework that uses clinically grounded test-time augmentation (TTA) to improve the confidence calibration of black-box radiology AI models. Without requiring access to model parameters, logits, or training data, DualTTA reduces Expected Calibration Error (ECE) by up to 54%, even outperforming traditional "white-box" calibration techniques.
What Problem Does This Paper Address?
When AI models are deployed in radiology for tasks like triage or treatment planning, it is vital that their predicted probabilities match real-world risks—a property known as calibration. If a model predicts a 90% chance of a pulmonary embolism, that diagnosis should be correct 90% of the time.
Unfortunately, most commercial medical AI tools operate as "black boxes." Users can only see the final input and output, leaving model architectures, parameters, and training data completely inaccessible. Standard calibration techniques (like Temperature Scaling, MC Dropout, or Deep Ensembles) are useless here because they require internal model access or retraining. This paper addresses the challenge of calibrating these proprietary, black-box systems using only their standard input-output interfaces.
Methods
The authors leverage Test-Time Augmentation (TTA), a technique where an input image is modified in multiple ways, passed through the model, and the resulting predictions are aggregated.
The framework consists of two main components:
- Clinically Grounded Augmentation Library: The authors developed a library of 18 3D CT perturbations spanning geometric changes (scaling, rotation, shearing) and physics-based acquisition artifacts (motion blur, noise, undersampling) across three severity levels, all validated by a radiologist to ensure clinical plausibility.
- DualTTA Aggregation Strategy: Instead of simply averaging the predictions, the authors propose a novel learned aggregation strategy called DualTTA. It unifies two mechanisms:
- Per-augmentation weighting: It learns a specific non-negative weight for each individual perturbation to account for the fact that some augmentations are less reliable than others.
- Confidence-gated blending: It blends the aggregated TTA prediction with the original unaugmented baseline prediction. A safety threshold ($\tau = 0.10$) ensures the model's final classification only changes if the TTA prediction is substantially more confident than the baseline, protecting against random fluctuations while correcting overconfident baseline errors.
Datasets
The framework was evaluated on two binary classification tasks using large-scale CT datasets:
- Pulmonary Embolism (PE) Detection: Evaluated using the INSPECT CTPA dataset (12,716 train / 1,838 val / 3,676 test scans).
- Intracranial Hemorrhage (ICH) Detection: Evaluated using the RSNA ICH Detection Challenge dataset (15,215 train / 2,174 val / 4,354 test scans).
Key Insights and Ideas
- Aggregation strategy is make-or-break: Simply applying TTA does not guarantee better calibration. For instance, using a "Max Weighting" strategy (taking the most confident prediction across views) actually severely worsened calibration, driving up overconfidence.
- Calibration $\neq$ Discrimination: Aggregating predictions across augmentations primarily shifts the model's confidence scores to be more accurate (calibration) rather than changing its overall diagnostic accuracy (discrimination/AUC).
- Individual weights matter: Learning weights for each specific perturbation level (AugTTA/DualTTA) performs better than grouping them by type (V-ATTA), as it successfully down-weights highly unstable, severe artifacts.
Key Results
DualTTA achieved the strongest overall calibration performance among all TTA methods:
- PE Detection: Reduced Expected Calibration Error (ECE) by 54% (from 0.239 down to 0.109).
- ICH Detection: Reduced ECE by 43% (from 0.051 down to 0.029).
Remarkably, despite being a black-box method, DualTTA outperformed internal-access "white-box" methods like Temperature Scaling and MC Dropout across most calibration metrics.
Limitations and Future Work
The primary limitation is that the black-box models evaluated in this study were simulated by freezing a fine-tuned foundation model (MERLIN), rather than testing on actual commercial, proprietary software.
Additionally, the authors note that future work should evaluate how well this framework holds up under explicit real-world domain shifts, such as testing across different scanner manufacturers and varied institutional protocols.
Summary updated