mlsanityData to 14 Oct 2026

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

arXiv 2410.06577 ↗First posted 9 Oct 2024cs.CLcited by 6

Not on the map. Why?

Abstract (arXiv)

Recent advancements in Transformer-based large language models (LLMs) have set new standards in natural language processing. However, the classical softmax attention incurs significant computational costs, leading to a O(T) complexity for per-token generation, where T represents the context length. This work explores reducing LLMs' complexity while maintaining performance by introducing Rodimus and its enhanced version, Rodimus+. Rodimus employs an innovative data-dependent tempered selection (DDTS) mechanism within a linear attention-based, purely recurrent framework, achieving significant accuracy while drastically reducing the memory usage typically associated with recurrent models. This method exemplifies semantic compression by maintaining essential input information with fixed-size hidden states. Building on this, Rodimus+ combines Rodimus with the innovative Sliding Window Shared-Key Attention (SW-SKA) in a hybrid approach, effectively leveraging the complementary semantic, token, and head compression techniques. Our experiments demonstrate that Rodimus+-1.6B, trained on 1 trillion tokens, achieves superior downstream performance against models trained on more tokens, including Qwen2-1.5B and RWKV6-1.6B, underscoring its potential to redefine the accuracy-efficiency balance in LLMs. Model code and pre-trained checkpoints are open-sourced at https://github.com/codefuse-ai/rodimus.

Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Builds on 79 of its 92 references that are in the map. First posted on arXiv 9 Oct 2024.

Builds on

79 of 92 references.

References · 79

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020Language Models are Few-Shot Learnerscited by 32,419
  3. 2024The Llama 3 Herd of Modelscited by 14,715
  4. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
  5. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  6. 2021Training Verifiers to Solve Math Word Problemscited by 10,109
  7. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  8. 2020Measuring Massive Multitask Language Understandingcited by 7,963
  9. 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,371
  10. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
  11. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
  12. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
38 more
  1. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
  2. 2021Program Synthesis with Large Language Modelscited by 3,637
  3. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,512
  4. 2020Longformer: The Long-Document Transformercited by 3,413
  5. 2016Pointer Sentinel Mixture Modelscited by 3,096
  6. 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,883
  7. 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,465
  8. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,411
  9. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,186
  10. 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,164
  11. 2024Qwen2 Technical Reportcited by 2,120
  12. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
  13. 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 2,004
  14. 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,998
  15. 2022BLOOM: A 176B-Parameter Open-Access Multilingual Language Modelcited by 1,984
  16. 2022Challenging BIG-Bench Tasks and Whether Chain-of-Thought Can Solve Themcited by 1,807
  17. 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,786
  18. 2019Generating Long Sequences with Sparse Transformerscited by 1,546
  19. 2019Root Mean Square Layer Normalizationcited by 1,480
  20. 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,391
  21. 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,346
  22. 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,336
  23. 2024Qwen2.5-Coder Technical Reportcited by 1,203
  24. 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,160
  25. 2018Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Taskcited by 1,139
  26. 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,103
  27. 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 992
  28. 2023RWKV: Reinventing RNNs for the Transformer Eracited by 827
  29. 2022Simplified State Space Layers for Sequence Modelingcited by 788
  30. 2019Fast Transformer Decoding: One Write-Head is All You Needcited by 717
  31. 2023C-Eval: A Multi-Level Multi-Discipline Chinese Evaluation Suite for Foundation Modelscited by 708
  32. 2016Language Modeling with Gated Convolutional Networkscited by 702
  33. 2023PyTorch FSDP: Experiences on Scaling Fully Sharded Data Parallelcited by 660
  34. 2023Retentive Network: A Successor to Transformer for Large Language Modelscited by 613
  35. 2020HiPPO: Recurrent Memory with Optimal Polynomial Projectionscited by 605
  36. 2024BigCodeBench: Benchmarking Code Generation with Diverse Function Calls and Complex Instructionscited by 546
  37. 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 514
  38. 2022Hungry Hungry Hippos: Towards Language Modeling with State Space Modelscited by 499

50 most cited of 79 All 79 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 1; 2025: 3; 2026: 2.

6 papers.