3DTeethSAM: Taming SAM2 for 3D Teeth Segmentation

Zhiguo Lu, Jianwen Lou, Mingjun Ma, Hairong Jin, Youyi Zheng, Kun Zhou

TL;DR

3DTeethSAM is a novel framework that "tames" the Segment Anything Model 2 (SAM2)—a powerful 2D vision foundation model—for the complex task of 3D teeth segmentation. By combining multi-view rendering with lightweight learnable adapters for auto-prompting and semantic classification, the system achieves a new state-of-the-art (91.90% mIoU) on the Teeth3DS benchmark, significantly outperforming models trained specifically for 3D data.

What Problem Does This Paper Address?

In digital dentistry, segmenting individual teeth from 3D intraoral scans is essential for diagnosis and orthodontic planning. However, this task is notoriously difficult due to:

  1. Anatomical Complexity: Real-world teeth are often crowded, crooked, or missing.
  2. Data Scarcity: High-quality, labeled 3D dental datasets are rare compared to 2D image datasets.
  3. Resolution Scaling: Traditional 3D-native networks (like PointNet++) struggle to process high-resolution meshes efficiently.

While 2D foundation models like SAM2 have "seen" billions of images and possess incredible generalization, they are inherently class-agnostic (they find "objects," but don't know if an object is a molar or a canine) and typically require manual prompts like points or boxes to function. 3DTeethSAM bridges this gap, turning a general-purpose 2D tool into an automated, 3D-aware dental expert.

Methods

The 3DTeethSAM pipeline follows a "render-process-lift" workflow:

  1. Multi-View Rendering: The 3D dental mesh is rendered into several 2D images from predefined angles (frontal, back, sides).
  2. SAM2 Adaptation: Instead of fine-tuning the massive SAM2 model (which is computationally expensive and risks losing its pre-trained knowledge), the authors keep SAM2 frozen and plug in three lightweight, learnable modules:
  3. Prompt Embedding Generator (PEG): A Transformer-based module that automatically predicts prompt embeddings from image features, removing the need for manual user input.
  4. Mask Classifier: Since SAM2 doesn't "label" what it finds, this module assigns each mask to one of the 16 tooth categories (based on the FDI notation) or the background.
  5. Mask Refiner: A UNet-style convolutional network that sharpens the boundaries between teeth and gums.
  6. Deformable Global Attention Plugin (DGAP): The authors inserted this into SAM2’s image encoder. It allows the model to dynamically sample features, focusing specifically on the tooth structures rather than the empty space in the render.
  7. 2D-to-3D Lifting: The 2D masks are projected back onto the 3D mesh. A voting strategy resolves conflicts between different views, and a final Graph Cut refinement ensures smooth, accurate boundaries on the 3D surface.

Datasets

The researchers evaluated their model on the Teeth3DS benchmark, currently the most challenging public dataset for 3D dental segmentation. It contains 1,800 high-resolution intraoral scans from 900 patients, covering both upper and lower arches and various clinical anomalies.

Key Insights and Ideas

  • Foundation Models as Backbones: The paper proves that a general 2D foundation model (SAM2), when properly "adapted," can outperform specialized 3D architectures. This suggests that the "visual common sense" learned from billions of 2D images is highly transferable to niche 3D domains.
  • Auto-Prompting is Superior: Surprisingly, the learned PEG module outperformed "oracle" manual prompting (using ground-truth center points). This is because the PEG captures complex spatial relationships and context that a simple point-click cannot.
  • Efficiency through DGAP: The Deformable Global Attention Plugin didn't just improve accuracy; it significantly accelerated training convergence. By letting the model "choose" where to look, it learned the dental anatomy much faster.
  • Solving the "Wisdom Tooth" Problem: The model showed a massive 15-point improvement in segmenting wisdom teeth (T8/16) compared to previous leaders. These are historically the hardest teeth to segment due to their position and frequent impaction.

Key Results

3DTeethSAM established a new state-of-the-art across all major metrics on the Teeth3DS benchmark:

  • Mean IoU (T-mIoU): 91.90% (a +1.74% improvement over the previous best, ToothGroupNet).
  • Overall Accuracy (OA): 95.48%.
  • Boundary IoU (B-IoU): 70.05%, indicating much cleaner edges between teeth and gingiva.
  • Qualitative Success: The model remained robust in scenarios involving dental crowding, erupting teeth, and edentulous (toothless) regions where other models often fail or merge adjacent teeth.

Limitations and Future Work

While the paper demonstrates impressive results, a few areas remain for exploration:

  • View Dependency: The method relies on rendering predefined views. If a tooth is completely occluded or positioned in a way not captured by these views, the "voting" strategy might struggle.
  • Computational Overhead: Rendering multiple high-res images and processing them through SAM2, followed by 3D lifting, may be slower than a single-pass 3D point cloud network in a real-time clinical setting.
  • Future Directions: The authors suggest that further integrating 3D geometric features (like mesh curvature) directly into the 2D adapter modules could lead to even higher precision.

Summary updated

BibTeX
@inproceedings{lu2026dteethsam,
  author = {Zhiguo Lu and Jianwen Lou and Mingjun Ma and Hairong Jin and Youyi Zheng and Kun Zhou},
  title = {{3DTeethSAM: Taming SAM2 for 3D Teeth Segmentation}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2026},
  doi = {10.1609/aaai.v40i9.37702},
}
Figure