SlideShare a Scribd company logo
1 of 28
Download to read offline
Fundamentals of Deep
Recommender Systems
1
Data Science and Engineering Lab
Tutorial website: https://advanced-recommender-systems.github.io/ijcai2021-tutorial/
Wenqi Fan
The Hong Kong Polytechnic University
https://wenqifan03.github.io, wenqifan@polyu.edu.hk
2
A General Architecture of Deep Recommender System
Embedding layer
Prediction layer
0
0 1
Field	1 Field	m Field	M
0
1 0 1
0 0
User Item Context Interaction
Hidden layers
(e.g., MLP, CNN, RNN, etc. )
3
NeuMF
Neural Collaborative Filtering, WWW, 2017
NeuMF unifies the strengths of MF and MLP in modeling user-item interactions.
p MF uses an inner product as the interaction function
p MLP is more sufficient to capture the complex structure of user interaction data
4
Wide&Deep
Wide & Deep Learning for Recommender Systems, 1st DLRS, 2016
Standard MLP
Embedding
Concatenation
p The wide linear models can memorize seen feature interactions using cross-product feature
transformations.
p The deep models can generalize to previously unseen feature interactions through low- dimensional
embeddings.
5
Neural FM
Neural Factorization Machines for Sparse Predictive Analytics, SIGIR, 2017
Neural Factorization Machines (NFMs) “deepens”
FM by placing hidden layers above second-order
feature interaction modeling.
categorical variables
6
Neural FM
Neural Factorization Machines for Sparse Predictive Analytics, SIGIR, 2017
Neural Factorization Machines (NFMs) “deepens”
FM by placing hidden layers above second-order
feature interaction modeling.
“Deep layers” learn higher-order feature
interactions only, being much easier to train.
Bilinear Interaction Pooling:
𝑓!" 𝑉
# = $
$%&
'
$
(%$)&
'
𝑥$ 𝐯$ ⨀𝑥(v( categorical variables
7
DeepFM
DeepFM: A Factorization-Machine based Neural Network for CTR Prediction, IJCAI, 2017
DeepFM ensembles FM and DNN and to low- and high-order feature interactions
simultaneously from the input raw features.
Prediction Model:
FM component (low-order) Deep component (high-order)
8
DeepFM
DeepFM: A Factorization-Machine based Neural Network for CTR Prediction, IJCAI, 2017
DeepFM ensembles FM and DNN and to low- and high-order feature interactions
simultaneously from the input raw features.
FM component (low-order) Deep component (high-order)
Share the
embedding layer
Prediction Model:
9
DSCF
Deep Social Collaborative Filtering, RecSys, 2019
Collaborative Filtering with users’ social relations
(Social Recommendation)
News
US could see millions of coronavirus
cases and 100,000 or more deaths
Dr. Anthony Fauci
10
DSCF
Deep Social Collaborative Filtering, RecSys, 2019
Collaborative Filtering with users’ social relations
(Social Recommendation)
β1
β3
β4
β2
Output Layer
. . .
Embedding Layer
Random Walk Layer
α1
α2
α3
α4
1
h
2
h L
h
L
h
1
-
L
h
2
h 1
-
L
h
1
h
Sequence
Learning Layer
. . .
. . .
. . .
. . .
Attention Network
Attention Network
u[1] u[2] u[l]
r'
…
…
Item Embedding
User Embedding
Rating Embedding
Concatenation
Concatenation
… …
…
Users might be affected by direct/distant neighbors.
Ø Information diffusion
Ø Users with high reputations
News
US could see millions of coronavirus
cases and 100,000 or more deaths
Dr. Anthony Fauci
11
DSCF
Deep Social Collaborative Filtering, RecSys, 2019
Collaborative Filtering with users’ social relations
(Social Recommendation)
β1
β3
β4
β2
Output Layer
. . .
Embedding Layer
Random Walk Layer
α1
α2
α3
α4
1
h
2
h L
h
L
h
1
-
L
h
2
h 1
-
L
h
1
h
Sequence
Learning Layer
. . .
. . .
. . .
. . .
Attention Network
Attention Network
u[1] u[2] u[l]
r'
…
…
Item Embedding
User Embedding
Rating Embedding
Concatenation
Concatenation
… …
…
News
US could see millions of coronavirus
cases and 100,000 or more deaths
Dr. Anthony Fauci
Users might be affected by direct/distant neighbors.
Ø Information diffusion
Ø Users with high reputations
Social Sequences
via Random Walk
techniques
Bi-LSTM with
attention
mechanisms
12
DASO
Deep Adversarial Social Recommendation, IJCAI, 2019
3
5
1
Item	Domain Social	Domain
p User behave and interact differently in the item/social domains.
Collaborative Filtering with users’ social relations
(Social Recommendation)
13
DASO
Deep Adversarial Social Recommendation, IJCAI, 2019
3
5
1
Item	Domain Social	Domain
p User behave and interact differently in the item/social domains.
Learning separated user representations in two domains.
Collaborative Filtering with users’ social relations
(Social Recommendation)
14
DASO
Deep Adversarial Social Recommendation, IJCAI, 2019
3
5
1
Item	Domain Social	Domain
p User behave and interact differently in the item/social domains.
Learning separated user representations in two domains.
Bidirectional Knowledge Transfer with Cycle Reconstruction
Collaborative Filtering with users’ social relations
(Social Recommendation)
15
Optimization for Ranking Tasks
p Negative Sampling’s Main Issue:
• It often generates low-quality negative samples that do not help you learn good
representation.
Deep Adversarial Social Recommendation, IJCAI, 2019
16
Optimization for Ranking Tasks
p Negative Sampling’s Main Issue:
• It often generates low-quality negative samples that do not help you learn good
representation [Cai and Wang, 2018; Wang et al., 2018b].
Dress
Male
Men’s Wallets
Female
informative
‘difficult’
“easy”/unrelated “easy”/unrelated
Deep Adversarial Social Recommendation, IJCAI, 2019
17
Optimization for Ranking Tasks
p Negative Sampling’s Main Issue:
• It often generates low-quality negative samples that do not help you learn good
representation [Cai and Wang, 2018; Wang et al., 2018b].
Dress
Male
Men’s Wallets
Female
informative
‘difficult’
“easy”/unrelated “easy”/unrelated
Dynamically generate
“difficult” negative samples
Optimization with
Adversarial Learning
(GAN)
Deep Adversarial Social Recommendation, IJCAI, 2019
p(v|u) p(uk|u)
Loss/Reward
Generator Discriminator
Discriminator Generator
Reward Reward
Generated
Samples
Generated 
Samples
Cyclic User
Modeling
Item  Domain 
Adversarial Learning 
UI UIS
USI US
  hI->S 
  hS->I 
Loss/Reward
Real
Samples
User-Item
Interactions
User-User
Connections
Real
Samples
Social Domain Representations for
Generator
Social Domain Representations for
Discriminator
Social Domain
Adversarial Learning 
V U
u v
U Uk
U Uk
User Representations on Social
Domain after Mapping (I->S)
Item Domain Representations for
Generator
User Representations on Item
Domain after Mapping (S->I)
Item Domain Representations for
Discriminator
18
DASO
Deep Adversarial Social Recommendation, IJCAI, 2019
p(v|u) p(uk|u)
Loss/Reward
Generator Discriminator
Discriminator Generator
Reward Reward
Generated
Samples
Generated 
Samples
Cyclic User
Modeling
Item  Domain 
Adversarial Learning 
UI UIS
USI US
  hI->S 
  hS->I 
Loss/Reward
Real
Samples
User-Item
Interactions
User-User
Connections
Real
Samples
Social Domain Representations for
Generator
Social Domain Representations for
Discriminator
Social Domain
Adversarial Learning 
V U
u v
U Uk
U Uk
User Representations on Social
Domain after Mapping (I->S)
Item Domain Representations for
Generator
User Representations on Item
Domain after Mapping (S->I)
Item Domain Representations for
Discriminator
19
DASO
Deep Adversarial Social Recommendation, IJCAI, 2019
20
Item Domain Discriminator Model
p Discriminator
Score function:
Goal: distinguish real user-item pairs (i.e., real samples) and the
generated “fake” samples (relevant)
(Sigmoid)
Deep Adversarial Social Recommendation, IJCAI, 2019
21
Item Domain Generator Model
p Generator Model
Goal:
1. Approximate the underlying real conditional distribution pI
real(v|ui)
2. Generate (select/sample) the most relevant items for any given user ui.
Optimization with
Policy Gradient
the transferred user representation
from social domain
22
Sequential (Session-based) Recommendation
Session-based Recommendations with Recurrent Neural Networks, ICLR, 2016.
BERT4Rec: Sequential Recommendation with Bidirectional Encoder Representations from Transformer, CIKM, 2019.
user’s sequential behavior
Next Item
0.8 0.6 0.1
23
Sequential (Session-based) Recommendation
Session-based Recommendations with Recurrent Neural Networks, ICLR, 2016.
BERT4Rec: Sequential Recommendation with Bidirectional Encoder Representations from Transformer, CIKM, 2019.
GRU based sequential recommendation method
(GRU4Rec)
user’s sequential behavior
Next Item
0.8 0.6 0.1
24
Sequential (Session-based) Recommendation
Session-based Recommendations with Recurrent Neural Networks, ICLR, 2016.
BERT4Rec: Sequential Recommendation with Bidirectional Encoder Representations from Transformer, CIKM, 2019.
GRU based sequential recommendation method
(GRU4Rec)
user’s sequential behavior
Next Item
0.8 0.6 0.1
BERT4Rec
Transformer
Layer
25
Recommendation Policies
§ Offline optimization
§ Short-term reward
Shortcomings of Existing Deep Recommender Systems
26
Recommendation Policies
§ Offline optimization
§ Short-term reward
Graph-structured Data
§ Information isolated
island Issue: ignore
implicit/explicit relationships
among instances
Shortcomings of Existing Deep Recommender Systems
Items
Users
!! "!
!! ""
!! "#
!" "!
… …
27
Recommendation Policies
§ Offline optimization
§ Short-term reward
0
0 1
Field	1 Field	m Field	M
0
1 0 1
0 0
Manually Deisgned
Architectures
§ Expert knowledge
§ Time and engineering
efforts
Graph-structured Data
§ Information isolated
island Issue: ignore
implicit/explicit relationships
among instances
Shortcomings of Existing Deep Recommender Systems
Items
Users
!! "!
!! ""
!! "#
!" "!
… …
28
Recommendation Policies
§ Offline optimization
§ Short-term reward
0
0 1
Field	1 Field	m Field	M
0
1 0 1
0 0
Manually Deisgned
Architectures
§ Expert knowledge
§ Time and engineering
efforts
Graph-structured Data
§ Information isolated
island Issue: ignore
implicit/explicit relationships
among instances
Shortcomings of Existing Deep Recommender Systems
Items
Users
!! "!
!! ""
!! "#
!" "!
… …
...
...
... ... ... ... ...
...
...
...
Normal
Data
Fake
User Profiles
Generating Fake User Profiles
Attacker
promote/demote
Poisoning attacks:
§ Promote/demote items
§ White/grey/black-box
attacks

More Related Content

What's hot

Deep learning based recommender systems (lab seminar paper review)
Deep learning based recommender systems (lab seminar paper review)Deep learning based recommender systems (lab seminar paper review)
Deep learning based recommender systems (lab seminar paper review)hyunsung lee
 
Deep Learning for Recommender Systems RecSys2017 Tutorial
Deep Learning for Recommender Systems RecSys2017 Tutorial Deep Learning for Recommender Systems RecSys2017 Tutorial
Deep Learning for Recommender Systems RecSys2017 Tutorial Alexandros Karatzoglou
 
SVD and the Netflix Dataset
SVD and the Netflix DatasetSVD and the Netflix Dataset
SVD and the Netflix DatasetBen Mabey
 
Deep Learning in Recommender Systems - RecSys Summer School 2017
Deep Learning in Recommender Systems - RecSys Summer School 2017Deep Learning in Recommender Systems - RecSys Summer School 2017
Deep Learning in Recommender Systems - RecSys Summer School 2017Balázs Hidasi
 
Déjà Vu: The Importance of Time and Causality in Recommender Systems
Déjà Vu: The Importance of Time and Causality in Recommender SystemsDéjà Vu: The Importance of Time and Causality in Recommender Systems
Déjà Vu: The Importance of Time and Causality in Recommender SystemsJustin Basilico
 
Sequential Decision Making in Recommendations
Sequential Decision Making in RecommendationsSequential Decision Making in Recommendations
Sequential Decision Making in RecommendationsJaya Kawale
 
Past, present, and future of Recommender Systems: an industry perspective
Past, present, and future of Recommender Systems: an industry perspectivePast, present, and future of Recommender Systems: an industry perspective
Past, present, and future of Recommender Systems: an industry perspectiveXavier Amatriain
 
Graph Neural Networks for Recommendations
Graph Neural Networks for RecommendationsGraph Neural Networks for Recommendations
Graph Neural Networks for RecommendationsWQ Fan
 
Context-aware Recommendation: A Quick View
Context-aware Recommendation: A Quick ViewContext-aware Recommendation: A Quick View
Context-aware Recommendation: A Quick ViewYONG ZHENG
 
Past, Present & Future of Recommender Systems: An Industry Perspective
Past, Present & Future of Recommender Systems: An Industry PerspectivePast, Present & Future of Recommender Systems: An Industry Perspective
Past, Present & Future of Recommender Systems: An Industry PerspectiveJustin Basilico
 
Interactive Recommender Systems
Interactive Recommender SystemsInteractive Recommender Systems
Interactive Recommender SystemsRoelof van Zwol
 
Challenges and Solutions in Group Recommender Systems
Challenges and Solutions in Group Recommender SystemsChallenges and Solutions in Group Recommender Systems
Challenges and Solutions in Group Recommender SystemsLudovico Boratto
 
Social Recommender Systems Tutorial - WWW 2011
Social Recommender Systems Tutorial - WWW 2011Social Recommender Systems Tutorial - WWW 2011
Social Recommender Systems Tutorial - WWW 2011idoguy
 
GraphSage vs Pinsage #InsideArangoDB
GraphSage vs Pinsage #InsideArangoDBGraphSage vs Pinsage #InsideArangoDB
GraphSage vs Pinsage #InsideArangoDBArangoDB Database
 
Overview of recommender system
Overview of recommender systemOverview of recommender system
Overview of recommender systemStanley Wang
 
[Final]collaborative filtering and recommender systems
[Final]collaborative filtering and recommender systems[Final]collaborative filtering and recommender systems
[Final]collaborative filtering and recommender systemsFalitokiniaina Rabearison
 
Reinforcement learning
Reinforcement learningReinforcement learning
Reinforcement learningDing Li
 

What's hot (20)

Deep learning based recommender systems (lab seminar paper review)
Deep learning based recommender systems (lab seminar paper review)Deep learning based recommender systems (lab seminar paper review)
Deep learning based recommender systems (lab seminar paper review)
 
Deep Learning for Recommender Systems RecSys2017 Tutorial
Deep Learning for Recommender Systems RecSys2017 Tutorial Deep Learning for Recommender Systems RecSys2017 Tutorial
Deep Learning for Recommender Systems RecSys2017 Tutorial
 
SVD and the Netflix Dataset
SVD and the Netflix DatasetSVD and the Netflix Dataset
SVD and the Netflix Dataset
 
Deep Learning in Recommender Systems - RecSys Summer School 2017
Deep Learning in Recommender Systems - RecSys Summer School 2017Deep Learning in Recommender Systems - RecSys Summer School 2017
Deep Learning in Recommender Systems - RecSys Summer School 2017
 
Déjà Vu: The Importance of Time and Causality in Recommender Systems
Déjà Vu: The Importance of Time and Causality in Recommender SystemsDéjà Vu: The Importance of Time and Causality in Recommender Systems
Déjà Vu: The Importance of Time and Causality in Recommender Systems
 
Sequential Decision Making in Recommendations
Sequential Decision Making in RecommendationsSequential Decision Making in Recommendations
Sequential Decision Making in Recommendations
 
Past, present, and future of Recommender Systems: an industry perspective
Past, present, and future of Recommender Systems: an industry perspectivePast, present, and future of Recommender Systems: an industry perspective
Past, present, and future of Recommender Systems: an industry perspective
 
Graph Neural Networks for Recommendations
Graph Neural Networks for RecommendationsGraph Neural Networks for Recommendations
Graph Neural Networks for Recommendations
 
Context-aware Recommendation: A Quick View
Context-aware Recommendation: A Quick ViewContext-aware Recommendation: A Quick View
Context-aware Recommendation: A Quick View
 
Content based filtering
Content based filteringContent based filtering
Content based filtering
 
Past, Present & Future of Recommender Systems: An Industry Perspective
Past, Present & Future of Recommender Systems: An Industry PerspectivePast, Present & Future of Recommender Systems: An Industry Perspective
Past, Present & Future of Recommender Systems: An Industry Perspective
 
Interactive Recommender Systems
Interactive Recommender SystemsInteractive Recommender Systems
Interactive Recommender Systems
 
Challenges and Solutions in Group Recommender Systems
Challenges and Solutions in Group Recommender SystemsChallenges and Solutions in Group Recommender Systems
Challenges and Solutions in Group Recommender Systems
 
Social Recommender Systems Tutorial - WWW 2011
Social Recommender Systems Tutorial - WWW 2011Social Recommender Systems Tutorial - WWW 2011
Social Recommender Systems Tutorial - WWW 2011
 
GraphSage vs Pinsage #InsideArangoDB
GraphSage vs Pinsage #InsideArangoDBGraphSage vs Pinsage #InsideArangoDB
GraphSage vs Pinsage #InsideArangoDB
 
Overview of recommender system
Overview of recommender systemOverview of recommender system
Overview of recommender system
 
Recommender Systems
Recommender SystemsRecommender Systems
Recommender Systems
 
[Final]collaborative filtering and recommender systems
[Final]collaborative filtering and recommender systems[Final]collaborative filtering and recommender systems
[Final]collaborative filtering and recommender systems
 
Recommender Systems
Recommender SystemsRecommender Systems
Recommender Systems
 
Reinforcement learning
Reinforcement learningReinforcement learning
Reinforcement learning
 

Similar to Fundamentals of Deep Recommender Systems

SocialCom09-tutorial.pdf
SocialCom09-tutorial.pdfSocialCom09-tutorial.pdf
SocialCom09-tutorial.pdfBalasundaramSr
 
MSR populations talk v2.key
MSR populations talk v2.keyMSR populations talk v2.key
MSR populations talk v2.keyMatthew Chalmers
 
Crafting Recommenders: the Shallow and the Deep of it!
Crafting Recommenders: the Shallow and the Deep of it! Crafting Recommenders: the Shallow and the Deep of it!
Crafting Recommenders: the Shallow and the Deep of it! Sudeep Das, Ph.D.
 
Advances In Collaborative Filtering
Advances In Collaborative FilteringAdvances In Collaborative Filtering
Advances In Collaborative FilteringScott Donald
 
Bayesian Networks to Predict Reputation in Virtual Learning Communities
Bayesian Networks to Predict Reputation in Virtual Learning CommunitiesBayesian Networks to Predict Reputation in Virtual Learning Communities
Bayesian Networks to Predict Reputation in Virtual Learning CommunitiesUniversidad Nacional de Loja
 
IRJET- Scalable Content Aware Collaborative Filtering for Location Recommenda...
IRJET- Scalable Content Aware Collaborative Filtering for Location Recommenda...IRJET- Scalable Content Aware Collaborative Filtering for Location Recommenda...
IRJET- Scalable Content Aware Collaborative Filtering for Location Recommenda...IRJET Journal
 
Proto Spiral.ppt Proto Spiral.ppt Proto Spiral.ppt Proto Spiral.ppt
Proto Spiral.ppt Proto Spiral.ppt Proto Spiral.ppt Proto Spiral.pptProto Spiral.ppt Proto Spiral.ppt Proto Spiral.ppt Proto Spiral.ppt
Proto Spiral.ppt Proto Spiral.ppt Proto Spiral.ppt Proto Spiral.pptAnirbanBhar3
 
IRJET- Cross System User Modeling and Personalization on the Social Web
IRJET- Cross System User Modeling and Personalization on the Social WebIRJET- Cross System User Modeling and Personalization on the Social Web
IRJET- Cross System User Modeling and Personalization on the Social WebIRJET Journal
 
ICSME 2016 keynote: An ecosystemic and socio-technical view on software maint...
ICSME 2016 keynote: An ecosystemic and socio-technical view on software maint...ICSME 2016 keynote: An ecosystemic and socio-technical view on software maint...
ICSME 2016 keynote: An ecosystemic and socio-technical view on software maint...Tom Mens
 
[SAC2014]Splitting Approaches for Context-Aware Recommendation: An Empirical ...
[SAC2014]Splitting Approaches for Context-Aware Recommendation: An Empirical ...[SAC2014]Splitting Approaches for Context-Aware Recommendation: An Empirical ...
[SAC2014]Splitting Approaches for Context-Aware Recommendation: An Empirical ...YONG ZHENG
 
Experiences in the Design and Implementation of a Social Cloud for Volunteer ...
Experiences in the Design and Implementation of a Social Cloud for Volunteer ...Experiences in the Design and Implementation of a Social Cloud for Volunteer ...
Experiences in the Design and Implementation of a Social Cloud for Volunteer ...ryanchard
 
IRJET- Searching an Optimal Algorithm for Movie Recommendation System
IRJET- Searching an Optimal Algorithm for Movie Recommendation SystemIRJET- Searching an Optimal Algorithm for Movie Recommendation System
IRJET- Searching an Optimal Algorithm for Movie Recommendation SystemIRJET Journal
 
Sistemas de Recomendação sem Enrolação
Sistemas de Recomendação sem Enrolação Sistemas de Recomendação sem Enrolação
Sistemas de Recomendação sem Enrolação Gabriel Moreira
 
HABIB FIGA GUYE {BULE HORA UNIVERSITY}(habibifiga@gmail.com
HABIB FIGA GUYE {BULE HORA UNIVERSITY}(habibifiga@gmail.comHABIB FIGA GUYE {BULE HORA UNIVERSITY}(habibifiga@gmail.com
HABIB FIGA GUYE {BULE HORA UNIVERSITY}(habibifiga@gmail.comHABIB FIGA GUYE
 
Discovering Influential User by Coupling Multiplex Heterogeneous OSN’S
Discovering Influential User by Coupling Multiplex Heterogeneous OSN’SDiscovering Influential User by Coupling Multiplex Heterogeneous OSN’S
Discovering Influential User by Coupling Multiplex Heterogeneous OSN’SIRJET Journal
 
User Identity Linkage: Data Collection, DataSet Biases, Method, Control and A...
User Identity Linkage: Data Collection, DataSet Biases, Method, Control and A...User Identity Linkage: Data Collection, DataSet Biases, Method, Control and A...
User Identity Linkage: Data Collection, DataSet Biases, Method, Control and A...IIIT Hyderabad
 
Extracting, Mining and Predicting Users’ Interests from Social Media
Extracting, Mining and Predicting Users’ Interests from Social MediaExtracting, Mining and Predicting Users’ Interests from Social Media
Extracting, Mining and Predicting Users’ Interests from Social MediaFattane Zarrinkalam
 
User behavior model & recommendation on basis of social networks
User behavior model & recommendation on basis of social networks User behavior model & recommendation on basis of social networks
User behavior model & recommendation on basis of social networks Shah Alam Sabuj
 
Community detection in complex social networks
Community detection in complex social networksCommunity detection in complex social networks
Community detection in complex social networksAboul Ella Hassanien
 
A Discrete Krill Herd Optimization Algorithm for Community Detection
A Discrete Krill Herd Optimization Algorithm for Community DetectionA Discrete Krill Herd Optimization Algorithm for Community Detection
A Discrete Krill Herd Optimization Algorithm for Community DetectionAboul Ella Hassanien
 

Similar to Fundamentals of Deep Recommender Systems (20)

SocialCom09-tutorial.pdf
SocialCom09-tutorial.pdfSocialCom09-tutorial.pdf
SocialCom09-tutorial.pdf
 
MSR populations talk v2.key
MSR populations talk v2.keyMSR populations talk v2.key
MSR populations talk v2.key
 
Crafting Recommenders: the Shallow and the Deep of it!
Crafting Recommenders: the Shallow and the Deep of it! Crafting Recommenders: the Shallow and the Deep of it!
Crafting Recommenders: the Shallow and the Deep of it!
 
Advances In Collaborative Filtering
Advances In Collaborative FilteringAdvances In Collaborative Filtering
Advances In Collaborative Filtering
 
Bayesian Networks to Predict Reputation in Virtual Learning Communities
Bayesian Networks to Predict Reputation in Virtual Learning CommunitiesBayesian Networks to Predict Reputation in Virtual Learning Communities
Bayesian Networks to Predict Reputation in Virtual Learning Communities
 
IRJET- Scalable Content Aware Collaborative Filtering for Location Recommenda...
IRJET- Scalable Content Aware Collaborative Filtering for Location Recommenda...IRJET- Scalable Content Aware Collaborative Filtering for Location Recommenda...
IRJET- Scalable Content Aware Collaborative Filtering for Location Recommenda...
 
Proto Spiral.ppt Proto Spiral.ppt Proto Spiral.ppt Proto Spiral.ppt
Proto Spiral.ppt Proto Spiral.ppt Proto Spiral.ppt Proto Spiral.pptProto Spiral.ppt Proto Spiral.ppt Proto Spiral.ppt Proto Spiral.ppt
Proto Spiral.ppt Proto Spiral.ppt Proto Spiral.ppt Proto Spiral.ppt
 
IRJET- Cross System User Modeling and Personalization on the Social Web
IRJET- Cross System User Modeling and Personalization on the Social WebIRJET- Cross System User Modeling and Personalization on the Social Web
IRJET- Cross System User Modeling and Personalization on the Social Web
 
ICSME 2016 keynote: An ecosystemic and socio-technical view on software maint...
ICSME 2016 keynote: An ecosystemic and socio-technical view on software maint...ICSME 2016 keynote: An ecosystemic and socio-technical view on software maint...
ICSME 2016 keynote: An ecosystemic and socio-technical view on software maint...
 
[SAC2014]Splitting Approaches for Context-Aware Recommendation: An Empirical ...
[SAC2014]Splitting Approaches for Context-Aware Recommendation: An Empirical ...[SAC2014]Splitting Approaches for Context-Aware Recommendation: An Empirical ...
[SAC2014]Splitting Approaches for Context-Aware Recommendation: An Empirical ...
 
Experiences in the Design and Implementation of a Social Cloud for Volunteer ...
Experiences in the Design and Implementation of a Social Cloud for Volunteer ...Experiences in the Design and Implementation of a Social Cloud for Volunteer ...
Experiences in the Design and Implementation of a Social Cloud for Volunteer ...
 
IRJET- Searching an Optimal Algorithm for Movie Recommendation System
IRJET- Searching an Optimal Algorithm for Movie Recommendation SystemIRJET- Searching an Optimal Algorithm for Movie Recommendation System
IRJET- Searching an Optimal Algorithm for Movie Recommendation System
 
Sistemas de Recomendação sem Enrolação
Sistemas de Recomendação sem Enrolação Sistemas de Recomendação sem Enrolação
Sistemas de Recomendação sem Enrolação
 
HABIB FIGA GUYE {BULE HORA UNIVERSITY}(habibifiga@gmail.com
HABIB FIGA GUYE {BULE HORA UNIVERSITY}(habibifiga@gmail.comHABIB FIGA GUYE {BULE HORA UNIVERSITY}(habibifiga@gmail.com
HABIB FIGA GUYE {BULE HORA UNIVERSITY}(habibifiga@gmail.com
 
Discovering Influential User by Coupling Multiplex Heterogeneous OSN’S
Discovering Influential User by Coupling Multiplex Heterogeneous OSN’SDiscovering Influential User by Coupling Multiplex Heterogeneous OSN’S
Discovering Influential User by Coupling Multiplex Heterogeneous OSN’S
 
User Identity Linkage: Data Collection, DataSet Biases, Method, Control and A...
User Identity Linkage: Data Collection, DataSet Biases, Method, Control and A...User Identity Linkage: Data Collection, DataSet Biases, Method, Control and A...
User Identity Linkage: Data Collection, DataSet Biases, Method, Control and A...
 
Extracting, Mining and Predicting Users’ Interests from Social Media
Extracting, Mining and Predicting Users’ Interests from Social MediaExtracting, Mining and Predicting Users’ Interests from Social Media
Extracting, Mining and Predicting Users’ Interests from Social Media
 
User behavior model & recommendation on basis of social networks
User behavior model & recommendation on basis of social networks User behavior model & recommendation on basis of social networks
User behavior model & recommendation on basis of social networks
 
Community detection in complex social networks
Community detection in complex social networksCommunity detection in complex social networks
Community detection in complex social networks
 
A Discrete Krill Herd Optimization Algorithm for Community Detection
A Discrete Krill Herd Optimization Algorithm for Community DetectionA Discrete Krill Herd Optimization Algorithm for Community Detection
A Discrete Krill Herd Optimization Algorithm for Community Detection
 

Recently uploaded

Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 

Recently uploaded (20)

Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 

Fundamentals of Deep Recommender Systems

  • 1. Fundamentals of Deep Recommender Systems 1 Data Science and Engineering Lab Tutorial website: https://advanced-recommender-systems.github.io/ijcai2021-tutorial/ Wenqi Fan The Hong Kong Polytechnic University https://wenqifan03.github.io, wenqifan@polyu.edu.hk
  • 2. 2 A General Architecture of Deep Recommender System Embedding layer Prediction layer 0 0 1 Field 1 Field m Field M 0 1 0 1 0 0 User Item Context Interaction Hidden layers (e.g., MLP, CNN, RNN, etc. )
  • 3. 3 NeuMF Neural Collaborative Filtering, WWW, 2017 NeuMF unifies the strengths of MF and MLP in modeling user-item interactions. p MF uses an inner product as the interaction function p MLP is more sufficient to capture the complex structure of user interaction data
  • 4. 4 Wide&Deep Wide & Deep Learning for Recommender Systems, 1st DLRS, 2016 Standard MLP Embedding Concatenation p The wide linear models can memorize seen feature interactions using cross-product feature transformations. p The deep models can generalize to previously unseen feature interactions through low- dimensional embeddings.
  • 5. 5 Neural FM Neural Factorization Machines for Sparse Predictive Analytics, SIGIR, 2017 Neural Factorization Machines (NFMs) “deepens” FM by placing hidden layers above second-order feature interaction modeling. categorical variables
  • 6. 6 Neural FM Neural Factorization Machines for Sparse Predictive Analytics, SIGIR, 2017 Neural Factorization Machines (NFMs) “deepens” FM by placing hidden layers above second-order feature interaction modeling. “Deep layers” learn higher-order feature interactions only, being much easier to train. Bilinear Interaction Pooling: 𝑓!" 𝑉 # = $ $%& ' $ (%$)& ' 𝑥$ 𝐯$ ⨀𝑥(v( categorical variables
  • 7. 7 DeepFM DeepFM: A Factorization-Machine based Neural Network for CTR Prediction, IJCAI, 2017 DeepFM ensembles FM and DNN and to low- and high-order feature interactions simultaneously from the input raw features. Prediction Model: FM component (low-order) Deep component (high-order)
  • 8. 8 DeepFM DeepFM: A Factorization-Machine based Neural Network for CTR Prediction, IJCAI, 2017 DeepFM ensembles FM and DNN and to low- and high-order feature interactions simultaneously from the input raw features. FM component (low-order) Deep component (high-order) Share the embedding layer Prediction Model:
  • 9. 9 DSCF Deep Social Collaborative Filtering, RecSys, 2019 Collaborative Filtering with users’ social relations (Social Recommendation) News US could see millions of coronavirus cases and 100,000 or more deaths Dr. Anthony Fauci
  • 10. 10 DSCF Deep Social Collaborative Filtering, RecSys, 2019 Collaborative Filtering with users’ social relations (Social Recommendation) β1 β3 β4 β2 Output Layer . . . Embedding Layer Random Walk Layer α1 α2 α3 α4 1 h 2 h L h L h 1 - L h 2 h 1 - L h 1 h Sequence Learning Layer . . . . . . . . . . . . Attention Network Attention Network u[1] u[2] u[l] r' … … Item Embedding User Embedding Rating Embedding Concatenation Concatenation … … … Users might be affected by direct/distant neighbors. Ø Information diffusion Ø Users with high reputations News US could see millions of coronavirus cases and 100,000 or more deaths Dr. Anthony Fauci
  • 11. 11 DSCF Deep Social Collaborative Filtering, RecSys, 2019 Collaborative Filtering with users’ social relations (Social Recommendation) β1 β3 β4 β2 Output Layer . . . Embedding Layer Random Walk Layer α1 α2 α3 α4 1 h 2 h L h L h 1 - L h 2 h 1 - L h 1 h Sequence Learning Layer . . . . . . . . . . . . Attention Network Attention Network u[1] u[2] u[l] r' … … Item Embedding User Embedding Rating Embedding Concatenation Concatenation … … … News US could see millions of coronavirus cases and 100,000 or more deaths Dr. Anthony Fauci Users might be affected by direct/distant neighbors. Ø Information diffusion Ø Users with high reputations Social Sequences via Random Walk techniques Bi-LSTM with attention mechanisms
  • 12. 12 DASO Deep Adversarial Social Recommendation, IJCAI, 2019 3 5 1 Item Domain Social Domain p User behave and interact differently in the item/social domains. Collaborative Filtering with users’ social relations (Social Recommendation)
  • 13. 13 DASO Deep Adversarial Social Recommendation, IJCAI, 2019 3 5 1 Item Domain Social Domain p User behave and interact differently in the item/social domains. Learning separated user representations in two domains. Collaborative Filtering with users’ social relations (Social Recommendation)
  • 14. 14 DASO Deep Adversarial Social Recommendation, IJCAI, 2019 3 5 1 Item Domain Social Domain p User behave and interact differently in the item/social domains. Learning separated user representations in two domains. Bidirectional Knowledge Transfer with Cycle Reconstruction Collaborative Filtering with users’ social relations (Social Recommendation)
  • 15. 15 Optimization for Ranking Tasks p Negative Sampling’s Main Issue: • It often generates low-quality negative samples that do not help you learn good representation. Deep Adversarial Social Recommendation, IJCAI, 2019
  • 16. 16 Optimization for Ranking Tasks p Negative Sampling’s Main Issue: • It often generates low-quality negative samples that do not help you learn good representation [Cai and Wang, 2018; Wang et al., 2018b]. Dress Male Men’s Wallets Female informative ‘difficult’ “easy”/unrelated “easy”/unrelated Deep Adversarial Social Recommendation, IJCAI, 2019
  • 17. 17 Optimization for Ranking Tasks p Negative Sampling’s Main Issue: • It often generates low-quality negative samples that do not help you learn good representation [Cai and Wang, 2018; Wang et al., 2018b]. Dress Male Men’s Wallets Female informative ‘difficult’ “easy”/unrelated “easy”/unrelated Dynamically generate “difficult” negative samples Optimization with Adversarial Learning (GAN) Deep Adversarial Social Recommendation, IJCAI, 2019
  • 18. p(v|u) p(uk|u) Loss/Reward Generator Discriminator Discriminator Generator Reward Reward Generated Samples Generated  Samples Cyclic User Modeling Item  Domain  Adversarial Learning  UI UIS USI US   hI->S    hS->I  Loss/Reward Real Samples User-Item Interactions User-User Connections Real Samples Social Domain Representations for Generator Social Domain Representations for Discriminator Social Domain Adversarial Learning  V U u v U Uk U Uk User Representations on Social Domain after Mapping (I->S) Item Domain Representations for Generator User Representations on Item Domain after Mapping (S->I) Item Domain Representations for Discriminator 18 DASO Deep Adversarial Social Recommendation, IJCAI, 2019
  • 19. p(v|u) p(uk|u) Loss/Reward Generator Discriminator Discriminator Generator Reward Reward Generated Samples Generated  Samples Cyclic User Modeling Item  Domain  Adversarial Learning  UI UIS USI US   hI->S    hS->I  Loss/Reward Real Samples User-Item Interactions User-User Connections Real Samples Social Domain Representations for Generator Social Domain Representations for Discriminator Social Domain Adversarial Learning  V U u v U Uk U Uk User Representations on Social Domain after Mapping (I->S) Item Domain Representations for Generator User Representations on Item Domain after Mapping (S->I) Item Domain Representations for Discriminator 19 DASO Deep Adversarial Social Recommendation, IJCAI, 2019
  • 20. 20 Item Domain Discriminator Model p Discriminator Score function: Goal: distinguish real user-item pairs (i.e., real samples) and the generated “fake” samples (relevant) (Sigmoid) Deep Adversarial Social Recommendation, IJCAI, 2019
  • 21. 21 Item Domain Generator Model p Generator Model Goal: 1. Approximate the underlying real conditional distribution pI real(v|ui) 2. Generate (select/sample) the most relevant items for any given user ui. Optimization with Policy Gradient the transferred user representation from social domain
  • 22. 22 Sequential (Session-based) Recommendation Session-based Recommendations with Recurrent Neural Networks, ICLR, 2016. BERT4Rec: Sequential Recommendation with Bidirectional Encoder Representations from Transformer, CIKM, 2019. user’s sequential behavior Next Item 0.8 0.6 0.1
  • 23. 23 Sequential (Session-based) Recommendation Session-based Recommendations with Recurrent Neural Networks, ICLR, 2016. BERT4Rec: Sequential Recommendation with Bidirectional Encoder Representations from Transformer, CIKM, 2019. GRU based sequential recommendation method (GRU4Rec) user’s sequential behavior Next Item 0.8 0.6 0.1
  • 24. 24 Sequential (Session-based) Recommendation Session-based Recommendations with Recurrent Neural Networks, ICLR, 2016. BERT4Rec: Sequential Recommendation with Bidirectional Encoder Representations from Transformer, CIKM, 2019. GRU based sequential recommendation method (GRU4Rec) user’s sequential behavior Next Item 0.8 0.6 0.1 BERT4Rec Transformer Layer
  • 25. 25 Recommendation Policies § Offline optimization § Short-term reward Shortcomings of Existing Deep Recommender Systems
  • 26. 26 Recommendation Policies § Offline optimization § Short-term reward Graph-structured Data § Information isolated island Issue: ignore implicit/explicit relationships among instances Shortcomings of Existing Deep Recommender Systems Items Users !! "! !! "" !! "# !" "! … …
  • 27. 27 Recommendation Policies § Offline optimization § Short-term reward 0 0 1 Field 1 Field m Field M 0 1 0 1 0 0 Manually Deisgned Architectures § Expert knowledge § Time and engineering efforts Graph-structured Data § Information isolated island Issue: ignore implicit/explicit relationships among instances Shortcomings of Existing Deep Recommender Systems Items Users !! "! !! "" !! "# !" "! … …
  • 28. 28 Recommendation Policies § Offline optimization § Short-term reward 0 0 1 Field 1 Field m Field M 0 1 0 1 0 0 Manually Deisgned Architectures § Expert knowledge § Time and engineering efforts Graph-structured Data § Information isolated island Issue: ignore implicit/explicit relationships among instances Shortcomings of Existing Deep Recommender Systems Items Users !! "! !! "" !! "# !" "! … … ... ... ... ... ... ... ... ... ... ... Normal Data Fake User Profiles Generating Fake User Profiles Attacker promote/demote Poisoning attacks: § Promote/demote items § White/grey/black-box attacks