首页 > AI前沿 > EnLA: Enriching Linear Attention for Diffusion Transformers

EnLA: Enriching Linear Attention for Diffusion Transformers

arXiv机器学习 2026-12-01 13:00 3 阅读 查看原文

Diffusion transformers generate high-quality images, but the quadratic cost of softmax attention makes long token sequences expensive. Linear attention removes this cost by summing the key-value outer products of all tokens into one shared state per head, which every query then reads; this uniform aggregation, however, degrades generation quality. We propose EnLA, which enriches the keys and values before they are aggregated. A lightweight spatial mixer network (SMN), built from pointwise and depthwise convolutions, mixes features across attention heads and across neighboring spatial positions, and outputs signed residual corrections to the kernel-transformed keys and to the values. Queries and the key-based normalization are left unchanged, so the operator remains linear in the number of