Introduction
Dense passage retrieval has revolutionized Information Retrieval (IR) by mapping queries and documents into a shared vector space. While pre-trained language models (PLMs) like BERT and RoBERTa serve as the backbone for these systems, a significant performance gap exists between Natural Language Understanding (NLU) and retrieval tasks.
As shown in the data above, models that excel in GLUE benchmarks, such as RoBERTa and ELECTRA, often underperform BERT in retrieval tasks like MS-MARCO. This suggests that standard pre-training objectives do not necessarily optimize for the sequence-level compression required to represent a whole passage in a single dense vector (typically the [CLS] token).
The SimLM Approach
SimLM (Similarity matching with Language Model pre-training) addresses this by introducing a representation bottleneck during pre-training to force better global sequence encoding.
1. Representation Bottleneck
SimLM employs an asymmetric architecture consisting of a deep Transformer encoder and a shallow, 2-layer decoder. The encoder is tasked with condensing the input passage into a single bottleneck vector. The shallow decoder must then reconstruct the original text using only this vector and the noisy input. By intentionally limiting the decoder's capacity, the model forces the encoder to capture the most salient global information, preventing the decoder from relying on its own internal parameters to "guess" the content.
2. Replaced Language Modeling (RLM)
Instead of standard Masked Language Modeling (MLM), SimLM uses Replaced Language Modeling. A small generator model replaces a subset of tokens with plausible alternatives. The encoder-decoder pair must then recover the original tokens. This approach is more sample-efficient as it requires the model to reason about every token position, and it eliminates the train-test discrepancy caused by the [MASK] token.
Experimental Evaluation
The researchers evaluated SimLM on several large-scale benchmarks, including MS-MARCO (8.8M passages), TREC Deep Learning (2019/2020), and Natural Questions (NQ) (21M Wikipedia passages).
Key Results and Insights
SimLM achieves state-of-the-art results across all tested benchmarks:
- Superior Retrieval Accuracy: On MS-MARCO, SimLM reached an MRR@10 of 41.1, significantly outperforming previous single-vector models like coCondenser (38.2) and even multi-vector models like ColBERTv2 (39.7).
- Efficiency: By utilizing a single-vector representation, SimLM reduces storage requirements by up to 6x compared to multi-vector approaches while maintaining higher accuracy.
- Rapid Convergence: SimLM demonstrates high training efficiency, reaching competitive performance levels in significantly fewer steps than standard MLM-based pre-training.
Conclusion
SimLM demonstrates that architectural constraints—specifically a representation bottleneck—can significantly enhance a model's ability to generate high-quality dense representations for retrieval. By forcing the encoder to compress information for a weak decoder, SimLM bridges the gap between NLU and IR. Future work will explore scaling these models and applying the bottleneck principle to multilingual retrieval scenarios.
Summary updated