HLA: Hadamard Linear Attention
12 Feb · Hanno Ackermann, Hong Cai, Mohsen Ghafoorian +1 · arXiv:2602.12128
The attention mechanism is an important reason for the success of transformers. It relies on computing pairwise relations between tokens. To reduce the high computational cost of standard quadratic attention, linear attention has been proposed as an efficient approximation. It employs kernel functions that are applied independently to the inputs before the pairwise similarities are calculated. That allows for an…