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

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

计算机科学 > 计算与语言

arXiv:2401.12947 (cs)
[提交于 2024年1月23日]

标题:Transformer-Based Models Are Not Yet Perfect At Learning to Emulate Structural Recursion

作者:Dylan Zhang, Curt Tigges, Zory Zhang, Stella Biderman, Maxim Raginsky, Talia Ringer
查看论文《Transformer-Based Models Are Not Yet Perfect At Learning to Emulate Structural Recursion》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:This paper investigates the ability of transformer-based models to learn structural recursion from examples. Recursion is a universal concept in both natural and formal languages. Structural recursion is central to the programming language and formal mathematics tasks where symbolic tools currently excel beyond neural models, such as inferring semantic relations between datatypes and emulating program behavior. We introduce a general framework that nicely connects the abstract concepts of structural recursion in the programming language domain to concrete sequence modeling problems and learned models' behavior. The framework includes a representation that captures the general \textit{syntax} of structural recursion, coupled with two different frameworks for understanding their \textit{semantics} -- one that is more natural from a programming languages perspective and one that helps bridge that perspective with a mechanistic understanding of the underlying transformer architecture. With our framework as a powerful conceptual tool, we identify different issues under various set-ups. The models trained to emulate recursive computations cannot fully capture the recursion yet instead fit short-cut algorithms and thus cannot solve certain edge cases that are under-represented in the training distribution. In addition, it is difficult for state-of-the-art large language models (LLMs) to mine recursive rules from in-context demonstrations. Meanwhile, these LLMs fail in interesting ways when emulating reduction (step-wise computation) of the recursive function.
评论: arXiv admin note: text overlap with arXiv:2305.14699
主题: 计算与语言 (cs.CL); 人工智能 (cs.AI); 形式语言与自动机理论 (cs.FL); 计算机科学中的逻辑 (cs.LO); 程序设计语言 (cs.PL)
引用方式: arXiv:2401.12947 [cs.CL]
  (或者 arXiv:2401.12947v1 [cs.CL] 对于此版本)
  https://doi.org/10.48550/arXiv.2401.12947

提交历史

来自:Dylan Zhang
[v1] 2024年1月23日 星期二 18:07:38 UTC
全文链接:

访问论文:

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

当前浏览上下文:

cs.CL
< 上一篇   |   下一篇 >
最新 | 近期 | 2024-01
切换浏览方式为:
cs
cs.AI
cs.FL
cs.LO
cs.PL

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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