Pyserini: An Easy-to-Use Python Toolkit to Support Replicable IR Research with Sparse and Dense Representations
Not on the map. Why?
Abstract (arXiv)
Pyserini is an easy-to-use Python toolkit that supports replicable IR research by providing effective first-stage retrieval in a multi-stage ranking architecture. Our toolkit is self-contained as a standard Python package and comes with queries, relevance judgments, pre-built indexes, and evaluation scripts for many commonly used IR test collections. We aim to support, out of the box, the entire research lifecycle of efforts aimed at improving ranking with modern neural approaches. In particular, Pyserini supports sparse retrieval (e.g., BM25 scoring using bag-of-words representations), dense retrieval (e.g., nearest-neighbor search on transformer-encoded representations), as well as hybrid retrieval that integrates both approaches. This paper provides an overview of toolkit features and presents empirical results that illustrate its effectiveness on two popular ranking tasks. We also describe how our group has built a culture of replicability through shared norms and tools that enable rigorous automated testing.
Key facts. Cited by 60 papers in the map (data through 7 Oct 2026). First posted on arXiv 19 Feb 2021.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 9; 2022: 14; 2023: 6; 2024: 8; 2025: 13; 2026: 10.
60 papers.
Sort:
By area:
- 2022WebShop: Towards Scalable Real-World Web Interaction with Grounded Language Agentscited by 1,197
- 2021Simple Entity-Centric Questions Challenge Dense Retrieverscited by 140
- 2023Investigating Data Contamination in Modern Benchmarks for Large Language Modelscited by 136
- 2024InstructRAG: Instructing Retrieval-Augmented Generation via Self-Synthesized Rationalescited by 100
- 2023InPars-v2: Large Language Models as Efficient Dataset Generators for Information Retrievalcited by 73
- 2021The Web Is Your Oyster - Knowledge-Intensive NLP against a Very Large Web Corpuscited by 60
- 2021One Question Answering Model for Many Languages with Cross-lingual Dense Passage Retrievalcited by 46
- 2021Learning to Retrieve Passages without Supervisioncited by 46
- 2021A Replication Study of Dense Passage Retrievercited by 37
- 2024The Chronicles of RAG: The Retriever, the Chunk and the Generatorcited by 34
- 2024Unveiling the Spectrum of Data Contamination in Language Models: A Survey from Detection to Remediationcited by 30
- 2023WebBrain: Learning to Generate Factually Correct Articles for Queries by Grounding on Large Web Corpuscited by 29
38 more
- 2021Simplified Data Wrangling with ir_datasetscited by 27
- 2022Multi-CPR: A Multi Domain Chinese Dataset for Passage Retrievalcited by 26
- 2021Yes, BM25 is a Strong Baseline for Legal Case Retrievalcited by 24
- 2024RAG-RLRC-LaySum at BioLaySumm: Integrating Retrieval-Augmented Generation and Readability Control for Layman Summarization of Biomedical Textscited by 23
- 2022In Defense of Cross-Encoders for Zero-Shot Retrievalcited by 21
- 2022Improving Biomedical Information Retrieval with Neural Retrieverscited by 20
- 2024Utilizing BERT for Information Retrieval: Survey, Applications, Resources, and Challengescited by 20
- 2025LexRAG: Benchmarking Retrieval-Augmented Generation in Multi-Turn Legal Consultation Conversationcited by 19
- 2022Saving Dense Retriever from Shortcut Dependency in Conversational Searchcited by 18
- 2022No Parameter Left Behind: How Distillation and Model Size Affect Zero-Shot Retrievalcited by 17
- 2024LLM-RankFusion: Mitigating Intrinsic Inconsistency in LLM-based Rankingcited by 16
- 2024Adaptive Query Rewriting: Aligning Rewriters through Marginal Probability of Conversational Answerscited by 15
- 2022Improving Wikipedia Verifiability with AIcited by 11
- 2022Natural Logic-guided Autoregressive Multi-hop Document Retrieval for Fact Verificationcited by 11
- 2025DeAR: Dual-Stage Document Reranking with Reasoning Agents via LLM Distillationcited by 11
- 2025CSPLADE: Learned Sparse Retrieval with Causal Language Modelscited by 10
- 2025Investigating the Robustness of Retrieval-Augmented Generation at the Query Levelcited by 10
- 2021Encoder Adaptation of Dense Passage Retrieval for Open-Domain Question Answeringcited by 8
- 20231-PAGER: One Pass Answer Generation and Evidence Retrievalcited by 7
- 2025Cocktail: Chunk-Adaptive Mixed-Precision Quantization for Long-Context LLM Inferencecited by 5
- 2026Shopping Companion: Benchmarking and Training LLM Agents for Long-Horizon Preference-Grounded E-Commerce Taskscited by 5
- 2025An Efficient Rubric-based Generative Verifier for Search-Augmented LLMscited by 4
- 2025RAGSmith: A Framework for Finding the Optimal Composition of Retrieval-Augmented Generation Methods Across Datasetscited by 4
- 2023Divide & Conquer for Entailment-aware Multi-hop Evidence Retrievalcited by 3
- 2025Improve Rule Retrieval and Reasoning with Self-Induction and Relevance ReEstimatecited by 3
- 2025Rethinking On-policy Optimization for Query Augmentationcited by 3
- 2022XLMRQA: Open-Domain Question Answering on Vietnamese Wikipedia-based Textual Knowledge Sourcecited by 2
- 2022Diverse Multi-Answer Retrieval with Determinantal Point Processescited by 2
- 2024An Extremely Data-efficient and Generative LLM-based Reinforcement Learning Agent for Recommenderscited by 2
- 2026Evaluating LLMs on Real-World Software Performance Optimizationcited by 2
- 2021Towards Universal Dense Retrieval for Open-domain Question Answeringcited by 1
- 2022Are We There Yet? A Decision Framework for Replacing Term Based Retrieval with Dense Retrieval Systemscited by 1
- 2022MIA 2022 Shared Task Submission: Leveraging Entity Representations, Dense-Sparse Hybrids, and Fusion-in-Decoder for Cross-Lingual Question Answeringcited by 1
- 2022NeuralSearchX: Serving a Multi-billion-parameter Reranker for Multilingual Metasearch at a Low Costcited by 1
- 2026BM25 Wins at Scale: A Scaling Study of Retrieval-Augmented Generation Paradigmscited by 1
- 2022To Tune or Not To Tune? Zero-shot Models for Legal Case Entailmentcited by 0
- 2023Cross Encoding as Augmentation: Towards Effective Educational Text Classificationcited by 0
- 2025MiLQ: Benchmarking IR Models for Bilingual Web Search with Mixed Language Queriescited by 0
50 most cited of 60 All 60 (JSON)
- 2026BM25 Wins at Scale: A Scaling Study of Retrieval-Augmented Generation Paradigms29 Jul 2026
- 2026Evaluating LLMs on Real-World Software Performance Optimization24 Jun 2026
- 2026STORM: Stepwise Token Optimization with Reward-Guided Beam Search9 Jun 2026
- 2026SPECTRA: Synthetic IR Test Collections with Relevance Oracles and Controlled Distractor Diagnostics29 May 2026
- 2026Mask-to-Correct^+: Leveraging Retriever Diversity for Masking-guided Faithful Fact Correction21 Apr 2026
- 2026BiCon-Gate: Consistency-Gated De-colloquialisation for Dialogue Fact-Checking15 Apr 2026
- 2026BracketRank: Large Language Model Document Ranking via Reasoning-based Competitive Elimination10 Apr 2026
- 2026Shopping Companion: Benchmarking and Training LLM Agents for Long-Horizon Preference-Grounded E-Commerce Tasks16 Mar 2026
- 2026When should I search more: Adaptive Complex Query Optimization with Reinforcement Learning29 Jan 2026
- 2026From SERPs to Agents: A Platform for Comparative Studies of Information Interaction14 Jan 2026
- 2025Trification: A Comprehensive Tree-based Strategy Planner and Structural Verification for Fact-Checking29 Nov 2025
- 2025RAGSmith: A Framework for Finding the Optimal Composition of Retrieval-Augmented Generation Methods Across Datasets3 Nov 2025
38 more
- 2025Controlling Gender Bias in Retrieval via a Backpack Architecture2 Nov 2025
- 2025Separate the Wheat from the Chaff: Winnowing Down Divergent Views in Retrieval Augmented Generation1 Nov 2025
- 2025Rethinking On-policy Optimization for Query Augmentation20 Oct 2025
- 2025An Efficient Rubric-based Generative Verifier for Search-Augmented LLMs16 Oct 2025
- 2025DeAR: Dual-Stage Document Reranking with Reasoning Agents via LLM Distillation23 Aug 2025
- 2025Investigating the Robustness of Retrieval-Augmented Generation at the Query Level9 Jul 2025
- 2025MiLQ: Benchmarking IR Models for Bilingual Web Search with Mixed Language Queries22 May 2025
- 2025Improve Rule Retrieval and Reasoning with Self-Induction and Relevance ReEstimate16 May 2025
- 2025CSPLADE: Learned Sparse Retrieval with Causal Language Models15 Apr 2025
- 2025Cocktail: Chunk-Adaptive Mixed-Precision Quantization for Long-Context LLM Inference30 Mar 2025
- 2025LexRAG: Benchmarking Retrieval-Augmented Generation in Multi-Turn Legal Consultation Conversation28 Feb 2025
- 2024An Extremely Data-efficient and Generative LLM-based Reinforcement Learning Agent for Recommenders28 Aug 2024
- 2024Unveiling the Spectrum of Data Contamination in Language Models: A Survey from Detection to Remediation20 Jun 2024
- 2024InstructRAG: Instructing Retrieval-Augmented Generation via Self-Synthesized Rationales19 Jun 2024
- 2024Adaptive Query Rewriting: Aligning Rewriters through Marginal Probability of Conversational Answers16 Jun 2024
- 2024LLM-RankFusion: Mitigating Intrinsic Inconsistency in LLM-based Ranking31 May 2024
- 2024RAG-RLRC-LaySum at BioLaySumm: Integrating Retrieval-Augmented Generation and Readability Control for Layman Summarization of Biomedical Texts21 May 2024
- 2024Utilizing BERT for Information Retrieval: Survey, Applications, Resources, and Challenges18 Feb 2024
- 2024The Chronicles of RAG: The Retriever, the Chunk and the Generator15 Jan 2024
- 2023Investigating Data Contamination in Modern Benchmarks for Large Language Models16 Nov 2023
- 2023Divide & Conquer for Entailment-aware Multi-hop Evidence Retrieval5 Nov 2023
- 20231-PAGER: One Pass Answer Generation and Evidence Retrieval25 Oct 2023
- 2023Cross Encoding as Augmentation: Towards Effective Educational Text Classification30 May 2023
- 2023WebBrain: Learning to Generate Factually Correct Articles for Queries by Grounding on Large Web Corpus10 Apr 2023
- 2023InPars-v2: Large Language Models as Efficient Dataset Generators for Information Retrieval4 Jan 2023
- 2022In Defense of Cross-Encoders for Zero-Shot Retrieval12 Dec 2022
- 2022Natural Logic-guided Autoregressive Multi-hop Document Retrieval for Fact Verification10 Dec 2022
- 2022Diverse Multi-Answer Retrieval with Determinantal Point Processes29 Nov 2022
- 2022NeuralSearchX: Serving a Multi-billion-parameter Reranker for Multilingual Metasearch at a Low Cost26 Oct 2022
- 2022Improving Wikipedia Verifiability with AI8 Jul 2022
- 2022MIA 2022 Shared Task Submission: Leveraging Entity Representations, Dense-Sparse Hybrids, and Fusion-in-Decoder for Cross-Lingual Question Answering5 Jul 2022
- 2022WebShop: Towards Scalable Real-World Web Interaction with Grounded Language Agents4 Jul 2022
- 2022Are We There Yet? A Decision Framework for Replacing Term Based Retrieval with Dense Retrieval Systems26 Jun 2022
- 2022No Parameter Left Behind: How Distillation and Model Size Affect Zero-Shot Retrieval6 Jun 2022
- 2022XLMRQA: Open-Domain Question Answering on Vietnamese Wikipedia-based Textual Knowledge Source14 Apr 2022
- 2022Multi-CPR: A Multi Domain Chinese Dataset for Passage Retrieval7 Mar 2022
- 2022Saving Dense Retriever from Shortcut Dependency in Conversational Search15 Feb 2022
- 2022To Tune or Not To Tune? Zero-shot Models for Legal Case Entailment7 Feb 2022
50 newest of 60 All 60 (JSON)
- 2024InstructRAG: Instructing Retrieval-Augmented Generation via Self-Synthesized Rationalescited by 100
- 2024The Chronicles of RAG: The Retriever, the Chunk and the Generatorcited by 34
- 2024RAG-RLRC-LaySum at BioLaySumm: Integrating Retrieval-Augmented Generation and Readability Control for Layman Summarization of Biomedical Textscited by 23
- 2025LexRAG: Benchmarking Retrieval-Augmented Generation in Multi-Turn Legal Consultation Conversationcited by 19
- 2025Investigating the Robustness of Retrieval-Augmented Generation at the Query Levelcited by 10
- 2025RAGSmith: A Framework for Finding the Optimal Composition of Retrieval-Augmented Generation Methods Across Datasetscited by 4
- 2026BM25 Wins at Scale: A Scaling Study of Retrieval-Augmented Generation Paradigmscited by 1
- 2025Separate the Wheat from the Chaff: Winnowing Down Divergent Views in Retrieval Augmented Generationcited by 0
- 2026When should I search more: Adaptive Complex Query Optimization with Reinforcement Learningcited by 0
- 2026BM25 Wins at Scale: A Scaling Study of Retrieval-Augmented Generation Paradigms29 Jul 2026
- 2026When should I search more: Adaptive Complex Query Optimization with Reinforcement Learning29 Jan 2026
- 2025RAGSmith: A Framework for Finding the Optimal Composition of Retrieval-Augmented Generation Methods Across Datasets3 Nov 2025
- 2025Separate the Wheat from the Chaff: Winnowing Down Divergent Views in Retrieval Augmented Generation1 Nov 2025
- 2025Investigating the Robustness of Retrieval-Augmented Generation at the Query Level9 Jul 2025
- 2025LexRAG: Benchmarking Retrieval-Augmented Generation in Multi-Turn Legal Consultation Conversation28 Feb 2025
- 2024InstructRAG: Instructing Retrieval-Augmented Generation via Self-Synthesized Rationales19 Jun 2024
- 2024RAG-RLRC-LaySum at BioLaySumm: Integrating Retrieval-Augmented Generation and Readability Control for Layman Summarization of Biomedical Texts21 May 2024
- 2024The Chronicles of RAG: The Retriever, the Chunk and the Generator15 Jan 2024
- 2022WebShop: Towards Scalable Real-World Web Interaction with Grounded Language Agentscited by 1,197
- 2026Shopping Companion: Benchmarking and Training LLM Agents for Long-Horizon Preference-Grounded E-Commerce Taskscited by 5
- 2024An Extremely Data-efficient and Generative LLM-based Reinforcement Learning Agent for Recommenderscited by 2
- 2026From SERPs to Agents: A Platform for Comparative Studies of Information Interactioncited by 0
- 2026Shopping Companion: Benchmarking and Training LLM Agents for Long-Horizon Preference-Grounded E-Commerce Tasks16 Mar 2026
- 2026From SERPs to Agents: A Platform for Comparative Studies of Information Interaction14 Jan 2026
- 2024An Extremely Data-efficient and Generative LLM-based Reinforcement Learning Agent for Recommenders28 Aug 2024
- 2022WebShop: Towards Scalable Real-World Web Interaction with Grounded Language Agents4 Jul 2022
- 2025DeAR: Dual-Stage Document Reranking with Reasoning Agents via LLM Distillationcited by 11
- 2025Improve Rule Retrieval and Reasoning with Self-Induction and Relevance ReEstimatecited by 3
- 2025Rethinking On-policy Optimization for Query Augmentationcited by 3
- 2026BracketRank: Large Language Model Document Ranking via Reasoning-based Competitive Eliminationcited by 0
- 2026BracketRank: Large Language Model Document Ranking via Reasoning-based Competitive Elimination10 Apr 2026
- 2025Rethinking On-policy Optimization for Query Augmentation20 Oct 2025
- 2025DeAR: Dual-Stage Document Reranking with Reasoning Agents via LLM Distillation23 Aug 2025
- 2025Improve Rule Retrieval and Reasoning with Self-Induction and Relevance ReEstimate16 May 2025
- 2021Simple Entity-Centric Questions Challenge Dense Retrieverscited by 140
- 2023Investigating Data Contamination in Modern Benchmarks for Large Language Modelscited by 136
- 2023InPars-v2: Large Language Models as Efficient Dataset Generators for Information Retrievalcited by 73
- 2021The Web Is Your Oyster - Knowledge-Intensive NLP against a Very Large Web Corpuscited by 60
- 2021One Question Answering Model for Many Languages with Cross-lingual Dense Passage Retrievalcited by 46
- 2021Learning to Retrieve Passages without Supervisioncited by 46
- 2021A Replication Study of Dense Passage Retrievercited by 37
- 2024Unveiling the Spectrum of Data Contamination in Language Models: A Survey from Detection to Remediationcited by 30
- 2023WebBrain: Learning to Generate Factually Correct Articles for Queries by Grounding on Large Web Corpuscited by 29
- 2021Simplified Data Wrangling with ir_datasetscited by 27
- 2022Multi-CPR: A Multi Domain Chinese Dataset for Passage Retrievalcited by 26
- 2021Yes, BM25 is a Strong Baseline for Legal Case Retrievalcited by 24
12 most cited of 41 All 41 (JSON)
- 2026Evaluating LLMs on Real-World Software Performance Optimization24 Jun 2026
- 2026STORM: Stepwise Token Optimization with Reward-Guided Beam Search9 Jun 2026
- 2026SPECTRA: Synthetic IR Test Collections with Relevance Oracles and Controlled Distractor Diagnostics29 May 2026
- 2026Mask-to-Correct^+: Leveraging Retriever Diversity for Masking-guided Faithful Fact Correction21 Apr 2026
- 2026BiCon-Gate: Consistency-Gated De-colloquialisation for Dialogue Fact-Checking15 Apr 2026
- 2025Trification: A Comprehensive Tree-based Strategy Planner and Structural Verification for Fact-Checking29 Nov 2025
- 2025Controlling Gender Bias in Retrieval via a Backpack Architecture2 Nov 2025
- 2025An Efficient Rubric-based Generative Verifier for Search-Augmented LLMs16 Oct 2025
- 2025MiLQ: Benchmarking IR Models for Bilingual Web Search with Mixed Language Queries22 May 2025
- 2025CSPLADE: Learned Sparse Retrieval with Causal Language Models15 Apr 2025
- 2024Unveiling the Spectrum of Data Contamination in Language Models: A Survey from Detection to Remediation20 Jun 2024
- 2024LLM-RankFusion: Mitigating Intrinsic Inconsistency in LLM-based Ranking31 May 2024
12 newest of 41 All 41 (JSON)