How far can linear attention go? Linear attention replaces Softmax with a kernel feature map, rewriting attention as phi(Q)(phi(K)^T V) and using matrix associativity to drop complexity to O(Nd'^2). But efficiency comes at a cost: negative values are lost, and feature maps lack
How Linear Attention Trades Expressiveness for Efficiency
By
–
