User Embedding based Neighborhood Aggregation Method for Inductive Recommendation

Rahul Ragesh, Sundararajan Sellamanickam, Vijay Lingam, Arun Iyer, Ramakrishna BairiarXiv 2021

Abstract

We consider the problem of learning latent features (aka embedding) for users and items in a recommendation setting. Given only a user-item interaction graph, the goal is to recommend items for each user. Traditional approaches employ matrix factorization-based collaborative filtering methods. Recent methods using graph convolutional networks (e.g., LightGCN) achieve state-of-the-art performance. They learn both user and item embedding. One major drawback of most existing methods is that they are not inductive; they do not generalize for users and items unseen during training. Besides, existing network models are quite complex, difficult to train and scale. Motivated by LightGCN, we propose a graph convolutional network modeling approach for collaborative filtering CF-GCN. We solely learn user embedding and derive item embedding using light variant CF-LGCN-U performing neighborhood aggregation, making it scalable due to reduced model complexity. CF-LGCN-U models naturally possess the inductive capability for new items, and we propose a simple solution to generalize for new users. We show how the proposed models are related to LightGCN. As a by-product, we suggest a simple solution to make LightGCN inductive. We perform comprehensive experiments on several benchmark datasets and demonstrate the capabilities of the proposed approach. Experimental results show that similar or better generalization performance is achievable than the state of the art methods in both transductive and inductive settings.

Introduction

Modern recommender systems predominantly rely on Collaborative Filtering (CF) to predict user preferences based on historical interaction data. Recently, Graph Convolutional Networks (GCNs), such as LightGCN, have set new benchmarks by modeling user-item interactions as a bipartite graph. However, these state-of-the-art models face significant challenges in real-world deployments.

First, scalability is a major concern; most models learn unique embeddings for every user and item. In environments like Amazon, where the item catalog is massive and constantly expanding, the memory footprint becomes prohibitive. Second, these models are typically transductive, meaning they cannot handle new users or items without costly retraining. We address these issues with CF-GCN, a framework that prioritizes scalability and inductive generalization.

Proposed Method: CF-GCN-U

The core innovation of our approach is the CF-GCN-U (User-only) architecture. Unlike traditional models that learn two separate sets of parameters, CF-GCN-U learns only user embeddings.

Neighborhood Aggregation

Item embeddings are not stored as parameters. Instead, they are computed dynamically through neighborhood aggregation—averaging the embeddings of users who have interacted with that item. This reduces model complexity to $O(md)$, where $m$ is the number of users and $d$ is the embedding dimension, making the model size independent of the number of items ($n$).

Twin Network Architecture

To enhance expressive power, we introduce a "Twin" architecture. This involves two parallel CF-GCN-U networks that provide different "views" of user preferences, which are then fused to produce the final prediction.

Architecture of the Twin CF-GCN-U model showing user-only embedding learning and neighborhood aggregation.

Inductive Capability

To enable recommendations for new users and items, we employ a simple yet effective strategy: setting the fusion weight for the initial input layer ($\alpha_0$) to zero. By relying on neighborhood aggregation layers rather than fixed ID-based lookups, the model can infer representations for unseen nodes based on their immediate neighbors in the interaction graph.

Experimental Evaluation

We evaluated our approach on benchmark datasets including Gowalla, Yelp2018, Amazon-Book, and Douban-Movie. To test inductive performance, 5% of users and items were withheld during training.

Performance and Efficiency

In transductive settings, the Twin CF-LGCN-U model matched or exceeded LightGCN's performance. For instance, on Amazon-Book, it achieved a Recall@20 of 4.52, surpassing LightGCN's 4.10. The model's efficiency is particularly evident on datasets where items significantly outnumber users, as it maintains high accuracy with far fewer parameters.

Training curves for Amazon-Book and Yelp2018 datasets, comparing Twin CF-LGCN and LightGCN in terms of Loss and Recall.

Key Insights

  • Redundancy of Item Embeddings: Our results demonstrate that learning explicit item embeddings is often unnecessary; an item's identity is effectively captured by the aggregate behavior of its users.
  • Inductive Success: The model generalizes well to new nodes, achieving performance close to the theoretical upper bound of a fully retrained model.

Conclusion and Future Work

CF-GCN-U offers a scalable, inductive alternative to traditional GCN-based recommenders. Future work will explore incorporating side information (e.g., item descriptions) via Relational GCNs and extending the model to handle explicit feedback like star ratings. While the model is inductive, it still requires initial interactions to generate embeddings, leaving the "zero-interaction" cold-start problem as an open challenge.

Summary updated

BibTeX
@misc{ragesh2021user,
  author = {Rahul Ragesh and Sundararajan Sellamanickam and Vijay Lingam and Arun Iyer and Ramakrishna Bairi},
  title = {{User Embedding based Neighborhood Aggregation Method for Inductive Recommendation}},
  year = {2021},
  eprint = {2102.07575},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2102.07575},
}
Figure