Towards Representation Alignment and Uniformity in Collaborative Filtering

Chenyang Wang, Yuanqing Yu, Weizhi Ma, Min Zhang, Chong Chen +2 more
6/26/2022
286 citations
cs.IR

Official code: THUwangcy/DirectAU (73 stars, Python, MIT, last commit 2022-10-27).

Abstract

Collaborative filtering (CF) plays a critical role in the development of recommender systems. Most CF methods utilize an encoder to embed users and items into the same representation space, and the Bayesian personalized ranking (BPR) loss is usually adopted as the objective function to learn informative encoders.

Show full abstract

Existing studies mainly focus on designing more powerful encoders (e.g., graph neural network) to learn better representations. However, few efforts have been devoted to investigating the desired properties of representations in CF, which is important to understand the rationale of existing CF methods and design new learning objectives. In this paper, we measure the representation quality in CF from the perspective of alignment and uniformity on the hypersphere. We first theoretically reveal the connection between the BPR loss and these two properties. Then, we empirically analyze the learning dynamics of typical CF methods in terms of quantified alignment and uniformity, which shows that better alignment or uniformity both contribute to higher recommendation performance. Based on the analyses results, a learning objective that directly optimizes these two properties is proposed, named DirectAU. We conduct extensive experiments on three public datasets, and the proposed learning framework with a simple matrix factorization model leads to significant performance improvements compared to state-of-the-art CF methods. Our implementations are publicly available at https://github.com/THUwangcy/DirectAU.

View on arXivView PDF

Code Implementations(1)

THUwangcy/DirectAUOfficial100%
MIT

KDD'2022: Towards Representation Alignment and Uniformity in Collaborative Filtering

736PythonMay 22, 20224 years agoMIT
collaborative-filteringrecommender-system

Similar Papers

Cite this paper

@article{wang2022towards,
  title  = {Towards Representation Alignment and Uniformity in Collaborative Filtering},
  author = {Chenyang Wang and Yuanqing Yu and Weizhi Ma and Min Zhang and Chong Chen and Yiqun Liu and Shaoping Ma},
  year   = {2022},
  eprint = {2206.12811},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2206.12811}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2206.12811.svg)](https://codeofpaper.com/paper/2206.12811)

Discussion