HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

Sapling Similarity: a performing and interpretable memory-based tool for recommendation

Giambattista Albora Lavinia Rossi-Mori Andrea Zaccaria

Sapling Similarity: a performing and interpretable memory-based tool for recommendation

Abstract

Many bipartite networks describe systems where an edge represents a relation between a user and an item. Measuring the similarity between either users or items is the basis of memory-based collaborative filtering, a widely used method to build a recommender system with the purpose of proposing items to users. When the edges of the network are unweighted, the popular common neighbors-based approaches, allowing only positive similarity values, neglect the possibility and the effect of two users (or two items) being very dissimilar. Moreover, they underperform with respect to model-based (machine learning) approaches, although providing higher interpretability. Inspired by the functioning of Decision Trees, we propose a method to compute similarity that allows also negative values, the Sapling Similarity. The key idea is to look at how the information that a user is connected to an item influences our prior estimation of the probability that another user is connected to the same item: if it is reduced, then the similarity between the two users will be negative, otherwise, it will be positive. We show that, when used to build memory-based collaborative filtering, Sapling Similarity provides better recommendations than existing similarity metrics. Then we compare the Sapling Similarity Collaborative Filtering (SSCF, a hybrid of the item-based and the user-based) with state-of-the-art models using standard datasets. Even if SSCF depends on only one straightforward hyperparameter, it has comparable or higher recommending accuracy, and outperforms all other models on the Amazon-Book dataset, while retaining the high explainability of memory-based approaches.

Code Repositories

giamba95/saplingsimilarity
Official
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
recommendation-systems-on-amazon-bookSSCF
Recall@20: 0.0773
nDCG@20: 0.0647
recommendation-systems-on-gowallaSSCF
Recall@20: 0.1775
nDCG@20: 0.1390
recommendation-systems-on-yelp2018SSCF
NDCG@20: 0.0542
Recall@20: 0.0664

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp