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

Trove:一个用于密集检索的灵活工具包

Trove: A Flexible Toolkit for Dense Retrieval

Brown University(布朗大学)

Reza Esfandiarpoor, Max Zuo, Stephen H. Bach

AI总结:

本文介绍了Trove,一个开源的密集检索工具包,通过动态数据管理、高度可定制组件和统一的多节点评估与推理流程,在简化实验的同时保持灵活性与速度,有效降低内存消耗并促进探索性研究。

摘要:

我们介绍了Trove,这是一个易于使用的开源检索工具包,它简化了研究实验,同时不牺牲灵活性或速度。我们首次引入了高效的数据管理功能,仅需几行代码即可动态加载和处理(过滤、选择、转换和组合)检索数据集。这赋予用户灵活性,使其能够轻松尝试不同的数据集配置,而无需计算和存储大型数据集的多个副本。Trove高度可定制:除了许多内置选项外,它还允许用户自由修改现有组件,或完全用用户自定义对象替换它们。它还提供了一个低代码且统一的评估和难负样本挖掘流程,支持多节点执行而无需任何代码更改。Trove的数据管理功能将内存消耗降低了2.6倍。此外,Trove易于使用的推理流程不会产生开销,且推理时间随可用节点数量线性减少。最重要的是,我们展示了Trove如何简化检索实验并允许任意自定义,从而促进探索性研究。

英文摘要:

We introduce Trove, an easy-to-use open-source retrieval toolkit that simplifies research experiments without sacrificing flexibility or speed. For the first time, we introduce efficient data management features that load and process (filter, select, transform, and combine) retrieval datasets on the fly, with just a few lines of code. This gives users the flexibility to easily experiment with different dataset configurations without the need to compute and store multiple copies of large datasets. Trove is highly customizable: in addition to many built-in options, it allows users to freely modify existing components or replace them entirely with user-defined objects. It also provides a low-code and unified pipeline for evaluation and hard negative mining, which supports multi-node execution without any code changes. Trove's data management features reduce memory consumption by a factor of 2.6. Moreover, Trove's easy-to-use inference pipeline incurs no overhead, and inference times decrease linearly with the number of available nodes. Most importantly, we demonstrate how Trove simplifies retrieval experiments and allows for arbitrary customizations, thus facilitating exploratory research.

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

↑