Interpretable and Interactive Deep Multiple Instance Learning for Dental Caries Classification in Bitewing X-rays

Benjamin Bergner, Csaba Rohrer, Aiham Taleb, Martha Duchrau, Guilherme De Leon, Jonas Almeida Rodrigues, Falk Schwendicke, Joachim Krois, Christoph Lippert

Abstract

We propose a simple and efficient image classification architecture based on deep multiple instance learning, and apply it to the challenging task of caries detection in dental radiographs. Technically, our approach contributes in two ways: First, it outputs a heatmap of local patch classification probabilities despite being trained with weak image-level labels. Second, it is amenable to learning from segmentation labels to guide training. In contrast to existing methods, the human user can faithfully interpret predictions and interact with the model to decide which regions to attend to. Experiments are conducted on a large clinical dataset of 38k bitewings (316k teeth), where we achieve competitive performance compared to various baselines. When guided by an external caries segmentation model, a significant improvement in classification and localization performance is observed.

Introduction

Dental caries, or cavities, represent a significant global health burden. Diagnosing them from bitewing radiographs—X-rays capturing the posterior teeth—is a complex task for clinicians, with sensitivity rates often reported as low as 24%. Automating this process using deep learning faces several hurdles: the low signal-to-noise ratio of tiny lesions in large images, the prevalence of weak image-level labels in clinical datasets, and the "black-box" nature of standard models that lack interpretability and interactivity.

Methods: The EMIL Architecture

To address these challenges, we introduce EMIL (Embedding Multiple Instance Learning). Unlike traditional approaches that might lose context by extracting patches directly from raw images, EMIL leverages the spatial feature embedding of a CNN backbone.

The EMIL architecture for dental caries classification.

The process involves three key stages:

  1. Embedding Extraction: The input image is processed through a standard CNN (e.g., ResNet-18) to generate a deep spatial feature embedding.
  2. Patch Classification: Overlapping patches are extracted from this embedding. Each patch is classified individually by a shared fully connected layer, producing local probability scores.
  3. Attention Aggregation: An attention mechanism assigns weights to these local predictions, which are then aggregated into a final global image-level score.

This design inherently provides two interpretable outputs: a heatmap of local cavity probabilities and a map of attention weights. Furthermore, a compound loss function allows the model to optionally incorporate dense segmentation masks (strong labels) to guide the attention mechanism, facilitating interactive learning.

Datasets and Evaluation

The model was trained on a massive clinical dataset comprising 38,174 bitewing radiographs (316,388 tooth images) from 9,780 patients. Labels were derived from Electronic Health Records (EHRs), representing a realistic but noisy "weak" ground truth. For rigorous evaluation, a high-quality benchmark of 355 bitewings was manually annotated with pixel-level masks by a panel of experienced dentists.

Key Results

EMIL demonstrates superior performance across both classification and localization tasks. On full bitewing images, it achieved a balanced accuracy of 73.64% and an F-score of 77.88%, outperforming standard ResNet architectures and Vision Transformers.

Performance comparison between EMIL and ResNet-18 baselines.

A major strength of EMIL is its response to guidance. When trained with external segmentation masks, balanced accuracy improved to 76.64%. Localization performance saw an even more dramatic leap; the Intersection over Union (IoU) of EMIL's heatmaps rose from 28.3% (unguided) to 69.0% with guidance, significantly surpassing post-hoc methods like Grad-CAM.

Efficiency remains a core advantage. EMIL maintains a low memory footprint (2.48 GB RAM) and high speed (45ms per iteration), making it as computationally light as a standard ResNet-18 while being significantly more efficient than segmentation-heavy alternatives.

Discussion and Conclusion

EMIL's "built-in faithfulness" ensures that its heatmaps accurately reflect the model's internal logic, unlike many post-hoc attribution tools. By extracting instances from deep embeddings, the model maintains a large receptive field, capturing necessary context for identifying subtle lesions.

While the reliance on noisy EHR data and automated "teacher" models for guidance are current limitations, the results prove the viability of human-in-the-loop training. Future work will focus on deploying EMIL in real-world clinical settings, where dentists can iteratively refine the model's focus, building the trust necessary for computer-aided diagnosis in radiology.

Summary updated

BibTeX
@inproceedings{bergner2022interpretable,
  author = {Benjamin Bergner and Csaba Rohrer and Aiham Taleb and Martha Duchrau and Guilherme De Leon and Jonas Almeida Rodrigues and Falk Schwendicke and Joachim Krois and Christoph Lippert},
  title = {{Interpretable and Interactive Deep Multiple Instance Learning for Dental Caries Classification in Bitewing X-rays}},
  booktitle = {MIDL},
  year = {2022},
  url = {https://openreview.net/forum?id=ZBC7j4nmH5},
}
Figure