AceMIL: Ordinal-Aware Multiple Instance Learning for Pathological Progression Analysis

Shijie Li, Yiming Chen, Yingyun Gong, Hongwen Zhou, Feng-Jung Chen, Xieping Gao, Zhineng ChenCVPR 2026 Findings 2026

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).

Figure 1. Left: Conventional MIL methods aggregate patch-level features in a categorical space, ignoring the ordinal nature of Path- Prog. Right: AceMIL reformulates PathProg modeling as an or- dinal regression problem, leveraging annealing soft labels, patch- level progression aggregation, and salient slide-level encoding for for ordinal-aware discrimination.

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:

  1. 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.
  2. 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.
  3. 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.
Figure 2. Framework of AceMIL. Three components are proposed to enhance pathological staging. The Differential Transformer [59] encode WSI features with noise-suppressed attention. PSA aggregates patch-level predictions using learned importance scores, and critical ASL provides temperature-controlled soft labels for ordinal-aware supervision.

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).
Figure 3. Soft label distribution of NAS-8s. Up: Smoothed stage distribution from 0 to 8 while temperature σ = 1. Bottom: As the annealing temperature (σ from 10 to 0.25) decrease, stage distri- bution gradually sharpens from uncertainty to confidence.

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.

Confusion matrices across the three datasets showing AceMIL's superior ordinal consistency.

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

BibTeX
@inproceedings{li2026acemil,
  author = {Shijie Li and Yiming Chen and Yingyun Gong and Hongwen Zhou and Feng-Jung Chen and Xieping Gao and Zhineng Chen},
  title = {{AceMIL: Ordinal-Aware Multiple Instance Learning for Pathological Progression Analysis}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=96XSfEsLwl},
}
Figure