Unsupervised Context Aware Sentence Representation Pretraining for Multi-lingual Dense Retrieval
Unsupervised Context Aware Sentence Representation Pretraining for Multi-lingual Dense Retrieval
Ning Wu, Yaobo Liang, Houxing Ren, Linjun Shou, Nan Duan, Ming Gong, Daxin Jiang
Proceedings of the Thirty-First International Joint Conference on Artificial Intelligence
Main Track. Pages 4411-4417.
https://doi.org/10.24963/ijcai.2022/612
Recent research demonstrates the effectiveness of using pretrained language models (PLM) to improve dense retrieval and multilingual dense retrieval. In this work, we present a simple but effective monolingual pretraining task called contrastive context prediction (CCP) to learn sentence representation by modeling sentence level contextual relation. By pushing the embedding of sentences in a local context closer and pushing random negative samples away, different languages could form isomorphic structure, then sentence pairs in two different languages will be automatically aligned. Our experiments show that model collapse and information leakage are very easy to happen during contrastive training of language model, but language-specific memory bank and asymmetric batch normalization operation play an essential role in preventing collapsing and information leakage, respectively. Besides, a post-processing for sentence embedding is also very effective to achieve better retrieval performance. On the multilingual sentence retrieval task Tatoeba, our model achieves new SOTA results among methods without using bilingual data. Our model also shows larger gain on Tatoeba when transferring between non-English pairs. On two multi-lingual query-passage retrieval tasks, XOR Retrieve and Mr.TYDI, our model even achieves two SOTA results in both zero-shot and supervised setting among all pretraining models using bilingual data.
Keywords:
Natural Language Processing: Information Retrieval and Text Mining
Natural Language Processing: Embeddings
Natural Language Processing: Machine Translation and Multilinguality