atlas

Research map / Architectures and efficiency / Attention and transformers

Rodimus*: Breaking the Accuracy-Efficiency Trade-Off with Efficient Attentions

ICLR 2025 · Architectures and efficiency › Attention and transformers · approach: Sparse attention for long-context LLMs · 0 citations (OpenAlex)

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.

Proposes Rodimus, a purely recurrent linear-attention model with data-dependent tempered selection (DDTS), and Rodimus+, which hybridizes it with sliding-window shared-key attention (SW-SKA), achieving strong accuracy-efficiency trade-offs on language modeling and recall benchmarks.

Problem

Softmax attention has O(T) per-token generation cost, while existing linear/recurrent models lose accuracy relative to softmax attention; the paper asks whether LLM complexity can be reduced without sacrificing performance.

Approach

A linear-attention recurrence whose forget/input gates are data-dependent and tempered by an input-dependent temperature gate (DDTS), combined with a sliding-window attention that shares keys across heads (SKA), so that semantic, token, and head compression are combined in one hybrid block.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use Rodimus instead of Mamba2130M models trained on 100B tokens · Downstream zero-shot tasksAVG acc: 41.22 -> 41.96Helped
Add SW-SKA to Rodimus130M models trained on 300B tokens · Downstream zero-shot tasksAVG acc: 42.88 -> 43.15Helped
Add SW-SKA to RodimusPile language model · Pile validationperplexity: 5.88 -> 5.88No clear effect
Use Rodimus+ rather than Qwen21.6B Rodimus+ and 1.5B Qwen2 · Downstream zero-shot tasksAVG acc: 58.30 -> 58.61Helped
Include the temperature gate in DDTS (ablation)Rodimus · Language modelingvalidation perplexityHelped
Include the selection gate and input gate in DDTS (ablation)Rodimus · Language modelingvalidation perplexityHelped
Include hat-vbeta_t in DDTS (ablation)Rodimus · Language modelingvalidation perplexityHelped
Include vbeta_t in the state transition (ablation)Rodimus · Trainingtraining performanceHurt
Use a two-hop residual connection (ablation)Rodimus+ · Downstream tasksperformanceHelped
Use SKA instead of GQA (ablation)Attention head compression · Benchmarks across backbone modelsperformanceHelped
Use temperature gate tau_t as an input-dependent gate rather than a fixed constant (ablation)Rodimus DDTS · Historical information filteringfiltering of irrelevant informationHelped

Surprising findings

Limitations

Experimental setup

Datasets: WikiText-103 The Pile FineWeb curated pretraining corpus

Benchmarks: WikiText-103 LAMBADA PIQA HellaSwag WinoGrande OpenBookQA ARC-Easy ARC-Challenge MQAR NeedleBench

Metrics: perplexity accuracy acc_norm

Baselines: Mamba Mamba2 GLA HGRN2 RWKV6 Transformer++ Llama3 Qwen2 Pythia Recurrent-Gemma

Builds on: Mamba2 gated linear attention Griffin multi-query attention grouped-query attention

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