任务向量何时相互干扰?映射权重空间组合的有效性边界 When Do Task Vectors Interfere? Mapping the Validity Boundaries of Weight-Space Composition 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-08-10
👁️ 预览文献
💡 AI 中文简介
本文研究任务算术中权重相加组合技能时,合并模型的表现是否真的可加。作者在0.5B到8B的五个模型设置、LoRA与全参数微调两类方法上,扫描二维组合曲面,发现非可加性真实存在且跨任务对可粗略迁移(8/8符号预测成立),但它高度依赖输入和提示格式:同一合并模型在代码提示上出现6个百分点的交互对比,在数学提示上却消失;用训练时的指令模板包装后对比从+6.9骤降到+0.3,而用未训练的聊天模板则保持+12.5。结论是权重空间组合只能给出受输入和格式约束的粗略功能判断,不能作为通用的合并性能预测器。
领域自然语言处理 / 模型合并与迁移学习
适合谁读需要一定专业背景(了解微调、LoRA、模型合并与基准评测的读者)
核心贡献1) 提出一种输入条件化的交互曲面估计量,将“任务向量是否干扰”转化为可测量、按输入索引的量;2) 发现干扰排序可粗略迁移:在未见任务对上8/8符号预测成立,且主对比在全参数微调、两个规模及第二模型家族下依然存在;3) 定位格式边界:训练格式的指令模板会抹除干扰表达,而未训练的聊天模板不会,执行基准pass@1也继承这种盲区。
关键数据五个模型设置(0.5B–8B)、两类微调(LoRA与全参数);8/8预注册符号预测在未见任务对上成立;代码提示上交互对比约6个百分点;训练格式Alpaca包装使对比从+6.9降至+0.3(二十倍坍缩);未训练ChatML序列化保持+12.5;执行基准pass@1继承训练格式盲区。
推荐理由如果你关心模型合并到底靠不靠谱,这篇用扎实实验告诉你:干扰真实存在,但能不能被看见,取决于你怎么问模型——非常值得一读。
关键词["任务算术", "权重空间组合", "任务向量干扰", "输入条件性", "提示格式", "模型合并"]

原文摘要

查看英文原文摘要

Task arithmetic composes skills by adding weight displacements, and merged models are then judged on benchmark suites. We measure when that composition is functionally additive, and find that the answer depends as much on how the model is prompted as on which tasks are merged. Across two-dimensional composition surfaces -- five model settings from 0.5B to 8B, two families, LoRA and full fine-tuning -- pairwise non-additivity is real, seed-stable, and transfers in coarse order to unseen task pairs: all eight preregistered sign predictions held. But it is input-conditioned everywhere we measured: the same merged model that shows a six-point interaction contrast on code prompts shows none on math prompts, and wrapping the identical code prompts in the instruction template the adapters were trained on collapses the contrast twenty-fold, from +6.9 to +0.3 points -- while re-serializing them in an untrained chat template leaves it intact (+12.5), falsifying our own preregistered prediction. Execution benchmarks (pass@1) inherit the training-format wrapper's blindness. Weight-space composition therefore supports coarse, input- and format-conditioned functional statements -- not a universal merging-performance predictor, and not one that training-format evaluations can see.