PyTerrier: Declarative Experimentation in Python from BM25 to Dense Retrieval
Authors:
Open Access
- 26 October 2021
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 4526-4533
Abstract
PyTerrier is a Python-based retrieval framework for expressing simple and complex information retrieval (IR) pipelines in a declarative manner. While making use of the long-established Terrier IR platform for basic text indexing and retrieval, its salient utility comes from its expressive Python operators, which allow for individual IR operations to be pipelined and combined in different flexible manners as requested by the search application. Each operation applies a transformation upon a dataframe, while operators are defined with clear semantics in relational algebra. Going further, we have recently expanded the PyTerrier framework to include additional support for state-of-the-art BERT-based text re-rankers (such as EPIC) and dense retrieval implementations (such as ANCE and ColBERT). Transformer pipelines can be tuned and evaluated in a declarative manner. To increase the reusability of this framework as a resource for the IR community, PyTerrier provides easy access to a variety of standard benchmark datasets, including pre-built indices. Finally, we highlight the advantages of such a framework for information retrieval researchers and educators.Keywords
Funding Information
- Italian Ministry of Education and Research
- Engineering and Physical Sciences Research Council (EP/R018634/1)
This publication has 25 references indexed in Scilit:
- cwl_eval2019
- The Neural Hype and Comparisons Against Weak BaselinesACM SIGIR Forum, 2019
- Efficient Query Processing for Scalable Web SearchFoundations and Trends® in Information Retrieval, 2018
- Pytrec_eval2018
- Anserini2017
- XGBoost2016
- Learning in a pairwise term-term proximity framework for information retrieval2009
- A Markov random field model for term dependencies2005
- UMass at TREC 2004: Novelty and HARD2004
- Probabilistic models of information retrieval based on measuring the divergence from randomnessACM Transactions on Information Systems, 2002