intro to recommender system · 2015-12-24 · everyday decisions •what to wear? •what movie to...

18
Intro to recommender system Module 1 – 2 Zhilong Zhu summary note

Upload: others

Post on 27-Dec-2019

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Intro to recommender system · 2015-12-24 · Everyday decisions •What to wear? •What movie to rent? •What stock to buy? •What blog post to read? •What book to read? can

Intro to recommender system

Module 1 – 2

Zhilong Zhu summary note

Page 2: Intro to recommender system · 2015-12-24 · Everyday decisions •What to wear? •What movie to rent? •What stock to buy? •What blog post to read? •What book to read? can

Everyday decisions

• What to wear?

• What movie to rent?

• What stock to buy?

• What blog post to read?

• What book to read?

can be difficult without prior direct knowledge of the candidates

Recommender system goal is to provides a fine tuned selection experience

Page 3: Intro to recommender system · 2015-12-24 · Everyday decisions •What to wear? •What movie to rent? •What stock to buy? •What blog post to read? •What book to read? can

How we get recommendations

Historically we rely on

• mentions from your peers

• advise from experts

Limitation on info discovery

• A book a person would enjoy, but no one in the circle heard of it

• A band in another city the experts not knowing

With computer-based system we can

• Expand the set of people/circle

• Mine user’s history and preference

Page 4: Intro to recommender system · 2015-12-24 · Everyday decisions •What to wear? •What movie to rent? •What stock to buy? •What blog post to read? •What book to read? can

Applications in e-commerce

• Amazon.com – on purchase history

– browsing history

– currently viewing

• Pandora music

• Netflix – Movies

– Netflix Prize: competition on recommendation algorithms to win $1M prize

• Other online retailers

Goals: to increase sale volume

Page 5: Intro to recommender system · 2015-12-24 · Everyday decisions •What to wear? •What movie to rent? •What stock to buy? •What blog post to read? •What book to read? can

A little vocabulary

• Rating – expression of preference

– Explicit rating (direct from the user)

– Implicit rating (inferred from user activity)

• Prediction – estimate of preference

• Recommendation – selected items for user

• Content – attributes, text, etc.

• Collaborative – using data from other users

Page 6: Intro to recommender system · 2015-12-24 · Everyday decisions •What to wear? •What movie to rent? •What stock to buy? •What blog post to read? •What book to read? can

Collaborative filtering in MovieLense

rating

ratingPair-wise corr.

request

Find good neighborhood

Page 7: Intro to recommender system · 2015-12-24 · Everyday decisions •What to wear? •What movie to rent? •What stock to buy? •What blog post to read? •What book to read? can

Collaborative filtering in MovieLense

Page 8: Intro to recommender system · 2015-12-24 · Everyday decisions •What to wear? •What movie to rent? •What stock to buy? •What blog post to read? •What book to read? can

Dimensions of Analysis

– Domain

– Purpose

– Recommendation Context

– Whose Opinions

– Personalization Level

– Privacy and Trustworthiness

– Interfaces

– Recommendation Algorithms

Page 9: Intro to recommender system · 2015-12-24 · Everyday decisions •What to wear? •What movie to rent? •What stock to buy? •What blog post to read? •What book to read? can

Domain of recommendation

• Content to Commerce and Beyond

– News, information, “text”

– Products, vendors, bundles

– Matchmaking (other people)

– Sequences (e.g., music playlists)

• One particularly interesting property

– New items (e.g., movies, books, …)

– Re-recommend old ones (e.g., groceries, music)

Page 10: Intro to recommender system · 2015-12-24 · Everyday decisions •What to wear? •What movie to rent? •What stock to buy? •What blog post to read? •What book to read? can

Purpose of recommendation

• The recommendations themselves

– Sales

– Information

• Education of user/customer (e.g. software learning)

• Build a community of users/customers around products or content (e.g. Tripadvisor, referral web as in LinkedIn)

Page 11: Intro to recommender system · 2015-12-24 · Everyday decisions •What to wear? •What movie to rent? •What stock to buy? •What blog post to read? •What book to read? can

Recommendation context

• What is the User doing at the time of recommendation?

– Shopping

– Listening to Music

– Hanging out with other people

• How does the context constrain the recommender?

– Groups, automatic consumption (vs. suggestion), level of attention, level of interruption?

Page 12: Intro to recommender system · 2015-12-24 · Everyday decisions •What to wear? •What movie to rent? •What stock to buy? •What blog post to read? •What book to read? can

Personalization Level

• Generic / Non-Personalized

– Everyone receives same recommendations

• Demographic

– Matches a target group

• Ephemeral

– Matches current activity

• Persistent

– Matches long-term interests

Page 13: Intro to recommender system · 2015-12-24 · Everyday decisions •What to wear? •What movie to rent? •What stock to buy? •What blog post to read? •What book to read? can

Privacy and Trustworthiness

• Who knows what about me?

– Personal information revealed

– Identity

– Deniability of preferences

• Is the recommendation honest?

– Biases built-in by operator• “business rules”

– Vulnerability to external manipulation

– Transparency of “recommenders”; Reputation

Page 14: Intro to recommender system · 2015-12-24 · Everyday decisions •What to wear? •What movie to rent? •What stock to buy? •What blog post to read? •What book to read? can

Recommendation Algorithmstwo tasks: predict score (how much you’ll like ) and recommend (suggestions for items you might like)

• Non-Personalized Summary Statistics• Content-Based Filtering

– Information Filtering– Knowledge-Based

• Collaborative Filtering– User-User– Item-Item– Dimensionality Reduction

• Others– Critique / Interview Based Recommendations– Hybrid Techniques

Page 15: Intro to recommender system · 2015-12-24 · Everyday decisions •What to wear? •What movie to rent? •What stock to buy? •What blog post to read? •What book to read? can

Evaluation

To properly understand relative merits of each approach, we will spend significant time on evaluation

– Accuracy of predictions

– Usefulness of recommendations• Correctness

• Non-obviousness

• Diversity

– Computational performance

Page 16: Intro to recommender system · 2015-12-24 · Everyday decisions •What to wear? •What movie to rent? •What stock to buy? •What blog post to read? •What book to read? can

Non-Personalized recommendation

• Summary statistics – Best-seller; Most popular; Trending Hot

– Zagat, Billboard music rankings, TripAdvisor hotel ratings

– Knows nothing about the person consuming it

– Problem: Averages lack context, diversity issue, self-selection issue

• Product association– Amazon follow up sales.

You brought X, you may be interested in Y.

– Computation: P(X and Y) / P(X) , not symmetric

– Problem: Banana trap or overwhelming effect

– Alternative: P(x and y)

P(x)P(y)

Page 17: Intro to recommender system · 2015-12-24 · Everyday decisions •What to wear? •What movie to rent? •What stock to buy? •What blog post to read? •What book to read? can

Preference and rating

Implicit: greater volume, hard to interpret

Page 18: Intro to recommender system · 2015-12-24 · Everyday decisions •What to wear? •What movie to rent? •What stock to buy? •What blog post to read? •What book to read? can

Scoring and ranking

Simple method uses little data

– Predicted score

– Average rating / upvote proportion

– Net upvotes / # of like

– % >= 4 stars (‘positive’)

• Damped mean

– For low confidence with few ratings

• Time decay (Hacker News)

– Old stories aren’t interesting even

• Reddit algorithm