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

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

计算机科学 > 计算与语言

arXiv:2012.05983 (cs)
[提交于 2020年12月10日 (v1),最后修订于 2021年2月18日 (此版本, v2)]

标题:Towards Neural Programming Interfaces

作者:Zachary C. Brown, Nathaniel Robinson, David Wingate, Nancy Fulda
查看论文《Towards Neural Programming Interfaces》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:It is notoriously difficult to control the behavior of artificial neural networks such as generative neural language models. We recast the problem of controlling natural language generation as that of learning to interface with a pretrained language model, just as Application Programming Interfaces (APIs) control the behavior of programs by altering hyperparameters. In this new paradigm, a specialized neural network (called a Neural Programming Interface or NPI) learns to interface with a pretrained language model by manipulating the hidden activations of the pretrained model to produce desired outputs. Importantly, no permanent changes are made to the weights of the original model, allowing us to re-purpose pretrained models for new tasks without overwriting any aspect of the language model. We also contribute a new data set construction algorithm and GAN-inspired loss function that allows us to train NPI models to control outputs of autoregressive transformers. In experiments against other state-of-the-art approaches, we demonstrate the efficacy of our methods using OpenAI's GPT-2 model, successfully controlling noun selection, topic aversion, offensive speech filtering, and other aspects of language while largely maintaining the controlled model's fluency under deterministic settings.
评论: 24 pages total (13 for main paper and references, 11 for Appendix 1), accepted for publication in Advances in Neural Information Processing Systems 33 (NeurIPS 2020)
主题: 计算与语言 (cs.CL); 人工智能 (cs.AI)
引用方式: arXiv:2012.05983 [cs.CL]
  (或者 arXiv:2012.05983v2 [cs.CL] 对于此版本)
  https://doi.org/10.48550/arXiv.2012.05983
期刊参考: Neural Information Processing Systems 33 (2020) 17416-17428

提交历史

来自:Zachary Brown
[v1] 2020年12月10日 星期四 21:17:04 UTC
[v2] 2021年2月18日 星期四 04:38:51 UTC
全文链接:

访问论文:

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

当前浏览上下文:

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

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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