arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.22925cs.IRcs.AIcs.LG
收藏

BEAR:面向大语言模型推荐中束搜索感知的优化

BEAR: Towards Beam-Search-Aware Optimization for Recommendation with Large Language Models

Zhejiang University(浙江大学);The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳));Hangzhou City University(杭州市城市大学)

Weiqin Yang, Bohao Wang, Zhenxiang Xu, Jiawei Chen, Shengjia Zhang, Jingbang Chen, Canghong Jin, Can Wang

AI总结:

针对监督微调与束搜索推理之间的不一致性,提出BEAR正则化方法,通过确保正例每个token在解码步骤中排名前B来避免过早剪枝,显著提升推荐性能。

摘要:

近年来,利用大语言模型(LLM)进行推荐的研究迅速增长。这些方法通常采用监督微调(SFT)使LLM适应推荐场景,并在推理时使用束搜索高效检索前B个推荐项。然而,我们发现了关键的训练-推理不一致性:虽然SFT优化正例的整体概率,但即使这些项具有高整体概率,也不能保证它们会被束搜索检索到。由于贪心剪枝机制,束搜索可能会在正例的前缀概率不足时过早丢弃它。为了解决这种不一致性,我们提出了BEAR(束搜索感知正则化),一种新的微调目标,在训练中显式考虑束搜索行为。BEAR不直接模拟每个训练实例的束搜索(计算代价过高),而是强制执行一个宽松的必要条件:正例中的每个token在每个解码步骤中必须排在前B个候选token中。该目标有效降低了错误剪枝的风险,同时与标准SFT相比仅增加可忽略的计算开销。在四个真实世界数据集上的大量实验表明,BEAR显著优于强基线。代码可在https://github.com/Tiny-Snow/BEAR-SIGIR-2026获取。

英文摘要:

Recent years have seen a rapid surge in research leveraging Large Language Models (LLMs) for recommendation. These methods typically employ supervised fine-tuning (SFT) to adapt LLMs to recommendation scenarios, and utilize beam search during inference to efficiently retrieve $B$ top-ranked recommended items. However, we identify a critical training-inference inconsistency: while SFT optimizes the overall probability of positive items, it does not guarantee that such items will be retrieved by beam search even if they possess high overall probabilities. Due to the greedy pruning mechanism, beam search can prematurely discard a positive item once its prefix probability is insufficient. To address this inconsistency, we propose BEAR (Beam-SEarch-Aware Regularization), a novel fine-tuning objective that explicitly accounts for beam search behavior during training. Rather than directly simulating beam search for each instance during training, which is computationally prohibitive, BEAR enforces a relaxed necessary condition: each token in a positive item must rank within the top-$B$ candidate tokens at each decoding step. This objective effectively mitigates the risk of incorrect pruning while incurring negligible computational overhead compared to standard SFT. Extensive experiments across four real-world datasets demonstrate that BEAR significantly outperforms strong baselines. Code is available at https://github.com/Tiny-Snow/BEAR-SIGIR-2026 .

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

↑