The "Attention Is All You Need" Paper: QK^T's Foundational Bottleneck
The seminal 2017 Transformer paper "Attention Is All You Need" by Vaswani et al. introduced the self-attention mechanism, inherently defining the QK^T matrix multiplication as the core operation driving its O(N²) computational complexity.