Influence Guided Sampling for Domain Adaptation of Text Retrievers
Meet Doshi, Vishwajeet Kumar, Yulong Li, Jaydeep Sen
TL;DR
This paper tackles how to sample from diverse training corpora to adapt text retrievers to target domains. It introduces Inf-DDS, a bilevel reinforcement-learning framework that uses online influence scores as rewards to learn a data-sampling policy, while reusing computations via a Reptile-style update to keep compute efficient. Across BEIR, MLDR, and Sentence-Transformers datasets, Inf-DDS delivers superior or competitive improvements in NDCG@10 compared with static, gradient-based, and clustering baselines, and exhibits stable, interpretable sampling trajectories. The approach reduces GPU hours relative to some baselines and demonstrates strong capacity for cross-domain and multilingual adaptation, pointing to practical gains for large-scale dense retrieval systems.
Abstract
General-purpose open-domain dense retrieval systems are usually trained with a large, eclectic mix of corpora and search tasks. How should these diverse corpora and tasks be sampled for training? Conventional approaches sample them uniformly, proportional to their instance population sizes, or depend on human-level expert supervision. It is well known that the training data sampling strategy can greatly impact model performance. However, how to find the optimal strategy has not been adequately studied in the context of embedding models. We propose Inf-DDS, a novel reinforcement learning driven sampling framework that adaptively reweighs training datasets guided by influence-based reward signals and is much more lightweight with respect to GPU consumption. Our technique iteratively refines the sampling policy, prioritizing datasets that maximize model performance on a target development set. We evaluate the efficacy of our sampling strategy on a wide range of text retrieval tasks, demonstrating strong improvements in retrieval performance and better adaptation compared to existing gradient-based sampling methods, while also being 1.5x to 4x cheaper in GPU compute. Our sampling strategy achieves a 5.03 absolute NDCG@10 improvement while training a multilingual bge-m3 model and an absolute NDCG@10 improvement of 0.94 while training all-MiniLM-L6-v2, even when starting from expert-assigned weights on a large pool of training datasets.
