[Paper Review] InPars-Light: Cost-Effective Unsupervised Training of Efficient Rankers
InPars-Light is a cost-effective, unsupervised method for training efficient neural rankers using only the open-source BLOOM language model and small cross-encoder models (e.g., MiniLM with 30M parameters). By combining all-domain pretraining and consistency-checked data fine-tuning, it achieves 7–30% relative improvement over BM25 on five English retrieval collections, outperforming larger models like MonoT5-3B while re-ranking only 100 documents instead of 1000.
We carried out a reproducibility study of InPars, which is a method for unsupervised training of neural rankers (Bonifacio et al., 2022). As a by-product, we developed InPars-light, which is a simple-yet-effective modification of InPars. Unlike InPars, InPars-light uses 7x-100x smaller ranking models and only a freely available language model BLOOM, which -- as we found out -- produced more accurate rankers compared to a proprietary GPT-3 model. On all five English retrieval collections (used in the original InPars study) we obtained substantial (7%-30%) and statistically significant improvements over BM25 (in nDCG and MRR) using only a 30M parameter six-layer MiniLM-30M ranker and a single three-shot prompt. In contrast, in the InPars study only a 100x larger monoT5-3B model consistently outperformed BM25, whereas their smaller monoT5-220M model (which is still 7x larger than our MiniLM ranker) outperformed BM25 only on MS MARCO and TREC DL 2020. In the same three-shot prompting scenario, our 435M parameter DeBERTA v3 ranker was at par with the 7x larger monoT5-3B (average gain over BM25 of 1.3 vs 1.32): In fact, on three out of five datasets, DeBERTA slightly outperformed monoT5-3B. Finally, these good results were achieved by re-ranking only 100 candidate documents compared to 1000 used by Bonifacio et al. (2022). We believe that InPars-light is the first truly cost-effective prompt-based unsupervised recipe to train and deploy neural ranking models that outperform BM25. Our code and data is publicly available. https://github.com/searchivarius/inpars_light/
Motivation & Objective
- To investigate whether information retrieval capabilities emerge from large-scale next-token-prediction training in open-source LLMs without instruction tuning.
- To evaluate the effectiveness of open-source LLMs (BLOOM, GPT-J) versus proprietary models (GPT-3 Curie) for generating synthetic IR training data.
- To assess whether consistency checking improves unsupervised neural ranker training in a re-ranking setting.
- To determine if small, efficient BERT-based cross-encoders (e.g., MiniLM) can outperform larger models like MonoT5-3B in unsupervised training.
- To develop a practical, low-cost recipe for training and deploying neural rankers that surpass BM25 without expensive data or models.
Proposed method
- Utilized the open-source BLOOM language model (176B parameters) to generate synthetic queries for in-domain training data.
- Trained small cross-encoder rankers (MiniLM-L6-30M, DeBERTA-v3-435M) using a two-stage process: all-domain pretraining followed by in-domain fine-tuning.
- Applied consistency checking to synthetic training data using a strong model (DeBERTA-v3-435M) to filter out low-quality or inconsistent query-document pairs.
- Re-ranked only 100 candidate documents per query, significantly reducing inference cost compared to 1000 in the original InPars method.
- Combined all-domain pretraining on diverse queries with fine-tuning on consistency-checked data to improve generalization and performance.
- Used a single RTX 3090 GPU for training and inference, enabling low-cost, practical deployment.
Experimental results
Research questions
- RQ1Do information retrieval capabilities emerge solely from large-scale next-token-prediction training in LLMs, without instruction tuning?
- RQ2Are open-source LLMs more or less effective than proprietary models (e.g., GPT-3 Curie) for generating synthetic IR training data?
- RQ3Does consistency checking improve model performance in the unsupervised re-ranking setting, and is it applicable beyond retriever training?
- RQ4Can small BERT-based cross-encoders (e.g., MiniLM) match or exceed the performance of large MonoT5-3B models in unsupervised training?
- RQ5Can a small, efficient ranker (e.g., MiniLM with 30M parameters) consistently outperform BM25 in an unsupervised setting?
Key findings
- Open-source LLMs like BLOOM and GPT-J generated synthetic queries that were as effective as those from GPT-3 Curie, with generation costs reduced by ~10x.
- Fine-tuning on consistency-checked data consistently improved model performance over standard InPars training, even with small models.
- A 30M-parameter MiniLM-L6 model outperformed BM25 by 7–30% in nDCG@K and MRR across all five retrieval collections, unlike the original InPars study where only MonoT5-3B succeeded.
- The 435M-parameter DeBERTA-v3 model matched or slightly outperformed the 7x-larger MonoT5-3B model on three of five datasets, despite using only 100 re-ranked documents.
- Training and inference costs were drastically reduced: query generation cost was under $10 per collection using cloud GPUs, and re-ranking 100 documents with MiniLM achieved sub-second latency on an RTX 3090.
- All-domain pretraining followed by fine-tuning on consistency-checked data was critical for enabling small models to outperform BM25, resolving the failure of standard InPars on small models.
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.