Guiding out-of-distribution generalization of large language models with concept ablation fine-tuning
Steering Out-of-Distribution Generalization with Concept Ablation Fine-Tuning
Translation in progress — untranslated text is omitted.
The 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.
- 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.
- 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.
- 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).
- 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.
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
Goodfire提出机制塑造框架,用内部表征引导训练
- Goodfire Researchcites the paper's id or linkGoodfire:通过模型的内部表征塑造并监控模型
Casademunt et al., 2025;
- Anthropic Alignment Sciencecites the paper's id or linkAnthropic 报告 2026 年夏季前沿模型的智能体失准案例
competence, not formal appointment.” The team is using Concept Ablation Fine-Tuning to remove internal model representations during training.
- Google DeepMindcites the paper's id or linkGemma Scope 2:帮助 AI 安全社区深入理解语言模型的复杂行为
hallucination, identifying secrets known by a model, and training safer models, Gemma Scope 2 supports even more ambitious research through significant upgrades:
Related papers
- Emergent Misalignment Is Not MagicalAnalysis / interpretabilityarXiv