面向无数据模型合并的联合零空间投影 Joint Null-Space Projection for Data-Free Model Merging 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-11-12
👁️ 预览文献
💡 AI 中文简介
这项研究解决的是如何在不使用任何数据、标签和梯度的情况下,把多个独立微调好的模型合并成一个多任务模型。作者发现不同任务之间的参数更新会互相干扰,于是把合并问题重新表述为子空间干扰问题:对每个权重矩阵提取各任务最重要的输入方向,再把每个任务向量中落在其他任务子空间里的成分去掉,得到一种闭式、与顺序无关的联合零空间投影方法(JNSP)。在CLIP的八个图像分类任务上,该方法把ViT-B/16专家模型合并到89.45%的平均准确率,比最强的免训练参数级基线高出11.88个百分点,且无需任何图像。
领域深度学习 / 模型合并与多任务学习
适合谁读需要一定专业背景(了解模型微调、任务向量与奇异值分解)
核心贡献1. 将无数据模型合并重新表述为子空间干扰问题,提出闭式、与顺序无关、无需前向传播的联合零空间投影(JNSP);2. 通过消融对照(共享子空间损失2.9分、顺序变体跌至69.6%)明确验证了性能增益来源于逐任务子空间投影这一设计。
关键数据CLIP八任务ViT-B/16平均准确率89.45%,超TIES-Merging(77.57%)11.88分、超Task Arithmetic 14.22分、超WUDI无数据共识合并(88.47%)0.98分;在TALL发布集三个骨干上分别超TIES +10.8、+12.6、+9.1分,ViT-B/16复现达89.20%;共享子空间对照损失2.9分,顺序变体跌至69.6%;在RoBERTa-large上该方法不如普通任务算术。
推荐理由不用一张图、不用一步梯度就能把多个专家模型合成一个多任务模型,还比最强基线高出近12个点,做模型合并的读者值得一读。
关键词["模型合并", "无数据合并", "零空间投影", "子空间干扰", "任务向量", "多任务学习"]

原文摘要

查看英文原文摘要

Merging independently fine-tuned checkpoints into a single multi-task model requires no data, no labels, and no gradient steps. In practice the task vectors of different tasks interfere, and the standard remedies--averaging, magnitude pruning, sign election--operate entry by entry, ignoring that each delta induces a low-dimensional update on the hidden features it acts upon. We recast merging as a subspace interference problem. For every two-dimensional weight tensor we take the top-r right-singular subspace of each task's delta--the input directions along which that task moves the representation most--and remove from each task vector the component lying in the union of the other tasks' subspaces. The resulting Joint Null-Space Projection (JNSP) is closed-form and order-independent, needs no forward pass, and is defined entirely by the checkpoint set. On eight CLIP image-classification tasks JNSP merges ViT-B/16 experts to 89.45% average accuracy without using a single image, 11.88 points above the strongest parameter-wise training-free baseline (TIES-Merging, 77.57%), 14.22 above Task Arithmetic, and 0.98 above WUDI's data-free consensus merge (88.47%). The gain holds across three backbones on the independently trained TALL release (+10.8, +12.6, +9.1 over TIES for ViT-B/16, ViT-B/32, ViT-L/14) and replicates there at 89.20%; controls confirm the source--a single shared subspace instead of per-task ones loses 2.9 points, and a sequential variant collapses to 69.6%. On RoBERTa-large the same projection underperforms plain task arithmetic, which we report rather than hide. Code is available at https://github.com.