Skip to main content
QUICK REVIEW

[Paper Review] Disentangled Modeling of Domain and Relevance for Adaptable Dense Retrieval

Jingtao Zhan, Qingyao Ai|arXiv (Cornell University)|Aug 11, 2022
Domain Adaptation and Few-Shot LearningComputer Science6 citations
TL;DR

This paper proposes Disentangled Dense Retrieval (DDR), a novel framework that decouples relevance estimation from domain-specific modeling to enable effective and flexible domain adaptation in dense retrieval. By training a domain-invariant Relevance Estimation Module (REM) once with supervised data and adapting a Domain Adaption Module (DAM) unsupervisedly per target domain, DDR significantly improves out-of-domain retrieval performance over strong baselines, especially in low-resource or unseen domains.

ABSTRACT

Recent advance in Dense Retrieval (DR) techniques has significantly improved the effectiveness of first-stage retrieval. Trained with large-scale supervised data, DR models can encode queries and documents into a low-dimensional dense space and conduct effective semantic matching. However, previous studies have shown that the effectiveness of DR models would drop by a large margin when the trained DR models are adopted in a target domain that is different from the domain of the labeled data. One of the possible reasons is that the DR model has never seen the target corpus and thus might be incapable of mitigating the difference between the training and target domains. In practice, unfortunately, training a DR model for each target domain to avoid domain shift is often a difficult task as it requires additional time, storage, and domain-specific data labeling, which are not always available. To address this problem, in this paper, we propose a novel DR framework named Disentangled Dense Retrieval (DDR) to support effective and flexible domain adaptation for DR models. DDR consists of a Relevance Estimation Module (REM) for modeling domain-invariant matching patterns and several Domain Adaption Modules (DAMs) for modeling domain-specific features of multiple target corpora. By making the REM and DAMs disentangled, DDR enables a flexible training paradigm in which REM is trained with supervision once and DAMs are trained with unsupervised data. Comprehensive experiments in different domains and languages show that DDR significantly improves ranking performance compared to strong DR baselines and substantially outperforms traditional retrieval methods in most scenarios.

Motivation & Objective

  • Address the performance degradation of dense retrieval (DR) models in out-of-domain settings due to domain shift.
  • Overcome the limitation of existing DR models that jointly learn relevance and domain-specific features, making them inflexible for new domains.
  • Enable effective domain adaptation without requiring labeled data in each target domain, reducing reliance on costly annotation.
  • Decouple the learning of domain-invariant relevance patterns from domain-specific features to support modular, scalable adaptation.
  • Design a training and inference framework that maintains high effectiveness while minimizing computational and parameter overhead.

Proposed method

  • Propose a disentangled architecture with two components: a Relevance Estimation Module (REM) for domain-invariant matching and Domain Adaption Modules (DAMs) for domain-specific features.
  • Train REM once using supervised data from a source domain to learn general relevance patterns, independent of domain-specific characteristics.
  • Train each DAM on target-domain corpora using only unsupervised data, allowing domain-specific adaptation without labeled pairs.
  • Implement disentangled finetuning (DF) to prevent REM from learning domain-specific features during training, enhancing generalization.
  • Apply sequential initialization (SI) to initialize DAMs with the source-domain DAM weights rather than random or BERT checkpoints, improving compatibility with REM.
  • Use parameter-efficient fine-tuning methods (LoRA and PA) to minimize additional parameters and inference overhead during DAM adaptation.

Experimental results

Research questions

  • RQ1Can disentangling relevance estimation from domain modeling improve the generalization of dense retrieval models across diverse, unseen domains?
  • RQ2How effective is a single, once-trained REM in maintaining performance across multiple out-of-domain settings without retraining?
  • RQ3To what extent can unsupervised fine-tuning of DAMs on target-domain corpora mitigate domain shift compared to standard DR fine-tuning?
  • RQ4What optimization techniques (e.g., disentangled finetuning, sequential initialization) are most effective in stabilizing and improving the performance of the disentangled framework?
  • RQ5How does the choice of parameter-efficient fine-tuning method (LoRA vs. PA) affect performance across different languages and domains?

Key findings

  • DDR achieves significant improvements in R@1000 over strong DR baselines, with gains of up to 12.6% on out-of-domain datasets like CPR-Medical (zh) and Lotte-Sci (en).
  • DDR outperforms traditional retrieval methods like BM25 in most out-of-domain scenarios, demonstrating its effectiveness in low-resource or unseen domains.
  • The ablation study confirms that removing disentangled finetuning (DF) reduces REM generalization, leading to a 5.5% drop in performance on average across domains.
  • Sequential initialization (SI) improves DAM-REM compatibility, with DDR\SI outperforming DDR\DF by 2.5% on average in R@1000 across datasets.
  • LoRA and PA parameter-efficient fine-tuning methods result in minimal inference overhead, with LoRA achieving zero additional computation and PA adding only marginal cost.
  • The framework shows strong cross-lingual generalization, with PA outperforming LoRA on Chinese datasets and LoRA on English datasets, suggesting language-specific optimization patterns.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.