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

一种有效实现SPLADE-Doc产业化的FLOPS正则化替代方案

An Alternative to FLOPS Regularization to Effectively Productionize SPLADE-Doc

Bloomberg New York, United States(彭博纽约,美国);University of Glasgow(格拉斯哥大学)

Aldo Porco, Dhruv Mehra, Igor Malioutov, Karthik Radhakrishnan, Moniba Keymanesh, Daniel Preoţiuc-Pietro, Sean MacAvaney, Pengxiang Cheng

AI总结:

针对SPLADE模型的FLOPS正则化无法解决高DF词项导致生产检索延迟高的问题,提出DF-FLOPS正则化惩罚高DF词项使用,在保持检索效果的同时将延迟降至与BM25相当,推动LSR落地生产级搜索引擎。

摘要:

学习型稀疏检索(Learned Sparse Retrieval, LSR)模型将文本编码为加权词项向量,这类向量需要具备稀疏性才能在检索过程中利用倒排索引结构。最流行的LSR模型SPLADE在训练过程中使用FLOPS正则化来提升向量稀疏性,但FLOPS正则化只能保证单个查询或文档内部的稀疏性,无法确保词项层面的稀疏性。文档频率(Document Frequencies, DFs)极高的词项会因倒排列表过长,大幅提升Apache Solr等生产级检索引擎的延迟。\n针对高DF词项带来的问题,本文提出了FLOPS正则化的新变体DF-FLOPS。这种新型正则化技术会惩罚高DF词项的使用,从而缩短倒排列表、降低检索延迟。与停用词移除等其他推理阶段稀疏化方法不同,DF-FLOPS正则化允许在高频词确实具有显著语义作用的场景下,选择性地保留这类词项。\n实验结果表明,DF-FLOPS成功降低了高DF词项的出现频率,在生产级引擎中将检索延迟降低了约10倍,同时保持了检索效果:域内场景下MRR@10仅下降2.2个点,跨域场景下在测试的13项任务中有12项性能得到提升。该方法的检索延迟与BM25相当,为推动LSR在生产级搜索引擎中的实际部署迈出了重要一步。

英文摘要:

Learned Sparse Retrieval (LSR) models encode text as weighted term vectors, which need to be sparse to leverage inverted index structures during retrieval. SPLADE, the most popular LSR model, uses FLOPS regularization to encourage vector sparsity during training. However, FLOPS regularization does not ensure sparsity among terms - only within a given query or document. Terms with very high Document Frequencies (DFs) substantially increase latency in production retrieval engines, such as Apache Solr, due to their lengthy posting lists. To address the issue of high DFs, we present a new variant of FLOPS regularization: DF-FLOPS. This new regularization technique penalizes the usage of high-DF terms, thereby shortening posting lists and reducing retrieval latency. Unlike other inference-time sparsification methods, such as stopword removal, DF-FLOPS regularization allows for the selective inclusion of high-frequency terms in cases where the terms are truly salient. We find that DF-FLOPS successfully reduces the prevalence of high-DF terms and lowers retrieval latency (around 10x faster) in a production-grade engine while maintaining effectiveness both in-domain (only a 2.2-point drop in MRR@10) and cross-domain (improved performance in 12 out of 13 tasks on which we tested). With retrieval latencies on par with BM25, this work provides an important step towards making LSR practical for deployment in production-grade search engines.

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

↑