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

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

计算机科学 > 信息检索

arXiv:2002.10198 (cs)
[提交于 2020年2月24日 (v1),最后修订于 2020年2月25日 (此版本, v2)]

标题:Leveraging Code Generation to Improve Code Retrieval and Summarization via Dual Learning

作者:Wei Ye, Rui Xie, Jinglei Zhang, Tianxiang Hu, Xiaoyin Wang, Shikun Zhang
查看论文《Leveraging Code Generation to Improve Code Retrieval and Summarization via Dual Learning》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Code summarization generates brief natural language description given a source code snippet, while code retrieval fetches relevant source code given a natural language query. Since both tasks aim to model the association between natural language and programming language, recent studies have combined these two tasks to improve their performance. However, researchers have yet been able to effectively leverage the intrinsic connection between the two tasks as they train these tasks in a separate or pipeline manner, which means their performance can not be well balanced. In this paper, we propose a novel end-to-end model for the two tasks by introducing an additional code generation task. More specifically, we explicitly exploit the probabilistic correlation between code summarization and code generation with dual learning, and utilize the two encoders for code summarization and code generation to train the code retrieval task via multi-task learning. We have carried out extensive experiments on an existing dataset of SQL and Python, and results show that our model can significantly improve the results of the code retrieval task over the-state-of-art models, as well as achieve competitive performance in terms of BLEU score for the code summarization task.
评论: Published at The Web Conference (WWW) 2020, full paper
主题: 信息检索 (cs.IR); 计算与语言 (cs.CL); 软件工程 (cs.SE)
引用方式: arXiv:2002.10198 [cs.IR]
  (或者 arXiv:2002.10198v2 [cs.IR] 对于此版本)
  https://doi.org/10.48550/arXiv.2002.10198
相关 DOI: https://doi.org/10.1145/3366423.3380295

提交历史

来自:Wei Ye
[v1] 2020年2月24日 星期一 12:26:11 UTC
[v2] 2020年2月25日 星期二 08:49:11 UTC
全文链接:

访问论文:

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

当前浏览上下文:

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

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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