Multi-Behavior Graph Neural Networks for Recommender System

Lianghao Xia, Chao Huang, Yong Xu, Peng Dai, Liefeng BoIEEE TNNLS 2022 · DOI

Abstract

Recommender systems are essential for meeting personalized user interests in online services. While deep-learning-based collaborative filtering (CF) has seen success, most models rely on a single interaction type, ignoring the rich context provided by diverse behaviors like clicking, adding to cart, or purchasing. We present MBRec, a multi-behavior graph neural network that explicitly models diverse interaction patterns and cross-type behavior interdependencies. By leveraging a graph-structured framework to capture high-order connectivity and an adaptive relationship encoder for cross-layer aggregation, MBRec significantly outperforms state-of-the-art models on real-world datasets.

Introduction: The Challenge of Multi-Behavior Data

Traditional collaborative filtering models typically focus on a single "target" behavior, such as a purchase. However, user journeys in e-commerce are multi-faceted, involving auxiliary actions like page views, favorites, and cart additions. These behaviors provide critical "collaborative signals" that can alleviate data sparsity issues.

User-item multi-behavior interactions and the resulting high-order multiplex graph connectivity.

The challenge lies in the complex, non-linear interdependencies between these behaviors. A "favorite" action might strongly signal intent, but its semantic weight relative to a "click" varies across users and items. Existing models often fail to capture these high-order patterns effectively across different interaction types.

The MBRec Framework

MBRec addresses these challenges by treating user-item interactions as a multiplex graph and employing a specialized architecture to encode and aggregate behavioral signals.

1. Type-Specific Behavior Message Encoding

Instead of using a single embedding space, MBRec utilizes a multi-channel approach. It projects user and item features into distinct semantic subspaces for each behavior type (e.g., "view" vs. "buy"), ensuring that the unique characteristics of each interaction are preserved.

2. Behavior Inter-dependency Modeling

To capture how different behaviors influence one another, the framework incorporates a self-attention mechanism inspired by Transformers. This allows the model to learn quantitative correlations—for instance, determining how much a historical "click" should inform the representation of a potential "purchase."

3. Cross-Behavior Pattern Aggregation

A key innovation in MBRec is the Cross-Layer Mutual Relation Learning module. Rather than relying solely on the final layer of a GNN, MBRec adaptively fuses representations from all propagation layers. This ensures that both local (one-hop) and global (multi-hop) collaborative signals are weighted based on their relevance to the specific user-item pair.

The MBRec architecture detailing type-specific encoding, behavior inter-dependency modeling, and cross-behavior pattern aggregation.

Experimental Evaluation

Datasets and Baselines

The model was rigorously evaluated on three large-scale datasets: Tmall (views, favorites, carts, purchases), BeiBei (clicks, carts, purchases), and IJCAI-Competition. It was compared against traditional matrix factorization (BiasMF), neural CF (NCF), and advanced graph-based models like NGCF and ST-GCN.

Key Results

  • Performance Gains: MBRec consistently outperformed all baselines. On the Tmall dataset, it achieved over a 34% improvement in HR@10 and 33% in NDCG@10 compared to AutoRec.
  • Robustness to Sparsity: By incorporating auxiliary behaviors, MBRec maintained high performance even when purchase data was extremely sparse, proving that non-purchase interactions are vital for building rich user profiles.
  • Scalability: The authors implemented a random walk-based graph sampling strategy, allowing MBRec to handle massive datasets efficiently while maintaining a dense subgraph for training.

Conclusion and Future Directions

MBRec demonstrates that explicitly modeling the diversity of user behaviors through graph neural networks provides a significant leap in recommendation accuracy. By adaptively fusing multi-layer representations and learning behavior interdependencies, the model captures the nuance of modern e-commerce interactions. Future research will focus on integrating causal effect analysis to distinguish between coincidental interactions and true drivers of preference, as well as exploring time-aware dynamic behavior patterns.

Summary updated

BibTeX
@article{xia2022multi,
  author = {Lianghao Xia and Chao Huang and Yong Xu and Peng Dai and Liefeng Bo},
  title = {{Multi-Behavior Graph Neural Networks for Recommender System}},
  journal = {IEEE Transactions on Neural Networks and Learning Systems},
  year = {2022},
  doi = {10.1109/tnnls.2022.3204775},
}
Figure