SlideShare a Scribd company logo
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

PDF
Context Aware Recommendations at Netflix
PPTX
Deep learning based recommender systems (lab seminar paper review)
PDF
Deep Learning for Recommender Systems
PPTX
GRU4Rec v2 - Recurrent Neural Networks with Top-k Gains for Session-based Rec...
PDF
Tutorial on Deep Learning in Recommender System, Lars summer school 2019
PPTX
Recommender systems: Content-based and collaborative filtering
PDF
Deep Learning for Recommender Systems
PDF
Tutorial on Sequence Aware Recommender Systems - ACM RecSys 2018
Context Aware Recommendations at Netflix
Deep learning based recommender systems (lab seminar paper review)
Deep Learning for Recommender Systems
GRU4Rec v2 - Recurrent Neural Networks with Top-k Gains for Session-based Rec...
Tutorial on Deep Learning in Recommender System, Lars summer school 2019
Recommender systems: Content-based and collaborative filtering
Deep Learning for Recommender Systems
Tutorial on Sequence Aware Recommender Systems - ACM RecSys 2018

What's hot (20)

PDF
Deep Learning for Recommender Systems
PDF
Incorporating Diversity in a Learning to Rank Recommender System
PDF
Past, Present & Future of Recommender Systems: An Industry Perspective
PDF
Shallow and Deep Latent Models for Recommender System
PDF
Time, Context and Causality in Recommender Systems
PDF
Optimization for Deep Learning
PDF
Recurrent Neural Networks (RNN) | RNN LSTM | Deep Learning Tutorial | Tensorf...
PPTX
Recommendation Systems
PDF
Recommendation System Explained
PDF
Warsaw Data Science - Factorization Machines Introduction
PDF
Deep Learning Recommender Systems
PDF
Evolution of the StyleGAN family
PDF
Déjà Vu: The Importance of Time and Causality in Recommender Systems
PDF
Deeper Things: How Netflix Leverages Deep Learning in Recommendations and Se...
PPTX
Recommender Systems from A to Z – Model Training
PDF
Making Netflix Machine Learning Algorithms Reliable
PDF
Calibrated Recommendations
PDF
Homepage Personalization at Spotify
PPTX
[DL輪読会]EfficientNet: Rethinking Model Scaling for Convolutional Neural Networks
PPTX
Neural collaborative filtering-발표
Deep Learning for Recommender Systems
Incorporating Diversity in a Learning to Rank Recommender System
Past, Present & Future of Recommender Systems: An Industry Perspective
Shallow and Deep Latent Models for Recommender System
Time, Context and Causality in Recommender Systems
Optimization for Deep Learning
Recurrent Neural Networks (RNN) | RNN LSTM | Deep Learning Tutorial | Tensorf...
Recommendation Systems
Recommendation System Explained
Warsaw Data Science - Factorization Machines Introduction
Deep Learning Recommender Systems
Evolution of the StyleGAN family
Déjà Vu: The Importance of Time and Causality in Recommender Systems
Deeper Things: How Netflix Leverages Deep Learning in Recommendations and Se...
Recommender Systems from A to Z – Model Training
Making Netflix Machine Learning Algorithms Reliable
Calibrated Recommendations
Homepage Personalization at Spotify
[DL輪読会]EfficientNet: Rethinking Model Scaling for Convolutional Neural Networks
Neural collaborative filtering-발표
Ad

Similar to Fundamentals of Deep Recommender Systems (20)

PPTX
Deep Learning for Recommender Systems
PDF
Andrew Clegg, Data Scientician & Machine Learning Engine-Driver: "Deep produc...
PDF
Deep Learning for Recommender Systems with Nick pentreath
PDF
Further enhancements of recommender systems using deep learning
PDF
Introduction to Recommender Systems
PDF
Deep Recommender Systems - PAPIs.io LATAM 2018
PDF
Introduction to Recommender System
PPTX
HABIB FIGA GUYE {BULE HORA UNIVERSITY}(habibifiga@gmail.com
PPTX
Deep learning to the rescue - solving long standing problems of recommender ...
PDF
Relational machine-learning
PDF
Crafting Recommenders: the Shallow and the Deep of it!
PDF
Recurrent Neural Networks for Recommendations and Personalization with Nick P...
PPTX
Talk@rmit 09112017
PDF
Silk Data - Review Lecture on Recommendation Systems
PDF
Deep Learning for Recommender Systems @ TDC SP 2019
PDF
Highlights from the 8th ACM Conference on Recommender Systems (RecSys 2014)
PPTX
RNNs for Recommendations and Personalization
PPTX
Rokach-GomaxSlides (1).pptx
PPTX
Rokach-GomaxSlides.pptx
PDF
Sistemas de Recomendação sem Enrolação
Deep Learning for Recommender Systems
Andrew Clegg, Data Scientician & Machine Learning Engine-Driver: "Deep produc...
Deep Learning for Recommender Systems with Nick pentreath
Further enhancements of recommender systems using deep learning
Introduction to Recommender Systems
Deep Recommender Systems - PAPIs.io LATAM 2018
Introduction to Recommender System
HABIB FIGA GUYE {BULE HORA UNIVERSITY}(habibifiga@gmail.com
Deep learning to the rescue - solving long standing problems of recommender ...
Relational machine-learning
Crafting Recommenders: the Shallow and the Deep of it!
Recurrent Neural Networks for Recommendations and Personalization with Nick P...
Talk@rmit 09112017
Silk Data - Review Lecture on Recommendation Systems
Deep Learning for Recommender Systems @ TDC SP 2019
Highlights from the 8th ACM Conference on Recommender Systems (RecSys 2014)
RNNs for Recommendations and Personalization
Rokach-GomaxSlides (1).pptx
Rokach-GomaxSlides.pptx
Sistemas de Recomendação sem Enrolação
Ad

Recently uploaded (20)

PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPTX
sap open course for s4hana steps from ECC to s4
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Encapsulation theory and applications.pdf
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPT
Teaching material agriculture food technology
PDF
Approach and Philosophy of On baking technology
Encapsulation_ Review paper, used for researhc scholars
Reach Out and Touch Someone: Haptics and Empathic Computing
NewMind AI Weekly Chronicles - August'25 Week I
Spectral efficient network and resource selection model in 5G networks
Per capita expenditure prediction using model stacking based on satellite ima...
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Digital-Transformation-Roadmap-for-Companies.pptx
sap open course for s4hana steps from ECC to s4
MYSQL Presentation for SQL database connectivity
Encapsulation theory and applications.pdf
Building Integrated photovoltaic BIPV_UPV.pdf
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
The AUB Centre for AI in Media Proposal.docx
Unlocking AI with Model Context Protocol (MCP)
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Teaching material agriculture food technology
Approach and Philosophy of On baking technology

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