Pith. sign in

REVIEW 2 cited by

Sparse Attention with Linear Units

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2104.07012 v2 pith:FTN3NEOM submitted 2021-04-14 cs.CL cs.LG

classification cs.CLcs.LG
keywords attentionrelasoftmaxsparsesparsityachievesfunctionlinear
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

Recently, it has been argued that encoder-decoder models can be made more interpretable by replacing the softmax function in the attention with its sparse variants. In this work, we introduce a novel, simple method for achieving sparsity in attention: we replace the softmax activation with a ReLU, and show that sparsity naturally emerges from such a formulation. Training stability is achieved with layer normalization with either a specialized initialization or an additional gating function. Our model, which we call Rectified Linear Attention (ReLA), is easy to implement and more efficient than previously proposed sparse attention mechanisms. We apply ReLA to the Transformer and conduct experiments on five machine translation tasks. ReLA achieves translation performance comparable to several strong baselines, with training and decoding speed similar to that of the vanilla attention. Our analysis shows that ReLA delivers high sparsity rate and head diversity, and the induced cross attention achieves better accuracy with respect to source-target word alignment than recent sparsified softmax-based models. Intriguingly, ReLA heads also learn to attend to nothing (i.e. 'switch off') for some queries, which is not possible with sparsified softmax alternatives.

Discussion (0). Sign in to comment.

Forward citations

Cited by 2 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. Exploring Superposition and Interference in State-of-the-Art Low-Parameter Vision Models

    cs.CV 2025-07 conditional novelty 5.0 of 10

    Vision networks whose bottlenecks avoid feature-map interference scale better than MobileNet-style designs at very low parameter counts, and the new NoDepth block demonstrates this on ImageNet.

  2. Dual Attention Residual U-Net for Accurate Brain Ultrasound Segmentation in IVH Detection

    eess.IV 2025-05 conditional novelty 4.0 of 10

    A residual U-Net with CBAM and a dual-branch sparse/dense attention layer reports Dice 89.04 and IoU 81.84 on brain ultrasound ventricle segmentation.

Pith tools