TL;DR
CEMG introduces a novel generative recommendation framework that deeply integrates multimodal content (text and images) with high-order collaborative signals using a collaborative-guided attention mechanism. By tokenizing this unified representation into discrete semantic codes, it enables Large Language Models (LLMs) to perform highly accurate, context-aware, end-to-end generative recommendations.
What Problem Does This Paper Address?
Generative recommendation is an exciting new frontier that reframes recommendation as a sequence-to-sequence generation task. Instead of tracking arbitrary, atomic item IDs, these models map items to discrete semantic tokens that an LLM can predict autoregressively. However, existing models face two major hurdles:
- Superficial Integration of Collaborative Signals: They often treat collaborative data (how users collectively interact with items) as an afterthought or a shallow alignment feature, missing the complex, high-order relationships that define true personalization.
- Decoupled Fusion of Multimodal Features: They process text, images, and user behavior as separate, disjointed entities. This late or superficial fusion prevents the model from understanding the intricate interplay between what an item is (its content) and how it is perceived by the community (its collaborative context).
Methods
CEMG tackles these issues with a three-stage pipeline:
- Multimodal Encoding & Collaborative-Guided Fusion: Visual features (via VGG/CLIP) and textual features (via BERT/CLIP) are extracted alongside collaborative embeddings learned from a user-item graph using LightGCN. Crucially, the collaborative embedding acts as a query in a guided attention mechanism to dynamically weigh the importance of visual vs. textual attributes before concatenating them into a unified vector $x_i$.
- Unified Modality Tokenization: This holistic vector is passed through a Residual Quantization VAE (RQ-VAE), which compresses the continuous representation into a fixed-length sequence of discrete semantic tokens (codebook indices).
- End-to-End Generative Recommendation: User interaction histories are converted into chronological sequences of these semantic tokens to form a structured prompt. A decoder-only LLM (like T5) is fine-tuned to autoregressively predict the next item's tokens. To ensure valid recommendations, a prefix-tree (Trie)-based constrained decoding strategy masks invalid token paths during inference.
Datasets
The authors evaluated CEMG on three widely used public benchmarks, filtering out users and items with fewer than 5 interactions to maintain standard evaluation practices:
- Amazon Beauty
- Amazon Sports
- Yelp
Key Insights and Ideas
- Collaborative Wisdom as a Lens: Instead of just concatenating features, using collaborative signals as a query to filter and weigh multimodal content is a game-changer. It helps the model realize that for some items, visual aesthetics matter more, while for others, textual descriptions are paramount.
- Bridging the ID vs. Content Gap: Traditional ID-based models fail on cold-start items, while content-based models miss community trends. CEMG bridges this gap by baking collaborative context directly into the item's semantic ID (the token sequence).
- LLMs as Powerful Recommendation Backbones: When items are properly tokenized into a structured "language," pre-trained LLMs can leverage their advanced sequence-modeling and reasoning capabilities to predict user behavior far better than standard architectures.
Key Results
- State-of-the-Art Performance: CEMG consistently outperformed all baselines across sequential (SASRec), multimodal (MISSRec), LLM-based (LlamaRec), and generative (TIGER, MMGRec) paradigms.
- Substantial Gains: On the Beauty, Sports, and Yelp datasets, CEMG achieved relative improvements in Hit Rate@10 of +14.46%, +16.72%, and +15.95% respectively, and NDCG@10 improvements of up to +26.61% over the strongest baselines.
- Cold-Start Excellence: In scenarios with sparse interaction data ($\le 5$ training interactions), CEMG maintained a substantial lead, proving that its collaborative-guided multimodal tokens generalize exceptionally well to long-tail items.
- Inference Efficiency: By generating short, fixed-length token sequences ($M=4$), CEMG achieves significantly lower inference latency compared to other complex retrieval or generation pipelines, making it highly practical for real-world deployment.
Limitations and Future Work
- Noisy Multimodal Data: The model can inadvertently encode irrelevant background noise from images or fluff from text descriptions, which can degrade tokenization quality.
- Future Directions: The authors plan to explore more advanced decoding strategies to further mitigate recommendation errors and investigate robust feature-denoising techniques to handle noisy multimodal inputs.
Summary updated