Collaborative Metric Learning with Memory Network for Multi-Relational Recommender Systems

Xiao Zhou, Danyang Liu, Jianxun Lian, Xing Xie

Abstract

Standard recommender systems typically focus on a single interaction type, such as "purchases," neglecting the rich context provided by auxiliary actions like "clicks" or "shares." This paper introduces the Multi-Relational Memory Network (MRMN), a framework that integrates collaborative metric learning with an external memory module to model diverse user-item relationships. MRMN adaptively generates relation-specific vectors, allowing it to capture fine-grained preferences and mitigate data sparsity. Experimental results on large-scale datasets demonstrate that MRMN consistently outperforms existing single- and multi-relational recommendation models.

Introduction

In real-world digital environments, users interact with items through a variety of behaviors. For instance, a user might browse several news articles, skip a few songs, and eventually purchase a book. Each of these actions—clicking, skipping, sharing, or purchasing—carries a different semantic weight and reflects a specific facet of user preference.

Figure 1: Illustration of diverse user-item interactions across multiple domains and relation types.

Traditional models often simplify this complexity by focusing on a single "target" action, leading to two primary issues: data sparsity (high-intent actions like purchases are rare) and coarse preference profiling (ignoring the nuance of non-purchase interactions).

Methodology: The Multi-Relational Memory Network (MRMN)

The MRMN framework addresses these challenges by combining metric learning with a memory-augmented architecture.

Collaborative Metric Learning (CML)

Unlike inner-product-based matrix factorization, MRMN employs a translation-based metric learning approach. It maps users ($u$) and items ($i$) into a shared metric space where the relationship is defined as $u + r \approx i$. Here, $r$ represents a relation vector that bridges the gap between user intent and item characteristics.

Augmented Memory Network

To handle multiple relations without manual feature engineering, MRMN utilizes an external memory matrix. This matrix stores latent "building blocks" of potential relationships. For any given interaction, the model uses an attention mechanism to query this memory and synthesize a specific relation vector.

Figure 2: The MRMN architecture, showcasing the integration of user/item vectors with a memory-augmented relation modeling layer.

Multi-Relational Modeling and Discriminative Margins

By weighting memory slots differently for each interaction type (e.g., "click" vs. "purchase"), the model learns distinct geometric translations for different behaviors. Furthermore, MRMN employs discriminative margins in its loss function, enforcing larger distances for high-confidence signals (like purchases) to prioritize them during training.

Experimental Evaluation

The authors evaluated MRMN on three diverse datasets: Tmall (e-commerce), Xing (job recruitment), and Dianping (local services).

Key Results

  • Performance Gains: MRMN achieved significant improvements in Hit Ratio (HR@10) and NDCG@10. On the Tmall dataset, it outperformed the best multi-feedback baselines by approximately 5% and single-relational models by over 10%.
  • Knowledge Transfer: By sharing a common memory matrix across all relations, the model effectively transfers insights from frequent, low-intent actions (clicks) to improve predictions for rare, high-intent actions (purchases).
  • Robustness to Sparsity: MRMN showed superior performance even in highly sparse data scenarios, proving that multi-relational modeling acts as a powerful regularizer.

Conclusion and Future Work

MRMN represents a significant step forward in multi-relational recommendation by adaptively learning the "strength" and "meaning" of different user actions. While the current model requires manual hyperparameter tuning for relation margins and does not yet account for the temporal sequence of actions, its ability to unify disparate feedback types into a cohesive metric space offers a robust solution for modern, data-rich recommender systems.

Summary updated

BibTeX
@inproceedings{zhou2019collaborative,
  author = {Xiao Zhou and Danyang Liu and Jianxun Lian and Xing Xie},
  title = {{Collaborative Metric Learning with Memory Network for Multi-Relational Recommender Systems}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2019},
  doi = {10.24963/ijcai.2019/619},
}
Figure