arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2207.01262cs.IRcs.CL
收藏

长文档排序中的位置偏差:影响、评估与缓解

Positional Bias in Long-Document Ranking: Impact, Assessment, and Mitigation

Independent Researcher(独立研究者);Louisiana State University(路易斯安那州立大学);Carnegie Mellon University(卡内基梅隆大学)

Leonid Boytsov, David Akinpelu, Nipun Katyal, Tianyi Lin, Fangwei Gao, Yutian Zhao, Jeffrey Huang, Eric Nyberg

AI总结:

针对长文档排序模型性能提升有限的问题,研究发现是基准测试的位置偏差所致,通过分析多数据集偏差分布、构建诊断数据集验证假设,并指出基准设计、鲁棒模型识别及去偏差训练的重要性。

摘要:

我们测试了20多种用于长文档排序的Transformer模型(包括使用FlashAttention训练的最新LongP模型,以及由OpenAI和Anthropic云API“驱动”的RankGPT模型),并将它们与简单的FirstP基线进行比较——FirstP基线将同一模型应用于截断输入(最多512个token)。在MS MARCO、TREC DL和Robust04数据集上,没有任何长文档模型的平均性能比FirstP高出5%以上。我们假设这种改进不足并非源于模型固有的局限性,而是由于基准测试的位置偏差(大多数相关段落往往出现在文档早期),这一现象在MS MARCO中已被证实存在。为验证该假设,我们分析了四个长文档语料库(含六个查询集)的位置相关性分布,观察到了相同的早期位置偏差;令人惊讶的是,在通常被归类为短文档数据集的六个BEIR集合中,我们也发现了这种偏差。随后,我们引入了一个新的诊断数据集MS MARCO FarRelevant,其中相关跨度被刻意放置在首个512个token之后。在该数据集上,许多长上下文模型(包括RankGPT)的性能仅达到随机基线水平,表明它们过度拟合了位置偏差。我们还尝试对训练数据进行去偏差处理,但效果有限。我们的研究结果(1)强调了在评估长上下文文档排序模型时需谨慎设计基准测试,(2)识别出了对位置偏差更具鲁棒性的模型类型,(3)推动了针对训练数据去偏差方法的进一步研究。我们已发布代码和数据以支持后续研究。

英文摘要:

We tested over 20 Transformer models for ranking long documents (including recent LongP models trained with FlashAttention and RankGPT models "powered" by OpenAI and Anthropic cloud APIs). We compared them with the simple FirstP baseline, which applied the same model to truncated input (up to 512 tokens). On MS MARCO, TREC DL, and Robust04 no long-document model outperformed FirstP by more than 5% (on average). We hypothesized that this lack of improvement is not due to inherent model limitations, but due to benchmark positional bias (most relevant passages tend to occur early in documents), which is known to exist in MS MARCO. To confirm this, we analyzed positional relevance distributions across four long-document corpora (with six query sets) and observed the same early-position bias. Surprisingly, we also found bias in six BEIR collections, which are typically categorized as short-document datasets. We then introduced a new diagnostic dataset, MS MARCO FarRelevant, where relevant spans were deliberately placed beyond the first 512 tokens. On this dataset, many long-context models (including RankGPT) performed at random-baseline level, suggesting overfitting to positional bias. We also experimented with debiasing training data, but with limited success. Our findings (1) highlight the need for careful benchmark design in evaluating long-context models for document ranking, (2) identify model types that are more robust to positional bias, and (3) motivate further work on approaches to debias training data. We release our code and data to support further research.

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

↑