Diffusion-Based Hierarchical Multi-Label Object Detection to Analyze Panoramic Dental X-rays

Ibrahim Ethem Hamamci, Sezgin Er, Enis Simsar, Anjany Sekuboyina, Mustafa Gundogar, Bernd Stadlinger, Albert Mehl, Bjoern H. Menze · DOI

Introduction

Panoramic dental X-rays, or orthopantomograms (OPGs), are fundamental tools in modern dentistry, providing a comprehensive view of the teeth, jawbones, and surrounding structures. However, the manual interpretation of these images is a labor-intensive process that requires significant clinical expertise. While artificial intelligence has made strides in dental imaging, most existing models are "specialists" designed for narrow tasks—such as tooth counting or cavity detection—rather than providing a holistic diagnostic overview.

This paper introduces a novel diffusion-based framework designed to perform simultaneous quadrant identification, tooth enumeration, and pathology diagnosis. By addressing the inherent challenges of hierarchical data and partial labeling, the proposed system, HierarchicalDet, offers a more integrated approach to automated dental analysis.

The Challenge of Hierarchical Dental Data

The primary obstacle in developing comprehensive dental AI is the nature of the data. Labeling a complete OPG is exceptionally time-consuming. A single image requires identifying four quadrants, numbering up to 32 individual teeth, and diagnosing various pathologies for each tooth. Consequently, most available datasets are "partial":

  • Level 1: Only quadrant labels are provided.
  • Level 2: Quadrant and tooth enumeration labels are provided.
  • Level 3: Full labels including quadrant, enumeration, and specific diagnoses are provided.

Standard object detection architectures, such as Faster R-CNN or DETR, struggle to learn effectively from such hierarchical and incomplete information. There is a clear need for a model that can leverage the relationship between these levels—for instance, knowing that a tooth must exist within a specific quadrant—to improve detection accuracy.

Methodology

Diffusion-Based Detection

The researchers built their framework on DiffusionDet, a generative approach to object detection. Unlike traditional detectors that rely on fixed anchor boxes or learned queries, DiffusionDet treats detection as a denoising task. It begins with a set of random "noisy" bounding boxes and iteratively refines them into precise coordinates around the objects of interest.

Hierarchical Bounding Box Manipulation

The core innovation of this paper is Hierarchical Bounding Box Manipulation. To help the model navigate the hierarchical nature of dental anatomy, the researchers "nudge" the denoising process. Instead of starting from purely random noise, the model incorporates predicted boxes from simpler tasks (like quadrant detection) as spatial priors. This provides the model with a structural "hint," allowing it to focus its search for individual teeth and pathologies within the correct anatomical regions.

Multi-Label Architecture and Training

The model utilizes a Swin-Transformer backbone, which underwent initial self-supervised pre-training using masked image modeling (SimMIM) on a large set of unlabeled dental X-rays. This allowed the model to learn the general structural features of human jaws before encountering labeled data.

To handle the three distinct tasks, the framework employs three classification heads:

  1. Quadrant Head
  2. Enumeration Head
  3. Diagnosis Head

To manage partial labels, the authors implemented an adaptable training strategy. When training on Level 1 or Level 2 data, the gradients for the missing labels (e.g., diagnosis) are effectively "frozen." This prevents the model from being penalized for missing information and allows it to learn incrementally across the different levels of the DENTEX dataset.

Experimental Results

The framework was evaluated using the DENTEX Challenge (MICCAI 2023) dataset, which includes 1,005 fully labeled X-rays and over 1,500 unlabeled images.

The proposed HierarchicalDet consistently outperformed state-of-the-art benchmarks. In the most challenging task—detecting specific pathologies—the model achieved an Average Precision (AP) of 37.6 and an Average Recall (AR) of 0.691. This significantly outperformed standard models like Faster R-CNN (33.2 AP) and the baseline DiffusionDet (37.0 AP).

Ablation studies confirmed that the Hierarchical Bounding Box Manipulation was the primary driver of these improvements. When this manipulation was removed, the model's performance in tooth enumeration and diagnosis dropped sharply, proving that spatial priors are essential for navigating hierarchical anatomical structures.

Clinical Implications and Future Work

HierarchicalDet successfully identifies four critical conditions: caries, deep caries, periapical lesions, and impacted teeth. By simultaneously providing the FDI notation (quadrant and tooth number), the model generates outputs that are immediately useful for clinical record-keeping.

Despite these successes, the authors acknowledge limitations. The model is currently trained on a relatively small volume of annotated data and focuses on four specific diagnoses. Future iterations will need to account for a broader range of pathologies and common dental artifacts, such as metallic fillings or implants, which can obscure image quality. Expanding the dataset and integrating the model into real-time clinical decision support systems remain the primary goals for future development.

Conclusion

By reimagining object detection through the lens of diffusion and hierarchical manipulation, this research provides a robust solution for multi-label dental analysis. The ability to learn from partial and hierarchical datasets represents a significant step forward in making AI a practical, comprehensive tool for the dental clinic.

Summary updated

BibTeX
@inproceedings{hamamci2023diffusion,
  author = {Ibrahim Ethem Hamamci and Sezgin Er and Enis Simsar and Anjany Sekuboyina and Mustafa Gundogar and Bernd Stadlinger and Albert Mehl and Bjoern H. Menze},
  title = {{Diffusion-Based Hierarchical Multi-Label Object Detection to Analyze Panoramic Dental X-rays}},
  booktitle = {International Conference on Medical Image Computing and Computer-Assisted Intervention},
  year = {2023},
  url = {https://openreview.net/forum?id=iKGuFtxq2w},
}
Figure