ConTextual Masked Auto-Encoder for Dense Passage Retrieval

Xing Wu, Guangyuan Ma, Meng Lin, Zijia Lin, Zhongyuan Wang +1 more
8/16/2022
36 citations
cs.CLcs.AI
contrastive-ssl

Official code: caskcsg/ir (37 stars, Python, Apache-2.0, last commit 2025-05-18).

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

caskcsg/irOfficial100%
Apache-2.0

Collections of IR Research

373Python, ShellSep 7, 20221 years agoApache-2.0
irsentence-transformers

Similar Papers

Cite this paper

@article{wu2022contextual,
  title  = {ConTextual Masked Auto-Encoder for Dense Passage Retrieval},
  author = {Xing Wu and Guangyuan Ma and Meng Lin and Zijia Lin and Zhongyuan Wang and Songlin Hu},
  year   = {2022},
  eprint = {2208.07670},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2208.07670v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2208.07670.svg)](https://codeofpaper.com/paper/2208.07670)

Discussion