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

合并与分支:用于推荐的高效树结构大语言模型监督微调

Merge and Branch: Efficient Tree-Structured Supervised Fine-Tuning of LLMs for Recommendation

Georgia Institute of Technology(佐治亚理工学院)

Yunqin Zhu, Liyang Shu, Yusi Zhang, Yao Xie, Tianhao Li, Xinhang Song, Tianyu Wen

AI总结:

本研究针对LLM生成式推荐中监督微调效率低的问题,提出合并与分支(M&B)方法,通过树结构设计结合树FlashAttention实现高效训练与解码,在公共基准上性能优于基线且效率显著提升。

摘要:

基于大语言模型(LLM)的生成式推荐会读取包含丰富文本的长交互历史,但仅生成短语义标识符(SIDs)。这种不对称性导致监督微调效率低下:对历史的编码成本高昂,而每条历史通常仅为一个目标提供监督。我们提出合并与分支(M&B)方法,以降低输入成本并从每条编码历史中学习更多信息。合并模块将每个历史项的SIDs和文本压缩为少量学习得到的token;分支模块利用压缩后的历史预测多个目标SIDs。为在共享历史计算的同时保持这些目标的独立性,M&B将每个样本组织为浅而宽的树结构。我们开发了树FlashAttention以高效执行该布局,单次处理共享历史并从每个分支传播梯度以实现端到端训练。树结构的键值缓存将历史共享扩展到约束解码场景。在公共基准上的实验表明,M&B在优于强大推荐基线的同时,大幅提升了训练和解码效率。

英文摘要:

LLM-based generative recommendation reads long, text-rich interaction histories but generates only short semantic identifiers (SIDs). This asymmetry makes supervised fine-tuning inefficient: encoding the history is expensive, yet each history usually provides supervision for only one target. We present Merge and Branch (M&B) to reduce input cost and learn more from each encoded history. Merge compresses each historical item's SID and text into a small number of learned tokens. Branch uses the compressed history to predict multiple target SIDs. To share history computation while keeping these targets independent, M&B organizes each example as a shallow, wide tree. We develop tree FlashAttention to execute this layout efficiently, processing the shared history once and propagating gradients from every branch for end-to-end training. A tree-structured key/value cache extends history sharing to constrained decoding. Experiments on public benchmarks show that M&B outperforms strong recommendation baselines while substantially improving training and decoding efficiency. Online A/B tests on a large-scale e-commerce platform suggest that M&B effectively combines item text with multi-target supervision, yielding statistically significant gains in per-user clicks, orders, and GMV.

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

↑