Presentation is loading. Please wait.

Presentation is loading. Please wait.

A Bayesian approach to recommender systems

Similar presentations


Presentation on theme: "A Bayesian approach to recommender systems"— Presentation transcript:

1 A Bayesian approach to recommender systems
Arnoldo Frigessi

2 3 5 1 2 4

3

4

5 PREFERENCE LEARNING items 2 4 1 3 ? Assessors Consensus?

6 PREFERENCE LEARNING items 2 4 1 3 Assessors Consensus!

7 Consensus with uncertainty!
2 4 1 3 Consensus with uncertainty!

8 Predicting preference with uncertainty
New customer 1 2 Predicting preference with uncertainty

9 Different sub-cultures
1 2 New customer

10 The data-generating mechanism
stochastic models that can be thought to have produced the data.

11 Bayesian Mallows model

12 Bayesian Mallows model
Highly incomplete data: Ratings Pair comparisons Inconsistencies Time varying items Click-through data Bayesian Mallows model

13

14

15 The Kendall distance measures the minimum number of pairwise adjacent switches which convert R into ρ. The computation of the normalizing constant in the Mallows model when using other distance measures than Kendall's is NP-complete.

16 Distance Measures and Normalizing Constants
Definition: A right invariant distance is unaffected by a relabelling of the items.

17 NP-hard; more complicated for α

18

19 Posterior distribution
Sampling from the posterior by Markov Chain Monte Carlo - Iterative algorithm - given update - update: propose and accept/reject.

20

21 Grid of α values The partition function can be approximated off-line
Small n: exact formulas Medium n: importance sampling Large n: asymptotic approximation.

22 Only a subset of the items are ranked.
Ranks can be missing at random, or the assessors may only have ranked, say, the top-5 items. Can be handled in the Bayesian framework, by applying data augmentation techniques: estimating the lacking ranks consistently with the partial observations.

23 be the augmented rankings

24 Clustering users Assessors not one homogeneous group, but C groups
We use a mixture of Mallows models to cluster of N users according to their preferences We estimate a latent ranking of the items for each cluster of assessors. The variables assign each assessor to one of the C clusters.

25 N = 5000 people (assessors) were interviewed, each giving his/her complete ranking of n = 10 sushi variants (items): ebi (shrimp), anago (sea eel), maguro (tuna), ika (squid), uni (sea urchin), sake (salmon roe), tamago (egg), toro (fatty tuna), tekka-maki (tuna roll), kappa-maki (cucumber roll).

26 within cluster distance
of each rank to the cluster centroid Elbow rule

27

28

29 MCMC: we need to propose augmented ranks which obey the partial ordering constraints given by the assessor. Assume coherent pair comparisons

30

31 25 random pairs of images "Which of the two beaches would you prefer to go to in your next vacation?". N = 60 users

32 Which of these two movies do you prefer?

33 n = 200 most rated movies, N = 6004 users who rated at least 3 movies Each user compared an average of 30.2 movies. Converted the ratings from a 1-5 scale to pairwise preferences Asymptotic approximation of partition function as in Mukherjee (2013) Run for C=1,…, 20

34

35

36 Prediction: Leave-one-out test data We discarded for each assessor one of the rated movies at random. Then, we randomly selected one of the movies ranked by the assessor to create a pairwise comparison involving the discarded movie. This comparison was not used for inference.

37 Compute, for all assessors, the posterior predictive probabilities
Estimate the posterior probabilities for correctly predicting the discarded comparison, for all assessors. median = 88% of the probabilities were > 0.5 100% 0%

38 LOOKING for master students! frigessi@medisin.uio.no
Valeria Vitelli Øystein Sørensen Marta Crispino Elja Arjas LOOKING for master students! arXiv: Sylvia Qinghua Liu


Download ppt "A Bayesian approach to recommender systems"

Similar presentations


Ads by Google