Learning List-Level Domain-Invariant Representations for Ranking

Ruicheng Xian, Honglei Zhuang, Zhen Qin, Hamed Zamani, Jing Lu, Ji Ma, Kai Hui, Han Zhao, Xuanhui Wang, Michael Bendersky

Introduction

Learning to Rank (LTR) serves as the core engine behind modern search engines and recommendation systems. However, these models frequently struggle with domain shift—when they are moved from a data-rich "source" domain (like general web search) to a low-resource "target" domain with distinct characteristics (like specialized medical or legal databases).

To address this, researchers rely on Domain Adaptation (DA), specifically invariant representation learning, which aims to make a model's internal features indistinguishable regardless of the data's origin domain. In this paper, researchers identify a critical flaw in how DA has been applied to ranking and introduce ListDA, a novel approach that aligns data at the list level rather than the item level. This shift not only establishes the first theoretical generalization bound for ranking adaptation but also achieves state-of-the-art performance on passage reranking tasks.

The Problem: Ignoring the "List-ness" of Ranking

The authors point out a major discrepancy in previous ranking DA efforts: they predominantly relied on item-level alignment. In this paradigm, every query-document pair is treated as an independent data point.

However, ranking is fundamentally about lists. Evaluation metrics like NDCG and MRR are calculated based on the relative order of items within a list, not on individual, isolated scores. By ignoring the intrinsic list structure of the data, previous DA methods were theoretically unsupported and empirically sub-optimal for ranking tasks.

Comparison of item-level and list-level alignment strategies.

The Solution: List-Level Domain Adaptation (ListDA)

To close this gap, the authors propose ListDA (List-level Domain Adaptation). Instead of forcing individual item representations to look identical across domains, ListDA aligns the distributions of entire lists of representations.

Key technical components of ListDA include:

  • Adversarial Training: The framework employs a "domain discriminator" tasked with guessing whether a list of features originated from the source or target domain. The ranking model (acting as the generator) is trained to fool this discriminator, thereby learning domain-invariant features.
  • Permutation-Invariant Discriminator: Because the specific order of items in an unranked list shouldn't change the list's inherent identity, the authors utilize a Transformer architecture for the discriminator. By using mean-pooling and omitting positional encodings, the model is forced to focus on the collective properties of the list rather than a specific sequence.

To handle the lack of labeled queries in target domains, the researchers utilized a query generator (QGen) to synthesize "fake" queries for target documents, successfully creating the list structures necessary for alignment.

Key Insights & Theoretical Grounding

The shift from item-level to list-level alignment yields several significant advantages:

  • Theoretical Support: By framing the ranking problem around a distribution of lists, the authors successfully adapted classic machine learning proofs (such as Ben-David’s bound) to the ranking context. This provides the first domain adaptation generalization bound specifically tailored for ranking, proving that minimizing list-level distribution distance directly limits target domain error.
  • The "List-ness" Hierarchy: Aligning the "cloud" of individual items (ItemDA) is a weaker requirement than aligning the structural integrity of lists (ListDA). If you successfully align the lists, you automatically align the items—but the reverse is not true.
  • Data Efficiency and Robustness: ListDA proved incredibly efficient. On datasets like TREC-COVID and Robust04, using as few as 100 target queries was sufficient to achieve near-maximum performance gains. Furthermore, because ListDA uses synthesized queries only to understand the distribution of the target domain rather than blindly trusting them as pseudo-labels, it is highly robust to noise and "false negatives" in synthetic data.

Empirical Results

The researchers evaluated ListDA primarily on unsupervised passage reranking, using MS MARCO (an 8M passage web dataset) as the source domain. Target domains included TREC-COVID (biomedical), BioASQ (biomedical QA), Robust04 (news), and Signal-1M (tweets). They also tested on tabular data via the Yahoo! LETOR web search challenge.

ListDA consistently outperformed both "Zero-shot" (no adaptation) baselines and ItemDA across benchmarks:

  • Robust04: Improved NDCG@20 from 0.4856 (Zero-shot) to 0.5126.
  • BioASQ: Achieved an NDCG@10 of 0.5714, significantly outperforming ItemDA (0.5343) and specialized text-ranking methods like QGen PL (0.5643).
  • Yahoo! LETOR: ListDA outperformed ItemDA across all metrics (MAP, MRR, NDCG), demonstrating that the list-level approach is a general-purpose improvement for diverse ranking tasks, not just text.

Limitations and Future Directions

While highly effective, ListDA does face challenges with extreme domain shifts. On the Signal-1M dataset, the structural gap between standard web search queries and 280-character tweets proved too large for unsupervised alignment to naturally bridge. Additionally, the adversarial training process effectively doubles training time compared to standard fine-tuning due to the required discriminator passes.

For future work, the authors suggest exploring "domain separation." This would involve explicitly disentangling domain-specific features (e.g., dense medical jargon) from domain-invariant features (e.g., general relevance signals) to push transferability even further.

Summary updated

BibTeX
@inproceedings{xian2023learning,
  author = {Ruicheng Xian and Honglei Zhuang and Zhen Qin and Hamed Zamani and Jing Lu and Ji Ma and Kai Hui and Han Zhao and Xuanhui Wang and Michael Bendersky},
  title = {{Learning List-Level Domain-Invariant Representations for Ranking}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=m21rQusNgb},
}
Figure