model-distillation medical-ai risk-detection numerical-reasoning guardrail-model medguardbench multimodal-hallucination compliance-verification
Abstract
As medical AI is increasingly used for patient consultation and clinical decision support, identifying harmful, non-compliant, or ethically problematic responses is essential for responsible deployment. Assessing these risks requires checking clinical claims against relevant evidence, verifying calculations, and applying medical requirements under their intended conditions. We introduce LingSante MedGuard, a capability-enhanced guardrail that integrates supervision from a medical guardrail teacher model and six specialized medical capability experts into a unified model. The guardrail teacher supervises risk decisions and explanations across medical safety, compliance, and ethics, while the capability experts support medical rule understanding, numerical reasoning, multimodal hallucination detection, agentic safety verification, risk localization, and multimodal entity understanding. We consolidate these sources of supervision through offline supervised fine-tuning on teacher-generated demonstrations, followed by multi-teacher on-policy distillation using feedback on student-generated responses. We further introduce LingSante MedGuardBench, a benchmark comprising 11 risk-detection subsets spanning medical safety, compliance, and ethics. At 4B, 9B, and 27B scales, LingSante MedGuard achieves mean benchmark F1 scores of 82.3%, 82.4%, and 87.4%, respectively. The 4B model also achieves 73.9% mean accuracy across MedHallu and MedHALT-NOTA under retrieval-enabled evaluation. Additional evaluations of the verification components show improvements in evidence-supported consistency, source traceability, and rule-guided rationale quality across model scales. These results support the integration of specialized medical capabilities into a unified guardrail for medical risk assessment and evidence-based medical safety verification.
한국어 요약
한 줄 요약
LingSante MedGuard는 의료 AI의 안전성, 준수성, 윤리적 위험을 통합적으로 평가하기 위한 가드레일 모델로, 27B 규모에서 87.4%의 평균 F1 점수를 달성했다.
핵심 기여도
- 의료 안전, 준수, 윤리 위험을 통합적으로 평가하는 LingSante MedGuard 모델을 제안.
- 의료 가드레일 티처 모델(T0)과 6개 전문 의료 전문가(E1–E6)를 통한 이중 단계 디스틸레이션을 도입.
- LingSante MedGuardBench라는 11개 위험 탐지 서브셋을 포함한 벤치마크를 공개.
- 4B, 9B, 27B 규모에서 각각 82.3%, 82.4%, 87.4%의 평균 F1 점수 달성.
핵심 아이디어
의료 AI의 응답에서 발생할 수 있는 다양한 위험(안전, 준수, 윤리)을 단일 모델에서 통합적으로 평가하기 위해, LingSante MedGuard는 전문 의료 지식을 기반으로 한 가드레일 티처와 6개의 전문가 모듈을 결합한 새로운 접근법을 제안한다. 기존의 일반적인 가드레일은 의료 특화 지식을 반영하지 못해 한계가 있었으나, 본 연구는 각 위험 영역(예: 복약량 오류, 윤리적 위반)에 맞는 전문가 모듈(E1–E6)을 도입하여, 복잡한 의료 상황에서도 정확한 판단이 가능하도록 했다. 특히, 의료 멀티모달 엔티티 이해(E1), 의료 수치 추론(E2), 멀티모달 홀루션 탐지(E3) 등 구체적인 의료 능력을 모델에 통합함으로써, 단순한 텍스트 기반 판단을 넘어, 이미지, 수치, 규칙 등을 종합적으로 평가할 수 있게 했다.
기술적 접근법
- **가드레일 티처 모델 (T0)**: 의료 안전, 준수, 윤리 기준에 따라 위험 판단과 설명을 제공.
- **6개 전문가 모듈 (E1–E6)**: 각각 의료 규칙 이해, 수치 추론, 멀티모달 홀루션 탐지, 에이전트 안전 검증, 위험 로컬라이제이션, 멀티모달 엔티티 이해를 담당.
- **이중 단계 디스틸레이션**: 오프라인 감독 미세조정 후, 멀티-티처 온-폴리시 디스틸레이션을 통해 전문가 피드백을 통합.
- **모델 규모**: 4B, 9B, 27B 파라미터 규모로 평가.
- **훈련 전략**: T0와 E1–E6의 감독 신호를 통합하여 단일 학생 모델로 학습.
주요 결과
- **LingSante MedGuardBench**: 11개 위험 탐지 서브셋에서 27B 모델이 평균 F1 87.4% 달성.
- **4B 모델**: MedHallu와 MedHALT-NOTA에서 73.9%의 평균 정확도 기록.
- **디스틸레이션 효과**: 27B 모델에서 이중 단계 디스틸레이션이 혼합 소스 감독 미세조정 대비 5.1% 포인트 높은 F1 성능.
- **전문가 데이터 제거 시**: F1이 3.4% 포인트 감소.
의의 및 한계
LingSante MedGuard는 의료 AI의 다양한 위험을 통합적으로 평가할 수 있는 체계적인 프레임워크를 제시하며, 실제 의료 환경에서 이미 적용되고 있다. 특히, 단일 모델에서 의료 안전, 준수, 윤리 세 가지 영역을 모두 처리할 수 있다는 점에서 실용적 가치가 높다. 그러나 모델의 성능 향상이 모든 전문가 모듈에 균일하게 반영되지 않을 수 있다는 한계가 있다. 예를 들어, 전체 위험 탐지 성능이 향상되더라도 개별 전문 모듈(E1–E6)의 성능은 다를 수 있으므로, 전문 모듈별 평가가 별도로 필요하다는 점이 지적된다.
실용적 활용
의료 상담, 진단 지원, 의료 문서 해석 등 의료 AI가 활용되는 다양한 환경에서, LingSante MedGuard는 위험 응답을 자동으로 탐지하고, 그 근거를 설명함으로써 의료 전문가의 검토를 용이하게 할 수 있다. 특히, 멀티모달 입력(텍스트, 이미지)을 처리하는 의료 시스템에서 오류나 홀루션을 탐지하는 데 유용하며, 복잡한 규칙 준수 여부를 확인하는 데도 활용 가능하다.