[Paper Review] InPars-v2: Large Language Models as Efficient Dataset Generators for Information Retrieval
InPars-v2 uses open-source LLMs to generate synthetic query-document pairs, filters them with a monoT5 reranker, and trains 18 dataset-specific rerankers, achieving new BEIR state-of-the-art results while releasing code, data, and models openly.
Recently, InPars introduced a method to efficiently use large language models (LLMs) in information retrieval tasks: via few-shot examples, an LLM is induced to generate relevant queries for documents. These synthetic query-document pairs can then be used to train a retriever. However, InPars and, more recently, Promptagator, rely on proprietary LLMs such as GPT-3 and FLAN to generate such datasets. In this work we introduce InPars-v2, a dataset generator that uses open-source LLMs and existing powerful rerankers to select synthetic query-document pairs for training. A simple BM25 retrieval pipeline followed by a monoT5 reranker finetuned on InPars-v2 data achieves new state-of-the-art results on the BEIR benchmark. To allow researchers to further improve our method, we open source the code, synthetic data, and finetuned models: https://github.com/zetaalphavector/inPars/tree/master/tpu
Motivation & Objective
- Motivate data augmentation for IR when labeled in-domain data is scarce.
- Replace proprietary LLMs with open-source alternatives for synthetic query generation.
- Introduce a better filtering step to select high-quality synthetic query-document pairs.
- Demonstrate state-of-the-art BEIR results and provide open-source artifacts for reproducibility.
Proposed method
- Generate 100k synthetic queries per BEIR dataset using open-source GPT-J-6B with 3-shot MS MARCO prompts.
- Filter to 10k high-quality pairs by scoring with monoT5-3B finetuned on MS MARCO.
- Create negatives by sampling non-relevant docs from top BM25 results for each synthetic query.
- Finetune monoT5-3B as a reranker on MS MARCO, then further fine-tune on the synthetic data (per dataset).
- Train separate rerankers (one per BEIR dataset) and evaluate via BM25 retrieval + reranking pipeline.
Experimental results
Research questions
- RQ1Can open-source LLMs generate synthetic IR data that rivals proprietary approaches?
- RQ2Does a learned reranker-based filtering step improve the quality of synthetic query-document pairs for IR training?
- RQ3What BEIR-level gains are achievable when training dataset-specific rerankers on synthetic data?
Key findings
- InPars-v2 surpasses InPars-v1 and achieves state-of-the-art BEIR results on average.
- On the BEIR benchmark, the approach yields competitive results across many datasets compared to Promptagator and RankT5.
- The MARCO-based synthetic data, when filtered by a monoT5-3B reranker, leads to strong BEIR performance.
- Open-sourcing synthetic data, code, and finetuned models facilitates reproducibility and further research.
- The averaged BEIR performance (Avg) shows gains over the Avg PrGator baseline across multiple datasets.
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.