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

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Casademunt, Helena, Juang, Caden, Karvonen, Adam, Marks, Samuel, Rajamanoharan, Senthooran, Nanda, Neel
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866914145422540800
author Casademunt, Helena
Juang, Caden
Karvonen, Adam
Marks, Samuel
Rajamanoharan, Senthooran
Nanda, Neel
author_facet Casademunt, Helena
Juang, Caden
Karvonen, Adam
Marks, Samuel
Rajamanoharan, Senthooran
Nanda, Neel
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2507_16795
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Steering Out-of-Distribution Generalization with Concept Ablation Fine-Tuning
Casademunt, Helena
Juang, Caden
Karvonen, Adam
Marks, Samuel
Rajamanoharan, Senthooran
Nanda, Neel
Machine Learning
Artificial Intelligence
Computation and Language
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.
title Steering Out-of-Distribution Generalization with Concept Ablation Fine-Tuning
topic Machine Learning
Artificial Intelligence
Computation and Language
url https://arxiv.org/abs/2507.16795