arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.14665cs.AI
收藏

梯度原子:通过训练梯度的稀疏分解实现无监督的行为发现、归因与引导

Gradient Atoms: Unsupervised Discovery, Attribution and Steering of Model Behaviors via Sparse Decomposition of Training Gradients

FLAIR, University of Oxford(FLAIR,牛津大学)

J Rosser

AI总结:

本文提出梯度原子方法,通过训练梯度的稀疏分解发现、归因和引导模型行为,无需监督即可识别可解释的任务类型行为,如拒绝、算术、二元分类等,并能有效控制模型行为变化。

摘要:

训练数据归因(TDA)方法询问哪些训练文档对模型行为负责。然而,模型往往学习到跨多个示例共享的广泛概念。此外,现有TDA方法需要预定义的查询行为,然后对每个训练文档进行评分,使其既昂贵又无法揭示用户未想到的行为。我们提出了梯度原子,一种无监督方法,通过在预条件特征空间中的字典学习将每文档训练梯度分解为稀疏组件("原子")。每个原子捕捉由功能相似文档簇诱导的共享更新方向,直接恢复每文档方法无法触及的集体结构。在500个发现的原子中,最一致的原子能恢复可解释的任务类型行为--拒绝、算术、yes/no分类、 trivia QA--而无需任何行为标签。这些原子同时是有效的引导向量:将它们作为权重空间扰动应用,会产生大且可控的模型行为变化(例如,项目列表生成从33%到94%;系统拒绝从50%到0%)。该方法无需查询-文档评分阶段,且独立于感兴趣的查询行为数量。代码可在https://github.com/jrosseruk/gradient_atoms获取。

英文摘要:

Training data attribution (TDA) methods ask which training documents are responsible for a model behavior. However, models often learn broad concepts shared across many examples. Moreover, existing TDA methods are supervised -- they require a predefined query behavior, then score every training document against it -- making them both expensive and unable to surface behaviors the user did not think to ask about. We present Gradient Atoms, an unsupervised method that decomposes per-document training gradients into sparse components ("atoms") via dictionary learning in a preconditioned eigenspace. Each atom captures a shared update direction induced by a cluster of functionally similar documents, directly recovering the collective structure that per-document methods do not address. Among 500 discovered atoms, the highest-coherence ones recover interpretable task-type behaviors -- refusal, arithmetic, yes/no classification, trivia QA -- without any behavioral labels. These atoms double as effective steering vectors: applying them as weight-space perturbations produces large, controllable shifts in model behavior (e.g., bulleted-list generation 33% to 94%; systematic refusal 50% to 0%). The method requires no query--document scoring stage, and scales independently of the number of query behaviors of interest. Code is available at https://github.com/jrosseruk/gradient_atoms.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑