CrossCBR: Cross-view Contrastive Learning for Bundle Recommendation

Yunshan Ma, Yingzhi He, An Zhang, Xiang Wang, Tat-Seng Chua

TL;DR

CrossCBR is a new framework for bundle recommendation that uses cross-view contrastive learning to align a user's "bundle-level" preferences with their "item-level" interests. By forcing these two distinct perspectives to coordinate during training, the model achieves state-of-the-art performance across multiple datasets while being significantly more computationally efficient than previous methods.

What Problem Does This Paper Address?

Bundle recommendation—suggesting a set of related items like a music playlist or a fashion outfit—is a win-win for platforms and users. It offers "one-stop" convenience for users and increases sales for platforms.

However, modeling user preference for bundles is tricky because it happens at two different granularities:

  1. The Bundle View: How users interact with bundles as single units (behavioral similarity).
  2. The Item View: How users interact with the individual items contained within those bundles (content relatedness).

Existing state-of-the-art (SOTA) methods either mash these two views into one giant graph (losing the unique signals of each) or treat them as completely separate pipelines and only combine them at the very end (missing out on mutual enhancement). The authors of CrossCBR argue that the "cooperative association" between these two views is the missing piece for accurate recommendations.

Methods

CrossCBR (Cross-view Contrastive Learning for Bundle Recommendation) employs a multi-view architecture:

  • Two-View Representation Learning:
    • Bundle View: Uses a User-Bundle (U-B) bipartite graph and a LightGCN backbone to learn embeddings based on direct interactions.
  • Item View: Uses User-Item (U-I) and Bundle-Item (B-I) graphs. It learns item embeddings via LightGCN and then aggregates them (via average pooling) to form bundle representations.
  • Cross-view Contrastive Learning (The Core Innovation): Instead of just training these views independently, CrossCBR applies a contrastive loss (InfoNCE). This loss does two things:
  • Alignment: It pulls the representations of the same user or bundle from both views closer together.
  • Dispersion: It pushes the representations of different users or bundles further apart.
  • Joint Optimization: The model is trained by combining a standard Bayesian Personalized Ranking (BPR) loss for recommendation with the cross-view contrastive loss.

Crucially, the authors simplified the graph structure by removing self-connections and pre-calculated bundle-bundle overlap connections, relying instead on the contrastive loss to capture those relationships.

Datasets

The model was evaluated on three public datasets representing different domains:

  • Youshu: A book list recommendation dataset.
  • NetEase: A music playlist recommendation dataset.
  • iFashion: A large-scale fashion outfit recommendation dataset (preprocessed using 20-core/10-core rules to ensure data quality).

These datasets vary significantly in scale and "bundle density" (the number of items per bundle), testing the model's robustness.

Key Insights and Ideas

  • Mutual Enhancement: The "aha moment" is that the two views are complementary. The bundle view captures high-level behavior, while the item view captures fine-grained content. Contrastive learning allows each view to "distill" information from the other.
  • Alignment as a Bridge: By encouraging cross-view alignment, the model indirectly improves the "self-discrimination" within each view. If User A and User B are different, the contrastive loss makes sure they stay different in both the bundle and item spaces.
  • Simplicity Wins: Unlike previous models like BGCN that used complex feature transformations and extra graph edges, CrossCBR shows that a cleaner graph with a smart loss function performs better and trains faster.
  • Data Augmentation is Optional: Interestingly, the authors found that standard data augmentation (like dropping edges) didn't provide much extra gain. The inherent difference between the "Bundle View" and "Item View" already provided enough variance for effective contrastive learning.

Key Results

CrossCBR significantly outperformed SOTA baselines (including BGCN and SGL):

  • Performance Gains: On the iFashion dataset, CrossCBR improved Recall@20 by 25.76% and NDCG@20 by 29.63% over the strongest baseline.
  • Efficiency: Because it removes redundant graph modules and feature transformation layers, CrossCBR is much faster. For example, on the NetEase dataset using a Titan V GPU, CrossCBR's training time per epoch was roughly 4.5x faster than BGCN.
  • Ablation Success: Removing the contrastive loss (CrossCBR-CL) led to a massive performance drop, proving that the cross-view coordination is indeed the primary driver of the model's success.

Limitations and Future Work

  • Hard Negatives: The current model uses in-batch negative sampling. The authors suggest that incorporating "hard" negative samples (items/bundles that are similar but not interacted with) could further boost performance.
  • Generalization: While effective for bundles, the authors believe this cross-view contrastive paradigm can be generalized to other recommendation tasks where multiple distinct data sources exist (e.g., social recommendation or multi-modal recommendation).
  • Data Augmentation: Since simple augmentations didn't help much, the authors suggest exploring more advanced, model-based augmentation techniques in the future.

Summary updated

BibTeX
@inproceedings{ma2022crosscbr,
  author = {Yunshan Ma and Yingzhi He and An Zhang and Xiang Wang and Tat-Seng Chua},
  title = {{CrossCBR: Cross-view Contrastive Learning for Bundle Recommendation}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2022},
  doi = {10.1145/3534678.3539229},
}

Loading related content...

Figure