[论文解读] LARV: Data-Free Layer-wise Adaptive Rescaling Veneer for Model Merging
LARV 是一种无需数据的表层 veneer,在合并前为每层的任务向量增量分配尺度,提升跨多种合并基线的逐层干扰处理,无需再训练即可应用于视觉变换器。
Model merging aims to combine multiple fine-tuned models into a single multi-task model without access to training data. Existing task-vector merging methods such as TIES, TSV-M, and Iso-C/CTS differ in their aggregation rules but treat all layers nearly uniformly. This assumption overlooks the strong layer-wise heterogeneity in large vision transformers, where shallow layers are sensitive to interference while deeper layers encode stable task-specific features. We introduce LARV, a training-free, data-free, merger-agnostic Layer-wise Adaptive Rescaling Veneer that plugs into any task-vector merger and assigns a per-layer scale to each task vector before aggregation, and show it consistently boosts diverse merging rules. LARV adaptively suppresses shallow-layer interference and amplifies deeper-layer alignment using a simple deterministic schedule, requiring no retraining or modification to existing mergers. To our knowledge, this is the first work to perform layer-aware scaling for task-vector merging. LARV computes simple data-free layer proxies and turns them into scales through a lightweight rule; we study several instantiations within one framework (e.g., tiered two/three-level scaling with fixed values, or continuous mappings) and show that tiered choices offer the best robustness, while continuous mappings remain an ablation. LARV is orthogonal to the base merger and adds negligible cost. On FusionBench with Vision Transformers, LARV consistently improves all task-vector baselines across 8/14/20-task settings; for example, Iso-C + LARV reaches 85.9% on ViT-B/32, 89.2% on ViT-B/16, and 92.6% on ViT-L/14. Layerwise analysis and corruption tests further indicate that LARV suppresses shallow-layer interference while modestly amplifying deeper, task-stable features, turning model merging into a robust, layer-aware procedure rather than a uniform one.
研究动机与目标
- 将大尺寸视觉变换器中的逐层异质性作为合并干扰的来源进行动机化。
- 提出一种无需数据的 veneer(LARV),在合并前对每一层的任务向量增量进行缩放。
- 证明逐层感知的重新缩放在不同骨干网和任务上改进了多种基础合并规则。
- 提供诊断方法和一种简单、鲁棒的实现,不需要数据或再训练。
提出的方法
- 将每个任务表示为来自预训练基线 theta0 的增量,并用基础合并器 M 对逐层增量进行合并。
- 从权重中计算两种无需数据的逐层诊断:有效秩对比 Effective-Rank Contrast e_l 和对易冲突系数 Commutator Conflict Coefficient c_l。
- 从 e_l、c_l 和深度先验 r_l 构建综合层分数 w_l,再通过连续门控或分层方案将 w_l 映射为逐层尺度 s_l。
- 在将每层合并的增量乘以 s_l 后再加入 theta0,得到 theta_LARV = theta0 + s_l * Delta_theta_l。
- 提供两种门控变体:连续型(1 + 0.5 tanh)和分层型(0.5/1.0/1.5)并配有固定阈值。
- 展示开销极小且不需要梯度或带标签数据,且可与几乎任何基础合并器兼容。
实验结果
研究问题
- RQ1逐层数据无关的缩放是否能改善现有、无需数据的任务向量合并的性能?
- RQ2逐层诊断 e_l 与 c_l 是否能可靠地捕捉信息丰富度与冲突,以支持逐层缩放的合理性?
- RQ3在多种骨干网、任务数量和合并规则下,LARV 是否在无需数据或调参的情况下仍然有效?
- RQ4LARV 是否如预期那样抑制浅层干扰并增强深层对齐?
- RQ5LARV 的计算开销和实际集成负担如何?
主要发现
- LARV 在 ViT 的骨干网和任务设置(8/14/20 任务)上始终提升所有基础合并规则的性能。
- 逐层缩放在较小的骨干网和更具挑战性的合并中带来更大收益,显示对干扰的鲁棒性。
- 两种无需数据的指标 e_l 与 c_l 能可靠指导逐层缩放,深度先验进一步稳定了表层表征。
- LARV 在不再训练的情况下保持或提升分布内准确性,并提升对未见数据集的泛化。
- 该方法几乎不增加成本,无需调参、梯度或数据。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。