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

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

计算机科学 > 机器学习

arXiv:2006.08084 (cs)
[提交于 2020年6月15日 (v1),最后修订于 2020年10月22日 (此版本, v3)]

标题:Neural Execution Engines: Learning to Execute Subroutines

作者:Yujun Yan, Kevin Swersky, Danai Koutra, Parthasarathy Ranganathan, Milad Hashemi
查看论文《Neural Execution Engines: Learning to Execute Subroutines》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:A significant effort has been made to train neural networks that replicate algorithmic reasoning, but they often fail to learn the abstract concepts underlying these algorithms. This is evidenced by their inability to generalize to data distributions that are outside of their restricted training sets, namely larger inputs and unseen data. We study these generalization issues at the level of numerical subroutines that comprise common algorithms like sorting, shortest paths, and minimum spanning trees. First, we observe that transformer-based sequence-to-sequence models can learn subroutines like sorting a list of numbers, but their performance rapidly degrades as the length of lists grows beyond those found in the training set. We demonstrate that this is due to attention weights that lose fidelity with longer sequences, particularly when the input numbers are numerically similar. To address the issue, we propose a learned conditional masking mechanism, which enables the model to strongly generalize far outside of its training range with near-perfect accuracy on a variety of algorithms. Second, to generalize to unseen data, we show that encoding numbers with a binary representation leads to embeddings with rich structure once trained on downstream tasks like addition or multiplication. This allows the embedding to handle missing data by faithfully interpolating numbers not seen during training.
评论: Accepted at 34th Conference on Neural Information Processing Systems (NeurIPS 2020)
主题: 机器学习 (cs.LG); 神经与演化计算 (cs.NE); 程序设计语言 (cs.PL); 机器学习 (stat.ML)
引用方式: arXiv:2006.08084 [cs.LG]
  (或者 arXiv:2006.08084v3 [cs.LG] 对于此版本)
  https://doi.org/10.48550/arXiv.2006.08084

提交历史

来自:Yujun Yan
[v1] 2020年6月15日 星期一 01:51:37 UTC
[v2] 2020年6月23日 星期二 00:44:56 UTC
[v3] 2020年10月22日 星期四 22:20:54 UTC
全文链接:

访问论文:

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

当前浏览上下文:

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

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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