What Formal Languages Can Transformers Express? A Survey
Lena Strobl, William Merrill, Gail Weiss, David Chiang, Dana, Angluin

TL;DR
This survey reviews recent theoretical research on the expressive power of transformer models in formal language recognition, clarifying their capabilities, limitations, and the influence of architectural choices.
Contribution
It provides a comprehensive overview and unifies diverse findings on what formal languages transformers can recognize, highlighting assumptions and frameworks used.
Findings
Transformers can recognize certain classes of formal languages.
Architectural choices significantly influence the computational power of transformers.
The survey clarifies conflicting results in existing research.
Abstract
As transformers have gained prominence in natural language processing, some researchers have investigated theoretically what problems they can and cannot solve, by treating problems as formal languages. Exploring such questions can help clarify the power of transformers relative to other models of computation, their fundamental capabilities and limits, and the impact of architectural choices. Work in this subarea has made considerable progress in recent years. Here, we undertake a comprehensive survey of this work, documenting the diverse assumptions that underlie different results and providing a unified framework for harmonizing seemingly contradictory findings.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
Taxonomy
TopicsNatural Language Processing Techniques · Topic Modeling · Speech and dialogue systems
