Beyond Fixed Depths and Widths: Optimizing Textual Decoding Tries in LLM-based Generative Recommendation
Not on the map. Why?
Abstract (arXiv)
Generative recommendation (GR) is an increasingly popular paradigm in recommender systems, with a prominent line of work using LLMs as autoregressive backbones to predict the next item's term IDs (e.g., titles or keywords). The success of autoregressive generation hinges on constrained beam search over a decoding trie to ensure that generated outputs correspond to valid items. However, current research predominantly focuses on generating more comprehensive term IDs to describe items, while largely neglecting the structural design of the decoding trie formed by these terms. This can lead to a trie that is poorly suited to beam search, which degrades performance. To address this, we examine the effectiveness of term IDs from the perspective of decoding trie optimization. Through empirical and theoretical analyses, we identify two desirable properties for a highly performant trie: (1) adaptive and variable ID length, enabling items with varying semantic richness to be represented by IDs of appropriate lengths, and (2) constrained branching factors, especially at shallow levels, which drastically improves the success rate of constrained beam search. Motivated by these properties, we introduce BONSAI: Branching-Optimized Node Structure for Adaptive Identifiers, a novel framework that co-designs textual term IDs and their underlying decoding trie. BONSAI extracts recommendation-informative words from item metadata and employs a minimum set cover formulation to recursively build a trie that satisfies the above properties. Experiments reveal that BONSAI achieves up to a 21.6% relative improvement over state-of-the-art baselines. Further analyses confirm the crucial role of our proposed properties, and demonstrate their generalizability to be applied to enhance the performance of other term ID methods.
Key facts. Cited by 4 papers in the map (data through 24 Nov 2026). Submitted 18 Jul 2026.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2026: 4.
4 papers.
- 2026Evolving Semantic Indexes for Generative Retrievalcited by 0
- 2026JevRec: Linguistic Encoding with Jev-like Decision Modeling for LLM-based Generative Recommendationcited by 0
- 2026Preprocessing Choices in Fine-Tuning Data Matter: Utility and Demographic Sensitivity in LLM-Based Recommendationcited by 0
- 2026SteerGR: Steering Generative Recommendation via Sparse Autoencoders for Controllable Game Discoverycited by 0
- 2026SteerGR: Steering Generative Recommendation via Sparse Autoencoders for Controllable Game Discovery5 Nov 2026
- 2026Preprocessing Choices in Fine-Tuning Data Matter: Utility and Demographic Sensitivity in LLM-Based Recommendation2 Nov 2026
- 2026JevRec: Linguistic Encoding with Jev-like Decision Modeling for LLM-based Generative Recommendation27 Oct 2026
- 2026Evolving Semantic Indexes for Generative Retrieval20 Oct 2026