DM Lect 6 - Recommender Systems
DM Lect 6 - Recommender Systems
Recommender Systems
Association Rules
Recommender Systems!
Recommender Systems
• Definition: systems that produce
individualized recommendations as output.
• They can guide the user in a personalized
way to interesting or useful objects in a
large space of possible options.
• Recommender Systems vs. Information
Retrieval Systems??
• "individuality" and "personalized
recommendations"
Taxonomy
Recommender
Systems
Collaborative
Content-Based Hybrid
Filtering
Inputs
1. Ratings: The opinions of users in the
items available in the system.
2. Demographic Data: Data about the
user like age, gender and education.
3. Content Data: Textual data related to
the contents of the items to be
recommended.
Collaborative Filtering
Systems
Collaborative Filtering
Items
? 1
Unknown
0
1
1
0
1
1
1
1
0 14th item rate
Neighborhood Formation
uU u,i u
( r − r ) 2
uU u, j u
( r − r ) 2
Item-based Recommendation
• After computing the similarity between items we
select a set of k most similar items to the target
item and generate a predicted value of user u’s
rating
p (u, i ) =
r
jJ u , j
sim(i, j )
jJ
sim(i, j )
where J is the set of k similar items
• Advantages?
Evaluation
• Solution?
• Integrating other sources of information.
• Collecting preferences / profiles over multiple sites
Sparsity of User-item Matrix
• A user typically only rates a very small
portion of the items.
• We need to find commonly rated items to
locate neighbors.
• Given the sparsity of the matrix the decisions
are usually based on very few items making
the predictions inaccurate and unreliable.
• Solution?
• Default Voting
• Clustering
• Dimensionality Reduction
Other Challenges
• Scalability: The calculations grow with the
number of users and items.
• Solution?
• Clustering
A. Case-Based Reasoning:
• calculate similarity based on the attributes of the
item.
• Recommends items which are most similar to the
items the user has liked before.
• Still suffer from a new user problem.
B. Attribute-Based Techniques:
• Include information about the user in the
recommendation process.
• overcome the new user problem.
• Disadvantage: do not adapt to new ratings added
since user information is static.
Hybrid Systems
Hybrid Systems
Score
Candidate Recommender 1
Weighted
Combination
Recommender 2
Score
Combined Score
Weighted Hybrid Example
n
rec weighted
(u, i ) = k reck (u, i )
k =1
Recommender 1 Recommender 2
Item1 0.5 1 Item1 0.8 2
Item2 0 Item2 0.9 1
Item3 0.3 2 Item3 0.4 3
Item4 0.1 3 Item4 0
Item5 0 Item5 0
Recommender weighted(0.5:0.5)
Item1 0.65 1
How are
Item2 0.45 2
weights
Item3 0.35 3
assigned?
Item4 0.05 4
Item5 0.00
Assigning Weights
?
Selection
Criteria
Recommender 2
Selected
Score
Recommender
4. Cascade Hybrid
Cascade Hybrid
Primary
Candidate Recommender
Score
Secondary Score
Recommender Combined Score
Method
• Each recommender system filters the list of
items produced by the previous one.
• Subsequent recommender may not introduce
additional items
• For all k > 1
reck (u , i ) : reck −1 (u , i ) 0
reck (u , i ) =
0 : otherwise
Cascade Hybrid Example
Recommender 1 Recommender 2
Item1 0.5 1 Item1 0.8 2
Item2 0 Item2 0.9 1
Item3 0.3 2 Item3 0.4 3
Item4 0.1 3 Item4 0
Item5 0 Item5 0
Recommender 3
Item1 0.80 1
Item2 0.00
Item3 0.40 2
Item4 0.00
Item5 0.00
Other Techniques
1. Context-Aware Recommender Systems
• Recommend a vacation
• Winter vs. summer
• Recommend a purchase
• Gift vs. for yourself
• Recommend a movie
• With friends vs. with family
What Other Techniques Ignore
Active user
3
?
Rating
prediction
Recommended Readings