mlsanityData to 7 Oct 2026

RankMamba: Benchmarking Mamba's Document Ranking Performance in the Era of Transformers

arXiv 2403.18276 ↗First posted 27 Mar 2024cs.IR cs.CLcited by 15

On the map: State-space sequence models (S4, Mamba) → Core SSM architectures for language

Abstract (arXiv)

Transformer structure has achieved great success in multiple applied machine learning communities, such as natural language processing (NLP), computer vision (CV) and information retrieval (IR). Transformer architecture's core mechanism, -- ,attention requires O(n2) time complexity in training and O(n) time complexity in inference. Many works have been proposed to improve the attention mechanism's scalability, such as Flash Attention and Multi-query Attention. A different line of work aims to design new mechanisms to replace attention. Recently, a notable model structure Mamba, which is based on state space models, has achieved transformer-equivalent performance in multiple sequence modeling tasks. In this work, we examine Mamba's efficacy through the lens of a classical IR task, -- ,document ranking. A reranker model takes a query and a document as input, and predicts a scalar relevance score. This task demands the language model's ability to comprehend lengthy contextual inputs and to capture the interaction between query and document tokens. We find that (1) Mamba models achieve competitive performance compared to transformer-based models with the same training recipe; (2) but also have a lower training throughput in comparison to efficient transformer implementations such as flash attention. We hope this study can serve as a starting point to explore mamba models in other classical IR tasks. Our hrefhttps://github.com/zhichaoxu-shufe/RankMambacode implementation is made public to facilitate reproducibility. Refer to~citexu-etal-2025-state for more comprehensive experiments and results, including passage ranking.

Key facts. Cited by 15 papers in the map (data through 7 Oct 2026). Placed in Core SSM architectures for language, one of 10 directions in State-space sequence models (S4, Mamba). Builds on 45 of its 61 references that are in the map. First posted on arXiv 27 Mar 2024.

Builds on

45 of 61 references.

Closest ancestors · 4

Same direction, newest first

  1. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spaces1 Dec
  2. 2022Simplified State Space Layers for Sequence Modeling9 Aug
  3. 2022Diagonal State Spaces are as Effective as Structured State Spaces27 Mar
  4. 2021Efficiently Modeling Long Sequences with Structured State Spaces31 Oct

Other references · 41

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  4. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
  5. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  6. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  7. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  8. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
  9. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
  10. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
  11. 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,462
  12. 2020Longformer: The Long-Document Transformercited by 3,362
29 more
  1. 2022Scaling Instruction-Finetuned Language Modelscited by 2,997
  2. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
  3. 2018Deep contextualized word representationscited by 2,285
  4. 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,734
  5. 2023RWKV: Reinventing RNNs for the Transformer Eracited by 814
  6. 2021Combining Recurrent, Convolutional, and Continuous-time Models with Linear State-Space Layerscited by 607
  7. 2020HiPPO: Recurrent Memory with Optimal Polynomial Projectionscited by 600
  8. 2021Sentence-T5: Scalable Sentence Encoders from Pre-trained Text-to-Text Modelscited by 462
  9. 2022On the Parameterization and Initialization of Diagonal State Space Modelscited by 418
  10. 2020Overview of the TREC 2019 deep learning trackcited by 282
  11. 2023Fine-Tuning LLaMA for Multi-Stage Text Retrievalcited by 271
  12. 2021Overview of the TREC 2020 deep learning trackcited by 193
  13. 2022What Language Model Architecture and Pretraining Objective Work Best for Zero-Shot Generalization?cited by 149
  14. 2019Asking Clarifying Questions in Open-Domain Information-Seeking Conversationscited by 136
  15. 2017Parallelizing Linear Recurrent Neural Nets Over Sequence Lengthcited by 126
  16. 2022RankT5: Fine-Tuning T5 for Text Ranking with Ranking Lossescited by 114
  17. 2019Deeper Text Understanding for IR with Contextual Neural Language Modelingcited by 111
  18. 2022What Language Model to Train if You Have One Million GPU Hours?cited by 92
  19. 2021Rethink Training of BERT Rerankers in Multi-Stage Retrieval Pipelinecited by 65
  20. 2020PARADE: Passage Representation Aggregation for Document Rerankingcited by 44
  21. 2023An In-depth Investigation of User Response Simulation for Conversational Searchcited by 20
  22. 2024TWOLAR: a TWO-step LLM-Augmented distillation method for passage Rerankingcited by 11
  23. 2021Intra-Document Cascading: Learning to Select Passages for Neural Document Rankingcited by 10
  24. 2023Context-aware Decoding Reduces Hallucination in Query-focused Summarizationcited by 10
  25. 2024Multi-dimensional Evaluation of Empathetic Dialog Responsescited by 10
  26. 2023A Lightweight Constrained Generation Alternative for Query-focused Summarizationcited by 8
  27. 2021A Zero Attentive Relevance Matching Networkfor Review Modeling in Recommendation Systemcited by 5
  28. 2021Understanding the Effectiveness of Reviews in E-commerce Top-N Recommendationcited by 4
  29. 2023Reward-free Policy Imitation Learning for Conversational Searchcited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 6; 2025: 8; 2026: 1.

15 papers.

Sort:

By area:

Similar, not cited

Close in wording, no citation either way

  1. 2024The Hidden Attention of Mamba Models
  2. 2024Attention in Large Language Models Yields Efficient Zero-Shot Re-Rankers
  3. 2024How Effective are State Space Models for Machine Translation?
  4. 2024Can Mamba Learn How to Learn? A Comparative Study on In-Context Learning Tasks
  5. 2024MambaLRP: Explaining Selective State Space Sequence Models
  6. 2024ReMamba: Equip Mamba with Effective Long-Sequence Modeling
  7. 2026Mamba with Hierarchical Memory: Solving Representation Bottleneck in Long Sequence Modeling
  8. 2024Enhancing Q&A Text Retrieval with Ranking Models: Benchmarking, fine-tuning and deploying Rerankers for RAG