SlideShare a Scribd company logo
Deep Learning
Recommender
Systems
from Prototype to Production
DataTalks.Club 23.03.21
Outline
● About us
● Modern Recommender Systems
● Deep Learning Recommender Systems
● Neural Item Embeddings
● Similarity Search
● Proving value through Experimentation
● From POC to PRD
● Summary
About us
ILIA IVANOV
Data Scientist
ilia.ivanov@olx.com
CRISTIAN MARTINEZ
Lead Data Scientist
cristian.martinez@olx.com
Deep Learning Recommender Systems
Modern Recommender
Systems
Almost all
modern
platforms that we
use daily have
some kind of
recommender
system
Amazon
Amazon researchers
found that using neural
networks to generate
movie recommendations
worked much better when
they sorted the input data
chronologically and used
it to predict future movie
preferences over a short
(one- to two-week)
period.
Source: https://www.amazon.science/the-history-of-amazons-recommendation-algorithm
Deep Learning Recommender
Systems (DLRS)
Content-based
Deep content-based music recommendation (Oord et al, 2013)
● Convolutional neural nets
● Key ideas:
○ Extract latent representations
of songs from audio signals
○ Train CNN network to generate
embeddings of songs
○ The input of the CNN is a
time-frequency representation
of the audio
Neural Item Embeddings
E-commerce in Your Inbox (Grbovic et al, 2015)
● Inspired by word2vec architecture
● Key ideas:
○ Generate embeddings of products in a
word2vec fashion
○ “Words” are products and “sentences”
are purchase sequences of a user
○ Learn product embeddings using
skip-gram
Wide & Deep
Wide & Deep Learning for Recommender Systems (Cheng et al, 2016)
● Wide and deep feed-forward architectures
● Key ideas:
○ Jointly train two neural
networks.
○ Deep neural network
trained with embeddings.
○ (Wide) Linear model with
feature transformations
for generic recommender
systems with sparse inputs.
Session-based
Session-based recommendations with RNNs (Hidasi et al, 2016)
● Recurrent neural network architectures
● Key ideas:
○ Train using sequence of items in a session
○ Predict: next item in the session
○ Pairwise (ranking) loss functions
■ Bayesian personalised ranking (BPR)
Graph-based
Graph Convolutional Neural Networks for Web-Scale Recommender
Systems (Ying et al, 2018)
● GCN architectures
● Key ideas:
○ Combines efficient random
walks and graph
convolutions to
generate embeddings
of nodes (e.g. items)
○ Improve quality of item
embedding by extracting
Information from its
neighbor nodes.
Benefits of using DNNs
● Extract deep features directly from content
○ e.g. CNNs for images, LSTMs for text
● Allow us to combine information extracted from
different input sources
● Generate more accurate representations of users
and items
● Allow us to use custom loss functions
Neural Item Embeddings
ITEM
EMBEDDINGS
2018
Deep neural network marketplace
recommenders in online experiments
Combine content-based features with user
behaviors to solve the cold start challenge of
collaborative filtering.
2019
How we use item2vec to recommend similar
products
Avito’s item2vec implementation.
+30% contacts from i2i recommendations.
+20% contacts from personal recommendations.
2015
E-commerce in Your Inbox: Product
Recommendations at Scale
Use word2vec algorithm to learn embedding
representations of products.
2016
Meta-Prod2Vec: Product Embeddings Using
Side-Information for Recommendation
Prod2vec + meta-data about the item.
text
location
params
category
item neural network
LSTM layer
word
embeddings
Concatenate
Embedding
layer
Embedding
layer
Dense
layer
Dropout Dense
(ReLU)
Dense
(Tanh)
Embedding space
Similarity Assumption
time
Pair 1 Pair 2 Pair 3
<A, P>
<A, N>
Anchor
cross_entropy(
[<A,P>, <A,N>, ...],
[1 , 0 , …]
)
Positive
Negative
Dot Product Loss Function
Embedding space
Items Dataset
References
● E-commerce in Your Inbox: Product Recommendations at
Scale (Grbovic et al, 2016)
● Meta-Prod2Vec: Product Embeddings Using
Side-Information for Recommendation (Vasile et al, 2016)
● Deep neural network marketplace recommenders in
online experiments (Eide et al, 2018)
● Как мы используем item2vec для рекомендаций похожих
товаров Avito’s item2vec (Russian language)
Similarity Search
Search
Problem: find the nearest neighbors among millions of item embeddings
Solution: approximate nearest neighbor (ANN)
Implementations:
● FAISS (FB)
● Annoy (Spotify)
● NMSLIB
● Open Distro for ES
Experimentation
Off-line
Model
Quality
Development
Speed
loss function
generic
feature encoders
automated
feature selection
domain-specific
data (& model)
data cleaning
Pre-online
Internal testing framework to
● compare recommendations
● debug
On-line
-18%
+0.6%
+16%
+9%
Iterate over 1 model in the corresponding domain
Roll-out to more domains & improve incrementally
Contacts effect over time
From POC to PRD
Automatization
AWS SageMaker AWS Batch Airflow
Monitoring
Training Inference Business
Summary
Lessons Learned
● DL + RS = ❤
● Start simple + iterate
● Learn from your users (A/B-testing)
Q&A
Thank you!

More Related Content

PDF
Deep Learning for Recommender Systems
PDF
Calibrated Recommendations
PDF
Introduction to Recommendation Systems
PDF
Recommendation System Explained
PDF
Deep Learning for Recommender Systems
PDF
Recommender Systems
PPTX
Deep Learning in Recommender Systems - RecSys Summer School 2017
PDF
Recommender Systems
Deep Learning for Recommender Systems
Calibrated Recommendations
Introduction to Recommendation Systems
Recommendation System Explained
Deep Learning for Recommender Systems
Recommender Systems
Deep Learning in Recommender Systems - RecSys Summer School 2017
Recommender Systems

What's hot (20)

PPTX
Recommender systems using collaborative filtering
PPTX
Recommender system introduction
PPTX
Talk@rmit 09112017
PDF
Recommender system algorithm and architecture
PDF
Shallow and Deep Latent Models for Recommender System
PDF
Deep Learning for Recommender Systems RecSys2017 Tutorial
PPT
Recommendation system
PPTX
Recommender Systems
PDF
Overview of recommender system
PDF
How to build a recommender system?
PPTX
Recommender Systems
PDF
Personalizing "The Netflix Experience" with Deep Learning
PPTX
Movie lens recommender systems
PPTX
Recommender system
PPTX
Recommendation system
PDF
An introduction to Recommender Systems
PDF
Matrix Factorization In Recommender Systems
PDF
Matrix Factorization Techniques For Recommender Systems
PDF
Deep Learning for Recommender Systems
PPTX
Recommender systems for E-commerce
Recommender systems using collaborative filtering
Recommender system introduction
Talk@rmit 09112017
Recommender system algorithm and architecture
Shallow and Deep Latent Models for Recommender System
Deep Learning for Recommender Systems RecSys2017 Tutorial
Recommendation system
Recommender Systems
Overview of recommender system
How to build a recommender system?
Recommender Systems
Personalizing "The Netflix Experience" with Deep Learning
Movie lens recommender systems
Recommender system
Recommendation system
An introduction to Recommender Systems
Matrix Factorization In Recommender Systems
Matrix Factorization Techniques For Recommender Systems
Deep Learning for Recommender Systems
Recommender systems for E-commerce
Ad

Similar to Deep Learning Recommender Systems (20)

PPTX
Major_Project_Presentaion_B14.pptx
PDF
Crafting Recommenders: the Shallow and the Deep of it!
PPTX
HABIB FIGA GUYE {BULE HORA UNIVERSITY}(habibifiga@gmail.com
PDF
Deep Learning for Recommender Systems @ TDC SP 2019
PDF
Deep Recommender Systems - PAPIs.io LATAM 2018
PPTX
Face-GAN project report.pptx
PPTX
Face-GAN project report
PPTX
acmsigtalkshare-121023190142-phpapp01.pptx
PPTX
[DSC Europe 22] Developing Visual AI Solutions for Online Marketplaces - Mlad...
PPTX
Ai use cases
PDF
Sistemas de Recomendação sem Enrolação
PPTX
Cognitive Toolkit - Deep Learning framework from Microsoft
PDF
GDSC Machine Learning Session Presentation
PPTX
GDSC BPIT ML Campaign.pptx
PDF
MongoDB World 2019: MongoDB in Data Science: How to Build a Scalable Product ...
PDF
Artificial Intelligence and Deep Learning in Azure, CNTK and Tensorflow
PPTX
Recommender Systems from A to Z – The Right Dataset
PDF
AI and Deep Learning
PPTX
Thesis Presentation
PDF
Tag And Tag Based Recommender
Major_Project_Presentaion_B14.pptx
Crafting Recommenders: the Shallow and the Deep of it!
HABIB FIGA GUYE {BULE HORA UNIVERSITY}(habibifiga@gmail.com
Deep Learning for Recommender Systems @ TDC SP 2019
Deep Recommender Systems - PAPIs.io LATAM 2018
Face-GAN project report.pptx
Face-GAN project report
acmsigtalkshare-121023190142-phpapp01.pptx
[DSC Europe 22] Developing Visual AI Solutions for Online Marketplaces - Mlad...
Ai use cases
Sistemas de Recomendação sem Enrolação
Cognitive Toolkit - Deep Learning framework from Microsoft
GDSC Machine Learning Session Presentation
GDSC BPIT ML Campaign.pptx
MongoDB World 2019: MongoDB in Data Science: How to Build a Scalable Product ...
Artificial Intelligence and Deep Learning in Azure, CNTK and Tensorflow
Recommender Systems from A to Z – The Right Dataset
AI and Deep Learning
Thesis Presentation
Tag And Tag Based Recommender
Ad

Recently uploaded (20)

PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
Big Data Technologies - Introduction.pptx
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PPTX
Cloud computing and distributed systems.
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Approach and Philosophy of On baking technology
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPT
Teaching material agriculture food technology
PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
NewMind AI Weekly Chronicles - August'25 Week I
“AI and Expert System Decision Support & Business Intelligence Systems”
Big Data Technologies - Introduction.pptx
Advanced methodologies resolving dimensionality complications for autism neur...
Mobile App Security Testing_ A Comprehensive Guide.pdf
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Cloud computing and distributed systems.
The AUB Centre for AI in Media Proposal.docx
Building Integrated photovoltaic BIPV_UPV.pdf
Approach and Philosophy of On baking technology
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Teaching material agriculture food technology
Spectral efficient network and resource selection model in 5G networks
MYSQL Presentation for SQL database connectivity
Diabetes mellitus diagnosis method based random forest with bat algorithm
20250228 LYD VKU AI Blended-Learning.pptx
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Per capita expenditure prediction using model stacking based on satellite ima...

Deep Learning Recommender Systems