Pairwise Interactive Graph Attention Network for Context-Aware Recommendation

Yahui Liu, Furao Shen, Jian ZhaoarXiv 2019 · OpenReview

TL;DR

This paper introduces PIGAT, a novel Graph Neural Network (GNN) model for context-aware recommendation that captures dynamic user interests and item attractions by modeling user-item interactions as a dynamic graph. PIGAT leverages pairwise attention to weigh the importance of historical interactions for both users and items, and incorporates confidence embeddings to account for the varying reliability of interactions over time, leading to improved recommendations, especially for less popular items.

What Problem Does This Paper Address?

Recommender systems aim to predict user preferences, and context-aware recommender systems (CARS) enhance this by incorporating rich side information like user profiles and item attributes. While many CARS models focus on user behavior to understand user interests, they often overlook the importance of item interaction history for understanding "item attractions" – why an item is appealing. This oversight can lead to insufficient item representations, particularly for "long-tail" items (those with few interactions). The paper addresses this by proposing a method to model user-item interactions dynamically and capture both user interests and item attractions more effectively.

Methods

The core of PIGAT is its novel approach to modeling user-item interactions:

  • Dynamic Interaction Graph (DIG): Instead of a static graph, PIGAT represents user-item interactions as a directed bipartite graph where edges are labeled with the interaction order. This captures the temporal aspect of user behavior.
  • Pairwise Attention Layer: This is the key innovation. It uses an attention mechanism to determine the importance of each historical interaction (neighbor) to both the "head" (the user or item being considered) and the broader recommendation "context." This allows the model to learn which past interactions are most relevant for understanding current preferences and item appeal.
  • Confidence Embeddings: Recognizing that recent interactions are often more indicative of current preferences than older ones, PIGAT introduces confidence embeddings. These embeddings are designed to assign higher confidence to more recent interactions, influencing their impact on the model's representations.
  • Interactive Embedding Generator: This component integrates the outputs from the attention layer and confidence embeddings with the original user and item profile embeddings. It generates refined "interactive embeddings" that are more expressive and capture the dynamic nature of user interests and item attractions.
  • GNN Architecture: The entire process is framed within a GNN architecture, allowing for the propagation and aggregation of information across the interaction graph to generate rich node representations.

Datasets

The paper evaluates PIGAT on three real-world datasets:

  • Amazon: A widely used benchmark dataset containing product reviews and metadata. The experiments used two subsets: Books and Electronics.
  • Byte-Recommend: A large-scale dataset from a grand challenge, featuring millions of video interactions. This dataset is noted for its lower item density, making it particularly challenging for long-tail recommendation.

Key Insights and Ideas

  • Item Attractions Matter: The paper strongly emphasizes that understanding "item attractions" (why an item is appealing) is as crucial as understanding user interests for effective recommendation, especially for long-tail items.
  • Dynamics are Key: Modeling user-item interactions as a dynamic graph, rather than static, significantly improves recommendation performance. This highlights the importance of temporal information in user behavior.
  • Pairwise Importance is Crucial: The pairwise attention mechanism, which considers the importance of a neighbor to both the head and the context, is a significant improvement over standard attention methods. This allows for a more nuanced understanding of interaction relevance.
  • Confidence in Interactions: Explicitly modeling the confidence of interactions based on their recency is more effective than generic positional encodings, suggesting that the varying reliability of historical data is a critical factor.
  • Long-Tail Performance Boost: PIGAT's ability to generate more expressive representations, particularly for items with few interactions, leads to substantial improvements in long-tail recommendation scenarios.

Key Results

  • PIGAT consistently achieved state-of-the-art performance (measured by AUC) across all three datasets, outperforming strong baselines like DeepFM, DIN, and GC-MC.
  • On the Byte-Recommend dataset, which has a significant long-tail problem, PIGAT showed particularly strong gains, demonstrating its effectiveness in handling sparse data.
  • Experiments showed that using a dynamic interaction graph was superior to a static one, and that the proposed confidence embeddings significantly outperformed other methods like positional embeddings or random initialization.
  • The FFN-based attention function in PIGAT generally outperformed dot-product attention, suggesting the benefit of capturing higher-order relationships.

Limitations and Future Work

  • Dynamic Graph Evolution: The paper models the DIG as changing over time by inserting new nodes and interactions. While this is a step towards dynamic modeling, future work could explore more sophisticated ways to handle the continuous evolution of the graph.
  • Generalizability of Confidence Embeddings: While the proposed confidence embedding (FCE) performed well, the paper notes that using a fixed confidence embedding (FCE) decreased performance compared to learned embeddings (CE), implying that a more adaptive or learned approach to confidence might be beneficial.
  • Computational Cost: While not explicitly detailed as a limitation, GNNs and attention mechanisms can be computationally intensive. Future work might focus on optimizing the efficiency of PIGAT for even larger-scale deployments.
  • Exploring Other Contextual Features: The paper focuses on interaction history. Future research could explore integrating other types of contextual information more deeply into the PIGAT framework.

Summary updated

Abstract

Context-aware recommender systems (CARS), which consider rich side information to improve recommendation performance, have caught more and more attention in both academia and industry. How to predict user preferences from diverse contextual features is the core of CARS. Several recent models pay attention to user behaviors and use specifically designed structures to extract adaptive user interests from history behaviors. However, few works take item history interactions into consideration, which leads to the insufficiency of item feature representation and item attraction extraction. From these observations, we model the user-item interaction as a dynamic interaction graph (DIG) and proposed a GNN-based model called Pairwise Interactive Graph Attention Network (PIGAT) to capture dynamic user interests and item attractions simultaneously. PIGAT introduces the attention mechanism to consider the importance of each interacted user/item to both the user and the item, which captures user interests, item attractions and their influence on the recommendation context. Moreover, confidence embeddings are applied to interactions to distinguish the confidence of interactions occurring at different times. Then more expressive user/item representations and adaptive interaction features are generated, which benefits the recommendation performance especially when involving long-tail items. We conduct experiments on three real-world datasets to demonstrate the effectiveness of PIGAT.
BibTeX
@misc{liu2019pairwise,
  author = {Yahui Liu and Furao Shen and Jian Zhao},
  title = {{Pairwise Interactive Graph Attention Network for Context-Aware Recommendation}},
  year = {2019},
  eprint = {1911.07429},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1911.07429},
}
Figure