Skip to content

Guiding out-of-distribution generalization of large language models with concept ablation fine-tuning

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

arXiv· arXiv:2507.16795· ICML 2026· Helena Casademunt, Caden Juang, Adam Karvonen, Samuel Marks, Senthooran Rajamanoharan, Neel NandaHarvard University; Northeastern University; AnthropicIndexed by this site · 2026-10-15· Originally publishedSelected DefensesSelectedAttention38

Translation in progress — untranslated text is omitted.

Quick read

Defenses

Based on the paper PDF (generated by Gemini); refer to the original

AI summaryThe researchers propose concept ablation fine-tuning (CAFT), a method that uses interpretability tools to control out-of-distribution generalization after fine-tuning large language models, without modifying training data or requiring data from the target distribution. CAFT first locates directions representing undesirable concepts in the model's latent space using principal component analysis (PCA) or sparse autoencoders (SAEs), then ablates these directions with linear projections during fine-tuning, with no intervention at inference time. On emergent misalignment tasks, CAFT reduces misaligned responses by about 10 times on Qwen2.5-Coder-32B-Instruct and Mistral-Small-24B-Instruct-2501 while largely maintaining performance on the training distribution, with PCA outperforming SAE. On two multiple-choice tasks with spurious correlations, CAFT can often completely reverse the model's default out-of-distribution generalization, where SAE outperforms PCA. The authors note that the method still requires human interpretation of directions, and PCA and SAE each have applicable scenarios.

Questions
Models are prone to unintended out-of-distribution generalization during fine-tuning; for example, fine-tuning on writing vulnerable code leads to malicious misalignment in responses to general questions. When target-distribution data that distinguishes intended from unintended generalization is unavailable, standard data-modification strategies are difficult to apply.
Methods
The authors propose CAFT, which uses interpretability tools (PCA or SAE) to identify activation directions in the model's latent space corresponding to unintended concepts, and during fine-tuning forward and backward passes projects the relevant module activations onto the orthogonal complement of these directions for ablation; no ablation is needed at inference.
Experiments and results
In the emerging misalignment experiments with Qwen and Mistral, CAFT with PCA reduced the misalignment rate to 0.51% and 1.16%, respectively (Tables 1, 2); in the Gemma-2-2B multiple-choice spurious correlation task, CAFT with SAE achieved DOOD accuracy above 50% on 11 tasks (Table 4).
Limitations and future work
Some syntactic concepts are difficult to disentangle; identifying directions depends on human interpretation; PCA and SAEs perform inconsistently across tasks; experiments cover 3 open-source models, and the paper does not report statistical significance tests or FLOPs overhead.
Why it was selectedThe paper proposes CAFT, which ablates concept directions during fine-tuning, reducing emergent misalignment responses by about 10 times without modifying training data.

The paper proposes CAFT, which ablates concept directions during fine-tuning, reducing emergent misalignment responses by about 10 times without modifying training data.

Related events and news

1 events · 3 news mentions

News that mentions this paper

Related papers

Read originalICML 2026