任务向量可线性分解为可解释且可控的组件 Task Vectors Can Be Linearly Decomposed into Interpretable and Controllable Components 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-10-30
⬇️ 1 次下载
👁️ 预览文献
💡 AI 中文简介
研究探讨大型语言模型中的任务向量(TVs)能否像上下文学习一样分解为任务识别(TR)和任务学习(TL)两个功能组件。方法上,从候选标签的反嵌入中构建TR/TL分解,将每个TV分离为TR、TL和残差部分,并用贝叶斯优化调整TR和TL系数以进行更有效的干预。在多个模型家族、分类任务以及基于指令和演示的TVs上评估,发现基于TR/TL的优化能找到优于原始TVs的干预方向,且分解后的组件干预产生与预期功能角色一致的logit级效应。这表明TVs并非单一方向,而是可分解为功能有意义的组件,支持解释和控制。
领域自然语言处理/大型语言模型可解释性与控制
适合谁读需要一定专业背景(熟悉大型语言模型和表示学习)
核心贡献1. 提出将任务向量分解为任务识别(TR)和任务学习(TL)组件的线性分解方法,并利用贝叶斯优化优化系数。2. 证明分解后的组件干预效果优于原始任务向量,且组件效应与功能角色一致,提升了任务向量的可解释性和可控性。
关键数据基于TR/TL的优化在多个模型和任务上优于原始TVs,尤其对基于指令的TVs增益更可靠;分解组件干预产生与功能角色一致的logit级效应。
推荐理由如果你对大型语言模型的可解释性和精准控制感兴趣,这篇论文提供了将任务向量拆解为功能组件的创新方法,实验扎实,值得一读。
关键词["任务向量", "线性分解", "可解释性", "可控性", "贝叶斯优化", "大型语言模型"]

原文摘要

查看英文原文摘要

Task Vectors (TVs) provide a compact way to steer large language models, but they are typically treated as atomized directions merely extracted from hidden states, leaving their internal functional structure poorly understood. Motivated by prior work that decomposes in-context learning into Task Recognition (TR) and Task Learning (TL), we ask whether a single TV can likewise be decomposed into functionally meaningful components. We formulate a TR/TL-based decomposition from candidate-label unembeddings, separating each TV into TR, TL, and residual components, and try to optimize the TR and TL coefficients using Bayesian optimization for more effective intervention. We evaluate this formulation across multiple model families, classification tasks, and both instruction- and demonstration-based TVs. Across these settings, TR/TL-based optimization identifies intervention directions that outperform the original TVs. Although optimization over random directions can also improve performance, TR/TL-based search yields more reliable gains, particularly for instruction-based TVs. Moreover, isolated interventions on the decomposed components produce distinct logit-level effects that are consistent with their intended functional roles. Together, these results suggest that TVs are not monolithic steering directions, but can be decomposed into functionally meaningful components that support both interpretation and control.