The core self-attention mechanism within Transformer models, essential for understanding context, directly causes the quadratic scaling of computational cost and memory with increasing context window size.
Open the full topic