TL;DR
DICE (Disagreement-Informed Coordination of Experts) is a plug-and-play framework that ensembles multiple frozen pathology foundation models (PFMs) to deliver reliable, theoretically grounded uncertainty estimates for whole-slide image analysis. By aligning these models using deep mutual learning and Gramian regularization, DICE turns model disagreement into a robust proxy for clinical uncertainty while simultaneously enabling unsupervised patch-level lesion localization.
What Problem Does This Paper Address?
Pathology foundation models (PFMs) have revolutionized computational pathology by extracting highly generalizable representations from gigapixel whole-slide images (WSIs). Despite their success, two major hurdles block their integration into routine clinical workflows:
- Lack of Confidence Estimates: Standard PFM pipelines output predictions without quantifying how certain they are. In medicine, knowing when a model is likely to fail is just as important as its average accuracy.
- No Single Best Model: PFM performance varies wildly across different clinical tasks and datasets; a model that excels at prostate grading might underperform at breast cancer metastasis detection.
While ensembling diverse PFMs seems like an obvious fix, naive ensembling suffers from optimization noise—where models disagree simply due to random initialization or training variances rather than genuine data ambiguity. This paper introduces a principled way to fuse heterogeneous PFMs so that their residual disagreement serves as a trustworthy signal for clinical uncertainty.
Methods
The authors introduce DICE, a framework that treats $K$ distinct, frozen PFMs as "experts." Each PFM is paired with an independent Multiple Instance Learning (MIL) aggregator head (such as Attention-based MIL) to process patch-level embeddings into slide-level predictions.
To ensure that expert disagreement reflects true data ambiguity rather than optimization artifacts, DICE couples the experts during training using a two-pronged alignment strategy:
- Prediction-Space Alignment via Deep Mutual Learning (DML): Experts are trained to predict the true slide label while simultaneously minimizing the Kullback–Leibler (KL) divergence between their own predictive distributions and those of their peers. Crucially, the authors mathematically prove that minimizing this DML objective contracts an upper bound on the ensemble's epistemic (model) uncertainty.
- Representation-Space Alignment via Gramian Measure: To prevent experts from making identical predictions from radically different geometric representations, a projection head maps slide-level embeddings to a shared space. A Gramian loss minimizes the volume spanned by these embeddings, enforcing semantic alignment.
At inference time, the total predictive uncertainty is calculated using the Shannon entropy of the ensemble's average posterior. Meanwhile, patch-level lesion localization is achieved for free by averaging the attention weights across all experts (consensus localization).
Datasets
DICE was evaluated on three widely used, weakly supervised digital pathology benchmarks:
- PANDA: 10,013 H&E-stained prostate biopsy WSIs for a six-class ISUP cancer severity grading task.
- CAMELYON16: 399 breast lymph-node section WSIs for binary metastasis detection.
- CAMELYON17: 1,000 breast lymph-node WSIs from a multi-center, patient-level setup, specifically leveraged to evaluate model performance under distribution/cohort shifts.
Key Insights and Ideas
- Disagreement as a Feature, Not a Bug: Instead of trying to force perfect consensus, DICE structures the learning process so that any remaining disagreement after training represents genuine, irreducible model uncertainty.
- Bridging DML and Uncertainty Quantification: The paper provides a novel theoretical bridge showing that deep mutual learning directly bounds epistemic uncertainty, justifying its use as a regularization tool for safer ensembling.
- The Power of Consensus Localization: Individual PFMs often focus on spurious features (like stromal tissue near a tumor boundary). By averaging attention maps across structurally diverse models, DICE filters out individual model biases, cleanly isolating the actual tumor regions without requiring patch-level labels during training.
Key Results
Classification and Calibration
DICE consistently matched or outperformed state-of-the-art single PFMs and fusion baselines. On the complex PANDA dataset, DICE improved the classification F1 score by 3.8 percentage points over the best single PFM baseline and significantly reduced the Negative Log-Likelihood (NLL), indicating highly calibrated probabilities.
Selective Prediction and Deferral
A key clinical use case for uncertainty estimation is selective prediction—deferring highly uncertain cases to human pathologists. DICE demonstrated a monotonic decrease in error rates as more uncertain slides were deferred. It significantly outperformed standard Monte Carlo (MC) Dropout and naive late fusion in separating correct from incorrect predictions, maintaining its edge even under severe cross-cohort distribution shifts (e.g., training on CAMELYON16 and testing on CAMELYON17).
Limitations and Future Work
Despite its strong performance, DICE has a few limitations:
- Inference Cost: Operating $K$ frozen foundation models requires extracting $K$ sets of features per slide, which is computationally heavier than relying on a single backbone. (Though the authors note that training remains cheap because the large backbones stay frozen).
- The Alignment-Diversity Trade-off: Excessive alignment can completely suppress model disagreement, destroying the uncertainty signal. DICE mitigates this with a scheduled warm-up for the alignment losses, but finding a fully automated, principled way to balance expert diversity and alignment remains an open question.
- Fixed Ensemble Size: The number of experts ($K$) must be determined beforehand, and adding redundant models might degrade performance if they don't offer complementary strengths.
Summary updated