Abstract
Neural ranking models typically require massive labeled datasets, posing a significant barrier for deployment in niche or private domains. We introduce MetaAdaptRank, a framework designed for few-shot domain adaptation in text ranking. MetaAdaptRank utilizes Contrastive Synthetic Supervision (CTSyncSup) to generate discriminative, ranking-aware training data and employs a meta-learning objective to automatically filter noisy synthetic signals. Our experiments across diverse domains—web, news, and biomedical—demonstrate that MetaAdaptRank significantly outperforms traditional IR methods and out-of-domain neural baselines.
Introduction
The success of Neural Information Retrieval (Neu-IR) models, such as those based on BERT, is largely attributed to large-scale datasets like MS MARCO. However, in many real-world applications, labeled data is scarce. Expert domains like medicine or law require costly professional labeling, while privacy concerns often prevent the outsourcing of labeling for enterprise search. In these "few-shot" scenarios, powerful neural models often fail to surpass traditional, feature-based techniques like BM25.
Methodology: MetaAdaptRank
MetaAdaptRank addresses the data scarcity problem through two innovative mechanisms: contrastive generation and meta-reweighting.
Contrastive Synthetic Supervision (CTSyncSup)
Standard synthetic data generation often creates queries for a single document in isolation. MetaAdaptRank improves upon this by training a T5-based Natural Language Generation (NLG) model to produce queries that distinguish between a positive document and a negative (confusable) document. This "negative contrast" ensures that the synthetic queries are "ranking-aware," capturing the subtle nuances required for effective re-ranking.
Meta-Learning to Reweight Synthetic Data
Synthetic data is inherently noisy. Rather than relying on manual heuristics, MetaAdaptRank uses a meta-learning framework to automatically curate data. The process involves a nested optimization:
- Inner Loop: The neural ranker performs a trial update using a batch of weighted synthetic examples.
- Outer Loop: The updated model is evaluated on a small set of high-quality, real target labels.
- Update: The gradient of the target loss is used to adjust the weights of the synthetic data, effectively "learning to learn" which synthetic examples are most beneficial.
Experimental Evaluation
We evaluated MetaAdaptRank on three distinct TREC benchmarks representing different domains:
- ClueWeb09-B (Web): General web search.
- Robust04 (News): News article retrieval.
- TREC-COVID (BioMed): Specialized biomedical research papers.
These datasets represent few-shot environments, containing only a fraction of the queries found in standard source datasets like MS MARCO.
Key Results and Discussion
MetaAdaptRank demonstrated substantial improvements over both traditional and neural baselines.
- Performance Gains: MetaAdaptRank outperformed traditional IR methods (e.g., BM25 and Coor-Ascent) by over 15% in NDCG@20.
- Synthetic vs. Human Labels: On the Robust04 dataset, training on in-domain synthetic data yielded better results than training on out-of-domain human-labeled data from MS MARCO. This suggests that domain relevance can be more critical than label "purity."
- State-of-the-Art in COVID-19 Search: In the TREC-COVID Round 5 competition, MetaAdaptRank's single-model performance surpassed the top two fusion-based systems for new queries.
- Ablation Success: Ablation studies confirmed that both contrastive generation and meta-reweighting are essential; removing either component resulted in a significant performance drop.
Conclusion
MetaAdaptRank provides a powerful solution for adapting neural rankers to data-poor domains. By combining contrastive query generation with an automated meta-learning curation process, the framework bridges the gap between general-purpose search and specialized domain expertise. Future work will explore the integration of multiple source domains and the use of additional weak signals to further enhance adaptation.
Summary updated