Fundamental Safety-Capability Trade-offs in Fine-tuning Large Language Models

Pin-Yu Chen, Han Shen, Payel Das, Tianyi Chen
3/24/2025
stat.MLcs.AIcs.CL

No confident code implementation found for this paper. 2 possible matches can be shown below.

Abstract

Fine-tuning Large Language Models (LLMs) on some task-specific datasets has been a primary use of LLMs. However, it has been empirically observed that this approach to enhancing capability inevitably compromises safety, a phenomenon also known as the safety-capability trade-off in LLM fine-tuning. This paper presents a theoretical framework for understanding the interplay between safety and capability in two primary safety-aware LLM fine-tuning strategies, providing new insights into the effects of data similarity, context overlap, and alignment loss landscape. Our theoretical results characterize the fundamental limits of the safety-capability trade-off in LLM fine-tuning, which are also validated by numerical experiments.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 2 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{chen2025fundamental,
  title  = {Fundamental Safety-Capability Trade-offs in Fine-tuning Large Language Models},
  author = {Pin-Yu Chen and Han Shen and Payel Das and Tianyi Chen},
  year   = {2025},
  eprint = {2503.20807},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.20807v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2503.20807.svg)](https://codeofpaper.com/paper/2503.20807)

Discussion