arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.14017cs.LGcs.AIcs.CV
收藏

用于鲁棒模型合并的重心锚定权重搜索

Barycentric Anchored Weight Search for Robust Model Merging

Universitat de les Illes Balears(巴利阿里群岛大学)

Antoni Buades, Jose-Luis Lisani

AI总结:

该研究提出重心锚定权重搜索方法,仅用两个微调检查点,通过OOD数据验证反馈调整合并,提升CLIP ViT-B/32在分布偏移下的鲁棒性与迁移性能,优于Model Soup等方法。

摘要:

我们提出了重心锚定搜索(Barycentric Anchored Search),这是一种事后权重空间方法,用于在分布偏移下改进微调后的视觉模型,无需额外的梯度训练或增加推理成本。给定一个预训练初始化模型和两个在源数据集上微调得到的检查点,该方法会构建重心候选权重,并沿每个候选权重与预训练模型连接的方向执行小型无导数搜索。候选权重使用一个或多个分布外(OOD)数据集的小型验证子集进行选择;随后对所选模型在这些数据集的保留部分、其他OOD基准以及ImageNet验证集上进行评估,以量化鲁棒性-准确率的权衡。该方法灵感来源于基于单纯形的无导数优化,包括Nelder-Mead和Torczon多向搜索,但专门针对神经网络权重合并的几何特性进行了优化。与通常受益于多个微调检查点的Model Soup,以及应用固定几何合并的Model Stock不同,我们的方法仅使用两个微调检查点,并利用OOD数据的验证反馈迭代调整合并方式。针对CLIP ViT-B/32的实验表明,所提出的搜索方法显著提升了保留的OOD数据上的性能,包括ImageNet-A、ImageNet-R和ImageNet-Sketch,同时保持了ImageNet的竞争力。所得权重还提升了向候选选择期间未使用的OOD数据集的迁移性能,在我们的评估中优于原始微调检查点、朴素Model Soup和Model Stock。这些结果表明,锚定权重空间中的轻量级优化为固定权重平均规则、几何合并或单模型选择提供了一种实用的替代方案。

英文摘要:

We propose Barycentric Anchored Search, a post-hoc weight-space procedure for improving fine-tuned vision models under distribution shift without additional gradient training or increased inference cost. Given a pre-trained initialization and two checkpoints fine-tuned on a source dataset, the method constructs barycentric candidate weights and performs a small derivative-free search along directions connecting each candidate to the pre-trained model. Candidate weights are selected using a small validation subset of one or more out-of-distribution (OOD) datasets; the selected model is then evaluated on the held-out portions of those datasets, on additional OOD benchmarks, and on the ImageNet validation set to quantify the robustness-accuracy trade-off. The method is inspired by simplex-based derivative-free optimization, including Nelder-Mead and Torczon multidirectional search, but is specialized to the geometry of neural network weight merging. Unlike Model Soup, which typically benefits from many fine-tuned checkpoints, and unlike Model Stock, which applies a fixed geometric merge, our approach uses only two fine-tuned checkpoints and iteratively adapts the merge using validation feedback from OOD data. Experiments with CLIP ViT-B/32 show that the proposed search substantially improves performance on held-out OOD data, including ImageNet-A, ImageNet-R, and ImageNet-Sketch, while keeping ImageNet accuracy competitive. The resulting weights also improve transfer to OOD datasets not used during candidate selection, outperforming the original fine-tuned checkpoints, naive model soups, and Model Stock in our evaluations. These results suggest that lightweight optimization in anchored weight space provides a practical alternative to fixed weight-averaging rules, geometric merging, or single-model selection.

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

↑