Black-Box Behavioral Distillation Breaks Safety Alignment in Medical LLMs
On the map: LLM alignment / RLHF / preference optimisation → Safety alignment and jailbreak attacks
also in 1 more
Abstract (arXiv)
As medical large language models (LLMs) become increasingly integrated into clinical workflows, concerns around alignment robustness, and safety are escalating. Prior work on model extraction has focused on classification models or memorization leakage, leaving the vulnerability of safety-aligned generative medical LLMs underexplored. We present a black-box distillation attack that replicates the domain-specific reasoning of safety-aligned medical LLMs using only output-level access. By issuing 48,000 instruction queries to Meditron-7B and collecting 25,000 benign instruction response pairs, we fine-tune a LLaMA3 8B surrogate via parameter efficient LoRA under a zero-alignment supervision setting, requiring no access to model weights, safety filters, or training data. With a cost of 12, the surrogate achieves strong fidelity on benign inputs while producing unsafe completions for 86% of adversarial prompts, far exceeding both Meditron-7B (66%) and the untuned base model (46%). This reveals a pronounced functional-ethical gap, task utility transfers, while alignment collapses. To analyze this collapse, we develop a dynamic adversarial evaluation framework combining Generative Query (GQ)-based harmful prompt generation, verifier filtering, category-wise failure analysis, and adaptive Random Search (RS) jailbreak attacks. We also propose a layered defense system, as a prototype detector for real-time alignment drift in black-box deployments. Our findings show that benign-only black-box distillation exposes a practical and under-recognized threat: adversaries can cheaply replicate medical LLM capabilities while stripping safety mechanisms, underscoring the need for extraction-aware safety monitoring.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Placed in Safety alignment and jailbreak attacks, one of 10 directions in LLM alignment / RLHF / preference optimisation. Builds on 28 of its 56 references that are in the map. First posted on arXiv 10 Dec 2025.
Builds on
28 of 56 references.
Closest ancestors · 1
Same direction, newest first
Other references · 27
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
- 2015Distilling the Knowledge in a Neural Networkcited by 10,076
- 2020Extracting Training Data from Large Language Modelscited by 2,144
- 2020Knowledge Distillation: A Surveycited by 1,578
- 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injectioncited by 1,339
- 2024HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusalcited by 1,330
- 2023Jailbreaking Black Box Large Language Models in Twenty Queriescited by 1,326
- 2019PubMedQA: A Dataset for Biomedical Research Question Answeringcited by 1,271
- 2020RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language Modelscited by 1,235
- 2022Diffusion-LM Improves Controllable Text Generationcited by 1,006
- 2022Red Teaming Language Models with Language Modelscited by 983
- 2021Deduplicating Training Data Makes Language Models Bettercited by 705
15 more
- 2016Stealing Machine Learning Models via Prediction APIscited by 602
- 2022BioGPT: Generative Pre-trained Transformer for Biomedical Text Generation and Miningcited by 531
- 2023Promptbreeder: Self-Referential Self-Improvement Via Prompt Evolutioncited by 521
- 2024Jailbreaking Leading Safety-Aligned LLMs with Simple Adaptive Attackscited by 450
- 2023ChatDoctor: A Medical Chat Model Fine-Tuned on a Large Language Model Meta-AI (LLaMA) Using Medical Domain Knowledgecited by 324
- 2018Knockoff Nets: Stealing Functionality of Black-Box Modelscited by 285
- 2023Automatically Auditing Large Language Models via Discrete Optimizationcited by 187
- 2018PRADA: Protecting against DNN Model Stealing Attackscited by 159
- 2019Thieves on Sesame Street! Model Extraction of BERT-based APIscited by 136
- 2018Stealing Hyperparameters in Machine Learningcited by 115
- 2025Medical Hallucinations in Foundation Models and Their Impact on Healthcarecited by 89
- 2023ClinicalGPT: Large Language Models Finetuned with Diverse Medical Data and Comprehensive Evaluationcited by 85
- 2023Model Leeching: An Extraction Attack Targeting LLMscited by 22
- 2024Performance-Guided LLM Knowledge Distillation for Efficient Text Classification at Scalecited by 14
- 2025RedRFT: A Light-Weight Benchmark for Reinforcement Fine-Tuning-Based Red Teamingcited by 1
Built on by
Citing papers per year: 2026: 4.
4 papers.
- 2026Benchmarking the Safety of Large Language Models for Robotic Health Attendant Controlcited by 1
- 2026ExecTune: Effective Steering of Black-Box LLMs with Guide Modelscited by 0
- 2026Hiding in Plain Sight: Detectability-Aware Antidistillation of Reasoning Modelscited by 0
- 2026ADS-C: Antidistillation Sampling for Classificationcited by 0
- 2026ADS-C: Antidistillation Sampling for Classification16 Jul 2026
- 2026Benchmarking the Safety of Large Language Models for Robotic Health Attendant Control29 Apr 2026
- 2026Hiding in Plain Sight: Detectability-Aware Antidistillation of Reasoning Models25 Apr 2026
- 2026ExecTune: Effective Steering of Black-Box LLMs with Guide Models9 Apr 2026
Similar, not cited
Close in wording, no citation either way
- 2025The Forgotten Shield: Safety Grafting in Parameter-Space for Medical MLLMs
- 2026Neurosymbolic Alignment for Physiologically-Safe Clinical Language Models
- 2025Refining Positive and Toxic Samples for Dual Safety Self-Alignment of LLMs with Minimal Human Interventions
- 2026An Efficient and Modular Framework for Targeted Harm Mitigation in LLMS
- 2026When Medical Safety Alignment Fails: A Benchmark for Evaluating LLMs on High-Risk Medical Queries
- 2026Aligned but Fragile: Enhancing LLM Safety Robustness via Zeroth-Order Optimization
- 2025Benchmarking Chinese Medical LLMs: A Medbench-based Analysis of Performance Gaps and Hierarchical Optimization Strategies
- 2025Picky LLMs and Unreliable RMs: An Empirical Study on Safety Alignment after Instruction Tuning