TL;DR
This paper introduces DPAO, a novel reinforcement learning framework that adaptively optimizes how Graph Neural Networks (GNNs) aggregate information for recommender systems. By employing dual Deep Q-Networks (DQNs) for users and items independently, DPAO learns to select the optimal number of GNN layers for each, leading to significantly improved recommendation accuracy across various datasets.
What Problem Does This Paper Address?
Recommender systems, especially those leveraging Graph Neural Networks (GNNs), excel at capturing complex relationships between users and items. However, a key challenge lies in how GNNs aggregate information from a node's neighbors. Current GNN-based recommender systems often use a fixed number of layers and a static aggregation strategy, which may not be optimal for every user or item. The heterogeneity of user and item behaviors means that different entities might benefit from aggregating information from different "hops" (i.e., different numbers of GNN layers) in the graph. This paper addresses this limitation by proposing a method to dynamically learn the optimal aggregation strategy for each user and item.
Methods
The core of DPAO is a Dual Policy Learning framework built upon Reinforcement Learning (RL). It frames the problem as a Markov Decision Process (MDP) for both users and items separately.
- Dual MDPs: Two independent MDPs are defined: one for users and one for items.
- States: The states in these MDPs are the current user or item nodes in the graph.
- Actions: The actions are the selection of the number of GNN layers to use for aggregation (e.g., 1-hop, 2-hop, etc.).
- DQNs: Two Deep Q-Networks (DQNs) are trained, one for the user MDP and one for the item MDP. These DQNs learn a policy to select the optimal action (number of layers) for each user and item.
- Action-wise GNN-R: Once an action (number of layers) is chosen by the DQN, the GNN-based recommender model (the "environment") uses that specific number of layers to compute embeddings.
- Reward Mechanism: The reward is crucial for training the DQNs. It's calculated based on the difference between the predicted score for a positive interaction and a negative interaction. Importantly, user-wise sampling is used to generate rewards for the item DQN, and item-wise sampling is used for the user DQN. This ensures that the reward signal considers the heterogeneous nature of users and items.
- Integration: DPAO is designed to be pluggable into existing GNN-based recommender systems (GNN-Rs) like LightGCN and KGAT, requiring minimal modifications.
Datasets
The paper evaluates DPAO on a total of six datasets:
- Non-KG Datasets:
- Gowalla
- MovieLens1M
- Amazon-Book
- KG Datasets:
- Last-FM
- Yelp2018
- Amazon-Book (also used as a KG dataset)
The authors note that for KG datasets, they map items to entities in Freebase and use information networks (like location and attributes) as entities for Yelp2018.
Key Insights and Ideas
- Heterogeneity is Key: The most significant insight is that users and items are not monolithic. They have different interaction patterns and may benefit from different aggregation strategies (i.e., different numbers of GNN layers). This justifies the need for separate policies for users and items.
- RL for Hyperparameter Optimization: DPAO frames the selection of GNN layers (a hyperparameter) as a sequential decision-making problem solvable by RL, which is a novel approach for this specific optimization task in GNN-Rs.
- Hard Negative Sampling: The paper suggests that using "hard" negative samples (those closer to the target node in the graph) can help the DQN learn a more precise decision boundary, leading to better optimization.
- User/Item-Aware Rewards: The use of user-wise and item-wise sampling for reward calculation is a clever way to inject the specific needs of each entity into the learning process.
Key Results
- Significant Performance Gains: DPAO consistently outperforms state-of-the-art baselines on both non-KG and KG datasets.
- On non-KG datasets, DPAO improved nDCG@20 by up to 23.3% and Recall by up to 17.5% compared to the second-best model.
- On KG datasets, DPAO achieved substantial improvements, with nDCG@20 increasing by up to 63.7% and Recall by up to 42.9% compared to the base model (KGAT).
- Faster Training: DPAO demonstrates faster training times compared to several baseline GNN-R models, attributed to efficient subgraph extraction and reward calculation.
- Adaptive Layer Selection: Analysis of the chosen actions (number of layers) shows that DPAO learns distinct distributions for users and items, and these distributions vary across different datasets, confirming the adaptive nature of the approach. For KG datasets, more layers are often selected, suggesting the need to explore richer information.
Limitations and Future Work
- Fluctuating Rewards: The paper notes that the reward function can exhibit high fluctuations, which is attributed to the stochastic nature of negative sample selection. While a trend line shows overall improvement, this variability might be an area for further investigation.
- Generalizability: While DPAO is shown to be pluggable into various GNN-R models, its effectiveness might depend on the specific architecture and the nature of the underlying graph.
- Future Work: The authors suggest exploring more sophisticated RL algorithms and reward functions, as well as investigating the impact of different sampling strategies and their interaction with KG structures. They also hint at an ablation study comparing their Dual-DQN approach to a single DQN, suggesting that the dual approach is indeed superior.
Summary updated