[Paper Review] MIREX: MapReduce Information Retrieval Experiments
This paper proposes using MapReduce to streamline large-scale information retrieval experiments by enabling sequential scanning of document collections across clusters, reducing coding effort and accelerating prototyping. With a 15-machine cluster, the system processes 0.5 billion web pages in 11 hours and achieves TREC-like precision (0.42 at top 5 results), outperforming single-node Lemur in query throughput when scaling to 5,000 queries.
We propose to use MapReduce to quickly test new retrieval approaches on a cluster of machines by sequentially scanning all documents. We present a small case study in which we use a cluster of 15 low cost ma- chines to search a web crawl of 0.5 billion pages showing that sequential scanning is a viable approach to running large-scale information retrieval experiments with little effort. The code is available to other researchers at: http://mirex.sourceforge.net
Motivation & Objective
- To reduce the time and complexity of implementing new retrieval algorithms by avoiding integration into monolithic search systems like Lemur or Terrier.
- To enable researchers to easily experiment with novel ranking functions that require non-indexed document features, such as anchor text or full-text analysis.
- To demonstrate that sequential scanning via MapReduce is a viable, scalable, and efficient alternative to inverted index-based retrieval for experimental IR research.
- To provide an open-source, lightweight framework for rapid prototyping of retrieval systems on commodity clusters.
Proposed method
- The system uses a MapReduce pipeline where the mapper processes each document in parallel, scoring it against all queries using a custom retrieval function.
- For each document, the mapper outputs (QueryID, (DocID, Score)) pairs, enabling distributed computation of relevance scores across the entire collection.
- The reducer collects top 1000 results per query by maintaining a min-heap of size 1000, ensuring only the highest-scoring documents are retained.
- The reducer also acts as a combiner to limit inter-node data transfer, reducing network overhead by filtering results locally before shuffling.
- The approach leverages Hadoop’s native fault tolerance and load balancing, enabling execution on commodity clusters without custom infrastructure.
- The system supports incremental experimentation by allowing easy modification of the scoring function without reindexing or complex system integration.
Experimental results
Research questions
- RQ1Can a MapReduce-based sequential scan of large document collections serve as a practical and efficient alternative to traditional inverted index-based retrieval systems for experimental IR research?
- RQ2How does the development and execution time of a new retrieval approach compare when implemented via MapReduce versus integration into existing systems like Lemur or Terrier?
- RQ3To what extent does the performance of a MapReduce-based system scale with increasing query load, and how does it compare to single-node and distributed versions of established systems?
- RQ4Can MapReduce-based sequential scanning achieve competitive retrieval quality (e.g., mean average precision) on standard TREC test collections?
Key findings
- The MapReduce-based system achieved a precision of 0.42 at the top 5 results on the ClueWeb09 dataset, comparable to top TREC 2009 runs.
- Anchor text extraction on 0.5 billion pages took 11 hours on a 15-machine cluster, producing 400 GB of indexed text.
- Processing 5,000 queries took less than 30 minutes after preprocessing, with an average of 1.6 seconds per query.
- The system was 3.6 times slower than a single-node Lemur system for 50 queries but became faster as query load increased due to caching and parallelization.
- The codebase for the full system was only 350 lines of code, compared to over 500,000 lines in systems like Lemur or Terrier, demonstrating significant development efficiency.
- The system’s performance scales sublinearly with query count, benefiting from caching and parallel query processing, making it highly efficient for large-scale batch experiments.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.