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

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

TL;DR

This paper introduces BasConv, a novel Graph Convolutional Neural Network (GCNN) framework for basket recommendation. It addresses the challenge of capturing complex, heterogeneous relationships between users, items, and shopping baskets by modeling them as a unified User-Basket-Item (UBI) graph, leading to improved recommendation accuracy.

What Problem Does This Paper Address?

Online shoppers often add multiple items to their "basket" in a single session, reflecting a specific intent (e.g., buying ingredients for a recipe, preparing for a party). Recommending items to complete these baskets, known as "within-basket recommendation," is crucial for reducing user exploration time and enhancing the shopping experience. Traditional recommendation systems often struggle with this task because they either focus solely on user-item interactions or treat all items within a basket as independent. This paper highlights that the intent of a basket is key and can be inferred from both user-item collaborative filtering signals and, importantly, the multi-item correlations within the basket. Existing methods fail to adequately capture the "collectivity" (how information from neighbors, both direct and indirect, contributes to a node's meaning) and "heterogeneity" (the presence of different types of nodes and interactions) inherent in this problem.

Methods

BasConv tackles the basket recommendation problem by framing it as a link prediction task on a novel User-Basket-Item (UBI) graph. This graph explicitly models three types of entities: users, baskets, and items, and their interactions. The core of BasConv is a Graph Convolutional Neural Network (GCNN) architecture with heterogeneous aggregators.

Key methodological contributions include:

  • UBI Graph Construction: A unified graph representing user-basket, basket-item, and user-item interactions. Baskets are treated as first-class entities to capture basket intent.
  • Heterogeneous Aggregators: Three specialized aggregators (for users, baskets, and items) designed to learn node embeddings by considering different types of neighbors and interactions. These aggregators are built upon:
  • Self-Propagation Layers: Standard GCNN layers for initial information propagation within a node's own type.
  • Interactive Layers: Novel layers that explicitly model the heterogeneous interactions (user-basket, basket-item, user-item) within the UBI graph. These layers use trainable parameter matrices to learn the distinct relationships.
  • High-Order Collectivity: The multi-layer GCNN structure allows information to propagate through multiple hops, capturing indirect relationships and a broader context of user behavior.

Datasets

The paper evaluates BasConv on two real-world datasets:

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

These datasets were preprocessed by filtering out baskets with fewer than a certain number of items (30 for Instacart, 40 for Walmart) to ensure sufficient basket signals.

Key Insights and Ideas

  • Basket Intent is Paramount: The paper strongly emphasizes that understanding the underlying intent of a shopping basket is critical for accurate recommendations, going beyond simple item co-occurrence.
  • Heterogeneity is a Feature, Not a Bug: By explicitly modeling different node types (users, baskets, items) and their unique interaction patterns, BasConv can leverage richer information than methods that treat all relationships uniformly.
  • Collectivity Matters: Aggregating information not just from direct neighbors but also from higher-order connections in the UBI graph is essential for capturing the complex semantics of shopping behavior.
  • GCNNs are Well-Suited: The graph-based nature of the UBI graph makes GCNNs a natural fit for learning embeddings that encode these complex, interconnected relationships.

Key Results

BasConv consistently outperforms several state-of-the-art baselines on both the Instacart and Walmart datasets across key recommendation metrics like Recall@K, HR@K, and NDCG@K.

  • Significant Improvements: BasConv achieved improvements of 7.72% (Walmart) and 7.34% (Instacart) in Recall, 16.48% (Walmart) and 1.74% (Instacart) in NDCG, and 16.91% (Walmart) and 9.89% (Instacart) in Hit Ratio compared to the best performing baseline (NGCF).
  • Robustness to Data Sparsity: The model demonstrates strong performance even with reduced training data, indicating its ability to effectively learn from limited interactions by leveraging the rich UBI graph structure.
  • Case Study Validation: A qualitative case study on the Instacart dataset successfully identified multiple intents within a basket (cleaning and breakfast) and provided relevant recommendations, validating the model's ability to capture nuanced user intentions.

Limitations and Future Work

  • Layer Sensitivity: The performance of BasConv can be sensitive to the number of layers, with optimal performance varying across datasets (e.g., 3 layers for Instacart, 2 for Walmart). The paper suggests that higher-order interactions might introduce noise.
  • Computational Complexity: While the paper mentions parameter complexity is linear to embedding dimension, the propagation through a multi-layer GCNN on a large graph can still be computationally intensive.
  • Future Work: The authors suggest exploring more sophisticated ways to model heterogeneous interactions and potentially incorporating temporal dynamics of shopping sessions. Further research into optimizing the layer selection and understanding the impact of different aggregation strategies could also be beneficial.

Summary updated

BibTeX
@inproceedings{liu2020basconv,
  author = {Zhiwei Liu and Mengting Wan and Stephen D. 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},
}

Loading related content...

Figure