TL;DR
This paper introduces QARM, a novel framework for integrating multi-modal information into recommendation systems. QARM addresses the "representation unmatching" and "representation unlearning" issues by aligning pre-trained multi-modal representations with downstream task objectives and then quantizing them into learnable "semantic IDs" for end-to-end training. This approach significantly boosts recommendation performance on Kuaishou's platform, serving 400 million users daily.
What Problem Does This Paper Address?
Modern recommendation systems increasingly leverage powerful multi-modal large language models (MLLMs) to understand richer item semantics beyond simple IDs. However, a common industry practice involves pre-training MLLMs with general tasks (like image-text matching) and then using these fixed representations as additional input to downstream recommendation models. This creates two major challenges:
- Representation Unmatching: The MLLM's pre-training objective (e.g., classification) is often misaligned with the recommendation model's objective (e.g., predicting user clicks). This mismatch means the representations, while rich, might not perfectly capture the nuances of user-item interactions relevant to specific recommendation tasks.
- Representation Unlearning: The pre-trained multi-modal representations are typically frozen and cached. Unlike traditional ID embeddings, they cannot be updated by the recommendation model's gradients during training. This static nature limits the model's ability to adapt and converge, hindering its full potential.
The authors aim to bridge this gap by making multi-modal information more adaptable and aligned with the specific needs of recommendation tasks.
Methods
QARM tackles the aforementioned problems through two key mechanisms:
- Item Alignment: To address representation unmatching, QARM fine-tunes the pre-trained MLLM on downstream business-specific data. This "customized" fine-tuning encourages the MLLM's representations to better reflect the patterns of real user-item interactions for that particular business (e.g., online shopping vs. general short-video recommendation). This is achieved by creating item-item pairs relevant to the business and using them to guide the MLLM's representation learning.
- Quantitative Code: To overcome representation unlearning, QARM transforms the aligned multi-modal representations into learnable "quantitative codes" or "semantic IDs." This is inspired by techniques like vector quantization (VQ) and residual quantization (RQ).
- VQ Code: Uses the aligned representations themselves as a codebook and hashes new representations by finding the nearest neighbors.
- RQ Code: Recursively quantizes residuals to capture finer details, using K-means to generate codebooks for each layer. These quantitative codes are then used to generate learnable embeddings, allowing them to be updated end-to-end with the recommendation model's gradients. This effectively makes the multi-modal information trainable.
Datasets
The paper primarily uses internal datasets from Kuaishou's advertising and shopping services for training and evaluation. No new benchmarks are introduced.
Key Insights and Ideas
- Fine-tuning MLLMs for specific recommendation tasks is crucial: Generic multi-modal representations are good, but aligning them with the specific "business characteristics" (e.g., item relationships in shopping vs. content in general videos) yields significant improvements.
- Quantization as a bridge to end-to-end training: Transforming rich multi-modal representations into discrete, learnable codes (semantic IDs) is key to enabling gradient-based optimization, overcoming the "unlearning" problem.
- VQ and RQ codes capture complementary information: Combining both VQ and RQ codes provides further performance gains, suggesting they capture different aspects of the multi-modal knowledge.
- Multi-modal information is particularly beneficial for long-tail items: The paper shows that QARM's approach helps recommend less popular items more effectively, promoting fairness and discoverability.
Key Results
- Offline Performance: QARM variants consistently outperform baseline models across various metrics (AUC, UAUC, GAUC) on both advertising and shopping services. The combined VQ & RQ code approach shows the most significant gains.
- Online A/B Testing:
- Advertising services saw revenue increases of up to +9.704% for cold-start items.
- Shopping services experienced GMV increases of up to +2.296%.
- Long-tail Item Performance: QARM significantly improves CTR-AUC for less frequently purchased items (L1-L3 groups), demonstrating its effectiveness in handling sparse data.
- System Deployment: QARM has been successfully deployed on Kuaishou, serving 400 million users daily.
Limitations and Future Work
- Computational Cost: While QARM aims to be more efficient than directly using large MLLMs, the fine-tuning and quantization processes still add computational overhead. The paper mentions the "tremendous computation cost" of MLLMs as a motivation, implying that efficiency remains a consideration.
- Hyperparameter Tuning: The performance of VQ and RQ codes is sensitive to hyperparameters like code length (K) and dimension (d). The paper explores some of these but suggests further investigation into optimal parameter settings.
- Future Work: The authors implicitly suggest exploring more sophisticated alignment strategies and quantization techniques to further enhance performance and efficiency. The success with long-tail items also points towards future work in fairness and cold-start recommendation.
Summary updated