Skip to content

Fixing LLMs like patching software: a lightweight method for improving large language model safety policiesPatching LLM Like Software: A Lightweight Method for Improving Safety Policy in Large Language Models

arXiv· arXiv:2511.08484· Huzaifa Arif, Keerthiram Murugesan, Ching-Yun Ko, Pin-Yu Chen, Payel Das, Alex Gittens·Indexed by this site · 27 days ago· Originally publishedDefenses
AI summary

Researchers propose a lightweight method for fixing LLM safety vulnerabilities much like patching software: prepending a learnable prefix to an existing model, adding only 0.003% parameters. The "patch" brings model behavior closer to a safer reference model, achieving safety improvements comparable to a new generation of safety-aligned models in three domains—toxicity mitigation, bias reduction and refusal of harmful content—while maintaining fluency. This provides a practical mechanism for vendors to distribute scalable, composable safety updates between major releases.

Read originalarxiv.org