Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Steering Out-of-Distribution Generalization with Concept Ablation Fine-Tuning

About

Fine-tuning large language models (LLMs) can lead to unintended out-of-distribution generalization. Standard approaches to this problem rely on modifying training data, for example by adding data that better specify the intended generalization. However, this is not always practical. We introduce Concept Ablation Fine-Tuning (CAFT), a technique that leverages interpretability tools to control how LLMs generalize from fine-tuning, without needing to modify the training data or otherwise use data from the target distribution. Given a set of directions in an LLM's latent space corresponding to undesired concepts, CAFT works by ablating these concepts with linear projections during fine-tuning, steering the model away from unintended generalizations. We successfully apply CAFT to three fine-tuning tasks, including emergent misalignment, a phenomenon where LLMs fine-tuned on a narrow task generalize to give egregiously misaligned responses to general questions. Without any changes to the fine-tuning data, CAFT reduces misaligned responses by 10x without degrading performance on the training distribution. Overall, CAFT represents a novel approach for steering LLM generalization without modifying training data.

Helena Casademunt, Caden Juang, Adam Karvonen, Samuel Marks, Senthooran Rajamanoharan, Neel Nanda• 2025

Related benchmarks

TaskDatasetResultRank
Misalignment EvaluationCAFT 800 general prompts
Misalignment Rate0.5
11
Coding PerformanceInsecure-code 1000-prompt held-out
Task Success Rate87.3
7
Political Bias Assessment600 non-financial political prompts
P(R)45.9
5
Content Quality AssessmentFinancial-advice prompts
Content Score0.87
5
Adherence evaluationMedical Prompts (150 held-out prompts)
Mean Adherence2.85
4
Showing 5 of 5 rows

Other info

Follow for update