SSAD: Self-supervised Auxiliary Detection Framework for Panoramic X-ray based Dental Disease Diagnosis

Zijian Cai, Xinquan Yang, Xuguang Li, Xiaoling Luo, Xuechen Li, Linlin Shen, He Meng, Yongqiang DengarXiv 2024

Abstract

Panoramic X-ray is a simple and effective tool for diagnosing dental diseases in clinical practice. When deep learning models are developed to assist dentist in interpreting panoramic X-rays, most of their performance suffers from the limited annotated data, which requires dentist's expertise and a lot of time cost. Although self-supervised learning (SSL) has been proposed to address this challenge, the two-stage process of pretraining and fine-tuning requires even more training time and computational resources. In this paper, we present a self-supervised auxiliary detection (SSAD) framework, which is plug-and-play and compatible with any detectors. It consists of a reconstruction branch and a detection branch. Both branches are trained simultaneously, sharing the same encoder, without the need for finetuning. The reconstruction branch learns to restore the tooth texture of healthy or diseased teeth, while the detection branch utilizes these learned features for diagnosis. To enhance the encoder's ability to capture fine-grained features, we incorporate the image encoder of SAM to construct a texture consistency (TC) loss, which extracts image embedding from the input and output of reconstruction branch, and then enforces both embedding into the same feature space. Extensive experiments on the public DENTEX dataset through three detection tasks demonstrate that the proposed SSAD framework achieves state-of-the-art performance compared to mainstream object detection methods and SSL methods.

Introduction

Automating dental disease diagnosis via panoramic X-rays is a high-value goal that faces two primary hurdles: extreme data scarcity and computational inefficiency. Expert annotation is time-consuming and costly, while standard Self-Supervised Learning (SSL) paradigms—typically involving a "pre-train then fine-tune" (SSL+FT) workflow—are computationally heavy and time-consuming.

The Self-supervised Auxiliary Detection (SSAD) framework addresses these issues by introducing a "plug-and-play" architecture. By training a tooth-texture reconstruction task alongside the primary diagnosis task in a single stage, SSAD achieves state-of-the-art performance while significantly reducing training time by over 75% compared to traditional self-supervised methods.

Methodology

The core of the SSAD framework is its dual-branch architecture that shares a single image encoder, allowing for joint training of both tasks.

The SSAD framework architecture, featuring dual branches for reconstruction and detection during training.

Dual-Branch Architecture

  1. Reconstruction Branch: Utilizing Masked Image Modeling (specifically simMIM), this branch reconstructs missing pixels from randomly masked X-rays. This process forces the encoder to learn fine-grained textures essential for distinguishing between healthy and diseased dental structures.
  2. Detection Branch: This branch performs the primary task of identifying disease locations (bounding boxes) and categories.

Texture Consistency (TC) Loss

To ensure meaningful reconstruction, SSAD employs a pre-trained foundation model (e.g., SAM or CLIP) as a "teacher." The TC loss compares high-dimensional features of the original and reconstructed images, penalizing discrepancies to force the encoder to capture robust, fine-grained features. This joint training approach allows the reconstruction branch to be discarded during inference, maintaining a lightweight detector.

Experimental Results

The framework was evaluated using the DENTEX dataset, a public benchmark for dental X-ray analysis covering quadrant detection, tooth enumeration, and disease diagnosis (caries, deep caries, periapical lesions, and impacted teeth).

Performance and Efficiency

SSAD consistently outperformed traditional SSL+FT methods. For instance, it improved the mean Average Precision (mAP) of the MAE method from 13.25% to 17.28%. Most notably, SSAD offers massive time savings. As illustrated in Figure 4, training time was slashed from 11.4 hours to just 2.7 hours in the simMIM configuration.

Comparison of training cost time (hours) with and without the SSAD framework across different self-supervised methods.

Versatility and Qualitative Gains

The framework's "plug-and-play" nature was validated across various architectures (Faster R-CNN, DINO, FCOS, DiffusionDet) and backbones (ResNet, ViT, Swin Transformer), showing consistent performance gains. Qualitative analysis further revealed that SSAD-trained models are superior at distinguishing subtle differences, such as regular vs. deep caries, where standard models often struggle.

Discussion and Conclusion

While SSAD demonstrates significant improvements, its performance is somewhat dependent on the choice of the external foundation model (SAM vs. CLIP) for TC loss. Future work will address extreme class imbalances in larger datasets and focus on clinical validation within real-time software environments. In summary, SSAD provides a highly efficient and effective paradigm for dental disease diagnosis, bridging the gap between data scarcity and model performance without the overhead of multi-stage training.

Summary updated

BibTeX
@misc{cai2024ssad,
  author = {Zijian Cai and Xinquan Yang and Xuguang Li and Xiaoling Luo and Xuechen Li and Linlin Shen and He Meng and Yongqiang Deng},
  title = {{SSAD: Self-supervised Auxiliary Detection Framework for Panoramic X-ray based Dental Disease Diagnosis}},
  year = {2024},
  eprint = {2406.13963},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2406.13963},
}
Figure