Aims: The mandibular third molar is one of the most frequently impacted teeth in the human dentition. Given the high prevalence of third molar impaction and the frequency of its surgical extraction, injury to the inferior alveolar nerve (IAN) remains one of the most significant and serious postoperative complications, potentially leading to persistent sensory disturbances in the lower lip and chin. This study aimed to design, implement, and evaluate an artificial intelligence system for the automated determination of the spatial relationship between the mandibular third molar (MTM) and the inferior alveolar nerve (IAN) on dental panoramic radiographs.
Materials and Methods: The present retrospective diagnostic study was based on panoramic radiographs and corresponding CBCT images, with data collected through a census of available cases from five radiology clinics in Mashhad (March 2024 to November 2025). The ground-truth label of true contact between the MTM and IAN was determined from the corresponding CBCT images as the reference standard, and the panoramic images were accordingly assigned to two categories: true and false contact. The proposed system comprised three main components: (1) semantic segmentation for localizing anatomical structures (U-Net architecture with a ResNet-34 encoder); (2) binary classification to determine the presence or absence of contact between the MTM and IAN (based on EfficientNet-B0 with a four-channel input consisting of the three RGB channels of the panoramic image and one channel containing the segmentation mask); and (3) an integrated inference pipeline that sequentially combines both models. Evaluation was performed using stratified five-fold cross-validation on 437 images, followed by final assessment on an independent test set of 148 images. Performance metrics were calculated from the confusion matrix, and 95% confidence intervals were estimated using the Wilson method.
Findings: The semantic segmentation model achieved a mean IoU (mIoU) of 0.8593 (85.93%), with class-wise values of 0.9204 for the background, 0.9098 for the third molar, and 0.7478 for the IAN. In the classification phase using ground-truth masks, five-fold cross-validation yielded a mean accuracy of 87.2%, a mean F1 score of 87.9%, and a mean AUC of 96.1%. The proposed integrated system, operating on predicted masks without manual correction, achieved an overall accuracy of 92.57% (95% CI: 87.18–95.80%), a sensitivity of 88.31% (95% CI: 79.25–93.73%), and a specificity of 97.18% (95% CI: 90.30–99.22%) on the independent test set of 148 images, with 137 images correctly classified. These findings indicate the high efficacy of a classification approach informed by segmentation-derived information.
Conclusion: The findings of this study indicate that leveraging deep learning models informed by anatomical structure, particularly within an integrated segmentation–classification framework with a four-channel input, may provide a foundation for developing a valuable adjunctive tool for clinical decision-making in dentistry and oral and maxillofacial surgery, and may help reduce reliance on subjective radiographic interpretation as well as unnecessary referrals for CBCT.
Article Type:
Original Research |
Subject:
Police Medicine Related Technologies Received: 2026/05/26 | Accepted: 2026/09/10 | Published: 2026/10/27