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

重新思考长文档检索的块大小:多数据集分析

Rethinking Chunk Size For Long-Document Retrieval: A Multi-Dataset Analysis

Sinchana Ramakanth Bhat, Max Rudat, Jannis Spiekermann, Nicolas Flores-Herr

AI总结:

本研究系统评估了固定大小分块策略对长文档检索性能的影响,发现较小块适用于事实型数据集、较大块适用于需广泛上下文的数据集,且不同嵌入模型对块大小表现出不同的敏感性。

摘要:

分块是检索增强生成(RAG)系统中关键的预处理步骤,对跨多种数据集的检索效果有显著影响。在本研究中,我们系统评估了固定大小分块策略及其对检索性能的影响,并使用了多种嵌入模型。我们在短篇和长篇数据集上进行的实验表明,块大小在检索效果中起关键作用——较小的块(64-128 tokens)对于包含简洁、基于事实答案的数据集是最佳的,而较大的块(512-1024 tokens)则改善了需要更广泛上下文理解的数据集的检索。我们还分析了分块对不同嵌入模型的影响,发现它们表现出不同的分块敏感性。像Stella这样的模型受益于较大的块,利用全局上下文进行长距离检索,而Snowflake在较小的块上表现更好,擅长细粒度的、基于实体的匹配。我们的结果强调了块大小、嵌入模型和数据集特征之间的权衡,突出了改进块质量度量以及更全面的数据集以推进长文档信息检索(IR)中基于块的检索的必要性。

英文摘要:

Chunking is a crucial preprocessing step in retrieval-augmented generation (RAG) systems, significantly impacting retrieval effectiveness across diverse datasets. In this study, we systematically evaluate fixed-size chunking strategies and their influence on retrieval performance using multiple embedding models. Our experiments, conducted on both short-form and long-form datasets, reveal that chunk size plays a critical role in retrieval effectiveness -- smaller chunks (64-128 tokens) are optimal for datasets with concise, fact-based answers, whereas larger chunks (512-1024 tokens) improve retrieval in datasets requiring broader contextual understanding. We also analyze the impact of chunking on different embedding models, finding that they exhibit distinct chunking sensitivities. While models like Stella benefit from larger chunks, leveraging global context for long-range retrieval, Snowflake performs better with smaller chunks, excelling at fine-grained, entity-based matching. Our results underscore the trade-offs between chunk size, embedding models, and dataset characteristics, emphasizing the need for improved chunk quality measures, and more comprehensive datasets to advance chunk-based retrieval in long-document Information Retrieval (IR).

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

↑