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

在仅解码器LLM中扩展稀疏与稠密检索

Scaling Sparse and Dense Retrieval in Decoder-Only LLMs

Hansi Zeng, Julian Killingback, Hamed Zamani

AI总结:

本研究系统对比不同检索范式与微调目标在仅解码器LLM不同规模下的性能,发现稀疏检索优于稠密检索,结合CL与KD可在8B规模下实现稀疏检索的SOTA效果。

摘要:

扩展大语言模型(LLM)已展现出提升检索模型性能的巨大潜力;然而,以往研究主要聚焦于采用对比损失(CL)训练的稠密检索,忽略了其他检索范式与优化技术的扩展规律,例如稀疏检索与知识蒸馏(KD)。本研究针对不同检索范式(稀疏与稠密)及微调目标(对比损失、知识蒸馏及二者结合)如何影响不同模型规模下的检索性能,开展了系统性对比研究。我们以MSMARCO段落集为训练数据集,采用仅解码器LLM(Llama-3系列:1B、3B、8B),在固定计算预算下,在域内(MSMARCO、TREC DL)与域外(BEIR)基准上评估多种训练配置。核心发现表明:(1)仅在对比损失训练下才会清晰呈现扩展效应,即更大规模模型可获得显著性能提升;而知识蒸馏训练的模型提升幅度极小,在1B、3B与8B规模下表现相近。(2)稀疏检索模型在域内(MSMARCO、TREC DL)与域外(BEIR)基准上均始终优于稠密检索模型,且对不完善监督信号表现出更强鲁棒性。(3)我们通过结合对比损失与知识蒸馏损失,在8B规模下成功扩展稀疏检索模型,在所有评估集上均取得了当前最优(SOTA)结果。

英文摘要:

Scaling large language models (LLMs) has shown great potential for improving retrieval model performance; however, previous studies have mainly focused on dense retrieval trained with contrastive loss (CL), neglecting the scaling behavior of other retrieval paradigms and optimization techniques, such as sparse retrieval and knowledge distillation (KD). In this work, we conduct a systematic comparative study on how different retrieval paradigms (sparse vs. dense) and fine-tuning objectives (CL vs. KD vs. their combination) affect retrieval performance across different model scales. Using MSMARCO passages as the training dataset, decoder-only LLMs (Llama-3 series: 1B, 3B, 8B), and a fixed compute budget, we evaluate various training configurations on both in-domain (MSMARCO, TREC DL) and out-of-domain (BEIR) benchmarks. Our key findings reveal that: (1) Scaling behaviors emerge clearly only with CL, where larger models achieve significant performance gains, whereas KD-trained models show minimal improvement, performing similarly across the 1B, 3B, and 8B scales. (2) Sparse retrieval models consistently outperform dense retrieval across both in-domain (MSMARCO, TREC DL) and out-of-domain (BEIR) benchmarks, and they demonstrate greater robustness to imperfect supervised signals. (3) We successfully scale sparse retrieval models with the combination of CL and KD losses at 8B scale, achieving state-of-the-art (SOTA) results in all evaluation sets.

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

↑