Hyun Choi
Back to Home홈으로

Genoray FlexLab Internship Project (2025)Genoray FlexLab 인턴십 프로젝트 (2025)

SAM Fine-tuning for Medical Imaging 의료 영상용 SAM 파인튜닝

H. Choi (Joint First Author)(공동 1저자)· Y. Uhm (Joint First Author)(공동 1저자)

This project focused on customizing the Segment Anything Model (SAM) and enhancing its performance for dental panoramic X-ray segmentation. We combined LoRA-based fine-tuning with an iterative prompt refinement strategy, and also developed user-friendly labeling tool features to improve both segmentation accuracy and clinical usability.

치과 파노라마 X-ray 세그멘테이션을 위해 Segment Anything Model(SAM)을 커스터마이징하고 성능을 개선한 프로젝트입니다. LoRA 기반 파인튜닝반복적 프롬프트 개선 전략을 결합하고, 사용자 친화적인 라벨링 도구 기능도 개발해 세그멘테이션 정확도와 임상 사용성을 모두 높였습니다.

SAM Fine-tuning for Medical Imaging

1. Background1. 배경

Dentists often face difficulties identifying subtle lesions in panoramic X-rays. However, the available dataset was limited (~2,000 images) and of inconsistent quality, leading to segmentation errors and unreliable training. To overcome this, we designed a dual approach:

치과의사들은 파노라마 X-ray에서 미묘한 병변을 식별하는 데 어려움을 겪는 경우가 많습니다. 그러나 사용 가능한 데이터셋은 약 2,000장으로 제한적이고 품질이 일정하지 않아 세그멘테이션 오류와 불안정한 학습으로 이어졌습니다. 이를 극복하기 위해 두 가지 접근을 병행했습니다:

2. Methodology2. 방법론

Iterative Prompt Strategy
Iterative prompt refinement for correcting under-/over-segmentation
과소/과다 세그멘테이션 보정을 위한 반복적 프롬프트 개선

3. Results3. 결과

SAM-HQ BaselineSAM-HQ 베이스라인

0.748
Dice score

SAM-HQ + LoRA + iterative prompts반복 프롬프트

0.914
Dice score
Result Comparison 1
Root segmentation improvement in low-quality and boundary-ambiguous environments
저품질·경계 모호 환경에서의 치근 세그멘테이션 개선
Result Comparison 2
Blurred region segmentation comparison
흐릿한 영역 세그멘테이션 비교
Result Comparison 3
Overlapped structure segmentation
중첩 구조 세그멘테이션
Result Comparison 4
Artifact-heavy region handling
아티팩트가 많은 영역 처리

4. Tool Customization4. 도구 커스터마이징

Tool customization demonstration: brush correction and transparency control features
도구 커스터마이징 시연: 브러시 보정 및 투명도 조절 기능

5. Conclusion5. 결론

Through efficient fine-tuning and practical tool enhancements, we demonstrated that SAM can be effectively adapted to dental panoramic X-ray segmentation with limited data. This project lays the groundwork for dental imaging AI (e.g., structure segmentation and future pathology detection) in clinical practice, while also highlighting the importance of usability for adoption.

효율적인 파인튜닝과 실용적인 도구 개선을 통해 제한된 데이터로도 SAM을 치과 파노라마 X-ray 세그멘테이션에 효과적으로 적용할 수 있음을 보였습니다. 이 프로젝트는 임상에서의 치과 영상 AI (구조 세그멘테이션, 향후 병변 검출 등)의 기반을 마련하는 동시에, 실제 도입에서 사용성이 얼마나 중요한지도 보여주었습니다.