arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.03123cs.LGcs.AI
收藏

面向黑盒大型预训练模型的高效联邦提示调优

Efficient Federated Prompt Tuning for Black-box Large Pre-trained Models

University of Sydney(悉尼大学);Tsinghua University(清华大学);Virginia Tech(弗吉尼亚理工大学);JD Explore Academy(京东探索研究院)

Zihao Lin, Yan Sun, Yifan Shi, Xueqian Wang, Lifu Huang, Li Shen, Dacheng Tao

AI总结:

针对预训练模型调优面临的内存受限、模型与数据隐私三大挑战,提出无需访问模型参数与私有数据的联邦黑盒提示调优方法Fed-BBPT,经40个CV与NLP数据集验证具备强鲁棒性。

摘要:

随着预训练模型(PTMs)的爆发式发展,针对各类下游应用高效调优这些模型已成为核心研究问题。尽管近期关于提示调优的研究提供了颇具前景的方向,但仍存在三个突出挑战:(1)内存限制:开源预训练模型规模持续增长,即便仅微调其部分参数,对许多从业者而言仍颇具难度。(2)模型隐私:现有预训练模型常以公共API服务形式运行,其参数无法被获取以开展有效或定制化微调。(3)数据隐私:预训练模型的微调需要高质量数据集,而这类数据集通常具备本地化属性,不会对外公开。为在应对内存限制、保护隐私的同时充分利用每个本地数据集,我们提出了联邦黑盒提示调优(Federated Black-Box Prompt Tuning, Fed-BBPT)。这一创新方法无需依赖参数架构与私有数据集访问权限,而是借助中央服务器,通过定期聚合协助本地用户协同训练提示生成器。本地用户通过零阶优化器开展基于API的学习,无需部署预训练模型。与全量微调相比,Fed-BBPT有效规避了本地设备上存储与微调预训练模型相关的内存难题,同时能够利用全面、高质量但私有的训练数据集。我们在涵盖计算机视觉(CV)与自然语言处理(NLP)任务的40个数据集上开展了全面评估,结果凸显了所提模型的鲁棒性。

英文摘要:

With the blowout development of pre-trained models (PTMs), the efficient tuning of these models for diverse downstream applications has emerged as a pivotal research concern. Although recent investigations into prompt tuning have provided promising avenues, three salient challenges persist: (1) memory constraint: the continuous growth in the size of open-source PTMs renders fine-tuning, even a fraction of their parameters, challenging for many practitioners. (2) model privacy: existing PTMs often function as public API services, with their parameters inaccessible for effective or tailored fine-tuning. (3) data privacy: the fine-tuning of PTMs necessitates high-quality datasets, which are typically localized and not shared to public. To optimally harness each local dataset while navigating memory constraints and preserving privacy, we propose Federated Black-Box Prompt Tuning (Fed-BBPT). This innovative approach eschews reliance on parameter architectures and private dataset access, instead capitalizing on a central server that aids local users in collaboratively training a prompt generator through regular aggregation. Local users leverage API-driven learning via a zero-order optimizer, obviating the need for PTM deployment. Relative to extensive fine-tuning, Fed-BBPT proficiently sidesteps memory challenges tied to PTM storage and fine-tuning on local machines, tapping into comprehensive, high-quality, yet private training datasets. A thorough evaluation across 40 datasets spanning CV and NLP tasks underscores the robustness of our proposed model.

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

↑