[Paper Review] SimLM: Pre-training with Representation Bottleneck for Dense Passage Retrieval
SimLM proposes a simple yet effective pre-training method for dense passage retrieval using a representation bottleneck architecture with replaced language modeling. By forcing the [CLS] token to compress essential passage semantics for reconstruction, it achieves state-of-the-art performance on MS-MARCO and NQ, outperforming even multi-vector models like ColBERTv2 with lower storage costs.
In this paper, we propose SimLM (Similarity matching with Language Model pre-training), a simple yet effective pre-training method for dense passage retrieval. It employs a simple bottleneck architecture that learns to compress the passage information into a dense vector through self-supervised pre-training. We use a replaced language modeling objective, which is inspired by ELECTRA, to improve the sample efficiency and reduce the mismatch of the input distribution between pre-training and fine-tuning. SimLM only requires access to unlabeled corpus, and is more broadly applicable when there are no labeled data or queries. We conduct experiments on several large-scale passage retrieval datasets, and show substantial improvements over strong baselines under various settings. Remarkably, SimLM even outperforms multi-vector approaches such as ColBERTv2 which incurs significantly more storage cost. Our code and model check points are available at https://github.com/microsoft/unilm/tree/master/simlm .
Motivation & Objective
- To address the inconsistency between NLU pre-training benchmarks and dense retrieval performance, where models like RoBERTa and ELECTRA do not generalize well to retrieval tasks.
- To improve sample efficiency and reduce input distribution mismatch between pre-training and fine-tuning by replacing masked language modeling with a replaced language modeling objective.
- To train a robust biencoder-based retriever that captures both semantic and lexical information through a compressed [CLS] representation bottleneck.
- To enable effective pre-training without labeled queries or synthetic data, using only unlabeled corpora.
- To achieve strong retrieval performance comparable to or better than expensive multi-vector models like ColBERTv2, while reducing storage costs.
Proposed method
- SimLM uses an encoder-decoder architecture with a representation bottleneck at the [CLS] token, where the encoder compresses passage information into a dense vector.
- It employs a replaced language modeling objective inspired by ELECTRA: masked tokens are replaced with generator-sampled tokens, and the decoder predicts the original tokens from the bottleneck representation.
- The decoder has limited capacity, forcing it to rely on the bottleneck for accurate reconstruction, which encourages the encoder to learn a rich, compressed representation.
- The pre-training objective computes loss over all input tokens, not just masked ones, improving sample efficiency and reducing distribution shift from fine-tuning.
- The method does not require any contrastive learning or synthetic queries, relying only on plain text for pre-training.
- The final model is fine-tuned on labeled retrieval data using standard biencoder training with negative sampling.
Experimental results
Research questions
- RQ1Can a simple representation bottleneck with replaced language modeling pre-training improve dense passage retrieval performance without requiring labeled data?
- RQ2Does replacing masked language modeling with a replaced language modeling objective reduce input distribution mismatch and improve sample efficiency?
- RQ3Can a single [CLS] vector bottleneck effectively capture all essential passage semantics for retrieval, outperforming multi-vector approaches?
- RQ4How does pre-training on the target corpus compare to pre-training on non-target or general corpora in terms of downstream retrieval performance?
- RQ5Can SimLM achieve state-of-the-art results with lower storage cost than models like ColBERTv2?
Key findings
- SimLM achieves MRR@10 of 38.0 on the MS-MARCO dev set when pre-trained on the MS-MARCO corpus, a significant improvement over BERT-base's 33.7.
- On the Natural Questions dataset, SimLM achieves R@1k of 98.3 with mined hard negatives, outperforming the baseline BERT-base model.
- SimLM converges faster than standard masked language modeling, reaching competitive performance in only 10k training steps, while MLM continues improving slowly beyond 60k steps.
- Pre-training on the target corpus yields the largest gains, but even pre-training on non-target corpora like Wikipedia or MS-MARCO still improves over the BERT-base baseline.
- SimLM outperforms ColBERTv2 in retrieval performance while requiring significantly less storage, demonstrating its efficiency and effectiveness.
- Qualitative analysis shows that SimLM retrieves passages with better semantic alignment and captures key intent, such as routing numbers in financial queries, where BERT-base fails.
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.