Lune

ACL2023顶会

Simplicity Bias in Transformers and their Ability to Learn Sparse Boolean Functions

Satwik Bhattamishra, Arkil Patel, Varun Kanade, Phil Blunsom

摘要

Despite the widespread success of Transformers on NLP tasks, recent works have found that they struggle to model several formal languages when compared to recurrent models. This raises the question of why Transformers perform well in practice and whether they have any properties that enable them to generalize better than recurrent models. In this work, we conduct an extensive empirical study on Boolean functions to demonstrate the following: (i) Random Transformers are relatively more biased towards functions of low sensitivity. (ii) When trained on Boolean functions, both Transformers and LSTMs prioritize learning functions of low sensitivity, with Transformers ultimately converging to functions of lower sensitivity. (iii) On sparse Boolean functions which have low sensitivity, we find that Transformers generalize near perfectly even in the presence of noisy labels whereas LSTMs overfit and achieve poor generalization accuracy. Overall, our results provide strong quantifiable evidence that suggests differences in the inductive biases of Transformers and recurrent models which may help explain Transformer's effective generalization performance despite relatively limited expressiveness.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 38 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • What Algorithms can Transformers Learn? A Study in Length Generalization 引用了 Exploring Length Generalization in Large Language Models
  • Dichotomy of Early and Late Phase Implicit Biases Can Provably Induce Grokking 引用了 Hidden Progress in Deep Learning: SGD Learns Parities Near the Computational Limit
  • Hidden Progress in Deep Learning: SGD Learns Parities Near the Computational Limit 引用了 Inductive Biases and Variable Creation in Self-Attention Mechanisms
  • Hidden Progress in Deep Learning: SGD Learns Parities Near the Computational Limit 引用了 Exploring Length Generalization in Large Language Models
  • Exploring Length Generalization in Large Language Models 引用了 Can You Learn an Algorithm? Generalizing from Easy to Hard Problems with Recurrent Networks
  • Representational Strengths and Limitations of Transformers 引用了 Inductive Biases and Variable Creation in Self-Attention Mechanisms
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper38

  1. What Algorithms can Transformers Learn? A Study in Length GeneralizationHattie Zhou, Arwen Bradley, Etai Littwin, Noam Razin 等ICLR 2024 · 189 次引用
  2. Representational Strengths and Limitations of TransformersClayton Sanford, Daniel J. Hsu, Matus TelgarskyNeurIPS 2023 · 162 次引用
  3. Looped Transformers are Better at Learning Learning AlgorithmsLiu Yang, Kangwook Lee, Robert D. Nowak, Dimitris PapailiopoulosICLR 2024 · 82 次引用
  4. Understanding In-Context Learning in Transformers and LLMs by Learning to Learn Discrete FunctionsSatwik Bhattamishra, Arkil Patel, Phil Blunsom, Varun KanadeICLR 2024 · 77 次引用
  5. Dichotomy of Early and Late Phase Implicit Biases Can Provably Induce GrokkingKaifeng Lyu, Jikai Jin, Zhiyuan Li, Simon Shaolei Du 等ICLR 2024 · 71 次引用

它引用的 Paper11

  1. Bayesian Deep Learning and a Probabilistic Perspective of GeneralizationAndrew Gordon Wilson, Pavel IzmailovNeurIPS 2020 · 845 次引用
  2. Exploring Length Generalization in Large Language ModelsCem Anil, Yuhuai Wu, Anders Andreassen, Aitor Lewkowycz 等NeurIPS 2022 · 267 次引用
  3. Hidden Progress in Deep Learning: SGD Learns Parities Near the Computational LimitBoaz Barak, Benjamin L. Edelman, Surbhi Goel, Sham M. Kakade 等NeurIPS 2022 · 220 次引用
  4. Inductive Biases and Variable Creation in Self-Attention MechanismsBenjamin L. Edelman, Surbhi Goel, Sham M. Kakade, Cyril ZhangICML 2022 · 154 次引用
  5. Can You Learn an Algorithm? Generalizing from Easy to Hard Problems with Recurrent NetworksAvi Schwarzschild, Eitan Borgnia, Arjun Gupta, Furong Huang 等NeurIPS 2021 · 133 次引用

相关 Paper

  1. Trapped by simplicity: When Transformers fail to learn from noisy featuresEvan Peters, Matheus Hrabowec Zambianco, Ando Deng, Devin Blankespoor 等ICLR 2026
  2. Why are Sensitive Functions Hard for Transformers?Michael Hahn, Mark RofinACL 2024 · 3 次引用
  3. On the Ability and Limitations of Transformers to Recognize Formal LanguagesSatwik Bhattamishra, Kabir Ahuja, Navin GoyalEMNLP 2020 · 7 次引用
  4. Probability Distributions Computed by Autoregressive TransformersAndy Yang, Anej Svete, Jiaoda Li, Anthony W. Lin 等ICLR 2026 · 2 次引用
  5. Understanding the Parameter Space Geometry of Transformers Encoding Boolean FunctionsBlanka Kövér, Alexandra Butoi, Anej Svete, Michael Hahn 等ICML 2026
黄昏的海面,两侧是细线勾勒的悬崖