RankMamba: Benchmarking Mamba's Document Ranking Performance in the Era of Transformers
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
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spaces1 Dec
- 2022Simplified State Space Layers for Sequence Modeling9 Aug
- 2022Diagonal State Spaces are as Effective as Structured State Spaces27 Mar
- 2021Efficiently Modeling Long Sequences with Structured State Spaces31 Oct
Other references · 41
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
- 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
- 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,462
- 2020Longformer: The Long-Document Transformercited by 3,362
29 more
- 2022Scaling Instruction-Finetuned Language Modelscited by 2,997
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
- 2018Deep contextualized word representationscited by 2,285
- 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,734
- 2023RWKV: Reinventing RNNs for the Transformer Eracited by 814
- 2021Combining Recurrent, Convolutional, and Continuous-time Models with Linear State-Space Layerscited by 607
- 2020HiPPO: Recurrent Memory with Optimal Polynomial Projectionscited by 600
- 2021Sentence-T5: Scalable Sentence Encoders from Pre-trained Text-to-Text Modelscited by 462
- 2022On the Parameterization and Initialization of Diagonal State Space Modelscited by 418
- 2020Overview of the TREC 2019 deep learning trackcited by 282
- 2023Fine-Tuning LLaMA for Multi-Stage Text Retrievalcited by 271
- 2021Overview of the TREC 2020 deep learning trackcited by 193
- 2022What Language Model Architecture and Pretraining Objective Work Best for Zero-Shot Generalization?cited by 149
- 2019Asking Clarifying Questions in Open-Domain Information-Seeking Conversationscited by 136
- 2017Parallelizing Linear Recurrent Neural Nets Over Sequence Lengthcited by 126
- 2022RankT5: Fine-Tuning T5 for Text Ranking with Ranking Lossescited by 114
- 2019Deeper Text Understanding for IR with Contextual Neural Language Modelingcited by 111
- 2022What Language Model to Train if You Have One Million GPU Hours?cited by 92
- 2021Rethink Training of BERT Rerankers in Multi-Stage Retrieval Pipelinecited by 65
- 2020PARADE: Passage Representation Aggregation for Document Rerankingcited by 44
- 2023An In-depth Investigation of User Response Simulation for Conversational Searchcited by 20
- 2024TWOLAR: a TWO-step LLM-Augmented distillation method for passage Rerankingcited by 11
- 2021Intra-Document Cascading: Learning to Select Passages for Neural Document Rankingcited by 10
- 2023Context-aware Decoding Reduces Hallucination in Query-focused Summarizationcited by 10
- 2024Multi-dimensional Evaluation of Empathetic Dialog Responsescited by 10
- 2023A Lightweight Constrained Generation Alternative for Query-focused Summarizationcited by 8
- 2021A Zero Attentive Relevance Matching Networkfor Review Modeling in Recommendation Systemcited by 5
- 2021Understanding the Effectiveness of Reviews in E-commerce Top-N Recommendationcited by 4
- 2023Reward-free Policy Imitation Learning for Conversational Searchcited by 1
Built on by
Citing papers per year: 2024: 6; 2025: 8; 2026: 1.
15 papers.
Sort:
By area:
- 2024State Space Model for New-Generation Network Alternative to Transformers: A Surveycited by 59
- 2025Rank-R1: Enhancing Reasoning in LLM-based Document Rerankers via Reinforcement Learningcited by 58
- 2024MAIN-RAG: Multi-Agent Filtering Retrieval-Augmented Generationcited by 43
- 2024A Survey of Mambacited by 39
- 2024Context Clues: Evaluating Long Context Models for Clinical Prediction Tasks on EHRscited by 39
- 2024Beyond Perplexity: Multi-dimensional Safety Evaluation of LLM Compressioncited by 32
- 2025MM-R5: MultiModal Reasoning-Enhanced ReRanker via Reinforcement Learning for Document Retrievalcited by 21
- 2024State Space Models are Strong Text Rerankerscited by 10
- 2025CSPLADE: Learned Sparse Retrieval with Causal Language Modelscited by 10
- 2025Distillation versus Contrastive Learning: How to Train Your Rerankerscited by 6
- 2026LACONIC: Dense-Level Effectiveness for Scalable Sparse Retrieval via a Two-Phase Training Curriculumcited by 5
- 2025Mamba-Based Graph Convolutional Networks: Tackling Over-smoothing with Selective State Spacecited by 4
- 2026LACONIC: Dense-Level Effectiveness for Scalable Sparse Retrieval via a Two-Phase Training Curriculum4 Jan 2026
- 2025The Evolution of Reranking Models in Information Retrieval: From Heuristic Methods to Large Language Models18 Dec 2025
- 2025Rethinking On-policy Optimization for Query Augmentation20 Oct 2025
- 2025Distillation versus Contrastive Learning: How to Train Your Rerankers11 Jul 2025
- 2025MM-R5: MultiModal Reasoning-Enhanced ReRanker via Reinforcement Learning for Document Retrieval14 Jun 2025
- 2025CSPLADE: Learned Sparse Retrieval with Causal Language Models15 Apr 2025
- 2025Rank-R1: Enhancing Reasoning in LLM-based Document Rerankers via Reinforcement Learning8 Mar 2025
- 2025Improving Similar Case Retrieval Ranking Performance By Revisiting RankSVM16 Feb 2025
- 2025Mamba-Based Graph Convolutional Networks: Tackling Over-smoothing with Selective State Space26 Jan 2025
- 2024MAIN-RAG: Multi-Agent Filtering Retrieval-Augmented Generation31 Dec 2024
- 2024State Space Models are Strong Text Rerankers18 Dec 2024
- 2024Context Clues: Evaluating Long Context Models for Clinical Prediction Tasks on EHRs9 Dec 2024
3 more
- 2024A Survey of Mamba2 Aug 2024
- 2024Beyond Perplexity: Multi-dimensional Safety Evaluation of LLM Compression6 Jul 2024
- 2024State Space Model for New-Generation Network Alternative to Transformers: A Survey15 Apr 2024
- 2024A Survey of Mambacited by 39
- 2024Context Clues: Evaluating Long Context Models for Clinical Prediction Tasks on EHRscited by 39
- 2024State Space Models are Strong Text Rerankerscited by 10
- 2025Mamba-Based Graph Convolutional Networks: Tackling Over-smoothing with Selective State Spacecited by 4
- 2024State Space Model for New-Generation Network Alternative to Transformers: A Surveycited by 59
- 2024Beyond Perplexity: Multi-dimensional Safety Evaluation of LLM Compressioncited by 32
- 2025CSPLADE: Learned Sparse Retrieval with Causal Language Modelscited by 10
- 2025Distillation versus Contrastive Learning: How to Train Your Rerankerscited by 6
- 2026LACONIC: Dense-Level Effectiveness for Scalable Sparse Retrieval via a Two-Phase Training Curriculumcited by 5
- 2025The Evolution of Reranking Models in Information Retrieval: From Heuristic Methods to Large Language Modelscited by 3
- 2025Improving Similar Case Retrieval Ranking Performance By Revisiting RankSVMcited by 0
- 2026LACONIC: Dense-Level Effectiveness for Scalable Sparse Retrieval via a Two-Phase Training Curriculum4 Jan 2026
- 2025The Evolution of Reranking Models in Information Retrieval: From Heuristic Methods to Large Language Models18 Dec 2025
- 2025Distillation versus Contrastive Learning: How to Train Your Rerankers11 Jul 2025
- 2025CSPLADE: Learned Sparse Retrieval with Causal Language Models15 Apr 2025
- 2025Improving Similar Case Retrieval Ranking Performance By Revisiting RankSVM16 Feb 2025
- 2024Beyond Perplexity: Multi-dimensional Safety Evaluation of LLM Compression6 Jul 2024
- 2024State Space Model for New-Generation Network Alternative to Transformers: A Survey15 Apr 2024
Similar, not cited
Close in wording, no citation either way
- 2024The Hidden Attention of Mamba Models
- 2024Attention in Large Language Models Yields Efficient Zero-Shot Re-Rankers
- 2024How Effective are State Space Models for Machine Translation?
- 2024Can Mamba Learn How to Learn? A Comparative Study on In-Context Learning Tasks
- 2024MambaLRP: Explaining Selective State Space Sequence Models
- 2024ReMamba: Equip Mamba with Effective Long-Sequence Modeling
- 2026Mamba with Hierarchical Memory: Solving Representation Bottleneck in Long Sequence Modeling
- 2024Enhancing Q&A Text Retrieval with Ranking Models: Benchmarking, fine-tuning and deploying Rerankers for RAG