Transformer Heads Looking for Order
In this note, we show that the problem of checking, whether a sequence of bits is ordered, is not doable by 1-head 1-layer transformers but is doable by a 2-head 1-layer transformer. Unlike similar previous results, our results assume the model where transformers have an output MLP.
Jasper van Doornmalen, A. Kozachinskiy, Corinna Mathwieser et al.
· 0 citations