Share from 0:00
0:00
/

"Theoretical limitations of multi-layer Transformer"

The podcast on this paper is generated with Google's Illuminate.

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

Discussion about this video

User's avatar

Ready for more?