l1-augmented-attention-as-an-improved-vector-similarity-metric-7c227b25·1 events·first seen Aliases: L1 Augmented Attention as an Improved Vector Similarity Metric
A new arXiv preprint proposes L1 augmented attention, a modification to scaled dot product attention that subtracts a learned, head-specific L1 distance between queries and keys from the dot product score. The hybrid metric captures complementary geometric information — directional alignment from dot product and coordinate deviation penalties from L1 — using low-dimensional projections to keep computation parallelizable. Evaluated on WikiText-2 with a compact transformer, the method achieves up to 14.5% perplexity reduction over the standard baseline and outperforms an RBF/L2 kernel alternative. Analysis reveals distinct geometric roles across layers and strong head-level specialization.