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

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

计算机科学 > 计算与语言

arXiv:2010.09803 (cs)
[提交于 2020年10月19日 (v1),最后修订于 2020年11月10日 (此版本, v2)]

标题:Adversarial Training for Code Retrieval with Question-Description Relevance Regularization

作者:Jie Zhao, Huan Sun
查看论文《Adversarial Training for Code Retrieval with Question-Description Relevance Regularization》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Code retrieval is a key task aiming to match natural and programming languages. In this work, we propose adversarial learning for code retrieval, that is regularized by question-description relevance. First, we adapt a simple adversarial learning technique to generate difficult code snippets given the input question, which can help the learning of code retrieval that faces bi-modal and data-scarce challenges. Second, we propose to leverage question-description relevance to regularize adversarial learning, such that a generated code snippet should contribute more to the code retrieval training loss, only if its paired natural language description is predicted to be less relevant to the user given question. Experiments on large-scale code retrieval datasets of two programming languages show that our adversarial learning method is able to improve the performance of state-of-the-art models. Moreover, using an additional duplicate question prediction model to regularize adversarial learning further improves the performance, and this is more effective than using the duplicated questions in strong multi-task learning baselines
评论: Accepted to Findings of EMNLP 2020. 11 pages, 2 figures
主题: 计算与语言 (cs.CL); 人工智能 (cs.AI); 信息检索 (cs.IR); 程序设计语言 (cs.PL)
引用方式: arXiv:2010.09803 [cs.CL]
  (或者 arXiv:2010.09803v2 [cs.CL] 对于此版本)
  https://doi.org/10.48550/arXiv.2010.09803

提交历史

来自:Jie Zhao
[v1] 2020年10月19日 星期一 19:32:03 UTC
[v2] 2020年11月10日 星期二 05:49:02 UTC
全文链接:

访问论文:

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

当前浏览上下文:

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

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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