CoT-MAE v2: Contextual Masked Auto-Encoder with Multi-view Modeling for Passage Retrieval

Xing Wu, Guangyuan Ma, Peng Wang, Meng Lin, Zijia Lin, Fuzheng Zhang, Songlin HuarXiv 2023 · DOI

Abstract

CoT-MAE v2 introduces a novel pre-training architecture designed to significantly enhance passage retrieval by integrating multi-view representations with multi-view decoding. By combining dense vectors for semantic context and sparse vectors for keyword importance, alongside reconstructive and generative decoding tasks, the model captures a more comprehensive understanding of language. CoT-MAE v2 achieves state-of-the-art results on major benchmarks, including MS-MARCO and the BEIR zero-shot suite, demonstrating robust generalization across diverse domains.

Introduction

Information retrieval has long faced a trade-off between sparse retrieval (e.g., BM25), which excels at precise keyword matching, and dense retrieval, which captures abstract semantic meanings. While sparse methods often struggle with vocabulary mismatch, dense methods can be overly "fuzzy," missing exact keyword matches crucial for specific queries.

Existing pre-training methods for retrieval typically rely on a single task, such as Masked Language Modeling (MLM). However, a single view is often insufficient to capture the linguistic complexity required for effective search. CoT-MAE v2 addresses these limitations by proposing a dual-view approach to both representation and decoding.

Methodology

CoT-MAE v2 introduces two primary innovations to the Contextual Masked Auto-Encoder framework:

1. Multi-view Representation

Instead of producing a single vector, the encoder generates two distinct views for each passage:

  • Dense Vector (DEN): Derived from the [CLS] token, this low-dimensional vector captures the overall semantic "gist."
  • Sparse Vector (SPR): Utilizing the SPLADE approach, this high-dimensional vector identifies specific vocabulary terms essential to the passage.

The final similarity score is calculated by summing the dot products of both views, allowing the model to act as both a semantic searcher and a precise keyword matcher.

2. Multi-view Decoding Paradigm

During pre-training, the model employs two "shallow" decoders to provide diverse supervision signals:

  • Auto-Encoding (AE-Dec): A reconstructive task (MLM) that predicts masked tokens based on context.
  • Auto-Regressive (AR-Dec): A generative task (Causal Language Modeling) that predicts the next token in a sequence.
Figure 1: The CoT-MAE v2 architecture featuring multi-view representations (CLS and SPR) and multi-view decoding (AE/AR-Dec).

These decoders are "contextual," leveraging information from surrounding passages to reconstruct the target. This "contextual bottleneck" forces the encoder to learn deep relationships within document structures, moving beyond standard BERT-style training.

Experimental Evaluation

The model was pre-trained on 3.2M MS-MARCO documents and a 5.6M subset of Wikipedia and BookCorpus. Evaluation spanned in-domain benchmarks (MS-MARCO, TREC DL) and the out-of-domain BEIR suite.

Key Results

CoT-MAE v2 sets new performance standards across multiple metrics:

  • MS-MARCO: The non-distilled model achieved an MRR@10 of 41.4, surpassing previous leaders like LexMAE (40.8) and the original CoT-MAE (39.4).
  • BEIR (Zero-Shot): The model demonstrated exceptional generalization with an average score of 49.9, significantly outperforming Contriever (46.6) and RetroMAE (46.9).
Figure 4: Performance comparison of CoT-MAE v2 against state-of-the-art models on MS-MARCO and TREC DL benchmarks.

Ablation studies confirmed that the multi-view approach remains efficient; even when reducing vector dimensions to match standard storage costs, CoT-MAE v2 maintains its performance edge over single-view models.

Conclusion and Future Work

CoT-MAE v2 demonstrates that combining complementary representation views and decoding biases leads to more robust text representations for retrieval. While the dual-vector system introduces some storage and indexing complexity, the gains in precision and semantic understanding are substantial. Future research will explore scaling this architecture to larger language models and incorporating additional pre-training paradigms to further refine the multi-view philosophy.

Summary updated

BibTeX
@misc{wu2023cot,
  author = {Xing Wu and Guangyuan Ma and Peng Wang and Meng Lin and Zijia Lin and Fuzheng Zhang and Songlin Hu},
  title = {{CoT-MAE v2: Contextual Masked Auto-Encoder with Multi-view Modeling for Passage Retrieval}},
  year = {2023},
  eprint = {2304.03158},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2304.03158},
}
Figure