Safety-Preserving Medical LLM Fine-Tuning via Bilevel Data Selection
Not on the map. Why?
Abstract (arXiv)
As general large language models (LLMs) are increasingly adapted for patient-facing medical applications, improving medical capability while controlling patient-facing risks remains a critical challenge. Large-scale medical instruction data are essential for acquiring domain knowledge through supervised fine-tuning (SFT), but unsafe responses can undermine existing safety alignment. To address this problem, we propose Scalable Bilevel Data Selection (S-BDS) for safety-preserving medical SFT. By controlling selection-weight concentration, S-BDS enables reliable sample ranking over large candidate pools and identifies training examples that improve medical capability while controlling patient-facing risks. We combine clinician-validated safe data and selected data with unscreened medical instruction data for SFT, and jointly evaluate medical capability and patient-facing safety on HealthBench and PatientSafetyBench, respectively. Experiments across Llama and Qwen models show that S-BDS achieves the highest safe rates among all compared methods, outperforming the strongest baselines by 4.64 and 3.00 percentage points, respectively, while maintaining competitive medical capability. Further experiments show that varying the safety-oriented weight during SFT controls the trade-off between medical capability and patient-facing safety.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 17 of its 29 references that are in the map. Submitted 16 Nov 2026.
Builds on
17 of 29 references.
References · 17
- 2022Large Language Models Encode Clinical Knowledgecited by 1,922
- 2023Fine-tuning Aligned Language Models Compromises Safety, Even When Users Do Not Intend To!cited by 1,236
- 2024LESS: Selecting Influential Data for Targeted Instruction Tuningcited by 594
- 2023Safety-Tuned LLaMAs: Lessons From Improving the Safety of Large Language Models that Follow Instructionscited by 421
- 2023Data Selection for Language Models via Importance Resamplingcited by 351
- 2023ChatDoctor: A Medical Chat Model Fine-Tuned on a Large Language Model Meta-AI (LLaMA) Using Medical Domain Knowledgecited by 342
- 2023DISC-MedLLM: Bridging General Large Language Models and Real-World Medical Consultationcited by 103
- 2023AlpaCare:Instruction-tuned Large Language Models for Medical Applicationcited by 96
- 2024UltraMedical: Building Specialized Generalists in Biomedicinecited by 71
- 2024SEAL: Safety-enhanced Aligned LLM Fine-tuning via Bilevel Data Selectioncited by 68
- 2025Fine-Tuning Lowers Safety and Disrupts Evaluation Consistencycited by 31
- 2024BiMediX: Bilingual Medical Mixture of Experts LLMcited by 23
5 more
- 2024Do as I do (Safely): Mitigating Task-Specific Fine-tuning Risks in Large Language Modelscited by 20
- 2024Cross-Task Defense: Instruction-Tuning LLMs for Content Safetycited by 9
- 2025MedRiskEval: Medical Risk Evaluation Benchmark of Language Models, On the Importance of User Perspectives in Healthcare Settingscited by 6
- 20243DS: Medical Domain Adaptation of LLMs via Decomposed Difficulty-based Data Selectioncited by 4
- 2025Resolving Knowledge Conflicts in Domain-specific Data Selection: A Case Study on Medical Instruction-tuningcited by 2
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026When Medical Safety Alignment Fails: A Benchmark for Evaluating LLMs on High-Risk Medical Queries
- 2025The Forgotten Shield: Safety Grafting in Parameter-Space for Medical MLLMs
- 2025Generalization of Medical Large Language Models through Cross-Domain Weak Supervision
- 2025Black-Box Behavioral Distillation Breaks Safety Alignment in Medical LLMs
- 2025Benchmarking Chinese Medical LLMs: A Medbench-based Analysis of Performance Gaps and Hierarchical Optimization Strategies
- 2024MedCare: Advancing Medical LLMs through Decoupling Clinical Alignment and Knowledge Aggregation
- 2025Towards Efficient Medical Reasoning with Minimal Fine-Tuning Data
- 2026Guardrail Erosion in Domain Fine-Tuned Large Language Models: A Paired Audit of Knowledge-Centric Abstention in Biomedical LLMs