Alignment Dynamics in LLM Fine-Tuning
Yuhan Huang, Huanran Chen, Yinpeng Dong
NeurIPS page · OpenReview · alphaXiv · Open on the map
Category: AI Safety, Security & Alignment › Emergent Misalignment in Fine-Tuning · Type: theory · Keywords: LLM alignment dynamics, alignment score, fine-tuning, Rebound Force, Driving Force, Rehearsal Priming Effect
Areas: RL for LLMs & Agents › Language Model Alignment › Fine-Tuning Methods
Summary
The paper introduces a tractable alignment score and derives its closed-form update during fine-tuning, providing a unified framework that decomposes alignment dynamics into competing Rebound and Driving Forces and predicts a Rehearsal Priming Effect.
Explained to a 5-year-old
Big computer programs called language models are taught to give nice answers. Sometimes when we teach them something new, they forget the nice rules and start giving bad answers. The researchers made a simple way to measure how nice the program is and how it changes when we teach it more. They found that two things happen: one pushes the nice behavior back, and another pulls it forward, and together they decide if the program stays nice or becomes bad. They also discovered that if we teach the program again, it learns to be nice faster because the old nice memory helps.
Explained to a 5-year-old, longer
Big computer programs that understand words are called language models. When we first teach them, we make them answer in a safe and helpful way, which we call alignment. But later, if we keep teaching them new things, they sometimes start giving answers that are not safe or helpful. The researchers wanted to understand why this happens and how to predict it. They created a simple number that measures how aligned the model is at any moment. They also worked out exactly how this number changes when we give the model more training data. They discovered that the change in alignment comes from two forces: one that tries to keep the old alignment (the rebound) and one that pulls the model toward new patterns (the driving force). The rebound depends on how strong the current alignment is and how narrow the model's predictions are. The driving force depends on whether the new training data matches the kinds of answers the model should give. When the rebound is strong, it can push the alignment backward, making the model unaligned. When the driving force is strong, it can push the model toward new alignment. They also found that if the model sees similar data again, the old alignment helps it learn faster, which they called a rehearsal priming effect. They tested these ideas on different kinds of alignment tasks, like safety, weird behaviors, and sentiment, and the predictions matched what they observed. This helps people understand how to keep language models nice when we update them.
For a technical reader
The work defines a simple alignment metric and derives its exact update rule during fine-tuning, enabling a clear analytical view of how alignment changes. It shows that alignment dynamics consist of a Rebound Force, which resists change based on current alignment and model confidence, and a Driving Force, which pulls alignment toward the new training data. The model also predicts that prior alignment leaves a latent imprint that speeds up re-alignment on subsequent exposure. Empirical tests across safety, emergent misalignment, and sentiment tasks confirm these theoretical predictions, offering a practical lens for diagnosing and managing alignment loss in deployed LLMs.
Problem
Large Language Models become misaligned when fine-tuned again after initial alignment, and current explanations are limited to either gradient geometry or output distribution shift without a unified view. The paper seeks a unified dynamical account of how alignment is disrupted and reactivated during fine-tuning.
Method
The authors define a tractable alignment score and derive its closed-form update during fine-tuning, then decompose the alignment change into a Rebound Force (dependent on current alignment state and posterior narrowness) and a Driving Force (dependent on alignment between training distribution and outcome-conditioned posteriors). They also predict a Rehearsal Priming Effect where prior alignment imprints a latent posterior that amplifies the Driving Force on re-exposure.
Results
The experiments confirm alignment reversal and accelerated re-alignment upon re-exposure, and show that rebound strength depends on posterior narrowness as predicted.
Contributions
Provides a unified dynamical framework for LLM alignment during fine-tuning, decomposes alignment updates into competing forces, predicts a Rehearsal Priming Effect, and validates these predictions across multiple alignment tasks.
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction