Ilmu Komputer & AI editorial
Transformer Heads Looking for Order
The core problem
Innovation
The main results are twofold:
1. **Impossibility for 1 head**: There is no 1-head 1-layer transformer with an output MLP that correctly checks whether a bit sequence is ordered for all input lengths.
2. **Possibility for 2 heads**: There exists a 2-head 1-layer transformer with an output MLP that correctly checks whether a bit sequence is ordered.
These results hold under the standard transformer model with an output MLP. The authors do not provide explicit error bounds or sample complexity, as the focus is on exact computation. The separation is strict: adding a second attention head enables the solution of a problem that is otherwise impossible.
The authors analyze the ordering problem under the transformer model with an output MLP. Formally, given an input sequence
Why it matters
Who should read this
Opening member content…