atlas

Research map / Large language models / Instruction and fine-tuning

MedSafetyBench: Evaluating and Improving the Medical Safety of Large Language Models

NeurIPS 2024 · Large language models › Instruction and fine-tuning · approach: Fine-tuning generalization and delta compression · 5 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Defines medical safety for LLMs via the AMA Principles of Medical Ethics, builds MedSafetyBench (1,800 harmful medical requests with safe refusals), and shows public medical LLMs comply with harmful requests while instruction-tuning on it improves safety without hurting medical QA.

Problem

Publicly available medical LLMs lack evaluation of medical safety; existing safety benchmarks target general harm and miss medical-ethics concerns such as patient rights, confidentiality, and medical error concealment.

Approach

Operationalizes medical safety as consistency with the nine AMA Principles of Medical Ethics, generates harmful medical requests per principle (GPT-4 prompting and GCG jailbreaking of Llama-2-7b-chat), pairs them with GPT-4 safe refusals, and uses the split for both evaluation and safety fine-tuning.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Fine-tune medical LLMs on safety demonstrationsMedalpaca-7b, Medalpaca-13b, and ClinicalCamel-70b · GenSafety-Eval, MedSafety-Eval-GPT4, and MedSafety-Eval-Llama2harmfulness scoreHelped
Fine-tune on general safety demonstrationsMedical LLMs · GenSafety-Eval and MedSafety-Evalharmfulness scoreHelped
Fine-tune on medical safety demonstrationsMedical LLMs · GenSafety-Eval and MedSafety-Evalharmfulness scoreHelped
Fine-tune on both general and medical safety demonstrationsMedical LLMs · GenSafety-Eval and MedSafety-Evalharmfulness scoreHelped
Use both general and medical demonstrations instead of medical-only demonstrations (ablation)Medical LLMs · GenSafety-Eval and MedSafety-Evalharmfulness scoreHelped
Use medical demonstrations instead of general-only demonstrations (ablation)Medical LLMs · GenSafety-Eval and MedSafety-Evalharmfulness scoreHelped
Increase the number of safety demonstrations used for fine-tuning (ablation)Medical LLMs · Safety evaluation datasetsharmfulness scoreHelped
Fine-tune for safetyMedical LLMs · MedQA, MedMCQA, PubMedQA, and MMLU-Medicalmedical performanceNo clear effect

Surprising findings

Limitations

Experimental setup

Datasets: MedSafetyBench GenSafety-Eval GenSafety-Improve MedQA MedMCQA PubMedQA MMLU-Medical

Benchmarks: MedSafetyBench (MedSafety-Eval) GenSafety-Eval MedQA MedMCQA PubMedQA MMLU-Medical

Metrics: harmfulness score (1-5) accuracy

Baselines: Llama-2-chat GPT-3.5 GPT-4 GPT-4o Vicuna Mixtral

Builds on: Greedy Coordinate Gradient AMA Principles of Medical Ethics GenSafety-Eval

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy