atlas

Research map / Architectures and efficiency / Attention and transformers

Linear Attention for Efficient Bidirectional Sequence Modeling

NeurIPS 2025 · Architectures and efficiency › Attention and transformers · approach: State space and recurrent sequence models

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Extends Linear Transformers to bidirectional sequence modeling via LION, which gives full-attention, bidirectional RNN, and chunkwise forms, instantiated as LION-LIT, LION-RetNet and LION-S.

Problem

Linear Transformers are well studied for causal sequence modeling, but no unified framework exists for applying them to bidirectional sequence modeling, where bidirectional SSMs like Vim and Hydra rely on causal forms run in both directions and train slowly.

Approach

Define a bidirectional decay mask so that linear attention can be trained in full-attention parallel form while equivalent forward and backward RNN recurrences (with a half-diagonal correction to avoid double counting) support efficient inference, plus a chunkwise form; instantiated for no decay, fixed decay, and selective decay.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use multiple rotated token scans with LION-RetNetLION-RetNet · ImageNet-1K SmallTop-1 accuracy (%): 73.5 -> 79.9Helped
Use multiple rotated token scans with LION-SelectiveLION-Selective · ImageNet-1K SmallTop-1 accuracy (%): 74.0 -> 79.6Helped
Use multiple rotated token scans with LION-RetNetLION-RetNet · ImageNet-1K BaseTop-1 accuracy (%): 77.8 -> 80.2Helped
Use multiple rotated token scans with LION-SelectiveLION-Selective · ImageNet-1K BaseTop-1 accuracy (%): 76.3 -> 79.9Helped
Use LION-RetNet multi-scan instead of DeiTImageNet-1K Small · ImageNet-1K SmallTop-1 accuracy (%): 79.8 -> 79.9Helped
Use LION-RetNet multi-scan instead of DeiTImageNet-1K Small · ImageNet-1K SmallTrain time (relative; lower is better): $\times$1 -> $\times$1.66Hurt
Use LION-RetNet multi-scan instead of DeiTImageNet-1K Base · ImageNet-1K BaseTop-1 accuracy (%): 81.8 -> 80.2Hurt
Use full attention rather than SSM trainingLION · ImageNet-1KTraining speed: 10 \timesHelped
Use diagonal decay instead of no decay (ablation)LRA · LRATask solvabilityHelped
Remove decay (ablation)LION-LinAtt · LRATask solvabilityHurt
Use larger chunk sizes (ablation)LION-RetNet chunkwise inference · ImageNet-1K at 1248-resolutionInference timeHelped
Use larger chunk sizes (ablation)LION-RetNet chunkwise inference · ImageNet-1K at 1248-resolutionGPU memory: OOM beyond size 1024Hurt

Surprising findings

Limitations

Experimental setup

Datasets: ImageNet-1K C4 GLUE Long Range Arena OpenWebText

Benchmarks: ImageNet-1K GLUE Long Range Arena OpenWebText

Metrics: top-1 accuracy relative training time memory perplexity

Baselines: ViT DeiT Vim Hydra BERT

Builds on: Linear Transformer RetNet Gated RFA Mamba-2 Vision Mamba

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy