arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2508.03555cs.IRcs.CL
收藏

PyLate:面向后期交互模型的灵活训练与检索

PyLate: Flexible Training and Retrieval for Late Interaction Models

LightOn Nancy France(LightOn Nancy);LightOn Paris France(LightOn Paris)

Antoine Chaffin, Raphaël Sourty

AI总结:

PyLate是一个基于Sentence Transformers的库,原生支持多向量后期交互模型,提供高效训练与检索,加速研究与应用,并已支持开发GTE-ModernColBERT等先进模型。

摘要:

神经排序已成为现代信息检索的基石。虽然单向量检索仍是主导范式,但它存在将所有信息压缩到单个向量中的缺陷。这种压缩导致在域外、长上下文和推理密集型检索任务中出现显著的性能下降。由ColBERT开创的多向量方法旨在通过保留每个词元的嵌入并使用MaxSim算子计算相似度来解决这些局限性。该架构已展现出优越的经验优势,包括增强的域外泛化能力、长上下文处理能力以及在复杂检索场景中的性能。尽管有这些令人信服的经验结果和明显的理论优势,但与单向量模型相比,后期交互模型的实际采用和公开可用性仍然较低,这主要是因为缺乏可访问且模块化的工具来训练和试验此类模型。为了弥合这一差距,我们推出了PyLate,这是一个基于Sentence Transformers构建的精简库,原生支持多向量架构,继承了其高效的训练、先进的日志记录和自动模型卡生成功能,同时只需对用户已熟悉的代码模板进行极少的代码更改。通过提供多向量特定功能(如高效索引),PyLate旨在加速后期交互模型的研究和实际应用,从而在现代信息检索系统中释放其全部潜力。最后,PyLate已经支持了最先进模型的开发,包括GTE-ModernColBERT和Reason-ModernColBERT,证明了其在研究和生产环境中的实用性。

英文摘要:

Neural ranking has become a cornerstone of modern information retrieval. While single vector search remains the dominant paradigm, it suffers from the shortcoming of compressing all the information into a single vector. This compression leads to notable performance degradation in out-of-domain, long-context, and reasoning-intensive retrieval tasks. Multi-vector approaches pioneered by ColBERT aim to address these limitations by preserving individual token embeddings and computing similarity via the MaxSim operator. This architecture has demonstrated superior empirical advantages, including enhanced out-of-domain generalization, long-context handling, and performance in complex retrieval scenarios. Despite these compelling empirical results and clear theoretical advantages, the practical adoption and public availability of late interaction models remain low compared to their single-vector counterparts, primarily due to a lack of accessible and modular tools for training and experimenting with such models. To bridge this gap, we introduce PyLate, a streamlined library built on top of Sentence Transformers to support multi-vector architectures natively, inheriting its efficient training, advanced logging, and automated model card generation while requiring minimal code changes to code templates users are already familiar with. By offering multi-vector-specific features such as efficient indexes, PyLate aims to accelerate research and real-world application of late interaction models, thereby unlocking their full potential in modern IR systems. Finally, PyLate has already enabled the development of state-of-the-art models, including GTE-ModernColBERT and Reason-ModernColBERT, demonstrating its practical utility for both research and production environments.

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

↑