NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

DADA: Distribution-Aware Domain Adaptation of PLMs for Information Retrieval

Dohyeon Lee, Jongyoon Kim, seung-won hwang, Joonsuk ParkACL 2024

Abstract

Pre-trained language models (PLMs) exhibit promise in retrieval tasks but struggle with out-of-domain data due to distribution shifts. Addressing this, generative domain adaptation (DA), known as GPL, tackles distribution shifts by generating pseudo queries and labels to train models for predicting query-document relationships in new domains. However, it overlooks the domain distribution, causing the model to struggle with aligning the distribution in the target domain. We, therefore, propose a Distribution-Aware Domain Adaptation (DADA) to guide the model to consider the domain distribution knowledge at the level of both a single document and the corpus, which is referred to as observation-level feedback and domain-level feedback, respectively. Our method effectively adapts the model to the target domain and expands document representation to unseen gold query terms using domain and observation feedback, as demonstrated by empirical results on the BEIR benchmark.

Introduction

Modern search engines rely heavily on Pre-trained Language Models (PLMs) like BERT. While these models excel in domains similar to their training data, they often suffer from a "home-field advantage" problem, where performance drops significantly on out-of-domain (OOD) data—such as specialized medical or financial corpora.

The current state-of-the-art approach for domain adaptation is Generative Pseudo-query Learning (GPL). GPL generates synthetic queries for documents in the target domain to train the model. However, these generated queries often fail to capture the specific vocabulary and term distributions of the new domain, frequently missing "gold query terms"—the actual terms users employ—because they may not appear in the document or were rare in the model's initial training set.

The DADA Framework

To address these limitations, we propose DADA (Distribution-Aware Domain Adaptation). Unlike GPL, which relies solely on generated data, DADA incorporates "multi-level feedback" during the training process to align the model with the target domain's distribution.

Overview of the DADA framework architecture.

DADA introduces a Multi-level Feedback Vector that creates a target distribution for each document using two signals:

  1. Observation-level Feedback: Utilizes sparse expansion methods (like SPLADE) to identify synonyms and related terms that should be associated with a document, even if they aren't explicitly present.
  2. Domain-level Feedback: Calculates Inverse Document Frequency (IDF) from the target corpus to identify distinctive terms within that specific field.

These signals are combined into a unified distribution. A new loss term, $L_{DADA}$, is added to the objective function, forcing the model's internal document representations to align with this distributional ground truth. Furthermore, a curriculum learning strategy is employed, starting training with documents that closely match the overall domain distribution before moving to more unique cases.

Experimental Results

We evaluated DADA on five diverse datasets from the BEIR benchmark (SciFact, SciDocs, FiQA, NFCorpus, and Robust04), using MS-MARCO as the source domain.

DADA achieved consistent improvements in ranking quality (nDCG@10) across various retriever architectures, including coCondenser, COCO-DR, and TAS-B. A key finding was the significant increase in "recall on gold query terms," particularly for "unseen" terms—critical keywords that users search for but which are absent from the source document.

Recall on gold query terms across OOD datasets.

Conclusion

DADA effectively bridges the vocabulary gap in domain adaptation by "reading the room"—incorporating corpus-level distributional insights directly into the model's loss function. Notably, DADA provides these benefits with zero-cost inference, as the distributional alignment occurs entirely during the training phase. Future work will explore integrating these distributional signals directly into the query generation process.

Summary updated

BibTeX
@inproceedings{lee2024dada,
  author = {Dohyeon Lee and Jongyoon Kim and seung-won hwang and Joonsuk Park},
  title = {{DADA: Distribution-Aware Domain Adaptation of PLMs for Information Retrieval}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2024},
  url = {https://openreview.net/forum?id=8rDb1R3BTq},
}
Figure