[Paper Review] ConTextual Masked Auto-Encoder for Dense Passage Retrieval
This paper proposes CoT-MAE, a novel generative pre-training method for dense passage retrieval that uses an asymmetric encoder-decoder architecture with dual masked auto-encoding objectives: self-supervised masking within spans and context-supervised masking using neighboring span representations. The method achieves state-of-the-art performance on MS-MARCO, outperforming strong baselines like coCondenser and BERT by significant margins in retrieval effectiveness.
Dense passage retrieval aims to retrieve the relevant passages of a query from a large corpus based on dense representations (i.e., vectors) of the query and the passages. Recent studies have explored improving pre-trained language models to boost dense retrieval performance. This paper proposes CoT-MAE (ConTextual Masked Auto-Encoder), a simple yet effective generative pre-training method for dense passage retrieval. CoT-MAE employs an asymmetric encoder-decoder architecture that learns to compress the sentence semantics into a dense vector through self-supervised and context-supervised masked auto-encoding. Precisely, self-supervised masked auto-encoding learns to model the semantics of the tokens inside a text span, and context-supervised masked auto-encoding learns to model the semantical correlation between the text spans. We conduct experiments on large-scale passage retrieval benchmarks and show considerable improvements over strong baselines, demonstrating the high efficiency of CoT-MAE. Our code is available at https://github.com/caskcsg/ir/tree/main/cotmae.
Motivation & Objective
- To improve dense passage retrieval by enhancing text representation learning through a more effective pre-training method.
- To address the limitation of prior methods that focus only on single-text internal modeling by incorporating inter-span semantic correlations.
- To explore the effectiveness of generative pre-training with span-level context grounding for dense retrieval.
- To design a flexible, asymmetric encoder-decoder architecture that strengthens encoder representation through decoder dependency on context.
- To demonstrate that jointly modeling intra-span semantics and inter-span context improves retrieval performance.
Proposed method
- CoT-MAE uses an asymmetric encoder-decoder transformer architecture, with a deep encoder and a shallow decoder.
- It applies self-supervised masked auto-encoding on each span independently, reconstructing masked tokens using only unmasked tokens within the same span.
- It introduces context-supervised masked auto-encoding, where the decoder reconstructs a masked span using both its unmasked tokens and the encoded embedding of its neighboring span.
- The two objectives are jointly optimized via a masked language modeling (MLM) loss, with the decoder only used during pre-training.
- Span pairs are constructed from documents using a sampling strategy to form contextually relevant text pairs for training.
- The encoder is initialized from BERT, while the decoder is initialized from BERT layers or randomly, with ablation on initialization impact.
Experimental results
Research questions
- RQ1Can jointly modeling intra-span semantics and inter-span context through generative pre-training improve dense passage retrieval?
- RQ2How does context-supervised masked auto-encoding compare to self-supervised masking alone in enhancing text representation?
- RQ3What is the optimal depth and initialization strategy for the decoder in the asymmetric architecture?
- RQ4Does the asymmetric encoder-decoder design with context dependency lead to better encoder representations than symmetric or standard auto-encoding?
- RQ5Can this method generalize to improve retrieval performance across diverse query types and passage relevance patterns?
Key findings
- CoT-MAE achieves a MRR@10 of 38.2 on the MS-MARCO passage ranking dataset, significantly outperforming coCondenser (38.2) and BERT base.
- With a two-layer decoder, CoT-MAE achieves the best performance, showing that both too shallow and too deep decoders degrade results.
- Random weight initialization for the decoder leads to continued improvement after 600k training steps, while other initialization methods plateau earlier.
- The model shows strong qualitative gains, correctly retrieving semantically relevant passages even when baseline models retrieve passages with only token-level overlap.
- The method demonstrates robustness across different initialization and architecture choices, with consistent improvements over strong baselines.
- The ablation study confirms that context-supervised masking is crucial, as the model's performance degrades when only self-supervised masking is used.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.