InPars+: Supercharging Synthetic Data Generation for Information Retrieval Systems

Matey Krastev, Miklos Hamar, Danilo Toapanta, Jesse Brouwers, Yibin Lei
8/19/2025
cs.IRcs.AI

Official code: danilotpnta/IR2-project (12 stars, MIT, last commit 2025-02-11).

Abstract

This work revisits and extends synthetic query generation pipelines for Neural Information Retrieval (NIR) by leveraging the InPars Toolkit, a reproducible, end-to-end framework for generating training data using large language models (LLMs). We first assess the reproducibility of the original InPars, InPars-V2, and Promptagator pipelines on the SciFact benchmark and validate their effectiveness using open-source reranker and generator models. Building on this foundation, we introduce two key extensions to the pipeline: (1) fine-tuning a query generator LLM via Contrastive Preference Optimization (CPO) to improve the signal quality in generated queries, and (2) replacing static prompt templates with dynamic, Chain-of-Thought (CoT) optimized prompts using the DSPy framework. Our results show that both extensions reduce the need for aggressive filtering while improving retrieval performance. All code, models, and synthetic datasets are publicly released to support further research at: \href{https://github.com/danilotpnta/IR2-project}{this https URL}.

View on arXivView PDF

Code Implementations(1)

MIT

Reproducibility study of the paper: "InPars Toolkit: A Unified and Reproducible Synthetic Data Generation Pipeline for Neural Information Retrieval"

120Shell, PythonOct 31, 20241 years agoMIT

Similar Papers

Cite this paper

@article{krastev2025inpars,
  title  = {InPars+: Supercharging Synthetic Data Generation for Information Retrieval Systems},
  author = {Matey Krastev and Miklos Hamar and Danilo Toapanta and Jesse Brouwers and Yibin Lei},
  year   = {2025},
  eprint = {2508.13930},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2508.13930v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2508.13930.svg)](https://codeofpaper.com/paper/2508.13930)

Discussion