We present systematic efforts in building long-context multilingual text representation model (TRM) and reranker from scratch for text retrieval. We first introduce a text encoder (base size) enhanced with RoPE and unpadding, pre-trained in a native 8192-token context (longer than 512 of previous multilingual encoders). Then we construct a hybrid TRM and a cross-encoder reranker by contrastive learning. Evaluations show that our text encoder outperforms the same-sized previous state-of-the-art XLM-R. Meanwhile, our TRM and reranker match the performance of large-sized state-of-the-art BGE-M3 models and achieve better results on long-context retrieval benchmarks. Further analysis demonstrate that our proposed models exhibit higher efficiency during both training and inference. We believe their efficiency and effectiveness could benefit various researches and industrial applications.
mMARCO: A Multilingual Version of the MS MARCO Passage Ranking Dataset
Univ. of Campinas(坎皮纳斯大学);NeuralMind(NeuralMind公司);Zeta Alpha(Zeta Alpha公司);Univ. of Waterloo(滑铁卢大学)
MS MARCO排名数据集已被广泛用于训练IR任务的深度学习模型,在各种zero-shot场景中取得了相当大的效果。然而,这种类型的资源在英语以外的语言中是稀缺的。在这项工作中,我们提出了mMARCO,MS MARCO通道排名数据集的多语言版本,包括13种语言,使用机器翻译创建。我们通过微调单语和多语言重新排序模型以及该数据集上的多语言稠密检索模型来评估mMARCO。我们还在Mr. TyDi数据集上的zero-shot场景中评估了使用mMARCO数据集进行微调的模型,证明了在我们翻译的数据集上进行微调的多语言模型比仅在原始英文版本上进行微调的模型具有更好的有效性。我们的实验还表明,一个蒸馏的多语言reranker是有竞争力的非蒸馏模型,同时具有5.4倍少的参数。最后,我们显示了翻译质量和检索效果之间的正相关性,提供证据表明,翻译方法的改进可能会导致多语言信息检索的改进。翻译的数据集和微调的模型可在https://github.com/unicamp-dl/mMARCO上获得。