Manuscript Offprint

arXiv:2610.32980

Separating Thinking from Spelling for Efficient Generative Recommendation

Danil Gusak, Anna Volodkevich, Ivan Oseledets, Evgeny Frolov

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Danil Gusak, Anna Volodkevich, Ivan Oseledets, Evgeny Frolov

(a) FlatGR

flat SID history,

beam search: backbone

Cost per user:

T-K prefill tokens

O(B-K) heavy decode tokens

Figure

(b) FusedGR

one token per item,

beam search: backbone

Cost per user:

T prefill tokens

O(B-K) heavy decode tokens

(c) Deco

one backbone pass → z,

beam search: light decoder

Cost per user:

T prefill tokens

O(B-K) light decode tokens

Figure 1: Compressing the input sequence and delegating beam search to a light decoder. For a history of T items with K SID codes each, FlatGR (a) reads TK history tokens, while FusedGR (b) and Deco (c) read T fused tokens. With beam width B, FlatGR and FusedGR process O(BK)O(BK) decode tokens through the heavy backbone. Deco computes a compact concept z in one backbone pass and delegates beam search to a light decoder conditioned on z and the generated prefix.

Abstract

Generative recommenders retrieve items by writing their semantic IDs (SIDs) code by code under trie-constrained beam search, an approach now deployed on large web platforms. Standard autoregressive interfaces pay for the SID length K twice: a history of T items enters the backbone as TK code tokens, and every beam-search step runs through the backbone, so returning B candidates costs O(BK)O(BK) backbone decode tokens per user. The second cost often dominates, and it grows with the backbone, the SID depth and the candidate budget.

We introduce Deco (decoding from concepts), which separates reading the history from writing the identifier. The backbone reads each history item as one fused token and condenses the history once into a compact next-item concept; a light KV-cached decoder conditioned on the concept and the generated prefix runs the entire beam search, while the identifiers, the trie and the autoregressive factorization stay unchanged. The decoder approaches full-backbone accuracy with cross-entropy alone, and distillation improves it further. On seven datasets from e-commerce, movies and music streaming, Deco achieves comparable or better accuracy than both a standard generative recommender and the full-backbone teacher with fused inputs, while delivering 3.2–8.6× their throughput under a 50 ms p95 latency budget in a production-style serving pipeline. Delegating beam search makes larger candidate pools and models practical: Deco generates 1000 candidates faster than its teacher generates 100, and with a 1.5B-parameter LLM backbone, it matches the 69M-parameter teacher's throughput while achieving higher accuracy.

CCS Concepts

• Information systems → Recommender systems.

References (23)