arXivPreprintOpen accesscs.LG
Learned Queries and Keys Are All You Need: Replacing the Value Projection with Structured Transforms
Ene Meco, Emadeldeen Hamdan, A. Enis Cetin
Key points
From the paper's conclusion- We combine spatial patches and their orthogonal transforms (or Shearlet and MA operators) in a structure similar to the attention block.
Abstract
To reduce the number of parameters and cache memory requirements of transformers we introduce dual-headed transformers instead of three heads. We studied Walsh-Hadamard Transform (WHT), Discrete Cosine Transform (DCT), Discrete Fourier Transform, filterbank based Shearlet Transform, and Multiplication-Avoiding (MA) operators to construct dual heads. We combine spatial patches and their orthogonal transforms (or Shearlet and MA operators) in a structure similar to the attention block. We obtained better results than triple headed transformers in ImageNet. Extensive simulation examples are presented.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Bridging KV-Cache Quantization and Linear Attention: From Theory to Pretrained Weight MigrationarXiv · 2026
- Not All Dimensions Are Equal: Outlier-Aware Attention Linearization with Grouped Quadratic KernelsarXiv · 2026
- Attention under Bounded Key-Query Similarity: Space Complexity and Transformer AnisotropyarXiv · 2026
- Lightweight Image Restoration Model via Mixed Linear Transformer and Dual Feature‐Based Knowledge DistillationExpert Systems · 2026
- WUSH-KV: KV Cache Quantization with Data-Adaptive TransformsarXiv · 2026
- Rotation Is Token-Blind: A Structural Criterion for Post-Training Quantization of Feed-Forward Geometry TransformersarXiv · 2026