BasConv: Aggregating Heterogeneous Interactions for Basket Recommendation with Graph Convolutional Neural Network

Zhiwei Liu, Mengting Wan, Stephen Guo, Kannan Achan, Philip S. Yu · OpenReview

TL;DR

This paper introduces BasConv, a novel Graph Convolutional Neural Network (GCNN) framework for basket recommendation. BasConv effectively models the complex relationships within a "User-Basket-Item" (UBI) graph by introducing specialized aggregators that capture both "collectivity" (high-order interactions) and "heterogeneity" (different node and interaction types), leading to improved recommendation accuracy.

What Problem Does This Paper Address?

Recommending items to complete a shopping basket, known as "within-basket recommendation," aims to reduce user effort by predicting what items a user might want to add to their current selection. The core challenge lies in understanding the "intent" of the basket. This intent isn't just about individual user preferences (user-item interactions) but also about how items relate to each other within the context of a specific basket (multi-item correlations). Previous approaches often treated these interactions separately or failed to fully leverage the rich, multi-faceted nature of these relationships. Specifically, they overlooked the importance of "collectivity" (how information propagates through indirect connections) and "heterogeneity" (the presence of different types of nodes like users, baskets, and items, and their distinct interaction patterns).

Methods

The authors propose BasConv, a GCNN-based framework designed to tackle the heterogeneity and collectivity challenges. The core idea is to represent the recommendation problem as a link prediction task within a User-Basket-Item (UBI) graph. This graph explicitly models three types of entities: users, baskets, and items, and their interactions.

BasConv's novelty lies in its heterogeneous aggregators. Instead of a single type of aggregation, BasConv employs three specialized aggregators, one for each entity type (user, basket, item). These aggregators are built upon:

  • Self-Propagation Layers: These layers allow nodes to retain their own information from the previous layer.
  • Interactive Layers: These layers explicitly model the different types of interactions: user-basket, basket-item, and user-item. This allows BasConv to distinguish between these distinct relationship types.

By combining these, BasConv can learn rich node embeddings that capture both direct and indirect (high-order) neighborhood information, as well as the specific semantics of different interaction types. The model then uses these embeddings to predict the likelihood of an item being added to a basket.

Datasets

The paper evaluates BasConv on two real-world datasets:

  • Instacart: An online grocery shopping dataset.
  • Walmart Grocery: Another online grocery shopping dataset.

These datasets were preprocessed to filter out baskets with insufficient items, ensuring meaningful basket signals.

Key Insights and Ideas

  • The UBI Graph is Crucial: Explicitly modeling baskets as entities in a graph, alongside users and items, is key to capturing basket intent. This moves beyond simple user-item or item-item relationships.
  • Heterogeneity Matters: Different types of nodes (users, baskets, items) and their interactions (user-basket, basket-item, user-item) require specialized handling. A one-size-fits-all aggregation approach misses valuable information.
  • Collectivity is More Than Just Neighbors: High-order connections and indirect relationships within the UBI graph provide significant signals for understanding basket intent and improving recommendations.
  • Basket Intent is Multi-faceted: A single basket can have multiple underlying intents (e.g., cleaning vs. breakfast), and BasConv's ability to aggregate diverse signals helps it identify these nuances.

Key Results

BasConv consistently outperformed several state-of-the-art baselines (ItemPop, BPR-MF, Triple2vec, GC-MC, NGCF) on both Instacart and Walmart datasets across key metrics like Recall, NDCG, and Hit Ratio. For instance, on the Walmart dataset, BasConv achieved improvements of 7.72% in Recall, 16.48% in NDCG, and 16.91% in Hit Ratio compared to the next best model. The paper also demonstrated BasConv's robustness to data sparsity, showing it maintains strong performance even with reduced training data.

Limitations and Future Work

  • Layer Sensitivity: While BasConv benefits from multiple layers to capture high-order interactions, the optimal number of layers can vary between datasets. For the Instacart dataset, 3 layers performed best, while for Walmart, 2 layers were optimal. The authors suggest that too many layers might introduce noise from less relevant high-order interactions.
  • Future Directions: The authors implicitly suggest exploring more sophisticated aggregation mechanisms or graph structures to further refine the capture of complex interactions. Investigating how to automatically determine the optimal number of layers for different datasets could also be a valuable research direction.

Summary updated

BibTeX
@inproceedings{liu2020basconv,
  author = {Zhiwei Liu and Mengting Wan and Stephen Guo and Kannan Achan and Philip S. Yu},
  title = {{BasConv: Aggregating Heterogeneous Interactions for Basket Recommendation with Graph Convolutional Neural Network}},
  booktitle = {SDM},
  year = {2020},
  doi = {10.1137/1.9781611976236.8},
}
Figure