Skip to content
InfoResearchPeer-reviewedLLM-specific

Pharmacist: Safety Alignment Data Curation for Large Language Models Against Harmful Fine-Tuning

Published
Record updated
View JSON

Summary

Pharmacist is a method that curates safety alignment data for large language models to resist harmful fine-tuning. It trains a selector to rank alignment data, up-ranking high-quality, safety-critical examples and down-ranking the rest. When combined with RepNoise and T-Vaccine, the selected subset improved defense performance by 2.60% and 3.30%, and reduced training time by 56.83% and 57.63%.