NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

PDD: Manifold-Prior Diverse Distillation for Medical Anomaly Detection

Xijun Lu, Hongying Liu, Fanhua Shang, Yanming Hui, Liang Wan

TL;DR

PDD (Manifold-Prior Diverse Distillation) is a novel unsupervised anomaly detection framework designed specifically for medical images. By unifying global contextual priors from a Mamba backbone and local structural priors from a CNN backbone into a shared high-dimensional manifold, it distills diverse representations into a dual-student network. This approach achieves state-of-the-art performance, boosting anomaly detection AUROC by up to 11.8% on challenging medical datasets.

What Problem Does This Paper Address?

Unsupervised anomaly detection (UAD) is crucial in medical imaging because abnormal samples (like rare tumors or hemorrhages) are scarce and difficult to annotate. UAD models solve this by learning a compact "manifold" of normal anatomy solely from healthy images; any significant deviation during inference is flagged as an anomaly.

While teacher-student distillation frameworks excel at industrial anomaly detection (e.g., finding cracks in manufactured parts), they often fail on medical data. As the authors demonstrate via Grad-CAM analysis, industrial defects are texture-driven with distinct boundaries, whereas medical anomalies are subtle, diffuse, and embedded in highly complex anatomical structures. Standard single-stream feature extractors produce noisy, anatomically inconsistent representations on medical data, making it difficult to establish a reliable baseline for "normality."

Grad-CAM visualization showing the contrast between medical and industrial image activations.

Methods

To capture both local textures and long-range global structures, PDD introduces a dual-teacher, dual-student architecture:

  1. Dual-Teacher Priors: The framework utilizes two frozen, pre-trained backbones as teachers: VMamba-Tiny (to capture global sequential context) and wide-ResNet50 (to capture local spatial structures).
  2. Manifold Matching and Unification (MMU): Because CNNs and Mamba models operate in entirely different geometric feature spaces, the MMU module geometrically aligns and fuses their deep tail features into a single, cohesive high-dimensional anatomical manifold. Meanwhile, an Inter-Level Feature Adaption (InA) module handles the fusion of intermediate multi-scale features.
  3. Dual-Student Distillation: To prevent the student networks from copying the teachers too rigidly (which causes them to generalize over anomalies), PDD distills the unified manifold into two structurally identical but functionally diverse students:
  4. Student 1 focuses on local consistency via layer-wise distillation from the InA module.
  5. Student 2 utilizes a Manifold Prior Affine (MPA) module to receive skip-projected representations, allowing it to capture cross-layer contextual dependencies.
  6. Diversity Loss ($L_{div}$): An inverted cosine similarity constraint forces the two students to maintain diverse representations in low-dimensional feature spaces while ensuring structural consistency in high-dimensional spaces.
Overview of the PDD framework architecture.

Datasets

The authors evaluated PDD across five diverse medical imaging datasets spanning multiple modalities:

  • HeadCT: 200 CT images for brain hemorrhage detection.
  • BrainMRI: 252 MRI images for brain tumor detection.
  • ZhangLab Chest X-ray: 1,873 chest X-rays for pneumonia detection.
  • CheXpert: A large-scale chest radiograph dataset (4,499 training images).
  • Uni-Medical: A massive multimodal benchmark integrating brain, liver, and retinal imaging modalities.

Key Insights and Ideas

  • The Heterogeneous Backbone Synergy: CNNs and State Space Models (Mamba) possess highly complementary inductive biases. Fusing them isn't just about concatenating features; aligning their underlying manifolds provides a significantly more robust definition of "healthy anatomy."
  • Forced Student Diversity Prevents Collapse: In standard knowledge distillation, a single student often suffers from representation collapse or over-generalizes to anomalous structures. By forcing two students to diverge at shallow layers but converge at deep layers, the network maintains high sensitivity to subtle pathological deviations without losing structural coherence.

Key Results

PDD achieved substantial improvements over six state-of-the-art baselines (including f-AnoGAN, SQUID, and Skip-TS):

  • AUROC Jumps: PDD achieved 97.5% on HeadCT (+11.8% over the best baseline), 96.7% on BrainMRI (+8.5%), and 94.0% on ZhangLab (+2.9%).
  • Multi-Class Performance: On the complex Uni-Medical dataset, PDD outperformed the strongest competitor (MambaAD) by 3.4% in mean $F_1$ max score, demonstrating excellent versatility across different organs and modalities.
  • Cleaner Localization: Qualitatively, PDD generates highly accurate anomaly maps with significantly fewer false positives on normal tissue compared to older methods like RD4AD.
Anomaly localization comparison on the ZhangLab dataset.

Limitations and Future Work

Despite its strong performance, PDD has a notable limitation: it can generate false positives on non-pathological artifacts, such as surgical staples, device markers, or metallic implants. Because these objects deviate visually from normal tissue, the model flags them as anomalies, even though they are clinically irrelevant.

The authors note that integrating artifact-aware priors or clinical context into the manifold modeling process is a key direction for future work.

Summary updated

BibTeX
@inproceedings{lu2026pdd,
  author = {Xijun Lu and Hongying Liu and Fanhua Shang and Yanming Hui and Liang Wan},
  title = {{PDD: Manifold-Prior Diverse Distillation for Medical Anomaly Detection}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=mLHGhvoYw6},
}
Figure