Top Banner
Recommender Systems Chu-Yu Hsu 20150319
26
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Recommender Systems

Recommender Systems

Chu-Yu Hsu 20150319

Page 2: Recommender Systems

Who am I?Chu-Yu Hsu Data Scientist @ IBM Taiwan Dedicated to Recommender System [email protected] https://github.com/ChuyuHsu

Page 3: Recommender Systems

Outline• What is Recommender System

• Related Algorithms

• Content Based Algorithms

• Collaborative Filtering (CF)

• Latent Factor Model

• Going Any Further

Page 4: Recommender Systems

Item Database

User Query Search

Suggestion

Page 5: Recommender Systems
Page 6: Recommender Systems

• More choices necessitate better filters

• Example:

• Books, movies, music, news articles, products

• People

Page 7: Recommender Systems

Types of Recommenders

• Editorial and hand curated

• Simple aggregates

• Tailored to individual users

Page 8: Recommender Systems

Who Uses Recommenders

Page 9: Recommender Systems

Netflix Prize

• An open competition to predict user ratings for films

• Algorithms are evaluated in the Root Mean Squared Error (RMSE)

Page 10: Recommender Systems

Approaches

• Content based

• Collaborative

• Laten factor model

Page 11: Recommender Systems

Content Based RecommenderMain idea: Recommend items to customer x similar to previous items rated highly by x

Page 12: Recommender Systems

Pros 1.No need for data of other

users

2. Able to recommend to users with unique tastes

3. Able to recommend new & unpopular items

4. Explanations for recommendations

Cons 1.Finding appropriate

features is hard

2. Overspecialisation

3. Cold-start for new users

Page 13: Recommender Systems

Collaborative FilteringMain idea: Find set N of other users whose ratings are “similar” to X’s ratings

Page 14: Recommender Systems

Similarity

• Jaccard Similarity

• Cosine Similarity

• Centered Cosine SimilarityNormalize ratings by subtracting row meanAlso known as Pearson Correlation

Page 15: Recommender Systems

Rating Predicting

• User Based CF

• Item Based CF

Page 16: Recommender Systems

Item Based v.s. User Based• In theory user based CF and item based CF are dual

• Item based CF usually outperforms user-based in many use cases

• Items are "simpler" than users

• Items belong to a small set of "genres", users have varied tastes

• Item similarity is more meaningful than User Similarity

Page 17: Recommender Systems

Latent Factor Model

• For now let’s assume we can approximate the rating matrix

Page 18: Recommender Systems

• SVD should be a intuitive choice

• But R has missing entries

• SVD assumes all missing entries are zero

• Ignore the missing entries

• Forget to be orthogonal/unit length

Page 19: Recommender Systems

• Our goal is to find P and Q such that (Sum of Square Error):

• Root Mean Square Error (RMSE)

Page 20: Recommender Systems

Alternative Least Squares• Because p and q are both unknown, the object

function is not convex

• If fix one of the unknowns -> can be solved as a least squares problem

Page 21: Recommender Systems

Overfitting• To solve overfitting we introduce regularization:

• Allow rich model where there are sufficient data

• Shrink aggressively where data are scarce

Page 22: Recommender Systems

What’s More• Prediction accuracy won’t always be the most

important

• Recentness

• Novelty

• Explanation based diversity

• Temporary diversity

Page 23: Recommender Systems

What’s More• All kind of user behaviors

Page 24: Recommender Systems

Open Problems

• How to weight different behaviors

• How to improve deferent metrics

• How to evaluate and evolve

Page 25: Recommender Systems

References

• Anand Rajaraman and Jeffrey David Ullman. 2011. Mining of Massive Datasets. Cambridge University Press, New York, NY, USA.

• 项亮. 2012. 推荐系统实践. ⼈人⺠民邮电出版社, 北京

Page 26: Recommender Systems

– Jeffrey M. O’Brien, CNN Money

“The Age of Search has come to an end. Long live the recommendation!”