TL;DR
AceMIL reformulates pathological progression analysis from whole slide images as an ordinal regression problem rather than standard flat classification. By combining a noise-suppressing Differential Transformer, patch-level stage aggregation, and temperature-annealed soft labels, it significantly improves diagnostic accuracy and prevents clinically severe misclassifications.
What Problem Does This Paper Address?
When pathologists assess diseases like cancer or fatty liver disease, they don't just look for a binary "yes/no" diagnosis. Instead, they evaluate disease advancement using grading scales or staging systems (e.g., TNM staging or activity scores). This is known as Pathological Progression (PathProg) analysis.
In computational pathology, Multiple Instance Learning (MIL) is the standard paradigm used to analyze gigapixel Whole Slide Images (WSIs) without needing pixel-level annotations. However, existing MIL methods treat progression stages as completely independent, flat categories. This ignores the intrinsic mathematical and clinical order of the data. For instance, a standard model is penalized just as heavily for misclassifying a severe Stage 4 case as Stage 3 as it is for misclassifying it as asymptomatic (Stage 0).
Adapting ordinal regression to WSIs introduces three major challenges: non-uniform semantic distances between stages, local-to-global inconsistencies (different tissue regions showing different progression levels), and massive background noise across millions of image patches.
Methods
The authors introduce AceMIL, a novel ordinal-aware MIL framework designed to capture the continuous nature of disease progression through three key components:
- Differential Transformer: Standard transformers often get overwhelmed by the massive amount of uninformative background tissue in a WSI. AceMIL adopts a Differential Transformer as its slide-level encoder. By computing attention as the difference between two separate softmax maps, it cancels out common background noise and amplifies subtle, discriminative ordinal features.
- Patch-level Stage Aggregator (PSA): Since a single slide can contain a mix of healthy and diseased tissue, PSA operates via a dual-stream mechanism. A global branch predicts the overall slide-level stage, while a local branch predicts patch-level pseudo-stages alongside a learned significance score, adaptively aligning local evidence with the final slide-level decision.
- Annealing Soft Labels (ASL): Instead of using rigid, one-hot hard labels during training, ASL converts discrete stages into dynamic probability distributions. Regulated by a cosine-annealing schedule, the target distribution starts wide and uncertain early in training—allowing the model to explore fluid inter-stage relationships—and gradually sharpens into a confident peak as training concludes.
Datasets
AceMIL was evaluated on three distinct pathological staging benchmarks:
- NAS-8s: A private dataset containing 542 H&E-stained WSIs from Non-Alcoholic Fatty Liver Disease (NAFLD) patients, scored from 0 to 8 based on the NASH-CRN system.
- Camelyon17 pN-stage: A public dataset of 1,000 lymph node WSIs from 200 breast cancer patients, categorized into 5 ordinal stages reflecting metastatic burden.
- TUPAC16: A public dataset of 500 breast cancer WSIs with pathologist-assigned mitotic scores (stages 1–3) representing tumor proliferation.
Key Insights and Ideas
- Curriculum Learning via Temperature: The annealing soft labels act as a self-evolving teacher. By starting with high target variance, the model naturally learns the continuous transitions between adjacent stages before being forced to establish hard, confident boundaries.
- Noise Cancellation via Subtraction: Utilizing the difference between two attention maps acts as a high-pass filter for biological relevance, preventing the model from overfitting to irrelevant background variations across millions of patches.
- Graceful Failures: Because the loss function penalizes errors based on distance, when AceMIL does make a mistake, its errors almost always fall into adjacent stages (e.g., predicting Stage 2 instead of Stage 3) rather than making catastrophic, clinically dangerous leaps (e.g., predicting Stage 0 instead of Stage 4).
Key Results
AceMIL achieved state-of-the-art performance across all three benchmarks, significantly outperforming competitive MIL baselines like CLAM, TransMIL, and WIKG:
- NAS-8s (9-stage task): Achieved a Quadratic Weighted Kappa (QWK) of 0.8287 and an accuracy of 0.5037, outperforming the second-best method by 6.42% in QWK and 4.45% in accuracy.
- Camelyon17: Boosted QWK by 7.57% to 0.4809.
- TUPAC16: Improved QWK by 1.51% to 0.6504.
Qualitatively, confusion matrix visualizations demonstrate that AceMIL produces much tighter diagonal alignments, drastically reducing critical off-diagonal errors compared to standard classification models.
Limitations and Future Work
The authors note that the performance of the annealing strategy can be sensitive to the overall training duration (number of epochs), which may vary depending on the dataset size. Additionally, while the framework handles slide-level ordinal regression exceptionally well, it currently relies on patch features extracted from a frozen, pre-trained foundation model (CONCH). Future work could explore end-to-end fine-tuning or integrating multi-modal clinical data (such as genomic or text reports) to further refine progression modeling.
Summary updated