arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.19669cs.CLcs.IR
收藏

mGTE:用于多语言文本检索的通用长上下文文本表示与重排序模型

mGTE: Generalized Long-Context Text Representation and Reranking Models for Multilingual Text Retrieval

Tongyi Lab, Alibaba Group(阿里巴巴集团通义实验室);The Hong Kong Polytechnic University(香港理工大学)

Xin Zhang, Yanzhao Zhang, Dingkun Long, Wen Xie, Ziqi Dai, Jialong Tang, Huan Lin, Baosong Yang, Pengjun Xie, Fei Huang, Meishan Zhang, Wenjie Li, Min Zhang

AI总结:

本文从零构建了长上下文多语言文本表示模型与重排序器,通过引入支持8192-token的编码器及对比学习,在匹配甚至超越大规模模型性能的同时显著提升了训练与推理效率。

摘要:

我们介绍了从零构建用于文本检索的长上下文多语言文本表示模型(TRM)和重排序器的系统性工作。我们首先引入一个增强有RoPE和unpadding的文本编码器(基础尺寸),在原生8192-token上下文中预训练(长于以往多语言编码器的512)。接着通过对比学习构建混合TRM和交叉编码器重排序器。评估表明,我们的文本编码器优于同等尺寸的以往最先进XLM-R。同时,我们的TRM和重排序器匹配了大规模最先进BGE-M3模型的性能,并在长上下文检索基准上取得更好结果。进一步分析表明,我们提出的模型在训练和推理期间均展现出更高效率。我们相信其效率与有效性将惠及各种研究与工业应用。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑