MDAR: A Knowledge-Graph-Enhanced Multi-Task Recommendation System Based on a DeepAFM and a Relation-Fused Multi-Gead Graph Attention Network

Songjiang Li, Qingxia Xue, Peng WangApplied Sciences 2023

TL;DR

This paper introduces MDAR, a novel multi-task recommendation system that enhances accuracy by integrating a DeepFM with an attention mechanism (DeepAFM) for better user preference modeling and a relation-fused multi-head graph attention network (RMGAT) for richer knowledge graph embeddings. MDAR effectively addresses challenges like sparse data and knowledge graph completion, outperforming existing methods on movie, book, and music recommendation tasks.

What Problem Does This Paper Address?

Traditional recommendation systems often struggle with data sparsity and the "cold start" problem (difficulty recommending for new users or items). Knowledge Graph-Enhanced Recommendation Systems (KGRSs) aim to mitigate this by leveraging structured knowledge graphs (KGs) as side information. However, existing KGRS methods, like MKR, face three main challenges:

  1. Capturing User Preferences: They often fail to fully capture nuanced user-item interaction features, leading to less accurate predictions of user behavior.
  2. Handling Missing Data: The process of integrating information between recommendation systems (RS) and knowledge graph embedding (KGE) modules can lead to data loss and incomplete semantic understanding.
  3. Knowledge Graph Completion: Effectively utilizing the rich, multi-relational information within KGs to learn comprehensive entity representations remains a challenge, hindering accurate knowledge graph completion.

Methods

MDAR tackles these issues by introducing a multi-task learning framework that combines three key components:

  • DeepFM with Attention Mechanism (DeepAFM): This module is designed to better capture user historical behavior preferences. It uses an attention mechanism to assign different weights to various interaction features between users and items, allowing it to distinguish the importance of different features for target prediction. This addresses the first challenge by providing a more nuanced understanding of user preferences.
  • Deep Neural Networks (DNNs) for Cross-Compression: To bridge the gap between the RS and KGE modules and mitigate data loss, MDAR incorporates DNNs into a cross-compression unit. These DNNs extract high-dimensional features from the interactions between items (from the RS module) and entities (from the KGE module), facilitating the exchange of deep semantic information and improving overall generalization. This tackles the second challenge.
  • Relation-Fused Multi-Head Graph Attention Network (RMGAT): This module enhances the KGE task by learning entity representations that incorporate multi-relation neighborhood information. It uses a multi-head attention mechanism with relation fusion to weigh the importance of different relationships and neighbors, leading to a more comprehensive understanding of entities and effectively addressing the knowledge graph completion problem (the third challenge).

Datasets

The proposed MDAR model was evaluated on four publicly available datasets:

  • MovieLens-1M: A widely used dataset for movie recommendations with approximately 1 million explicit ratings.
  • MovieLens-20M: A larger movie recommendation dataset with approximately 20 million ratings.
  • BookCrossing: A dataset containing over 1 million book reviews from around 300,000 readers.
  • Last.FM: A music recommendation dataset with listening information from over 2000 users.

The paper notes that for MovieLens-1M and MovieLens-20M, scores >= 5 were considered positive feedback, while for BookCrossing and Last.FM, the raw score information was used directly due to their sparse nature.

Key Insights and Ideas

  • Attention is Key for Preferences: The study highlights that an attention mechanism within the recommendation module (DeepAFM) is crucial for accurately capturing user preferences by dynamically weighting feature interactions.
  • Bridging Modalities with DNNs: Integrating DNNs for cross-compression effectively addresses the data sparsity and information loss that can occur when combining recommendation and knowledge graph embeddings.
  • Relations Matter in KGs: The RMGAT module demonstrates that explicitly modeling the importance of different relations within a knowledge graph is vital for learning richer entity representations and improving recommendation accuracy.
  • MDAR's Robustness: The model shows strong performance across diverse datasets, including those with high sparsity, indicating its generalizability.

Key Results

MDAR demonstrated superior performance compared to several state-of-the-art baseline models across the evaluated datasets.

  • CTR Prediction: MDAR achieved significant improvements in AUC and Accuracy (ACC) over the MKR baseline, with gains ranging from approximately 1.00% to 1.90% in AUC and 1.00% to 1.40% in ACC across different datasets. It also outperformed other strong baselines like KGCN, KGAT, CKAN, and EMKR.
  • Top-K Recommendation: MDAR showed improvements in Precision@K and Recall@K, outperforming CKAN and EMKR by notable margins (e.g., ~2.13% in Precision@K and ~1.24% in Recall@K compared to CKAN).
  • Sparsity Handling: The model performed well on sparse datasets like BookCrossing and Last.FM, proving its effectiveness even with limited user-item interactions. Ablation studies confirmed that both DeepAFM and RMGAT contribute significantly to the overall performance.

Limitations and Future Work

The authors acknowledge that while their study revealed important discoveries, there are limitations. Future work includes:

  • Exploring More Datasets: Evaluating MDAR on a wider range of datasets to further validate its applicability.
  • Advanced Learning Techniques: Incorporating reinforcement learning and meta-learning to enhance the system's adaptive capabilities.
  • Alternative Attention Mechanisms: Investigating different attention mechanisms in the sharing units to better distinguish feature contributions.
  • Temporal Knowledge Graphs: Building temporal knowledge graphs (TKGs) by incorporating timestamps to capture dynamic information and further enrich the knowledge graph.

Summary updated

BibTeX
@inproceedings{li2023mdar,
  author = {Songjiang Li and Qingxia Xue and Peng Wang},
  title = {{MDAR: A Knowledge-Graph-Enhanced Multi-Task Recommendation System Based on a DeepAFM and a Relation-Fused Multi-Gead Graph Attention Network}},
  booktitle = {Applied Sciences},
  year = {2023},
  doi = {10.3390/app13158697},
}
Figure