arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2611.17103cs.CVcs.LG
收藏

联合零空间投影用于无数据模型合并

Joint Null-Space Projection for Data-Free Model Merging

Tian Xia

AI总结:

本文提出联合零空间投影(JNSP)方法,将模型合并转化为子空间干扰问题,在8个CLIP图像分类任务上合并ViT-B/16专家,准确率达89.45%,优于现有无数据模型合并基线。

摘要:

将独立微调的检查点合并为单个多任务模型无需数据、标签和梯度步骤。实际中,不同任务的任务向量会产生干扰,而标准补救措施(平均、幅度剪枝、符号选择)按条目操作,忽略了每个增量会对其作用的隐藏特征产生低维更新。本文将合并重新表述为子空间干扰问题:对于每个二维权重张量,取每个任务增量的前r个右奇异子空间(即该任务移动表示的输入方向),并从每个任务向量中去除位于其他任务子空间并集中的分量。所得的联合零空间投影(JNSP)是闭式的、与顺序无关的,无需前向传播,完全由检查点集定义。在8个CLIP图像分类任务上,JNSP将ViT-B/16专家合并,平均准确率达89.45%,未使用任何图像,比最强的无参数训练基线TIES-Merging(77.57%)高11.88个百分点,比Task Arithmetic高14.22个百分点,比WUDI的无数据共识合并(88.47%)高0.98个百分点。在独立训练的TALL发布版的三个骨干网络上,该增益依然存在(ViT-B/16、ViT-B/32、ViT-L/14分别比TIES高10.8、12.6、9.1个百分点),在该数据集上复制结果为89.20%;对照实验证实,使用单个共享子空间而非每个任务的子空间会损失2.9个百分点,顺序变体则降至69.6%。在RoBERTa-large上,相同投影的表现不如普通任务算术,本文报告该结果而非隐藏。代码可在该https URL获取。

英文摘要:

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.

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

↑