Transformer's Self-Attention: Quadratic Cost Originator

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.

Sources

Open the full topic