Mining Implicit Entity Preference from User-Item Interaction Data for Knowledge Graph Completion via Adversarial Learning

Gaole He, Junyi Li, Wayne Xin Zhao, Peiju Liu, Ji-Rong Wen · DOI

TL;DR

This paper introduces UPGAN, a novel adversarial learning framework that leverages user-item interaction data to improve Knowledge Graph Completion (KGC). By treating user preferences as a signal to guide a discriminator, UPGAN effectively bridges the gap between heterogeneous data sources and enhances KGC performance, especially for entities with sparse information.

What Problem Does This Paper Address?

Knowledge Graphs (KGs) are powerful tools for representing structured information, but they are often incomplete. Knowledge Graph Completion (KGC) aims to fill these gaps by predicting missing facts. While KGs are widely used in online applications, the rich user-item interaction data generated by these applications is often underutilized for KGC. This is challenging because KG data and user interaction data have fundamentally different characteristics (heterogeneity) and can be complex to integrate. Simply merging them can degrade performance. This paper addresses how to effectively leverage user-item interaction data to improve KGC, specifically by uncovering implicit user preferences that can inform the completion process.

Methods

The core of UPGAN is an adversarial learning framework, inspired by Generative Adversarial Networks (GANs). It consists of two main components:

  • Generator (G): This component is responsible for producing candidate "fake" entities to answer a query (e.g., predicting the missing tail entity in a triple like <head, relation, ?>). Crucially, the generator is designed to model a pure KG semantic space and does not directly use user interaction data. Its role is to generate challenging negative samples to help train the discriminator.
  • Discriminator (D): This component evaluates the plausibility of a given triple (including the generated candidate entity). The discriminator is where the magic happens for integrating user interaction data. It takes learned entity representations that are enhanced by user preferences as input. This allows it to distinguish not only based on KG semantics but also on whether the candidate aligns with learned user preferences.

To achieve this, UPGAN employs a two-stage collaborative representation learning approach over an "interaction-augmented KG":

  1. Learning Entity-oriented User Preference: This stage uses graph neural networks (GNNs) to propagate information from KG entities to user nodes. This process learns user preference representations that capture their implicit preferences over entities.
  2. Learning Preference-enhanced Entity Representation: In the second stage, information flows back from user nodes to target entities. This aggregates the learned user preferences, creating enhanced entity representations that encode both KG semantics and user preference signals.

The generator is trained using policy gradient methods, with rewards derived from the discriminator's feedback. The discriminator is trained to distinguish between real KG triples and the fake triples generated by G, incorporating the preference-enhanced entity representations.

Datasets

The paper evaluates UPGAN on three real-world datasets:

  • MOVIELENS movie [11]: Movie interaction data.
  • LFM-1b music [23]: Music interaction data.
  • AMAZON book [12]: Book interaction data.

These datasets are constructed by aligning entities from Freebase [9] with items in these online systems, creating an "interaction-augmented KG." The authors filtered these datasets to ensure quality and handle sparsity.

Key Insights and Ideas

  • User Preference as a Signal for KGC: The central idea is that user interaction data, while noisy, implicitly encodes user preferences that are valuable for improving KGC. This is a departure from simply fusing representations.
  • Adversarial Learning for Data Heterogeneity: GANs provide a robust framework to handle the inherent differences between KG and user interaction data. By isolating the generator from user data, it prevents the KG semantic space from being corrupted by noisy interaction signals.
  • Two-Stage GNN for Preference Learning: The proposed GNN architecture effectively learns user preferences by first propagating entity information to users and then aggregating user preferences back to entities. This layered approach is key to extracting meaningful signals.
  • Discriminator as the Integration Hub: The discriminator is the critical component that learns to leverage both KG semantics and the preference-enhanced entity representations, making it more discerning.
  • Generator as a "Hard Negative" Producer: The generator's role is not just to create any fake samples, but to create hard negative samples that effectively challenge and improve the discriminator.

Key Results

UPGAN consistently outperforms various baseline methods across three datasets on standard KGC metrics (MR, MRR, H@k).

  • Overall Performance: UPGAN achieves significant improvements over strong baselines like DistMult, ConvTransE, and even GAN-based methods like KBGAN. For example, on the book dataset, UPGAN shows a substantial improvement over the strongest baseline.
  • Sparsity Handling: UPGAN demonstrates particularly strong performance gains on entities with sparse KG triples, indicating its effectiveness in leveraging auxiliary user interaction data when KG information is limited.
  • Robustness to Data Amount: The model's performance is sensitive to the amount of both KG triples and user interaction data, but UPGAN shows a consistent advantage even with reduced data. It performs well with sparser KG data and shows stable improvement with increasing user interaction data.
  • Ablation Studies: The paper shows that each component of UPGAN contributes to its performance. Specifically, the preference-enhanced entity representation and the two-stage learning are crucial.

Limitations and Future Work

  • Dataset Dependency: The current evaluation is limited to three datasets with aligned entity-item linkages. The authors suggest investigating performance in other domains.
  • Computational Cost: While not explicitly detailed, adversarial training and GNNs can be computationally intensive.
  • Future Work: The authors believe their approach is applicable to more domains and plan to explore this. Further research could also investigate more sophisticated ways to model user preferences and explore different GAN architectures.

Summary updated

BibTeX
@inproceedings{he2020mining,
  author = {Gaole He and Junyi Li and Wayne Xin Zhao and Peiju Liu and Ji-Rong Wen},
  title = {{Mining Implicit Entity Preference from User-Item Interaction Data for Knowledge Graph Completion via Adversarial Learning}},
  booktitle = {The Web Conference},
  year = {2020},
  doi = {10.1145/3366423.3380155},
}
Figure