vix.ing · top · new · best · stats

Tighter Bounds on the Expressivity of Transformer Encoders

2023/01/25 by David Chiang, Peter Cholak, Chiang, David +3 · 1 voice · 16 citations
Computer Science · Engineering · #Algorithm #Computer science #Electrical engineering #Encoder #Engineering #Ferroelectric and Negative Capacitance Devices #Machine Learning and Algorithms #Neural Networks and Applications #Theoretical computer science #Transformer #Voltage #cs.FL #cs.LG #cs.LO

paper · pdf · doi:10.48550/arxiv.2301.10743

published in arXiv (Cornell University) (Cornell University)

openalex publication_date 2023/01/25 · openalex created_date 2025/10/10 · openalex updated_date 2026/08/01

Abstract

Characterizing neural networks in terms of better-understood formal systems has the potential to yield new insights into the power and limitations of these networks. Doing so for transformers remains an active area of research. Bhattamishra and others have shown that transformer encoders are at least as expressive as a certain kind of counter machine, while Merrill and Sabharwal have shown that fixed-precision transformer encoders recognize only languages in uniform TC0. We connect and strengthen these results by identifying a variant of first-order logic with counting quantifiers that is simultaneously an upper bound for fixed-precision transformer encoders and a lower bound for transformer encoders. This brings us much closer than before to an exact characterization of the languages that transformer encoders recognize.

Cited by

Discussions

Related