- Rating
- 3
- Clarity
- 3
- Confidence
- 3
- Originality
- 2
- Quality
- 3
- Significance
- 3
Read review
Summary
TrieRec adds two trie-structural positional encodings to Transformer-based generative recommenders (GR). A trie-aware absolute encoding (TAE) aggregates an item's full root-to-leaf token path through an MLP and adds it to each token embedding; a topology-aware relative encoding (TRE) injects a learnable attention bias indexed by LCA depth and each token's distance to the LCA.
Strengths and weaknesses
Strengths
- Well-motivated. Hierarchical semantic IDs induce a trie; flattening it discards real structure. Encoding depth, path, and LCA relations is a sensible inductive bias for GR.
- Simple and model-agnostic. Both components are additive terms (Eq. 8, Eq. 9) and integrate into multiple backbones without architectural changes.
- Solid experiments. Four datasets, three backbones, several PE / tree-aware baselines, component ablations, a learned-bias case study, and an efficiency comparison.
- Consistent gains. Improvements recur across backbones and datasets, largest on MovieLens-1M.
Weaknesses
- Unclear application of TAE/TRE → possible leakage. TAE aggregates an item's ancestors and descendants. This is fine for history items, but the target item's descendant tokens are unavailable at inference. If used for target tokens, teacher-forced training and inference are inconsistent and future-token information may leak; if restricted to history, the "trie-aware next-item generation" framing is narrower than claimed. Pseudo-code and an inference-time description for encoder (history) vs. decoder (target) sides are needed.
- Under-specified decoding/evaluation protocol. Beam size, constrained (valid-trie-path) decoding, invalid-sequence handling, and full-corpus vs. sampled ranking are not stated, limiting reproducibility and baseline-fairness assessment.
- Overstated efficiency/"hyperparameter-free" claims. TAE's MLP, per-layer projections, and sharing choices are design decisions; efficiency is shown only for LETTER on two datasets, with no parameter/memory counts and no scaling along sequence length, catalog size, or codebook depth.
- Moderate originality. Tree-aware absolute encodings and LCA/distance biases exist in other domains (code, syntax trees). This is a well-chosen GR-specific adaptation rather than a new mechanism.
Questions
- Are TAE/TRE applied to encoder (history) inputs only, or also to decoder (target) tokens? If the latter, how are unavailable descendant tokens handled, and how is no-leakage guaranteed?
- Specify the decoding/ranking protocol: beam size, valid-trie-path constraints, invalid-sequence scoring, and whether NDCG/Recall use the full item set.
- How many seeds/runs and which test underlie significance?
- How do performance and overhead change with codebook size, depth, collision rate, sequence length, and catalog size?
- Can you add tokenizer-robustness ablations (noisy tokenizer, randomized hierarchy, alternative or jointly-trained tokenizers)?
Limitations
N/A
Paper formatting concerns
N/A
Final justification
Final assessment — score stays at 3.
The parameter-matched controls (Tables 8, 9) do rebut my main empirical point: correct path and relation alignment consistently beats randomized mappings, and the LCA contribution is clear once TAE is removed. I withdraw that objection. Table 10 is too thin across three backbones to matter either way.
What remains is enough to keep me at borderline reject. Both encodings recombine known tree-structural mechanisms — the global-trie framing motivates the design well but isn't a new mechanism. The largest gains come on the smallest catalog, several Recall@10 improvements are marginal, margins over the strongest structure-aware baselines are untested for significance, and nothing above ~12K items is evaluated. Much of what now persuades me — the application scheme, decoding protocol, efficiency profiling, robustness controls — lives only in the rebuttal, and the submission's efficiency claims are contradicted by the authors' own new numbers.
Careful work that improved through the discussion, but the contribution still reads incremental and the gap to an acceptable version is substantial.
Thank you for the constructive comments. Below, we clarify the implementation, decoding protocol, statistical testing, scalability, and tokenizer robustness.
W1/Q1: Application of TAE/TRE and information leakage
Thank you for raising this concern. The implementation uses the same token visibility in training and inference and does not expose future targets. TAE is applied only to encoder-side history, whose complete SIDs are observed, and not to decoder targets. TRE is applied in encoder self-attention, causal decoder self-attention, and cross-attention. Under shifted-right decoding, yt uses only [BOS,y<t]; the causal mask excludes future targets and cross-attention accesses only history. BOS uses a dedicated TRE entry (index 0) as a virtual root. Generation thus remains trie-aware through the available prefix and history.
W2/Q2: Decoding and evaluation protocol
Thank you for noting the missing protocol details. All generative methods use the same width-10 constrained beam search over valid trie children, so invalid SID paths do not enter the beam; hypotheses are scored by summed token log-probabilities. The candidate space is the full catalog trie without sampling, although beam search is not exhaustive item-by-item scoring. Recall/NDCG use the generated top-k items without filtering prior interactions. Following TIGER, a collision token gives a one-to-one SID-item mapping, so standard evaluation requires no duplicate resolution.
Q3: Number of runs and significance testing
Main results are averaged over five seeds. A paired two-sided t-test compares seed-matched TrieRec and vanilla-backbone results (p<0.05).
W3/Q4: Efficiency and the “hyperparameter-free” wording
Our intended meaning of “hyperparameter-free” was that TrieRec requires no additional hyperparameter search: one fixed TAE/TRE configuration was used throughout. We recognize that the term may also suggest the absence of learnable parameters or design choices, which was not intended. We will revise it to “requires no additional hyperparameter search in our experiments.”
To address efficiency and scalability, we profile four datasets while varying SID depth D, codebook size K, and history length T, with standard D/K/T=4/256/20. P/M/Train/Inf denotes parameters / peak per-GPU memory (GB) / total training time for 200 epochs (s) / inference time (s). All new runs used the same 8×NVIDIA A800 setup; absolute values may differ from the submitted paper, but each LETTER/TrieRec pair shares identical hardware and settings.
Beauty
Toys
Food
MovieLens
The profiles show consistent trends: larger codebooks add limited overhead; longer histories leave parameters unchanged and mainly increase memory/training costs for both models; and SID depth most affects TAE/TRE parameters and inference. This should be viewed alongside SID capacity: with SID depth D and codebook size K, the nominal capacity grows as KD before collision handling. Because this capacity grows exponentially, three or four levels provide ample nominal capacity for the catalog scales studied, while D=8 and D=12 serve as stress settings relative to D=4. Under the standard D=4 setting, the additional runtime and memory costs remain limited, while substantially deeper hierarchies incur more visible overhead.
MovieLens performance under the same scaling settings
TrieRec achieves higher NDCG@10 and Recall@10 than LETTER in every configuration. Greater SID depth reduces both methods' performance, while increasing the codebook size does not consistently improve accuracy here; longer histories benefit both methods. TrieRec's advantage is retained across all three axes.
W4: Originality and relation to prior tree-aware encodings
Thank you for highlighting the need to position TrieRec more clearly with respect to prior tree-aware positional encodings. HiT and HiRoPE operate on instance-specific syntax trees in code, where node identities and depths are local to each input rather than globally aligned across samples; these methods focus on path or relative structural positions within each tree. By contrast, the SID trie is a global catalog-level structure shared across users and sequences: its depths reflect semantic granularity, shared prefixes define stable cross-item relatedness, and root-to-leaf paths define the autoregressive output space. Consequently, directly applying these encodings does not explicitly model all three properties central to GR: absolute granularity, item-path membership, and prefix-based item relations. TrieRec addresses these properties jointly: TAE models complete item-path context with depth-specific projections, while TRE models LCA depth and ordered distances across token pairs. In our experiments, the direct HiT and HiRoPE implementations yield lower performance than TrieRec across the tested backbones and datasets, providing empirical support for a formulation tailored to the global SID trie.
Q5: Robustness to tokenizer and trie quality
To complement three tokenization paradigms (TIGER, CoST, LETTER), we conduct a controlled Beauty experiment that replaces one SID layer (Random-k) or all layers (RandomAll) with fixed random valid codes; LETTER and TrieRec are retrained on the same corrupted SIDs.
Earlier-layer and more extensive corruption have a larger adverse effect. Nevertheless, under matched corrupted SIDs, TrieRec retains higher performance than LETTER in all 10 comparisons. Thus, tokenizer quality remains important, while TrieRec continues to provide useful structural bias under SID noise.