Less is More: Pre-train a Strong Text Encoder for Dense Retrieval Using a Weak Decoder

Shuqi Lu, Di He, Chenyan Xiong, Guolin Ke, Waleed Malik +4 more
2/18/2021
cs.LG

Official code: microsoft/SEED-Encoder (46 stars, Python, MIT, last commit 2021-10-14).

Abstract

Dense retrieval requires high-quality text sequence embeddings to support effective search in the representation space. Autoencoder-based language models are appealing in dense retrieval as they train the encoder to output high-quality embedding that can reconstruct the input texts.

Show full abstract

However, in this paper, we provide theoretical analyses and show empirically that an autoencoder language model with a low reconstruction loss may not provide good sequence representations because the decoder may take shortcuts by exploiting language patterns. To address this, we propose a new self-learning method that pre-trains the autoencoder using a \textit{weak} decoder, with restricted capacity and attention flexibility to push the encoder to provide better text representations. Our experiments on web search, news recommendation, and open domain question answering show that our pre-trained model significantly boosts the effectiveness and few-shot ability of dense retrieval models. Our code is available at https://github.com/microsoft/SEED-Encoder/.

View on arXivView PDF

Code Implementations(1)

MIT
466Python, ShellApr 17, 20215 years agoMIT

Similar Papers

Cite this paper

@article{lu2021less,
  title  = {Less is More: Pre-train a Strong Text Encoder for Dense Retrieval Using a Weak Decoder},
  author = {Shuqi Lu and Di He and Chenyan Xiong and Guolin Ke and Waleed Malik and Zhicheng Dou and Paul Bennett and Tieyan Liu and Arnold Overwijk},
  year   = {2021},
  eprint = {2102.09206},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2102.09206}
}

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/2102.09206.svg)](https://codeofpaper.com/paper/2102.09206)

Discussion