Introduction
Traditional recommender systems often rely on Collaborative Filtering (CF), assuming that historical similarities between users predict future preferences. However, these systems frequently overlook the context of an interaction—such as a user's mood, the weather, or their current activity. This paper introduces cGCMC, a context-aware Graph Neural Network (GNN) framework designed to treat recommendation as a link prediction task within a 3D space defined by users, items, and contexts.
The Challenge of Context
While context-aware systems exist, many treat context as simple auxiliary features or utilize complex tensor factorization methods that struggle with scalability. The core issue is capturing the deep, dynamic interactions between users and items under specific circumstances labeled on the edges of an interaction graph.
As shown in the figure above, the goal is to map discrete users, contexts, and items into a unified representation where a specific rating $r$ is a function of the triplet $(u, v, c)$.
The cGCMC Framework
The authors propose the context-aware Graph Convolutional Matrix Completion (cGCMC) model, a graph autoencoder architecture that processes multiple data perspectives simultaneously.
Multi-Perspective Encoder
The encoder generates three distinct representations for each node:
- Opinion Representation: Uses a GCN with local weight sharing, applying different weights for different rating levels (e.g., distinguishing a 5-star interaction from a 1-star one).
- Contextual Representation: Employs a GCN with global weight sharing to process user-item-context interactions. It introduces an $\alpha$ importance factor to prioritize "favorite circumstances"—contexts where users historically provide higher ratings.
- Static Feature Representation: Standard dense layers process user/item profiles (age, gender, genre) to maintain performance even when interaction data is sparse.
Attention and Decoding
Rather than simple summation, the model uses learnable attention weights to dynamically aggregate these representations. This allows the system to prioritize, for instance, a user's static profile over a noisy mood indicator. Finally, a Bilinear Decoder treats rating prediction as a classification task, outputting a probability distribution over possible rating levels.
Experimental Evaluation
The model was evaluated on five real-world datasets, including LDOS-CoMoDa (movies/mood/weather) and InCarMusic (music/driving style).
Key Results
- Superior Accuracy: cGCMC consistently outperformed baselines like SVD++ and standard GCMC. On the LDOS-CoMoDa dataset, it achieved a Mean Absolute Error (MAE) of 0.77, compared to 1.12 for standard GCMC.
- Ablation Insights: Removing the $\alpha$ factor or the attention mechanism led to significant performance drops, confirming that context-aware components are vital for accuracy.
- Robustness: The model remained effective across varying levels of data density, making it suitable for real-world applications where interaction data is often sparse.
Conclusion and Future Work
cGCMC demonstrates that treating context as an edge property within a GNN allows for more nuanced and accurate recommendations. By statistically weighting ideal conditions through the $\alpha$ factor and using attention to balance different data perspectives, the model sets a new benchmark for context-aware recommendation. Future research will explore multi-dimensional edge features and more complex multi-way interactions to further refine dynamic behavior modeling.
Summary updated