Abstract
This paper introduces CoT-MoTE, a novel dual-encoder architecture designed to resolve the "discrimination issue" in passage retrieval. By utilizing specialized "textual experts"—dedicated feed-forward networks (FFNs) for queries and passages—while maintaining a shared attention mechanism, the model effectively captures the unique linguistic traits of short queries and long, context-heavy passages. Pre-trained within a contextual masked auto-encoder framework, CoT-MoTE achieves state-of-the-art performance on major benchmarks, including MS-MARCO and TREC DL, by balancing specialized representation with a shared semantic embedding space.
1. Introduction
In modern information retrieval, dual-encoders are the standard for mapping queries and passages into a high-dimensional embedding space. However, these models face a fundamental challenge: queries and passages are linguistically distinct. Queries are typically short fragments or questions, while passages are long, declarative paragraphs.
Existing architectures generally fall into two categories, both with significant drawbacks:
- Siamese Dual-Encoders: These share all parameters, making them effective at finding similarities but poor at distinguishing the unique traits of different text types.
- Fully Separated Dual-Encoders: These use independent models for queries and passages. While they capture unique traits, they often suffer from "embedding drift," where the two models diverge in the embedding space, degrading retrieval accuracy.
CoT-MoTE addresses this "discrimination issue" by finding a middle ground that models these differences without losing the shared semantic language necessary for matching.
2. Methodology
The core innovation of CoT-MoTE is the Mixture-of-Textual-Experts (MoTE) integrated into the Contextual Masked Auto-Encoder (CoT-MAE) framework.
2.1 Mixture-of-Textual-Experts (MoTE)
Unlike standard Transformers, CoT-MoTE splits the Feed-Forward Network (FFN) into two specialized experts:
- Q-FFN: Optimized for query-specific patterns.
- P-FFN: Optimized for passage-specific patterns.
Crucially, the Multi-Head Self-Attention layers remain shared. This ensures that the underlying mechanism for understanding word relationships is consistent across both text types, preventing the embedding drift seen in fully separated models.
2.2 Pre-training and Fine-tuning
The model is pre-trained using a bottleneck architecture where an encoder compresses text into a vector, and a shallow decoder reconstructs the original text or a generated "pseudo-query." This process forces the encoder to store type-specific knowledge in the FFN layers while using attention for general language modeling.
3. Experimental Results
CoT-MoTE was evaluated on industry-standard benchmarks, demonstrating superior performance across the board:
- MS-MARCO: Achieved an MRR@10 of 42.0, surpassing previous models like CoT-MAE v2 (41.4) and LexMAE (40.8).
- TREC Deep Learning: Reached nDCG@10 scores of 75.5 (2019) and 72.9 (2020).
- BEIR Benchmark: Showed strong zero-shot generalization across diverse domains, including medical and financial data.
4. Analysis and Insights
4.1 The "Goldilocks" Architecture
Quantitative analysis using KL and JS divergence confirms that CoT-MoTE preserves significantly more mutual information between query and passage embeddings than fully separated models. While Siamese models clump queries and passages too tightly, and separated models push them into isolated clusters, CoT-MoTE creates distinct but overlapping clusters—the ideal state for high-precision retrieval.
4.2 Expert Specialization
Ablation studies revealed that the experts are not interchangeable. When the passage expert was used to encode queries, performance dropped significantly, confirming that the FFNs successfully learned specialized, non-redundant linguistic traits.
5. Conclusion and Future Work
CoT-MoTE demonstrates that separating feed-forward parameters while sharing attention is a highly effective strategy for passage retrieval. While the current method involves computational overhead during pre-training due to pseudo-query generation, it sets a new standard for dual-encoder performance. Future research will explore curriculum learning to improve pre-training efficiency and further refine out-of-domain generalization.
Summary updated