Decoder-only Transformers hit mathematical walls that deeper networks can exponentially overcome.
This paper proves the first unconditional computational limitations of multi-layer decoder-only Transformers, showing they need polynomial model dimensions for sequential function composition tasks, leading to provable depth-width trade-offs.
-----
https://arxiv.org/abs/2412.02975
π€ Original Problem:
β While Transformers power modern LLMs, their computational limitations remain poorly understood beyond single-layer models, with previous work relying on unproven complexity assumptions.
-----
π Solution in this Paper:
β The researchers introduce a novel multi-party autoregressive communication model that captures decoder-only Transformer computation.
β They develop an indistinguishable decomposition technique that iteratively finds input patterns to prove lower bounds.
β The proof exploits the information bottleneck in decoder-only architectures where each token can only attend to previous tokens.
-----
π‘ Key Insights:
β L-layer decoder-only Transformers require polynomial model dimension for L-step sequential composition
β Deeper models are exponentially more efficient than shallower ones for composition tasks
β Encoder architectures can solve tasks with exponentially smaller and shallower networks than decoders
β Chain-of-thought reasoning provides provable computational advantages
-----
π Results:
β For L-layer decoders, model dimension must be n^Ξ©(1) for L-function composition
β (L+1)-layer models need only polylog parameters vs polynomial for L-layer models
β O(log L)-layer encoders solve tasks requiring L layers in decoders










