arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2503.00441cs.CVcs.LG
收藏

预训练 Vision Transformers 的分割自适应

Split Adaptation for Pre-trained Vision Transformers

Northwestern University(西北大学);Nanyang Technological University(南洋理工大学)

Lixu Wang, Bingqi Shang, Yi Li, Payal Mohapatra, Wei Dong, Xiao Wang, Qi Zhu

AI总结:

提出分割自适应(SA)方法,通过分割预训练ViT、低比特量化前端参数并添加双层噪声,在保护数据隐私和模型知识产权的同时实现高效的少样本下游自适应。

摘要:

在大规模数据集上经过广泛预训练的 Vision Transformers (ViTs) 已成为基础模型的重要组成部分,只需极少的自适应即可在各种下游任务中取得出色的性能。因此,人们对在各个领域适配预训练 ViTs 的兴趣日益浓厚,包括在隐私敏感的领域中,客户通常不愿意共享他们的数据。现有的自适应方法通常需要直接访问数据,这使得它们在这些约束条件下不可行。一个直接的解决方案可能是将预训练 ViT 发送给客户端进行本地自适应,但这会带来模型知识产权保护的问题,并给客户端带来沉重的计算开销。为了解决这些问题,我们提出了一种新颖的分割自适应 (SA) 方法,该方法能够在保护数据和模型的同时实现有效的下游自适应。SA 受分割学习 (SL) 启发,将预训练 ViT 分割为前端和后端,仅将前端共享给客户端用于提取数据表示。但与常规 SL 不同,SA 用低比特量化值替换前端参数,防止模型直接暴露。SA 允许客户端向前端和提取的数据表示添加双层噪声,确保数据保护。相应地,SA 引入了数据级和模型级分布外增强,以减轻噪声注入对自适应性能的影响。我们的 SA 专注于具有挑战性的少样本自适应,并采用 patch 检索增强来缓解过拟合。在多个数据集上的大量实验验证了 SA 优于 state-of-the-art 方法,并证明了其能够防御高级数据重构攻击,同时在客户端以极少的计算成本防止模型泄露。源代码可在 https://github.com/conditionWang/Split_Adaptation 找到。

英文摘要:

Vision Transformers (ViTs), extensively pre-trained on large-scale datasets, have become essential to foundation models, allowing excellent performance on diverse downstream tasks with minimal adaptation. Consequently, there is growing interest in adapting pre-trained ViTs across various fields, including privacy-sensitive domains where clients are often reluctant to share their data. Existing adaptation methods typically require direct data access, rendering them infeasible under these constraints. A straightforward solution may be sending the pre-trained ViT to clients for local adaptation, which poses issues of model intellectual property protection and incurs heavy client computation overhead. To address these issues, we propose a novel split adaptation (SA) method that enables effective downstream adaptation while protecting data and models. SA, inspired by split learning (SL), segments the pre-trained ViT into a frontend and a backend, with only the frontend shared with the client for data representation extraction. But unlike regular SL, SA replaces frontend parameters with low-bit quantized values, preventing direct exposure of the model. SA allows the client to add bi-level noise to the frontend and the extracted data representations, ensuring data protection. Accordingly, SA incorporates data-level and model-level out-of-distribution enhancements to mitigate noise injection's impact on adaptation performance. Our SA focuses on the challenging few-shot adaptation and adopts patch retrieval augmentation for overfitting alleviation. Extensive experiments on multiple datasets validate SA's superiority over state-of-the-art methods and demonstrate its defense against advanced data reconstruction attacks while preventing model leakage with minimal computation cost on the client side. The source codes can be found at https://github.com/conditionWang/Split_Adaptation.

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

↑