SlideShare a Scribd company logo
Deep Learning for Recommendations:
Fundamentals and Advances
Wenqi Fan1, Xiangyu Zhao2, Dawei Yin3, Jiliang Tang4
1The Hong Kong Polytechnic University, 2City University of Hong Kong,
3Baidu Inc., 4Michigan State University
1
Data Science and Engineering Lab
Tutorial website: https://advanced-recommender-systems.github.io/ijcai2021-tutorial/
2
Recommender Systems
Recommender
Systems
Information
overload
Age of Information Explosion
Recommend item X to user
Items can be: Products, News, Movies, Videos,
Friends, etc.
3
Recommender Systems
A B C
Recommendation has been widely applied in online services:
- E-commerce, Content Sharing, Social Networking ...
Product Recommendation
4
Recommender Systems
Recommendation has been widely applied in online services:
- E-commerce, Content Sharing, Social Networking ...
News/Video/Image Recommendation
5
Recommender Systems
Recommendation has been widely applied in online services:
- E-commerce, Content Sharing, Social Networking ...
Friend Recommendation
Problem Formulation
Historical user-item interactions or
additional side information (e.g.,
social relations, item’s knowledge, etc.)
INPUT
Predict how likely a user would
interact with a target Item (e.g., click,
view, or purchase)
OUTPUT
6
Item set
User set social relations, age,
gender, occupation, etc.
year, genre, actor,
reviews, etc.
Side information
Side information
! users
! items
(movies) …
…
User-item Interaction History
5
5
5 5
3
5
1
4
Spider
Man
Iron Man
Toy
Story
Minions
Captain
America
Lily Lala
Peter David
7
Recommender Systems
• Collaborative Filtering (CF) is the most well-known technique for recommendation.
- Similar users (with respect to their historical interactions) have similar preferences.
- Modelling users’ preference on items based on their past interactions (e.g., ratings and clicks).
• Learning representations of users and items is the key of CF.
items …
users …
! users
! items
(movies) …
…
User-item Interaction History
5
5
5 5
3
5
1
4
Spider
Man
Iron Man
Toy
Story
Minions
Captain
America
Lily Lala
Peter David
Task: predicting missing movie ratings in Netflix.
5 4
…
5
…
5
…
5 1
2 5
! users
" items (movies)
Lily
…
?
…
? ?
? ? ? ?
…
? ?
…
? ? ?
Spider
Man
Iron Man
Toy
Story
Minions
Captain
America
…
User-item Rating Matrix 𝐑
8
Matrix Factorization
≈
𝒒!
𝒑"
#
𝑑
𝑑 Predicted rating of item 𝒋 for user 𝒊 :
̂
𝑟"! ≈ 𝒑"
#
𝒒! = *
$%&
'
𝑝"$ 𝑞!$
User representations
𝐏 ∈ ℝ!×#
Items representations
QT ∈ ℝ#×$
𝐑 ≈ 𝐏 × 𝐐T
× ≪ 𝒎𝒊𝒏(𝒏, 𝒎)
User-item Rating Matrix 𝐑
5 4
…
5
…
5
…
5 1
2 5
𝑛
users
𝑚 items (movies)
Lily
Lala
Peter
David
…
Spider
Man Iron Man
Toy
Story Minions
Captain
America
…
Lily
Lala
Peter
David
…
…
Spider
Man Iron Man
Toy
Story Minions
Captain
America
?
…
? ?
? ? ? ?
…
? ?
…
? ? ?
…
…
4
𝒓𝒊𝒋
Ø Learn representations to describe users and items based on user-item rating matrix 𝐑.
…
…
…
Objective with rating reconstruction error:
𝑚𝑖𝑛 𝐏, 𝐐 *
",!∈.
(𝑟"! − ̂
𝑟"!)/ = *
",!∈.
(𝑟"! − 𝒑"
#
𝒒!)/
Given 𝑛×𝑚 matrix 𝐑, the goal is to learn:
Users/Items representations: 𝐏 ∈ ℝ0×', 𝐐 ∈ ℝ2×'
Observed user-item interactions (known): 𝑺
observed rating score
predicted rating score
≈
𝒒!
𝒑"
#
𝒅
𝒅
User representations
𝐏 ∈ ℝ!×#
Item representations
QT ∈ ℝ#×$
×
≪ 𝒎𝒊𝒏(𝒏, 𝒎)
User-item Rating Matrix 𝐑
5 4
…
5
…
5
…
5 1
2 5
𝑛
users
𝒎 items (movies)
…
…
Task: rating prediction in Netflix
9
Matrix Factorization
10
Deep Learning is Changing Our Lives
11
Reinforcement
Learning
(RL)
Graph Neural
Networks
(GNNs)
Automated Machine
Learning
(AutoML)
Deep Recommender Systems
Fundamentals of Deep Recommender Systems
Graph-structured Data
§ Information isolated
island Issue: ignore
implicit/explicit relationships
among instances
Items
Users
!! "!
!! ""
!! "#
!" "!
… …
0
0 1
Field	1 Field	m Field	M
0
1 0 1
0 0
Manually Deisgned
Architectures
§ Expert knowledge
§ Time and engineering
efforts
Recommendation Policies
§ Offline optimization
§ Short-term reward
Adversarial Attacks
...
...
... ... ... ... ...
...
...
...
Normal
Data
Fake
User Profiles
Generating Fake User Profiles
Attacker
promote/demote
Poisoning attacks:
§ Promote/demote items
§ White/grey/black-box
attacks
12
Agenda
• Introduction to Recommender Systems (Jiliang Tang)
• Fundamentals of Deep Recommender Systems (Wenqi Fan)
• Reinforcement Learning for Recommendations (Xiangyu Zhao)
• Coffee Break (10 mins)
• Graph Neural Network for Recommendations (Wenqi Fan)
• AutoML for Recommendations (Xiangyu Zhao)
• Adversarial Attacks for Recommendations (Wenqi Fan)
• Future

More Related Content

PDF
Graph Neural Networks for Recommendations
PDF
Fundamentals of Deep Recommender Systems
PDF
Trustworthy Recommender Systems
PDF
Adversarial Attacks for Recommender Systems
PPT
Personalizing the web building effective recommender systems
PPT
Machine Learning ICS 273A
PPTX
Privacy-preserving Data Mining in Industry: Practical Challenges and Lessons ...
PPT
Social Recommender Systems
Graph Neural Networks for Recommendations
Fundamentals of Deep Recommender Systems
Trustworthy Recommender Systems
Adversarial Attacks for Recommender Systems
Personalizing the web building effective recommender systems
Machine Learning ICS 273A
Privacy-preserving Data Mining in Industry: Practical Challenges and Lessons ...
Social Recommender Systems

What's hot (20)

PDF
Recommendation systems
PPTX
Privacy-preserving Data Mining in Industry (WWW 2019 Tutorial)
PDF
13 An Introduction to Stochastic Actor-Oriented Models (aka SIENA)
PDF
[RIIT 2017] Identifying Grey Sheep Users By The Distribution of User Similari...
PPTX
02 Network Data Collection
PPTX
Privacy-preserving Data Mining in Industry (WSDM 2019 Tutorial)
PPTX
11 Network Experiments and Interventions
PPT
iSpot Analysed: Participatory Learning and Reputation
PPTX
DYNAMIC LARGE SCALE DATA ON TWITTER USING SENTIMENT ANALYSIS AND TOPIC MODELING
PPTX
04 Diffusion and Peer Influence
PPT
How to conduct a social network analysis: A tool for empowering teams and wor...
PPT
01 Introduction to Networks Methods and Measures
PPTX
10 More than a Pretty Picture: Visual Thinking in Network Studies
PDF
[WI 2017] Context Suggestion: Empirical Evaluations vs User Studies
PDF
ICPSR - Complex Systems Models in the Social Sciences - Lecture 4 - Professor...
PPTX
Kamel ben kmala_NLP
PPTX
Random Walk by User Trust and Temporal Issues toward Sparsity Problem in Soci...
PDF
A comparison of Lexicon-based approaches for Sentiment Analysis of microblog ...
PPT
Social Network Analysis
PPTX
Recommenders Systems
Recommendation systems
Privacy-preserving Data Mining in Industry (WWW 2019 Tutorial)
13 An Introduction to Stochastic Actor-Oriented Models (aka SIENA)
[RIIT 2017] Identifying Grey Sheep Users By The Distribution of User Similari...
02 Network Data Collection
Privacy-preserving Data Mining in Industry (WSDM 2019 Tutorial)
11 Network Experiments and Interventions
iSpot Analysed: Participatory Learning and Reputation
DYNAMIC LARGE SCALE DATA ON TWITTER USING SENTIMENT ANALYSIS AND TOPIC MODELING
04 Diffusion and Peer Influence
How to conduct a social network analysis: A tool for empowering teams and wor...
01 Introduction to Networks Methods and Measures
10 More than a Pretty Picture: Visual Thinking in Network Studies
[WI 2017] Context Suggestion: Empirical Evaluations vs User Studies
ICPSR - Complex Systems Models in the Social Sciences - Lecture 4 - Professor...
Kamel ben kmala_NLP
Random Walk by User Trust and Temporal Issues toward Sparsity Problem in Soci...
A comparison of Lexicon-based approaches for Sentiment Analysis of microblog ...
Social Network Analysis
Recommenders Systems
Ad

Similar to Introduction to Recommender System (20)

PDF
Collaborative Filtering 1: User-based CF
PPTX
EXTRA: Integrating External Knowledge into Multimodal Hashtag Recommendation ...
PDF
Introduction to recommender systems
PDF
2017 10-10 (netflix ml platform meetup) learning item and user representation...
PPTX
SVD_pari_arshaanjjrjjrudidhdh_shraddha.pptx
PPT
Machine Learning ICS 273A
PDF
Mining User Interests from Social Media
PDF
Recent advances in deep recommender systems
PDF
IntroductionRecommenderSystems_Petroni.pdf
PDF
Behavioral Data Mining to Produce Novel and Serendipitous Friend Recommendati...
PPTX
L2 DS Tools and Application.pptx
PDF
PPT
8 Usability Lessons from the UPA Conference by Mark Alves
PPTX
Recommender Systems from A to Z – The Right Dataset
PDF
20320140501009 2
PDF
Tag And Tag Based Recommender
PDF
A recommendation engine for your php application
PPTX
Recommendation Systems Roadtrip
PDF
Human in the loop: Bayesian Rules Enabling Explainable AI
PPTX
HABIB FIGA GUYE {BULE HORA UNIVERSITY}(habibifiga@gmail.com
Collaborative Filtering 1: User-based CF
EXTRA: Integrating External Knowledge into Multimodal Hashtag Recommendation ...
Introduction to recommender systems
2017 10-10 (netflix ml platform meetup) learning item and user representation...
SVD_pari_arshaanjjrjjrudidhdh_shraddha.pptx
Machine Learning ICS 273A
Mining User Interests from Social Media
Recent advances in deep recommender systems
IntroductionRecommenderSystems_Petroni.pdf
Behavioral Data Mining to Produce Novel and Serendipitous Friend Recommendati...
L2 DS Tools and Application.pptx
8 Usability Lessons from the UPA Conference by Mark Alves
Recommender Systems from A to Z – The Right Dataset
20320140501009 2
Tag And Tag Based Recommender
A recommendation engine for your php application
Recommendation Systems Roadtrip
Human in the loop: Bayesian Rules Enabling Explainable AI
HABIB FIGA GUYE {BULE HORA UNIVERSITY}(habibifiga@gmail.com
Ad

Recently uploaded (20)

PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Empathic Computing: Creating Shared Understanding
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPT
Teaching material agriculture food technology
PDF
Approach and Philosophy of On baking technology
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
DOCX
The AUB Centre for AI in Media Proposal.docx
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Empathic Computing: Creating Shared Understanding
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Teaching material agriculture food technology
Approach and Philosophy of On baking technology
Per capita expenditure prediction using model stacking based on satellite ima...
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Advanced methodologies resolving dimensionality complications for autism neur...
20250228 LYD VKU AI Blended-Learning.pptx
The AUB Centre for AI in Media Proposal.docx
Understanding_Digital_Forensics_Presentation.pptx
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Digital-Transformation-Roadmap-for-Companies.pptx
Agricultural_Statistics_at_a_Glance_2022_0.pdf
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Mobile App Security Testing_ A Comprehensive Guide.pdf
Dropbox Q2 2025 Financial Results & Investor Presentation
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy

Introduction to Recommender System

  • 1. Deep Learning for Recommendations: Fundamentals and Advances Wenqi Fan1, Xiangyu Zhao2, Dawei Yin3, Jiliang Tang4 1The Hong Kong Polytechnic University, 2City University of Hong Kong, 3Baidu Inc., 4Michigan State University 1 Data Science and Engineering Lab Tutorial website: https://advanced-recommender-systems.github.io/ijcai2021-tutorial/
  • 2. 2 Recommender Systems Recommender Systems Information overload Age of Information Explosion Recommend item X to user Items can be: Products, News, Movies, Videos, Friends, etc.
  • 3. 3 Recommender Systems A B C Recommendation has been widely applied in online services: - E-commerce, Content Sharing, Social Networking ... Product Recommendation
  • 4. 4 Recommender Systems Recommendation has been widely applied in online services: - E-commerce, Content Sharing, Social Networking ... News/Video/Image Recommendation
  • 5. 5 Recommender Systems Recommendation has been widely applied in online services: - E-commerce, Content Sharing, Social Networking ... Friend Recommendation
  • 6. Problem Formulation Historical user-item interactions or additional side information (e.g., social relations, item’s knowledge, etc.) INPUT Predict how likely a user would interact with a target Item (e.g., click, view, or purchase) OUTPUT 6 Item set User set social relations, age, gender, occupation, etc. year, genre, actor, reviews, etc. Side information Side information ! users ! items (movies) … … User-item Interaction History 5 5 5 5 3 5 1 4 Spider Man Iron Man Toy Story Minions Captain America Lily Lala Peter David
  • 7. 7 Recommender Systems • Collaborative Filtering (CF) is the most well-known technique for recommendation. - Similar users (with respect to their historical interactions) have similar preferences. - Modelling users’ preference on items based on their past interactions (e.g., ratings and clicks). • Learning representations of users and items is the key of CF. items … users … ! users ! items (movies) … … User-item Interaction History 5 5 5 5 3 5 1 4 Spider Man Iron Man Toy Story Minions Captain America Lily Lala Peter David Task: predicting missing movie ratings in Netflix. 5 4 … 5 … 5 … 5 1 2 5 ! users " items (movies) Lily … ? … ? ? ? ? ? ? … ? ? … ? ? ? Spider Man Iron Man Toy Story Minions Captain America … User-item Rating Matrix 𝐑
  • 8. 8 Matrix Factorization ≈ 𝒒! 𝒑" # 𝑑 𝑑 Predicted rating of item 𝒋 for user 𝒊 : ̂ 𝑟"! ≈ 𝒑" # 𝒒! = * $%& ' 𝑝"$ 𝑞!$ User representations 𝐏 ∈ ℝ!×# Items representations QT ∈ ℝ#×$ 𝐑 ≈ 𝐏 × 𝐐T × ≪ 𝒎𝒊𝒏(𝒏, 𝒎) User-item Rating Matrix 𝐑 5 4 … 5 … 5 … 5 1 2 5 𝑛 users 𝑚 items (movies) Lily Lala Peter David … Spider Man Iron Man Toy Story Minions Captain America … Lily Lala Peter David … … Spider Man Iron Man Toy Story Minions Captain America ? … ? ? ? ? ? ? … ? ? … ? ? ? … … 4 𝒓𝒊𝒋 Ø Learn representations to describe users and items based on user-item rating matrix 𝐑.
  • 9. … … … Objective with rating reconstruction error: 𝑚𝑖𝑛 𝐏, 𝐐 * ",!∈. (𝑟"! − ̂ 𝑟"!)/ = * ",!∈. (𝑟"! − 𝒑" # 𝒒!)/ Given 𝑛×𝑚 matrix 𝐑, the goal is to learn: Users/Items representations: 𝐏 ∈ ℝ0×', 𝐐 ∈ ℝ2×' Observed user-item interactions (known): 𝑺 observed rating score predicted rating score ≈ 𝒒! 𝒑" # 𝒅 𝒅 User representations 𝐏 ∈ ℝ!×# Item representations QT ∈ ℝ#×$ × ≪ 𝒎𝒊𝒏(𝒏, 𝒎) User-item Rating Matrix 𝐑 5 4 … 5 … 5 … 5 1 2 5 𝑛 users 𝒎 items (movies) … … Task: rating prediction in Netflix 9 Matrix Factorization
  • 10. 10 Deep Learning is Changing Our Lives
  • 11. 11 Reinforcement Learning (RL) Graph Neural Networks (GNNs) Automated Machine Learning (AutoML) Deep Recommender Systems Fundamentals of Deep Recommender Systems Graph-structured Data § Information isolated island Issue: ignore implicit/explicit relationships among instances Items Users !! "! !! "" !! "# !" "! … … 0 0 1 Field 1 Field m Field M 0 1 0 1 0 0 Manually Deisgned Architectures § Expert knowledge § Time and engineering efforts Recommendation Policies § Offline optimization § Short-term reward Adversarial Attacks ... ... ... ... ... ... ... ... ... ... Normal Data Fake User Profiles Generating Fake User Profiles Attacker promote/demote Poisoning attacks: § Promote/demote items § White/grey/black-box attacks
  • 12. 12 Agenda • Introduction to Recommender Systems (Jiliang Tang) • Fundamentals of Deep Recommender Systems (Wenqi Fan) • Reinforcement Learning for Recommendations (Xiangyu Zhao) • Coffee Break (10 mins) • Graph Neural Network for Recommendations (Wenqi Fan) • AutoML for Recommendations (Xiangyu Zhao) • Adversarial Attacks for Recommendations (Wenqi Fan) • Future