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

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

计算机科学 > 机器学习

arXiv:2003.11768 (cs)
[提交于 2020年3月26日 (v1),最后修订于 2020年9月19日 (此版本, v2)]

标题:On-the-Fly Adaptation of Source Code Models using Meta-Learning

作者:Disha Shrivastava, Hugo Larochelle, Daniel Tarlow
查看论文《On-the-Fly Adaptation of Source Code Models using Meta-Learning》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:The ability to adapt to unseen, local contexts is an important challenge that successful models of source code must overcome. One of the most popular approaches for the adaptation of such models is dynamic evaluation. With dynamic evaluation, when running a model on an unseen file, the model is updated immediately after having observed each token in that file. In this work, we propose instead to frame the problem of context adaptation as a meta-learning problem. We aim to train a base source code model that is best able to learn from information in a file to deliver improved predictions of missing tokens. Unlike dynamic evaluation, this formulation allows us to select more targeted information (support tokens) for adaptation, that is both before and after a target hole in a file. We consider an evaluation setting that we call line-level maintenance, designed to reflect the downstream task of code auto-completion in an IDE. Leveraging recent developments in meta-learning such as first-order MAML and Reptile, we demonstrate improved performance in experiments on a large scale Java GitHub corpus, compared to other adaptation baselines including dynamic evaluation. Moreover, our analysis shows that, compared to a non-adaptive baseline, our approach improves performance on identifiers and literals by 44\% and 15\%, respectively.
评论: This paper has been withdrawn because we found a bug in the FOMAML implementation that invalidates some of the key claims in the paper
主题: 机器学习 (cs.LG); 人工智能 (cs.AI); 软件工程 (cs.SE); 机器学习 (stat.ML)
引用方式: arXiv:2003.11768 [cs.LG]
  (或者 arXiv:2003.11768v2 [cs.LG] 对于此版本)
  https://doi.org/10.48550/arXiv.2003.11768

提交历史

来自:Disha Shrivastava
[v1] 2020年3月26日 星期四 07:11:08 UTC
[v2] 2020年9月19日 星期六 16:17:04 UTC
全文链接:

访问论文:

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

当前浏览上下文:

cs.AI
< 上一篇   |   下一篇 >
最新 | 近期 | 2020-09
切换浏览方式为:
cs
cs.LG
cs.SE
stat.ML

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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