Safeguard Fine-Tuned LLMs Through Pre- and Post-Tuning Model Merging
🤗 Upvotes: 6 | cs.CL Authors: Hua Farn, Hsuan Su, Shachi H Kumar, Saurav Sahay, Shang-Tse Chen, Hung-yi Lee Title: Safeguard Fine-Tuned LLMs Through Pre- and Post-Tuning Model Merging Arxiv: http://arxiv.org/abs/2412.19512v1 Abstract: Fine-tuning large language models (LLMs) for downstream tasks is a widely adopted approach, but it often leads to safety degradation in safety-aligned LLMs. Currently, many solutions address this issue by incorporating additional safety data, which can be impractical in many cases. In this paper, we address the question: How can we improve downstream task performance while preserving safety in LLMs without relying on additional safety data? We propose a simple and effective method that maintains the inherent safety of LLMs while enhancing their downstream task performance: merging the weights of pre- and post-fine-tuned safety-aligned models. Experimental results across various downstream tasks, models, and merging methods demonstrate that this approach effectively mitigates safety degradation while improving downstream task performance, offering a practical solution for adapting safety-aligned LLMs.
You May Also Like

The Grave Talks | Haunted, Paranormal & Supernatural
Ghost Stores, Haunted, Paranormal & Supernatural Stories

Somewhere in the Skies
SpectreVision Radio

UAP Files Podcast
UAP Files Podcast
![Cosmosis [Formerly The UFO Rabbit Hole]](https://megaphone.imgix.net/podcasts/d3ee87c2-574f-11f0-b7e9-5fbb4796470a/image/6f967dac188a10d90dcdbd82d3194a98.png?ixlib=rails-4.3.1&max-w=3000&max-h=3000&fit=crop&auto=format,compress)
Cosmosis [Formerly The UFO Rabbit Hole]
Kelly Chase
Life, Death, and Taxonomy
Life, Death, and Taxonomy

Podcast de Juan Ramón Rallo
Juan Ramón Rallo

Vida Eterna. Respuestas desde la Ciencia | Dr. Manuel Sans Segarra
Dr. Manuel Sans Segarra

The Best of Coast to Coast AM
iHeartPodcasts and Coast to Coast AM

The Michael Shermer Show
Michael Shermer

Let's Science
SQPN, Inc.
Community discussion