Average-Hard Attention Transformers are Constant-Depth Uniform Threshold Circuits
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.

arXiv ·
· August 6, 2023