Ref-MIL: Plug-and-Play Posterior Refinement for Multiple Instance Learning in QSM-Based Brain Disease Classification

Ang Gaoa, Rui Jina, Yin Liu, Pengfei Rong, Feng Liu, G. Bruce Pike, Hongfu Sun, Yang GaoarXiv 2026

TL;DR

PoRef-MIL is a weakly supervised framework designed to classify brain diseases like Parkinson’s and Multiple Sclerosis using Quantitative Susceptibility Mapping (QSM) MRI, even when only subject-level diagnoses are available. By combining iterative slice-level relabeling with a "plug-and-play" posterior refinement module, the system achieves state-of-the-art accuracy while providing interpretable evidence across 3D brain volumes.

What Problem Does This Paper Address?

Quantitative Susceptibility Mapping (QSM) is a powerful MRI technique sensitive to changes in iron and myelin—key biomarkers for neurodegenerative diseases. However, applying deep learning to QSM faces two major hurdles:

  1. Small Cohorts: Medical datasets are often tiny compared to standard computer vision benchmarks.
  2. Granularity Gap: Doctors provide a "subject-level" label (e.g., "This patient has Parkinson’s"), but they don't label every individual 2D slice in a 3D scan.

Simply assigning the subject's diagnosis to every slice is noisy because disease-related abnormalities are often concentrated in specific regions. This paper tackles how to train an accurate classifier using these "weak" labels while simultaneously identifying which specific slices contain the most relevant disease patterns.

Methods

The authors introduce PoRef-MIL, which stands for Posterior Refinement Multiple Instance Learning. The framework consists of two main stages:

1. Iterative Slice Relabeling (Training)

The researchers developed a 2D Dual-Branch Diagnosis Network (DBD-Net) that combines a Vision Transformer (ViT) for global context and a Convolutional Neural Network (CNN) for local features.

  • The Loop: They train the network in five rounds. In each round, a subject-level classifier aggregates slice features to predict the overall diagnosis.
  • Pseudo-labels: The system uses these predictions to generate "pseudo-labels" for individual slices. If the model is confident a slice looks diseased, it updates that slice's label for the next round of training. This iterative process gradually "cleans" the training data.

2. Plug-and-Play Posterior Refinement Module (Inference)

This is the paper's most novel contribution. During inference, the PRM treats the 3D volume as a sequence.

  • Bidirectional Inference: Using a Hidden Markov Model (HMM) approach, the PRM looks at preceding and following slices to refine the probability of the current slice. This ensures spatial consistency—if slices 40 and 42 are abnormal, slice 41 likely is too.
  • Entropy-based Confidence: The module calculates a confidence score based on Shannon entropy. Slices with high uncertainty contribute less to the final subject-level score, which is calculated using a weighted sliding-window approach.

Datasets

The framework was validated on two distinct cohorts:

  • In-house PD Dataset: 287 participants (156 with Parkinson’s Disease, 131 healthy controls) collected at the Third Xiangya Hospital.
  • Public MS Dataset: 150 participants (100 with Multiple Sclerosis, 50 healthy controls) from a publicly available multiparametric MRI dataset.
  • Multimodal Data: The authors also tested the model's ability to integrate QSM with T1-weighted and FLAIR images.

Key Insights and Ideas

  • Spatial Context is King: Standard MIL models often treat instances (slices) as independent. By using bidirectional posterior inference, PoRef-MIL mimics how a radiologist scrolls through a stack of images to confirm a finding.
  • The "Plug-and-Play" Advantage: The PRM is model-agnostic. The authors demonstrated that adding the PRM to other state-of-the-art MIL models (like TransMIL or AttriMIL) consistently boosted their performance without needing to retrain their backbones.
  • Interpretability via Grad-CAM: The model doesn't just give a "Yes/No" answer; it generates heatmaps showing exactly where in the brain (e.g., the substantia nigra for PD) it found abnormalities, aligning well with known clinical pathology.

Key Results

PoRef-MIL outperformed eight state-of-the-art classification methods across both datasets:

  • Parkinson’s Disease: Achieved a mean AUC of 0.942 and an accuracy of 0.926, significantly higher than the second-best model (TransMIL).
  • Multiple Sclerosis: Achieved a mean AUC of 0.872 and an accuracy of 0.833.
  • Multimodal Boost: When combining QSM with T1-weighted structural images, the PD classification AUC climbed to an impressive 0.964.
  • Ablation Success: Removing the PRM or the iterative relabeling led to significant drops in performance, proving both components are vital.

Limitations and Future Work

  • Training Complexity: The alternating training strategy increases the total training time compared to end-to-end models.
  • Hyperparameters: The number of relabeling rounds ($K=5$) and the transition matrix values were chosen empirically; these might need tuning for different diseases or imaging modalities.
  • Age Confounding: In the MS cohort, there was a significant age gap between patients and controls. While the authors tested age-conditioning (FiLM), they noted that age-related imaging differences remain a potential source of confounding.
  • Validation: Without manual slice-level "ground truth" annotations from experts, the accuracy of the generated pseudo-labels can only be assessed qualitatively via heatmaps.

Summary updated

Abstract

Quantitative susceptibility mapping (QSM) is a novel quantitative MRI contrast for studying tissue susceptibility changes in brain disorders, including Parkinson's disease (PD) and multiple sclerosis (MS). However, small cohorts and the lack of local annotations make developing deep learning models for QSM-based diagnosis challenging. In this work, we propose PoRef-MIL, a weakly supervised multiple instance learning (MIL) framework combining iterative slice relabeling and network retraining with a plug-and-play posterior refinement module (PRM). During training, a 2D dual-branch diagnosis network and a subject-level classifier were alternately trained for five rounds. The classifier was used to update slice pseudo-labels for retraining the diagnosis network. The PRM was applied during inference to refine slice probabilities through bidirectional posterior inference and calculate entropy-derived confidence from the refined probabilities, which was then used in sliding-window scoring to obtain subject-level predictions. PoRef-MIL was evaluated on an in-house PD cohort of 287 participants and a public MS cohort of 150 participants. Compared with eight classification methods, PoRef-MIL achieved the highest mean areas under the receiver operating characteristic curve of 0.942 and 0.872, and accuracies of 0.926 and 0.833, for PD and MS classification, respectively. Ablation experiments were conducted to validate the effectiveness of iterative relabeling and PRM, and the plug-and-play feature of the proposed PRM was also evaluated using four state-of-the-art MIL models. Overall, PoRef-MIL offers a promising approach to QSM-based disease classification in small cohorts without manual slice annotations.
BibTeX
@misc{gaoa2026ref,
  author = {Ang Gaoa and Rui Jina and Yin Liu and Pengfei Rong and Feng Liu and G. Bruce Pike and Hongfu Sun and Yang Gao},
  title = {{Ref-MIL: Plug-and-Play Posterior Refinement for Multiple Instance Learning in QSM-Based Brain Disease Classification}},
  year = {2026},
  eprint = {2611.19193},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.19193},
}
Figure