InPars Toolkit: A Unified and Reproducible Synthetic Data Generation Pipeline for Neural Information Retrieval
On the map: Synthetic data and self-improvement for LLMs → LLM synthetic data generation
Abstract (arXiv)
Recent work has explored Large Language Models (LLMs) to overcome the lack of training data for Information Retrieval (IR) tasks. The generalization abilities of these models have enabled the creation of synthetic in-domain data by providing instructions and a few examples on a prompt. InPars and Promptagator have pioneered this approach and both methods have demonstrated the potential of using LLMs as synthetic data generators for IR tasks. This makes them an attractive solution for IR tasks that suffer from a lack of annotated data. However, the reproducibility of these methods was limited, because InPars' training scripts are based on TPUs -- which are not widely accessible -- and because the code for Promptagator was not released and its proprietary LLM is not publicly accessible. To fully realize the potential of these methods and make their impact more widespread in the research community, the resources need to be accessible and easy to reproduce by researchers and practitioners. Our main contribution is a unified toolkit for end-to-end reproducible synthetic data generation research, which includes generation, filtering, training and evaluation. Additionally, we provide an interface to IR libraries widely used by the community and support for GPU. Our toolkit not only reproduces the InPars method and partially reproduces Promptagator, but also provides a plug-and-play functionality allowing the use of different LLMs, exploring filtering methods and finetuning various reranker models on the generated data. We also made available all the synthetic data generated in this work for the 18 different datasets in the BEIR benchmark which took more than 2,000 GPU hours to be generated as well as the reranker models finetuned on the synthetic data. Code and data are available at https://github.com/zetaalphavector/InPars
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Placed in LLM synthetic data generation, one of 13 directions in Synthetic data and self-improvement for LLMs. Builds on 12 of its 20 references that are in the map. First posted on arXiv 10 Jul 2023.
Builds on
12 of 20 references.
References · 12
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,780
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,411
- 2016MS MARCO: A Human Generated MAchine Reading COmprehension Datasetcited by 1,605
- 2021Large Dual Encoders Are Generalizable Retrieverscited by 456
- 2020Document Ranking with a Pretrained Sequence-to-Sequence Modelcited by 376
- 2018Mesh-TensorFlow: Deep Learning for Supercomputerscited by 169
- 2023InPars-v2: Large Language Models as Efficient Dataset Generators for Information Retrievalcited by 73
- 2021Simplified Data Wrangling with ir_datasetscited by 27
- 2022No Parameter Left Behind: How Distillation and Model Size Affect Zero-Shot Retrievalcited by 17
- 2023InPars-Light: Cost-Effective Unsupervised Training of Efficient Rankerscited by 14
Built on by
Citing papers per year: 2023: 2.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2025InPars+: Supercharging Synthetic Data Generation for Information Retrieval Systems
- 2025On Synthetic Data Strategies for Domain-Specific Generative Retrieval
- 2024The Power of Noise: Redefining Retrieval for RAG Systems
- 2024A Survey on Retrieval-Augmented Text Generation for Large Language Models
- 2025Synthetic Data Generation Using Large Language Models: Advances in Text and Code
- 2024CRAFT Your Dataset: Task-Specific Synthetic Dataset Generation Through Corpus Retrieval and Augmentation
- 2023Synthetic Data Generation with Large Language Models for Text Classification: Potential and Limitations
- 2024Efficacy of Synthetic Data as a Benchmark