Attention's Quadratic Cost: Context Doubling, Cost Quadrupling

Transformer models' core attention mechanism processes the entire context window, with computational cost growing quadratically as sequence length increases, meaning doubling context length can quadruple processing expense.

Sources

Open the full topic