Running summarizing tools on a new article

Check the paper below, then start its synthesis.


Linear transformer: ReLU-based linear attention for O(n) complexity

Yujie Zhu (Santa Clara University)

International Conference on Computer Vision, Algorithms, and Communication (CVAC)
DOI: 10.1117/12.3116015 (Computer Science)
License: not stated (all rights reserved)

Abstract: 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.

Published on 17 Apr. 2026