TL;DR
Multimodal recommender systems usually blend item content (images, text, audio) and user clicks into continuous vectors, or chop items into fixed discrete "semantic codes" that ignore how humans actually shop or watch. CASQRec turns discrete codes into shared graph hubs and trains a content-based router—guided by a training-only "behavior teacher"—to wire items to those hubs. The result is a system that learns human preference patterns during training, yet can seamlessly plug brand-new, zero-click items into the recommendation network at inference time using content alone.
What Problem Does This Paper Address?
Recommender systems thrive on user-item interactions (clicks, purchases), which are notoriously sparse. To fill in the blanks, multimodal recommendation brings in rich item content like product photos, descriptions, and audio tracks.
Most existing systems fuse content and behavior into continuous embeddings. While effective, continuous vectors make sharing information implicit—you can't easily point to the specific reusable trait connecting two items. Recently, researchers started using discrete semantic codes (quantizing an item into a handful of discrete tokens, like a semantic barcode) to create explicit shared factors. However, these codes are usually generated by frozen encoders or static clustering before looking at user behavior. They act as rigid content labels rather than behavior-smart bridges.
The authors tackle a tricky catch-22: How do you make discrete item-code assignments adapt to collaborative user behavior during training, while still being able to assign codes to a brand-new item at inference time using only its content?
Methods
CASQRec (Collaborative-Adaptive Semantic Quantization) shifts the focus from tweaking representations to learning how items route to discrete codes.
- Fixed Coordinate System: First, multimodal features are normalized, compressed via PCA, and clustered using standard Residual Quantization (RQ)—a multi-stage K-means clustering on residuals. Crucially, these RQ code anchors are frozen after initialization to serve as a stable semantic coordinate system.
- Content Prior Router (Student): A learnable MLP takes an item's content descriptor and predicts probability distributions (routing weights) over the frozen codes.
- Collaborative Posterior Teacher (Training-Only): During training, the model extracts an item's collaborative context from the user-item interaction graph. A "teacher" module uses this behavioral context to apply a bounded, entropy-aware nudge to the prior router's predictions, calibrated via a contrastive loss. Through KL-divergence distillation (Collaborative Semantic Agreement), the student router learns to mimic these behavior-refined assignments using content alone.
- Prior-Induced Graph Propagation: Codes are treated as literal nodes in a unified User–Item–Code graph. Using top-$K$ edges predicted strictly by the content prior (plus a batch-balance regularizer to prevent routing collapse), standard LightGCN message passing propagates collaborative signals along
item -> code -> itempaths. At inference, the teacher vanishes, avoiding any train-test mismatch.
Datasets
The authors evaluate CASQRec on three standard public benchmarks (using an 8:1:1 train/validation/test split; no new datasets are introduced):
- Baby and Sports (e-commerce product datasets featuring visual and textual modalities).
- TikTok (short-video dataset featuring visual, acoustic, and textual modalities).
Key Insights and Ideas
- Freeze the anchors, learn the wiring: Counterintuitively, letting the codebook embeddings update freely during training (Trainable Codebook) performs worse than keeping them frozen. Moving the anchors destabilizes the coordinate system that the content router relies on; keeping anchors fixed forces adaptation to happen cleanly at the routing level.
- Train-test graph consistency is vital: If you build the training graph using the behavior-aware teacher's edges and switch to the content student's edges at test time (PostGraph ablation), performance drops noticeably due to distribution mismatch. Always building the graph from the student router solves this.
- True zero-shot inductiveness: Because code nodes accumulate collaborative signals from popular "warm" items during graph propagation, a cold-start item with zero interaction history can immediately tap into rich behavioral neighborhoods simply by routing to shared codes via its content.
Key Results
CASQRec outperforms all ten baselines across every metric and dataset. Compared to the strongest baseline variant (MoToRec-SGU), CASQRec boosts Recall@20 and NDCG@20 from:
- Baby:
0.1169$\rightarrow$0.1359(+16.3% relative gain) in R@20, and0.0509$\rightarrow$0.0594in N@20. - Sports:
0.1239$\rightarrow$0.1398(+12.8% relative gain) in R@20, and0.0564$\rightarrow$0.0625in N@20. - TikTok:
0.1205$\rightarrow$0.1317(+9.3% relative gain) in R@20, and0.0522$\rightarrow$0.0566in N@20.
In item cold-start evaluations (where 10% of test items have zero training interactions), CASQRec widens the lead—jumping from 0.0322 (SG-URInit) to 0.0442 NDCG@20 on the sparse Sports dataset, and 0.0358 to 0.0476 on TikTok. Qualitative checks also confirm its learned code neighborhoods correlate much more strongly with human behavioral similarity (Spearman correlation ~0.28–0.31 vs. ~0.10–0.13 for static RQ) while utilizing over 70% of available codes.
Limitations and Future Work
Because the RQ codebook is fitted once on initial training items and kept frozen, it may struggle to represent radically new categories or concepts as an item catalog evolves over time. For future work, the authors suggest exploring dynamic codebook expansion—adding new semantic anchors for emerging item types while preserving ranking stability for existing ones.
Summary updated