Attention under Bounded Key-Query Similarity: Space Complexity and Transformer Anisotropy
Advances theoretical understanding of transformer memory efficiency and validates empirical observations about key-query geometry.
AI Summary
Researchers provide nearly space-optimal attention approximation algorithms and lower bounds under bounded key-query similarity assumptions that match real anisotropy properties.
Excerpt
A growing body of work on KV-cache compression aims to reduce the memory requirements of autoregressive generation. These methods compress the stored context while approximately preserving attention computation, enabling generation with reduced memory consumption. Almost tight theoretical results on the worst case space complexity of attention have recently been obtained, but they are achieved by instances where queries can be perfectly aligned with keys. This directly contradicts the observed a
