DIAGNOSE: Avoiding Out-of-Distribution Data Using Submodular Information Measures

Suraj Kothawade, Akshit Shrivastava, Venkat Iyer, Ganesh Ramakrishnan, Rishabh K. Iyer

Introduction

Deep learning has revolutionized medical imaging, yet the performance of these models remains heavily dependent on large volumes of high-quality, expert-labeled data. In clinical settings, obtaining labels from radiologists and pathologists is both expensive and time-consuming. Active Learning (AL) offers a potential solution by automatically identifying the most informative samples for annotation. However, real-world medical datasets are frequently "messy," containing out-of-distribution (OOD) noise such as unrelated images, incorrectly acquired scans, or irrelevant anatomical views.

Standard AL strategies, which often prioritize samples based on model uncertainty, frequently fail in these environments. Because OOD samples appear highly uncertain to a model, traditional algorithms inadvertently select "garbage" for expert review, wasting resources and potentially degrading model performance. To address this, we introduce DIAGNOSE (avoiDing out-of-dIstribution dAta usinG submodUlar iNfOrmation meaSurEs), a framework designed to jointly identify informative in-distribution (ID) data while filtering out OOD noise.

The DIAGNOSE Framework

The core innovation of DIAGNOSE is the application of Submodular Information Measures (SIM) as acquisition functions. Unlike traditional methods that focus solely on diversity or uncertainty, DIAGNOSE utilizes Submodular Conditional Mutual Information (SCMI) to navigate the trade-off between relevance and noise.

Joint Modeling with SCMI

DIAGNOSE maintains two distinct reference sets to guide the selection process:

  • Query Set ($I$): Exemplars representing the desired in-distribution data.
  • Private Set ($O$): Exemplars of known OOD data encountered during the process.

The algorithm selects a batch of data ($A$) that maximizes similarity to the Query Set while simultaneously maximizing dissimilarity to the Private Set. This dual-objective approach ensures that the model remains focused on relevant data while actively avoiding known types of noise.

Implementation and Functions

To represent data points, the framework utilizes the gradients of the model's last linear layer. This representation is effective because it captures both the semantic content of the image and the model's current uncertainty. The framework employs specific submodular functions to optimize selection:

  • Facility Location: Highly effective for identifying representative prototypes within the data.
  • Log Determinant: Optimized for ensuring fine-grained diversity, particularly useful when ID and OOD data share similar semantic features.

Experimental Evaluation

The authors evaluated DIAGNOSE across four challenging scenarios designed to mimic real-world medical data complications:

  1. Scenario A (Unrelated Data): ID skin lesion data (Derma-MNIST) mixed with unrelated CIFAR-10 images (e.g., planes, dogs).
  2. Scenario B (Incorrect Acquisition): ID abdominal CT scans (OrganA-MNIST) mixed with simulated blurry or overexposed versions.
  3. Scenario C (Mixed Views): Axial abdominal CT scans as ID, mixed with irrelevant Coronal and Sagittal views.
  4. Scenario D (Domain Generalization): Utilizing the Camelyon17 dataset to simulate distribution shifts between different medical centers (hospital-to-hospital variability).

Key Results and Insights

DIAGNOSE consistently outperformed state-of-the-art baselines, including Entropy, Coreset, Badge, and Glister, across all tested scenarios.

  • Accuracy Gains: In Scenario A, the FLCMI (Facility Location) variant improved overall accuracy by 5%–7% compared to standard AL baselines.
  • Selection Efficiency: In the Camelyon17 multi-center test, DIAGNOSE selected nearly twice as many relevant ID points as standard methods, demonstrating its superior ability to filter noise in the active learning loop.
  • Handling Semantic Similarity: As the difficulty increased (e.g., distinguishing Axial from Coronal views in Scenario C), the Log-Determinant variant proved most effective, showcasing the importance of fine-grained diversity when ID and OOD data are semantically similar.

Discussion and Future Work

The success of DIAGNOSE highlights that joint modeling—explicitly defining "what to seek" versus "what to avoid"—is essential for robust active learning. By leveraging the property of diminishing returns inherent in submodular functions, the framework avoids redundancy and ensures that expert time is spent on a diverse, relevant set of samples.

However, some limitations remain. In Scenario D (domain shifts), while the framework successfully identified ID data, model performance remained somewhat volatile, suggesting that the selection framework may need to be paired with specialized domain-adaptation training techniques. Additionally, the $O(n^2)$ computational complexity of calculating similarity matrices, while manageable for most medical tasks, presents a challenge for massive datasets. Future research will also focus on bootstrapping the initial "seed" sets of ID and OOD exemplars when no prior knowledge of the noise is available.

Conclusion

DIAGNOSE represents a significant step forward in making active learning practical for the messy reality of clinical data. By filtering out OOD noise through submodular information measures, it ensures that expert effort is translated directly into model improvements, paving the way for more efficient and robust medical AI deployment.

Summary updated

BibTeX
@inproceedings{kothawade2022diagnose,
  author = {Suraj Kothawade and Akshit Shrivastava and Venkat Iyer and Ganesh Ramakrishnan and Rishabh K. Iyer},
  title = {{DIAGNOSE: Avoiding Out-of-Distribution Data Using Submodular Information Measures}},
  booktitle = {MILLanD @ MICCAI},
  year = {2022},
  url = {https://openreview.net/forum?id=VtcVCBmGoa},
}
Figure