破坏模型合并:一种不牺牲准确率的参数级防御方法
Disrupting Model Merging: A Parameter-Level Defense Without Sacrificing Accuracy
AI总结:
针对搭便车者利用模型合并廉价继承能力的问题,提出首个参数级主动防御方法,通过重排MLP参数和缩放注意力头破坏合并,并引入基于dropout的剪枝增强鲁棒性。
摘要:
模型合并是一种无需额外训练即可将多个微调模型组合成单一模型的技术,这使得搭便车者能够廉价地继承特定能力。本研究探讨了抑制搭便车者进行非预期模型合并的方法。现有的模型水印或指纹技术只能在事后检测合并行为。相比之下,我们提出了首个针对模型合并的主动防御方法。具体而言,我们的防御方法修改了模型参数,使得模型在与其他模型合并时会被破坏,而在未与其他模型合并时其功能保持不变。我们的方法包含两个模块:重排MLP参数和缩放注意力头,这会将模型推离参数空间中的共享盆地,导致与其他模型的合并性能显著下降。我们在图像分类、图像生成和文本分类上进行了大量实验,证明我们的防御在严重破坏合并的同时,保留了受保护后模型的功能。此外,我们分析了潜在的自适应攻击,并进一步提出了一种基于dropout的剪枝方法,以增强我们提案的鲁棒性。
英文摘要:
Model merging is a technique that combines multiple finetuned models into a single model without additional training, allowing a free-rider to cheaply inherit specialized capabilities. This study investigates methodologies to suppress unwanted model merging by free-riders. Existing methods such as model watermarking or fingerprinting can only detect merging in hindsight. In contrast, we propose a first proactive defense against model merging. Specifically, our defense method modifies the model parameters so that the model is disrupted if the model is merged with any other model, while its functionality is kept unchanged if not merged with others. Our approach consists of two modules, rearranging MLP parameters and scaling attention heads, which push the model out of the shared basin in parameter space, causing the merging performance with other models to degrade significantly. We conduct extensive experiments on image classification, image generation, and text classification to demonstrate that our defense severely disrupts merging while retaining the functionality of the post-protect model. Moreover, we analyze potential adaptive attacks and further propose a dropout-based pruning to improve our proposal's robustness.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。