跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 计算与语言

arXiv:2201.03514 (cs)
[提交于 2022年1月10日 (v1),最后修订于 2022年6月27日 (此版本, v4)]

标题:Black-Box Tuning for Language-Model-as-a-Service

作者:Tianxiang Sun, Yunfan Shao, Hong Qian, Xuanjing Huang, Xipeng Qiu
查看论文《Black-Box Tuning for Language-Model-as-a-Service》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Extremely large pre-trained language models (PTMs) such as GPT-3 are usually released as a service. It allows users to design task-specific prompts to query the PTMs through some black-box APIs. In such a scenario, which we call Language-Model-as-a-Service (LMaaS), the gradients of PTMs are usually unavailable. Can we optimize the task prompts by only accessing the model inference APIs? This paper proposes the black-box tuning framework to optimize the continuous prompt prepended to the input text via derivative-free optimization. Instead of optimizing in the original high-dimensional prompt space, which is intractable for traditional derivative-free optimization, we perform optimization in a randomly generated subspace due to the low intrinsic dimensionality of large PTMs. The experimental results show that the black-box tuning with RoBERTa on a few labeled samples not only significantly outperforms manual prompt and GPT-3's in-context learning, but also surpasses the gradient-based counterparts, i.e., prompt tuning and full model tuning.
评论: Accepted by ICML 2022. Camera-ready version
主题: 计算与语言 (cs.CL); 人工智能 (cs.AI)
引用方式: arXiv:2201.03514 [cs.CL]
  (或者 arXiv:2201.03514v4 [cs.CL] 对于此版本)
  https://doi.org/10.48550/arXiv.2201.03514

提交历史

来自:Tianxiang Sun
[v1] 2022年1月10日 星期一 18:17:05 UTC
[v3] 2022年5月17日 星期二 14:26:40 UTC
[v4] 2022年6月27日 星期一 08:14:54 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.AI
< 上一篇   |   下一篇 >
最新 | 近期 | 2022-06
切换浏览方式为:
cs
cs.CL

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站