MCP
LS

Lena Strobl

5 papers in the library · Same-name authors told apart using DBLP

Papers

5
Concise One-Layer Transformers Can Perform Dictionary Lookup
Anton HampeLena StroblDana AngluinRobert Frank
This paper studies the expressive capacity of transformers for dictionary lookup. It proves that concise 1-layer transformers (polylog bounds on heads, embedding dimension, and precision) can perform lookup when key and value share an input position, but cannot when they are in different positions, assuming $p$-bit rational precision. Concise 2-layer transformers can handle the latter case. Experiments align proven computability with practical learnability.
arXivarXiv · · March 28, 2025
0
2
Computational Expressivity of Neural Language Models
Alexandra ButoiRobin ChanRyan CotterellWilliam MerrillFranz NowakClemente PastiLena StroblAnej Svete
This tutorial introduces a framework from formal language theory (FLT) for analyzing neural language models (LMs). It relates recurrent neural networks and transformers to formal devices like finite-state automata, Turing machines, and analog circuits, enabling precise, practically relevant statements about LMs' computational expressivity—their capabilities and limitations. The covered results explain observed and predicted LM behaviors and offer theoretically motivated suggestions for architectural improvements.
ACL AnthologyACL Anthology · August 2024
0
4
Transformers as Transducers
Lena StroblDana AngluinDavid ChiangJonathan RawskiAshish Sabharwal
This paper characterizes the sequence-to-sequence mapping capacity of transformers by relating them to finite transducers. Using RASP-like programming languages, it shows that B-RASP computes exactly the first-order rational functions (e.g., string rotation). The extension B-RASP[pos] enables position-based calculations and contains all first-order regular functions. S-RASP adds prefix sum for arithmetic operations (e.g., squaring a string) and contains all first-order polyregular functions. Masked average-hard attention transformers can simulate S-RASP.
arXivarXiv · · April 2, 2024
0
20
What Formal Languages Can Transformers Express? A Survey
Lena StroblWilliam MerrillGail WeissDavid ChiangDana Angluin
This survey unifies theoretical results on the formal languages that transformers can recognize, showing that the answer depends on architectural choices such as position encoding, depth, and precision. Under certain assumptions, transformers are shown to be as powerful as Turing machines, while under others they are limited to circuit complexity classes. The review provides a framework for reconciling these apparently contradictory findings.
arXivarXiv · · November 1, 2023
0
235
Average-Hard Attention Transformers are Constant-Depth Uniform Threshold Circuits
Lena Strobl
This paper tightens the known complexity bound for average-hard attention transformers. While prior work showed that such transformers recognize languages in the non-uniform complexity class TC0, the authors prove that the recognized languages actually fall within uniform TC0. This means the same transformer model can be simulated by a constant-depth, polynomial-size threshold circuit family that is uniform, i.e., generated by a single Turing machine, strengthening the earlier non-uniform result.
arXivarXiv · · August 6, 2023
0
Frequent collaborators
Dana Angluin (3)
William Merrill (2)
David Chiang (2)
Anton Hampe (1)
Robert Frank (1)
Alexandra Butoi (1)
Robin Chan (1)
Ryan Cotterell (1)
Franz Nowak (1)
Clemente Pasti (1)
Anej Svete (1)
Jonathan Rawski (1)