ListConRanker:一种采用列表式编码的对比型文本重排序器
ListConRanker: A Contrastive Text Reranker with Listwise Encoding
AI总结:
针对传统文本重排序器逐点编码缺乏段落对比、交叉熵损失训练效率低的问题,提出采用列表式编码和圆损失训练的ListConRanker,在中文重排序基准上达到SOTA性能。
摘要:
重排序器模型旨在根据给定查询与段落之间的语义相似度对段落进行重排序,近年来随着检索增强生成(Retrieval-Augmented Generation)的广泛应用,这类模型受到了更多关注。以往大多数方法采用逐点编码,即模型每次输入一个段落时,只能编码该段落对应的查询上下文。但对于重排序器模型而言,给定查询时,段落之间的比较结果更为重要,这一机制被称为列表式编码。此外,以往模型采用交叉熵损失函数训练,存在训练过程中梯度变化不平滑、训练效率低的问题。针对这些问题,我们提出了一种新型的列表编码对比文本重排序器(Listwise-encoded Contrastive text reRanker,ListConRanker)。它能在编码过程中让当前段落与其他段落进行比较,增强正例之间以及正例与负例之间的对比信息。同时,我们使用圆损失(circle loss)训练模型,以提升梯度的灵活性,解决训练效率问题。实验结果表明,ListConRanker在中文大规模文本嵌入基准(Chinese Massive Text Embedding Benchmark)的重排序基准上取得了当前最优性能,涉及的数据集包括cMedQA1.0、cMedQA2.0、MMarcoReranking和T2Reranking。
英文摘要:
Reranker models aim to re-rank the passages based on the semantics similarity between the given query and passages, which have recently received more attention due to the wide application of the Retrieval-Augmented Generation. Most previous methods apply pointwise encoding, meaning that it can only encode the context of the query for each passage input into the model. However, for the reranker model, given a query, the comparison results between passages are even more important, which is called listwise encoding. Besides, previous models are trained using the cross-entropy loss function, which leads to issues of unsmooth gradient changes during training and low training efficiency. To address these issues, we propose a novel Listwise-encoded Contrastive text reRanker (ListConRanker). It can help the passage to be compared with other passages during the encoding process, and enhance the contrastive information between positive examples and between positive and negative examples. At the same time, we use the circle loss to train the model to increase the flexibility of gradients and solve the problem of training efficiency. Experimental results show that ListConRanker achieves state-of-the-art performance on the reranking benchmark of Chinese Massive Text Embedding Benchmark, including the cMedQA1.0, cMedQA2.0, MMarcoReranking, and T2Reranking datasets.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。