Merge and Branch: Efficient Tree-Structured Supervised Fine-Tuning of LLMs for Recommendation
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. No citing papers in the map yet (data through 26 Nov 2026). Builds on 30 of its 42 references that are in the map. Submitted 27 Oct 2026.
Builds on
30 of 42 references.
References · 30
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,893
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,787
- 2023SGLang: Efficient Execution of Structured Language Model Programscited by 1,372
- 2018Self-Attentive Sequential Recommendationcited by 1,247
- 2019BERT4Rec: Sequential Recommendation with Bidirectional Encoder Representations from Transformercited by 1,007
- 2016Ups and Downs: Modeling the Visual Evolution of Fashion Trends with One-Class Collaborative Filteringcited by 536
- 2024Better & Faster Large Language Models via Multi-token Predictioncited by 422
- 2023SpecInfer: Accelerating Generative Large Language Model Serving with Tree-based Speculative Inference and Verificationcited by 412
- 2023TALLRec: An Effective and Efficient Tuning Framework to Align Large Language Model with Recommendationcited by 349
- 2023Adapting Large Language Models by Integrating Collaborative Semantics for Recommendationcited by 201
- 2025OneRec: Unifying Retrieve and Rank with Generative Recommender and Iterative Preference Alignmentcited by 193
- 2024Learnable Item Tokenization for Generative Recommendationcited by 128
18 more
- 2023How to Index Item IDs for Recommendation Foundation Modelscited by 107
- 2023DiffuRec: A Diffusion Model for Sequential Recommendationcited by 96
- 2024ChunkAttention: Efficient Self-Attention with Prefix-Aware KV Cache and Two-Phase Partitioncited by 88
- 2023A Bi-Step Grounding Paradigm for Large Language Models in Recommendation Systemscited by 81
- 2023Generate What You Prefer: Reshaping Sequential Recommendation via Guided Diffusioncited by 76
- 2024EAGER: Two-Stream Generative Recommender with Behavior-Semantic Collaborationcited by 66
- 2025LONGER: Scaling Up Long Sequence Modeling in Industrial Recommenderscited by 50
- 2024Generative Recommender with End-to-End Learnable Item Tokenizationcited by 44
- 2023Turning Dross Into Gold Loss: is BERT4Rec really better than SASRec?cited by 33
- 2024DeFT: Decoding with Flash Tree-attention for Efficient Tree-structured LLM Inferencecited by 24
- 2024Efficient Inference for Large Language Model-based Generative Recommendationcited by 14
- 2025GRAM: Generative Recommendation via Semantic-aware Multi-granular Late Fusioncited by 10
- 2025EAGER-LLM: Enhancing Large Language Models as Recommenders through Exogenous Behavior-Semantic Integrationcited by 7
- 2025Tree Training: Accelerating Agentic LLMs Training via Shared Prefix Reusecited by 7
- 2025DiffGRM: Diffusion-based Generative Recommendation Modelcited by 6
- 2023Integrating Item Relevance in Training Loss for Sequential Recommender Systemscited by 5
- 2026UniSGR: Unified Framework for Semantic ID Generation and Rankingcited by 3
- 2026Token Factory: Efficiently Integrating Diverse Signals into Large Recommendation Modelscited by 2
Built on by
Not cited yet.