arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2305.10013cs.CLcs.AI
收藏

当梯度下降遇见无导数优化:黑盒场景中的天作之合

When Gradient Descent Meets Derivative-Free Optimization: A Match Made in Black-Box Scenario

East China Normal University(华东师范大学);NetEase Fuxi AI Lab(网易伏羲人工智能实验室);National University of Singapore(新加坡国立大学)

Chengcheng Han, Liqing Cui, Renyu Zhu, Jianing Wang, Nuo Chen, Qiushi Sun, Xiang Li, Ming Gao

AI总结:

针对黑盒场景下PLMs梯度不可用且现有无导数微调方法性能落后的问题,本文提出GDFO方法,通过知识蒸馏引入梯度下降并结合DFO协同优化连续提示,显著提升了性能。

摘要:

大型预训练语言模型(PLMs)因其多功能性和解决广泛自然语言处理(NLP)任务的潜力而备受关注。然而,运行这些PLMs的成本可能极其高昂。此外,出于商业考量及潜在的滥用风险(如GPT-3),PLMs可能并未开源。在此场景下,PLMs的参数和梯度均不可用。为解决该问题,研究者提出了黑盒微调,其利用无导数优化(DFO)替代梯度下降,来训练任务特定的连续提示。然而,与基于梯度的方法相比,这些无梯度方法仍存在显著差距。在本文中,我们通过知识蒸馏将梯度下降引入黑盒微调场景。此外,我们提出了一种新方法GDFO,它将梯度下降与无导数优化相结合,以协调的方式优化任务特定的连续提示。实验结果表明,GDFO相比先前最先进的方法能取得显著的性能提升。

英文摘要:

Large pre-trained language models (PLMs) have garnered significant attention for their versatility and potential for solving a wide spectrum of natural language processing (NLP) tasks. However, the cost of running these PLMs may be prohibitive. Furthermore, PLMs may not be open-sourced due to commercial considerations and potential risks of misuse, such as GPT-3. The parameters and gradients of PLMs are unavailable in this scenario. To solve the issue, black-box tuning has been proposed, which utilizes derivative-free optimization (DFO), instead of gradient descent, for training task-specific continuous prompts. However, these gradient-free methods still exhibit a significant gap compared to gradient-based methods. In this paper, we introduce gradient descent into black-box tuning scenario through knowledge distillation. Furthermore, we propose a novel method GDFO, which integrates gradient descent and derivative-free optimization to optimize task-specific continuous prompts in a harmonized manner. Experimental results show that GDFO can achieve significant performance gains over previous state-of-the-art methods.

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

↑