2025-07-23 · 专家 · 机器学习 · 自然语言处理

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

该论文提出了概念消融微调(CAFT)技术,通过利用可解释性工具来控制大型语言模型(LLM)的泛化方式,从而在不修改训练数据的情况下避免模型泛化到不期望的领域。

更新于 2025-07-23。作者:Helena Casademunt、Caden Juang、Adam Karvonen、Samuel Marks、Senthooran Rajamanoharan、Neel Nanda。

中文摘要

微调大型语言模型(LLMs)可能导致未预期的分布外泛化。针对这一问题的标准方法依赖于修改训练数据,例如通过添加更好地指定预期泛化的数据。然而,这并不总是可行的。我们引入了概念消融微调(CAFT)技术,这是一种利用可解释性工具来控制LLMs在微调期间如何泛化的技术,无需修改训练数据或使用目标分布中的数据。给定一组对应于LLMs潜在空间中不希望出现的概念的指令,CAFT通过在微调期间使用线性投影消融这些概念,引导模型避免未预期的泛化。我们成功地将CAFT应用于三个微调任务,包括涌现的不一致,这是一种LLMs在狭窄任务上微调后泛化到给出严重不一致的回答的现象。在不更改微调数据的情况下,CAFT将不一致的回答减少了10倍,而没有降低训练分布上的性能。总体而言,CAFT代表了一种在不修改训练数据的情况下引导LLM泛化的新颖方法。

英文摘要

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.

解读

一句话总结

该论文提出了概念消融微调(CAFT)技术,通过利用可解释性工具来控制大型语言模型(LLM)的泛化方式,从而在不修改训练数据的情况下避免模型泛化到不期望的领域。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源