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

是否使用大小写:对学习稀疏检索的实证研究

To Case or Not to Case: An Empirical Study in Learned Sparse Retrieval

University of Glasgow, United Kingdom(格拉斯哥大学);University of Amsterdam, The Netherlands(阿姆斯特丹大学);TKH AI, The Netherlands(TKH AI);Johns Hopkins University, United States(约翰霍普金斯大学)

Emmanouil Georgios Lionis, Jia-Huei Ju, Angelos Nalmpantis, Casper Thuis, Sean MacAvaney, Andrew Yates

AI总结:

本研究探讨了带大小写的骨干模型对学习稀疏检索的影响,发现通过预处理文本转为小写可消除性能差距,从而提升LSR方法的适用性。

摘要:

学习稀疏检索(LSR)方法构建查询和文档的稀疏词法表示,这些表示可以使用倒排索引高效搜索。现有的LSR方法几乎都依赖于无大小写的骨干模型,其词汇表排除了大小写敏感的区别,从而减少词汇不匹配。然而,最先进语言模型仅以带大小写的版本提供。尽管这种转变,骨干模型的大小写对LSR的影响尚未被研究,这可能对方法的可行性构成风险。为填补这一空白,我们系统地评估了相同骨干模型的带大小写和无大小写版本在多个数据集上的表现,以评估其在LSR中的适用性。我们的发现表明,带大小写的骨干模型默认情况下比无大小写的模型表现要差得多;然而,通过预处理文本将文本转为小写可以消除这一差距。此外,我们的词级分析表明,在下划线处理下,带大小写的模型几乎完全压制了带大小写的词汇项,并有效地表现为无大小写的模型,解释了其恢复性能。这一结果扩大了最近带大小写的模型在LSR设置中的适用性,并促进了更强的骨干架构在稀疏检索中的整合。该项目的完整代码和实现可在:https://github.com/lionisakis/Uncased-vs-cased-models-in-LSR

英文摘要:

Learned Sparse Retrieval (LSR) methods construct sparse lexical representations of queries and documents that can be efficiently searched using inverted indexes. Existing LSR approaches have relied almost exclusively on uncased backbone models, whose vocabularies exclude case-sensitive distinctions, thereby reducing vocabulary mismatch. However, the most recent state-of-the-art language models are only available in cased versions. Despite this shift, the impact of backbone model casing on LSR has not been studied, potentially posing a risk to the viability of the method going forward. To fill this gap, we systematically evaluate paired cased and uncased versions of the same backbone models across multiple datasets to assess their suitability for LSR. Our findings show that LSR models with cased backbone models by default perform substantially worse than their uncased counterparts; however, this gap can be eliminated by pre-processing the text to lowercase. Moreover, our token-level analysis reveals that, under lowercasing, cased models almost entirely suppress cased vocabulary items and behave effectively as uncased models, explaining their restored performance. This result broadens the applicability of recent cased models to the LSR setting and facilitates the integration of stronger backbone architectures into sparse retrieval. The complete code and implementation for this project are available at: https://github.com/lionisakis/Uncased-vs-cased-models-in-LSR

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

↑