Introduction
Traditional recommender systems typically rely on a two-step process: representing users and items as vectors in a shared embedding space and performing Approximate Nearest Neighbor (ANN) search to retrieve candidates. Recently, Generative Retrieval has emerged as a promising alternative. These models treat recommendation as a sequence-to-sequence task, where a user's interaction history is used to generate the unique identifier (ID) of the next item token-by-token.
However, existing generative models often suffer from "tunnel vision," focusing exclusively on either behavioral data (interaction IDs) or semantic data (textual/visual descriptions). Behavioral data captures specific user preferences but is prone to sparsity, while semantic data generalizes well but can be overly abstract. EAGER addresses this by unifying these two complementary streams without causing feature interference or letting one dominate the other.
The EAGER Framework
EAGER introduces a three-pronged approach to bridge the gap between behavior and semantics through a two-stream architecture.
1. Two-Stream Generation (TSG)
Instead of fusing behavior and semantic features early in the encoding process, EAGER utilizes a shared Transformer encoder to process user history but employs two separate decoders. One decoder predicts "behavior tokens" derived from interaction patterns, while the other predicts "semantic tokens" derived from item descriptions (e.g., via Sentence-T5). This separation prevents premature feature interaction that can degrade performance.
2. Global Contrastive Task (GCT)
Autoregressive models are effective at local token prediction but can lose the global context of an item. EAGER appends a special summary token ([EOS]) to the end of every sequence. A contrastive loss is then applied to ensure this token's embedding aligns with the global item embedding from pre-trained encoders, effectively distilling global knowledge into the generative process.
3. Semantic-guided Transfer Task (STT)
To facilitate communication between the two streams, EAGER includes an auxiliary module where semantic features guide the behavior decoder. This involves two sub-tasks: reconstruction (predicting masked behavior tokens using semantic context) and recognition (verifying if a behavior sequence matches a specific semantic feature).
During inference, the model performs beam search across both streams. A confidence-based ranking strategy, based on prediction entropy, merges the results into a final top-k recommendation list.
Experimental Evaluation
EAGER was evaluated on four public benchmarks: Yelp 2019 and three categories from Amazon Product Reviews (Beauty, Sports and Outdoors, and Toys and Games). All datasets were filtered to a "5-core" version to ensure data quality.
Key Results
EAGER demonstrated substantial improvements over state-of-the-art baselines, including generative models like TIGER and traditional sequential models like SASRec:
- Significant Gains: On the Beauty dataset, EAGER achieved a 31.49% improvement in Recall@5 and a 32.26% improvement in NDCG@5 over the best baseline.
- Consistency: The model consistently outperformed both traditional and generative competitors across all metrics and datasets.
- Efficiency: Despite its dual-decoder architecture, EAGER maintains a competitive inference speed of approximately 0.03 seconds per sample.
Insights and Conclusion
Ablation studies revealed that placing the summary token at the end of the sequence (the "Tail") is significantly more effective than at the head, as it successfully summarizes the preceding autoregressive steps. Furthermore, using semantics to guide behavior proved more effective than the reverse, suggesting that item semantics provide a more stable grounded prior than noisy user behavior.
While EAGER is highly effective, future work may explore deeper integration with multimodal AI (video/audio) and Large Language Models (LLMs) to further refine the semantic stream and address the computational complexity of beam search at industrial scales.
Summary updated