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

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

计算机科学 > 计算复杂性

arXiv:2204.06618 (cs)
[提交于 2022年4月13日]

标题:Formal Language Recognition by Hard Attention Transformers: Perspectives from Circuit Complexity

作者:Yiding Hao, Dana Angluin, Robert Frank
查看论文《Formal Language Recognition by Hard Attention Transformers: Perspectives from Circuit Complexity》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:This paper analyzes three formal models of Transformer encoders that differ in the form of their self-attention mechanism: unique hard attention (UHAT); generalized unique hard attention (GUHAT), which generalizes UHAT; and averaging hard attention (AHAT). We show that UHAT and GUHAT Transformers, viewed as string acceptors, can only recognize formal languages in the complexity class AC$^0$, the class of languages recognizable by families of Boolean circuits of constant depth and polynomial size. This upper bound subsumes Hahn's (2020) results that GUHAT cannot recognize the DYCK languages or the PARITY language, since those languages are outside AC$^0$ (Furst et al., 1984). In contrast, the non-AC$^0$ languages MAJORITY and DYCK-1 are recognizable by AHAT networks, implying that AHAT can recognize languages that UHAT and GUHAT cannot.
评论: To appear in Transactions of the Association for Computational Linguistics
主题: 计算复杂性 (cs.CC); 人工智能 (cs.AI); 计算与语言 (cs.CL); 形式语言与自动机理论 (cs.FL); 机器学习 (cs.LG)
引用方式: arXiv:2204.06618 [cs.CC]
  (或者 arXiv:2204.06618v1 [cs.CC] 对于此版本)
  https://doi.org/10.48550/arXiv.2204.06618

提交历史

来自:Yiding Hao
[v1] 2022年4月13日 星期三 19:25:42 UTC
全文链接:

访问论文:

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

当前浏览上下文:

cs.CC
< 上一篇   |   下一篇 >
最新 | 近期 | 2022-04
切换浏览方式为:
cs
cs.AI
cs.CL
cs.FL
cs.LG

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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