Picky LLMs and Unreliable RMs: An Empirical Study on Safety Alignment after Instruction Tuning

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Li, Guanlin, Chen, Kangjie, Guo, Shangwei, Zhang, Jie, Qiu, Han, Zhang, Chao, Wang, Guoyin, Zhang, Tianwei, Li, Jiwei
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866913675583946752
author Li, Guanlin
Chen, Kangjie
Guo, Shangwei
Zhang, Jie
Qiu, Han
Zhang, Chao
Wang, Guoyin
Zhang, Tianwei
Li, Jiwei
author_facet Li, Guanlin
Chen, Kangjie
Guo, Shangwei
Zhang, Jie
Qiu, Han
Zhang, Chao
Wang, Guoyin
Zhang, Tianwei
Li, Jiwei
contents Large language models (LLMs) have emerged as powerful tools for addressing a wide range of general inquiries and tasks. Despite this, fine-tuning aligned LLMs on smaller, domain-specific datasets, critical to adapting them to specialized tasks, can inadvertently degrade their safety alignment, even when the datasets are benign. This phenomenon makes models more susceptible to providing inappropriate responses. In this study, we systematically examine the factors contributing to safety alignment degradation in benign fine-tuning scenarios. Our analysis identifies three critical factors affecting aligned LLMs: answer structure, identity calibration, and role-play. Additionally, we evaluate the reliability of state-of-the-art reward models (RMs), which are often used to guide alignment processes. Our findings reveal that these RMs frequently fail to accurately reflect human preferences regarding safety, underscoring their limitations in practical applications. By uncovering these challenges, our work highlights the complexities of maintaining safety alignment during fine-tuning and offers guidance to help developers balance utility and safety in LLMs. Datasets and fine-tuning code used in our experiments can be found in https://github.com/GuanlinLee/llm_instruction_tuning.
format Preprint
id arxiv_https___arxiv_org_abs_2502_01116
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Picky LLMs and Unreliable RMs: An Empirical Study on Safety Alignment after Instruction Tuning
Li, Guanlin
Chen, Kangjie
Guo, Shangwei
Zhang, Jie
Qiu, Han
Zhang, Chao
Wang, Guoyin
Zhang, Tianwei
Li, Jiwei
Artificial Intelligence
Computation and Language
Machine Learning
Large language models (LLMs) have emerged as powerful tools for addressing a wide range of general inquiries and tasks. Despite this, fine-tuning aligned LLMs on smaller, domain-specific datasets, critical to adapting them to specialized tasks, can inadvertently degrade their safety alignment, even when the datasets are benign. This phenomenon makes models more susceptible to providing inappropriate responses. In this study, we systematically examine the factors contributing to safety alignment degradation in benign fine-tuning scenarios. Our analysis identifies three critical factors affecting aligned LLMs: answer structure, identity calibration, and role-play. Additionally, we evaluate the reliability of state-of-the-art reward models (RMs), which are often used to guide alignment processes. Our findings reveal that these RMs frequently fail to accurately reflect human preferences regarding safety, underscoring their limitations in practical applications. By uncovering these challenges, our work highlights the complexities of maintaining safety alignment during fine-tuning and offers guidance to help developers balance utility and safety in LLMs. Datasets and fine-tuning code used in our experiments can be found in https://github.com/GuanlinLee/llm_instruction_tuning.
title Picky LLMs and Unreliable RMs: An Empirical Study on Safety Alignment after Instruction Tuning
topic Artificial Intelligence
Computation and Language
Machine Learning
url https://arxiv.org/abs/2502.01116