Random Feature Magic: FAVOR+'s Efficiency Secret

FAVOR+ achieves its linear-scaling efficiency by approximating the softmax attention kernel with positive orthogonal random features, allowing for rearrangement of matrix multiplications to avoid explicitly constructing the quadratically-sized attention matrix.

Sources

Open the full topic