Abstract
Context-aware recommender systems (CARS) often struggle to balance the structural patterns of collaborative filtering with the situational nuances of context. We present the Graph Convolution Machine (GCM), an end-to-end framework that represents user-item interactions as an attributed bipartite graph where context serves as edge features. By leveraging graph convolutional networks for message passing and a factorization machine for efficient decoding, GCM captures high-order connectivity while maintaining industrial-scale inference speeds.
Introduction
Recommendation systems generally fall into two categories: Collaborative Filtering (CF), which excels at finding patterns in user-item interactions, and Context-Aware Recommender Systems (CARS), which focus on situational variables like time, location, or device type.
The gap is that most CF models ignore context, while most CARS models treat every interaction as an isolated data point. This "isolated" approach fails to capture the structural relationships between different users and items. Furthermore, many recent deep-learning-based CARS models are computationally expensive, making them difficult to deploy for real-time serving. GCM addresses these challenges by treating context as a bridge within a graph-based framework.
Methods
The GCM framework consists of three main components designed to capture complex relationships efficiently:
- The Encoder: This layer projects users, items, and context features into a low-dimensional embedding space using simple average pooling to create initial representation vectors.
- Graph Convolution (GC) Layers: The core innovation represents data as an attributed bipartite graph where users and items are nodes, and the context of their interaction is an edge feature. During message passing, a node integrates the context of specific interactions, allowing the model to learn context-dependent preferences (e.g., a user's preference for a specific venue type on a Friday night).
- The Decoder: To maintain efficiency, GCM uses a Factorization Machine (FM) as the decoder. It explicitly models the pairwise interactions between the refined user, item, and context embeddings.
Crucially, because the graph convolutions can be pre-computed offline, the online serving complexity of GCM is identical to a standard Factorization Machine, making it significantly faster than deep neural networks that require a full forward pass for every candidate item.
Key Insights and Results
High-Order Connectivity
GCNs allow a user to learn from "neighbors of neighbors." If two users interact with the same item in a similar context, GCM allows their preferences to propagate, creating a richer training signal. This is particularly effective for solving the cold-start problem, as the model can "see" unpopular items through their context-aware links to more popular nodes.
Performance and Efficiency
The model was evaluated on large-scale datasets including Yelp (NC and OH) and Amazon-book. Key findings include:
- State-of-the-Art Accuracy: GCM consistently outperformed top-tier baselines like xDeepFM and GIN. On the Yelp-NC dataset, GCM improved the Hit Ratio (HR@10) by over 20% compared to the strongest baseline.
- Incredible Speedups: In inference tests, GCM was roughly 24 times faster than xDeepFM and 157 times faster than Convolutional FM.
Conclusion
GCM demonstrates that high-order graph representations do not have to come at the cost of inference speed. By using a graph to perform the heavy lifting of representation learning and a simple FM for decoding, the model achieves superior accuracy and industrial-grade efficiency. Future work will explore dynamic context features and disentangled representations to further separate distinct user modes (e.g., work vs. vacation).
Summary updated