Exécution de notre outil de synthèse sur un nouvel article
Vérifiez l’article ci-dessous, puis lancez sa synthèse.
Linear transformer: ReLU-based linear attention for O(n) complexity
Yujie Zhu (Santa Clara University)
Résumé : Transformer architecture is a dominant foundation for NLP, vision, and multimodal learning, but their standard softmax self-attention forms an n × n similarity matrix, causing O(n2) time and memory growth with sequence length and limiting long-context training and generation. This paper introduces a ReLU-based true linear attention operator that replaces only the score-and-normalization step inside the multihead attention sublayer while keeping projections, residual Add and Norm blocks, the FFN, and training/inference procedures unchanged. The method rewrites query–key interactions via a decomposable, softmax-free feature mapping and reorders computation into two linear stages: a query-independent key– value aggregation followed by a per-query linear readout. This avoids materializing the attention matrix and guarantees strict O(n) runtime and activation memory. FLOPs analysis under standardized settings shows lower compute than kernel-based linearized attention while matching baseline parameter counts. GPU benchmarks further confirm stable latency scaling and the ability to process sequence lengths that cause out-of-memory failures for quadratic attention. The proposed operator therefore improves extensibility and deployability for long-sequence modeling without changing the surrounding Transformer architecture.