Groups
Key-Value memory systems store information as pairs where keys are used to look up values by similarity rather than exact match.
Scaled dot-product attention scores how much each value V should contribute to a query by taking dot products with keys K, scaling by \(\sqrt{d_k}\), applying softmax, and forming a weighted sum.