In plain words: They matched transformer encoders to a formal logic that counts how many items have a certain property. Fixed-precision encoders can't recognize more languages than this logic, while full encoders recognize at least all of it — much closer to an exact limit.
Abstract · Tighter Bounds on the Expressivity of Transformer Encoders
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 $TC^0$. 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.
David Chiang, Peter Cholak, Anand Pillay
arXiv:2301.10743 · cs.LG, cs.FL, cs.LO · submitted Jan 25, 2023 · updated Nov 13, 2023
abstract · pdf · html · Presented at ICML 2023. Typo corrections in Appendix B and Section 8.1
not sure what a fixed precision transformer is?