Abstract
A well-informed recommendation framework could not only help users identify their interested items, but also benefit the revenue of various online platforms (e.g., e-commerce, social media). Traditional recommendation models usually assume that only a single type of interaction exists between user and item, and fail to model the multiplex user-item relationships from multi-typed user behavior data, such as page view, add-to-favourite and purchase. While some recent studies propose to capture the dependencies across different types of behaviors, two important challenges have been less explored: i) Dealing with the sparse supervision signal under target behaviors (e.g., purchase). ii) Capturing the personalized multi-behavior patterns with customized dependency modeling. To tackle the above challenges, we devise a new model CML, Contrastive Meta Learning (CML), to maintain dedicated cross-type behavior dependency for different users. In particular, we propose a multi-behavior contrastive learning framework to distill transferable knowledge across different types of behaviors via the constructed contrastive loss. In addition, to capture the diverse multi-behavior patterns, we design a contrastive meta network to encode the customized behavior heterogeneity for different users. Extensive experiments on three real-world datasets indicate that our method consistently outperforms various state-of-the-art recommendation methods. Our empirical studies further suggest that the contrastive meta learning paradigm offers great potential for capturing the behavior multiplicity in recommendation. We release our model implementation at: https://github.com/weiwei1206/CML.git.
Introduction: The Challenge of Multi-Behavior Recommendation
Modern recommendation systems often rely on a single type of user-item interaction, typically the final purchase. However, this approach ignores the rich context provided by auxiliary behaviors such as page views, favorites, and cart additions. Relying solely on target behaviors leads to the supervision sparsity problem, where the model lacks sufficient data to learn accurate user preferences.
While multi-behavior models attempt to bridge this gap, they often struggle with behavioral heterogeneity. The predictive value of a "favorite" action varies significantly between users; for some, it is a precursor to purchase, while for others, it is merely a bookmarking tool. Capturing these personalized dependencies is crucial for effective recommendation.
The CML Framework: Architecture and Innovation
To address these challenges, we propose Contrastive Meta Learning (CML). The framework is built upon three core components designed to extract and transfer knowledge across behavior types while maintaining personalization.
- Behavior-aware Graph Neural Network (GNN): Utilizing a lightweight architecture inspired by LightGCN, this module propagates information through a multiplex user-item interaction graph. It generates distinct embeddings for each behavior type, allowing the model to represent the same user differently across various interaction contexts.
- Multi-Behavior Contrastive Learning: To mitigate data sparsity, CML employs a self-supervised contrastive loss (InfoNCE). By treating different behavior views of the same user as positive pairs, the model aligns auxiliary behavior representations with target behavior representations, effectively transferring signal from dense auxiliary data to sparse target data.
- Contrastive Meta Network: This module is the centerpiece of CML's personalization strategy. Instead of applying uniform weights to behavior dependencies, the meta-network generates personalized weights for each user. This allows the model to learn the unique behavioral "DNA" of individuals, recognizing that certain actions are more predictive of purchase for some users than others.
Empirical Evaluation: Performance and Robustness
We evaluated CML on three large-scale e-commerce datasets: Tmall, IJCAI-Contest, and Retail Rocket. In all experiments, the purchase or transaction was designated as the target behavior.
CML demonstrated substantial performance improvements over 12 state-of-the-art baselines, including specialized multi-behavior models like MBGCN and KHGT. On the Tmall dataset, CML achieved a 25.4% improvement in Hit Ratio (HR@10) and a 25.8% improvement in NDCG@10 over the strongest baseline.
Furthermore, CML exhibits remarkable robustness to sparsity. As shown in the performance analysis across user groups, CML consistently maintains a performance lead even for users with very few interactions (e.g., the "<4" bin), where traditional collaborative filtering methods often fail. Qualitative analysis using t-SNE further confirmed that CML successfully clusters a user's disparate behavior embeddings, indicating a deep understanding of cross-behavior dependencies.
Conclusion and Future Work
Contrastive Meta Learning offers a powerful paradigm for decoding the complex multiplicity of user behaviors. By combining self-supervised contrastive learning with personalized meta-weighting, CML effectively addresses both supervision sparsity and behavioral heterogeneity.
Future research directions include adapting the framework for real-time online modeling, exploring disentangled representations to separate user intents, and incorporating temporal dynamics to capture the sequential nature of multi-behavior interactions.
Summary updated