Introduction
In the field of Information Retrieval (IR), dense retrieval has emerged as a dominant paradigm. This approach maps queries and documents into a shared high-dimensional embedding space, where relevance is determined by vector proximity. However, standard pre-training objectives like Masked Language Modeling (MLM) used in models such as BERT are optimized for token-level understanding rather than holistic sentence-level representation. While contrastive learning has been employed to bridge this gap, it often requires complex data augmentation and significant memory resources for negative sampling.
RetroMAE introduces a streamlined, asymmetric Masked Auto-Encoder (MAE) framework specifically designed to "force" the model to learn high-quality sentence embeddings. By utilizing an extremely bottlenecked reconstruction task, RetroMAE sets new performance benchmarks for dense retrieval models.
Methodology
The core of RetroMAE is an asymmetric architecture defined by three primary pillars: a novel workflow, an asymmetric structure, and aggressive masking ratios.
Asymmetric Architecture and Workflow
The framework processes an input sentence through two different "polluted" versions. The Encoder (a full-scale 12-layer BERT-base) processes one masked version to produce a single sentence embedding via the [CLS] token. The Decoder then receives a second, more aggressively masked version of the same sentence. Crucially, the decoder is a "weak" single-layer Transformer. This intentional weakness creates a bottleneck: the decoder cannot reconstruct the original text using its own limited capacity and must rely heavily on the rich semantic information provided by the encoder's embedding.
Enhanced Decoding and Masking
To maximize training efficiency, RetroMAE employs a two-stream attention mechanism for "Enhanced Decoding." Unlike standard MLM, which only generates training signals from the 15% of tokens that are masked, this mechanism allows the model to use 100% of the tokens as reconstruction targets. Furthermore, the masking ratios are asymmetric: while the encoder uses a standard 15–30% ratio, the decoder is subjected to aggressive masking of 50–70%, further emphasizing the importance of the encoder's latent representation.
Experimental Setup and Datasets
The models were pre-trained on standard corpora, including English Wikipedia and BookCorpus, as well as the MS MARCO corpus for in-domain analysis. Evaluation was conducted across several rigorous benchmarks:
- BEIR: A suite of 18 diverse retrieval datasets (e.g., TREC-COVID, BioASQ) used to evaluate zero-shot transfer performance.
- MS MARCO: A large-scale passage retrieval dataset derived from Bing search queries.
- Natural Questions (NQ): A dataset consisting of real-world Google search queries.
Key Results and Insights
RetroMAE achieved state-of-the-art results for BERT-base sized models, demonstrating significant improvements in both zero-shot and supervised settings.
Performance on BEIR
On the BEIR benchmark, RetroMAE achieved an average score of 45.2, representing a +4.5% improvement over the previous state-of-the-art model, Condenser. This highlights the model's exceptional ability to generalize to specialized domains (such as biomedical or news text) without additional fine-tuning.
Supervised Retrieval
When fine-tuned on MS MARCO, RetroMAE reached an MRR@10 of 41.6. This result is particularly notable as it outperforms more complex models while maintaining a standard BERT-base parameter count. The success of the model suggests that a "weak" decoder is a powerful tool for forcing encoders to capture deep semantic summaries.
Conclusion and Future Work
RetroMAE demonstrates that a simple, reconstruction-based auto-encoding task can outperform complex contrastive learning methods for dense retrieval. By creating a semantic bottleneck through an asymmetric architecture, the model produces highly discriminative sentence embeddings. Future research may explore scaling this approach to larger architectures (e.g., T5 or GPT-scale) and investigating the optimal relationship between decoder depth and task complexity for diverse downstream applications.
Summary updated