SlideShare a Scribd company logo
1 of 22
Download to read offline
Session-Based Recommender Systems
FREDERICK AYALA GÓMEZ
PHD STUDENT IN COMPUTER SCIENCE
@FREDAYALA FREDERICKAYALA
4/20/2017 @FREDAYALA LINKEDIN.COM/IN/FREDERICKAYALA 1
Presented at
Agenda
Why bother?
What are Recommender Systems?
How to build recommendations?
Hands-on GRU4Rec
Conclusions
4/20/2017 @FREDAYALA LINKEDIN.COM/IN/FREDERICKAYALA 2
Are we good at
choosing among
multiple
options?
4/20/2017 @FREDAYALA LINKEDIN.COM/IN/FREDERICKAYALA 3
happiness
choices
Having too many choices is stressful
- Takes time
- Increase uncertainty
Web and SoMe
as a channel to
consume
content,
products and
services.
4/20/2017 @FREDAYALA LINKEDIN.COM/IN/FREDERICKAYALA 4
Taken from https://www.wired.com/2004/10/tail/
What are
recommender
systems?
Not so formal definition
Finding
relevant things
for a user based
on some kind
of feedback
4/20/2017 @FREDAYALA LINKEDIN.COM/IN/FREDERICKAYALA 5
Products
Content
Services
Offer
User
interests
What is
Relevant
“Recommendations account for about 60% of all video
clicks from the home page” <- 2010James Davidson, Benjamin Liebald, Junning Liu, Palash Nandy, Taylor Van Vleet, Ullas Gargi, Sujoy Gupta, Yu He, Mike Lambert, Blake Livingston, and Dasarathi Sampath.
2010. The YouTube video recommendation system. In Proceedings of the fourth ACM conference on Recommender systems (RecSys '10). ACM, New York,
NY, USA, 293-296. DOI=http://dx.doi.org/10.1145/1864708.1864770
4/20/2017 @FREDAYALA LINKEDIN.COM/IN/FREDERICKAYALA 6
“Recommendations account for about 60% of all video clicks
from the home page.”
What are recommender systems?
4/20/2017 @FREDAYALA LINKEDIN.COM/IN/FREDERICKAYALA 7
Types of
Feedback
Explicit Feedback
“Asking the user”
Ratings
Like/Dislike
4/20/2017 @FREDAYALA LINKEDIN.COM/IN/FREDERICKAYALA 8
Implicit Feedback is
more common in
practice
Implicit
Feedback
“Observe the
user behaviors”
Clicks
Previously
seen items
How to build recommender systems?
4/20/2017 @FREDAYALA LINKEDIN.COM/IN/FREDERICKAYALA 9
Two books about Recommender Systems
Matrix Factorization
4/20/2017 @FREDAYALA LINKEDIN.COM/IN/FREDERICKAYALA 10
Represent the users/items feedback as a matrix. Then, find two lower dimension matrixes that factorize it
R
Usually very
sparse since
users consume
few items
ItemsUsers
≈ P
Q
Users
Itemsf
f
Y. Koren, R. Bell and C. Volinsky, "Matrix
Factorization Techniques for Recommender
Systems," in Computer, vol. 42, no. 8, pp. 30-37,
Aug. 2009.
doi: 10.1109/MC.2009.263
Minimize the squared error function
This is done usually by Stochastic Gradient Descent or Alternating Least Squares
For binary feedback use iALS
The predicted score for each user-item is given by
Works very well for personalization (e.g. newsletters)
No user profile
…
Old feedback
could be irrelevant
…
~84% of our
recommendations
are item-to-item
- DomonkosTikk,CEO@GravityR&D
Lessons learnt at building
recommendation services at industry
scale,
https://www.slideshare.net/domonkostikk/lessons-
learnt-at-building-recommendation-services-at-
industry-scale
4/20/2017 @FREDAYALA LINKEDIN.COM/IN/FREDERICKAYALA 11
Online Shopping Blogs
Browsing AnonymouslyNews/Expiring Content
4/20/2017 @FREDAYALA LINKEDIN.COM/IN/FREDERICKAYALA 12
Linden et al. 2003. “Amazon.com Recommendations: Item-to-Item Collaborative Filtering” IEEE Internet Computing
Davidson et al. 2010. “The YouTube video recommendation system”. ACM RecSys '10. BCN, Spain.
The next item is recommended based on the similarity between the actual item and other items.
The similarity is computed by using the two item-session vectors:
With this similarities we can find the k Nearest Neighbors of item i.
Usually a very strong baseline.
1 2 3 . . . . i . . . j . . . . . m
1 1 1
2
. 1 1
. 1 1
. 1 1
n 1
Items
Sessions
Item-KNN
“people who viewed this item also viewed…”
Item-to-Item Recommendations
4/20/2017 @FREDAYALA LINKEDIN.COM/IN/FREDERICKAYALA 13
User Item
User 1 A
User 1 B
User 1 C
User 2 B
User 2 C
User 2 D
User 3 B
User 3 C
User 3 A
Item i Item j Count
B C 3
A B 2
C A 1
C D 1
4/20/2017 @FREDAYALA LINKEDIN.COM/IN/FREDERICKAYALA 14
Where:
i: Current item
j: Next item
k: Other items in the dataset
yi: Latent Factor for item i
yj: Latent Factor for item j
yk: Latent Factor for item k
bj: Bias item j
bj: Bias item k
N. Koenigstein, Y. Koren. "Towards scalable and accurate item-oriented recommendations". ACM RecSys '13. NY, USA.
Learn model parameters that maximize the log-likelihood of
the training set:
Using Stochastic Gradient Descent and Importance
Sampling to reduce the complexity of the training
After concatenating the biases to the latent factors, the best next item j is the closest vector to the item i
Not the best baseline for top-K evaluations
Euclidean Item Recommender
4/20/2017 @FREDAYALA LINKEDIN.COM/IN/FREDERICKAYALA 15
4/20/2017 @FREDAYALA LINKEDIN.COM/IN/FREDERICKAYALA 16
Recurrent
Neural Networks
Train a model with a
sequence that predicts
a higher probability for
the next element.
Also called
sequence-to-sequence
models
We learned the alphabet in this direction
Telling it backwards is harder
4/20/2017 @FREDAYALA LINKEDIN.COM/IN/FREDERICKAYALA 17
Recurrent Neural Networks
Taken from: http://karpathy.github.io/2015/05/21/rnn-effectiveness/
H
E
L
O
H
E
L
O
Input and
outputs are
one-hot-
encoded
Backpropagate to fix
errors (i.e. move the
hidden layers weights a
small amount in the
direction of the loss
function gradient)
nok
nok ok
ok
4/20/2017 @FREDAYALA LINKEDIN.COM/IN/FREDERICKAYALA 18
GRU4RecB. Hidasi, et al. 2016 “Session-based recommendations with recurrent neural networks”. ICLR 16’, San Juan, PR
Taken from the authors ICLR poster http://www.hidasi.eu/content/gru4rec_iclr16_poster.pdf
Optimize directly to the ranking using BPR or TOP1
4/20/2017 @FREDAYALA LINKEDIN.COM/IN/FREDERICKAYALA 19
GRU4Rec - PerformanceB. Hidasi, et al. 2016 “Session-based recommendations with recurrent neural networks”. ICLR 16’, San Juan, PR
4/20/2017 @FREDAYALA LINKEDIN.COM/IN/FREDERICKAYALA 20
𝑅𝑒𝑐𝑎𝑙𝑙@20 =
# 𝑅𝑒𝑐𝑜𝑚𝑚𝑒𝑛𝑑𝑎𝑡𝑖𝑜𝑛𝑠 𝑤𝑖𝑡ℎ 𝑡ℎ𝑒 𝑛𝑒𝑥𝑡 𝑑𝑒𝑠𝑖𝑟𝑒𝑑 𝑖𝑡𝑒𝑚 𝑖𝑛 𝑡ℎ𝑒 𝑇𝑜𝑝 20 𝑝𝑟𝑒𝑑𝑖𝑐𝑡𝑖𝑜𝑛𝑠
𝑇𝑜𝑡𝑎𝑙 # 𝑜𝑓 𝑟𝑒𝑐𝑜𝑚𝑚𝑒𝑛𝑑𝑎𝑡𝑖𝑜𝑛𝑠
Collection of sessions – item click events
Hands-on GRU4REC
Jupyter Notebook at
https://github.com/frederickayala/session-based-recsys
4/20/2017 @FREDAYALA LINKEDIN.COM/IN/FREDERICKAYALA 21
Conclusions
4/20/2017 @FREDAYALA LINKEDIN.COM/IN/FREDERICKAYALA 22
Frederick Ayala Gómez
PhD Student in Computer Science
@fredayala frederickayala
Session-Based Recommender Systems are very common in real life
GRU4Rec code is open and GPU accelerated with Theano
Thanks!
+12.8%

More Related Content

What's hot

Overview of recommender system
Overview of recommender systemOverview of recommender system
Overview of recommender systemStanley Wang
 
GRU4Rec v2 - Recurrent Neural Networks with Top-k Gains for Session-based Rec...
GRU4Rec v2 - Recurrent Neural Networks with Top-k Gains for Session-based Rec...GRU4Rec v2 - Recurrent Neural Networks with Top-k Gains for Session-based Rec...
GRU4Rec v2 - Recurrent Neural Networks with Top-k Gains for Session-based Rec...Balázs Hidasi
 
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
 
Recommender system algorithm and architecture
Recommender system algorithm and architectureRecommender system algorithm and architecture
Recommender system algorithm and architectureLiang Xiang
 
TAGNN: Target Attentive Graph Neural Networks for Session-based Recommendation
TAGNN: Target Attentive Graph Neural Networks for Session-based RecommendationTAGNN: Target Attentive Graph Neural Networks for Session-based Recommendation
TAGNN: Target Attentive Graph Neural Networks for Session-based RecommendationFatemeh Ghorbani
 
Personalizing Session-based Recommendations with Hierarchical Recurrent Neura...
Personalizing Session-based Recommendations with Hierarchical Recurrent Neura...Personalizing Session-based Recommendations with Hierarchical Recurrent Neura...
Personalizing Session-based Recommendations with Hierarchical Recurrent Neura...Massimo Quadrana
 
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
 
Homepage Personalization at Spotify
Homepage Personalization at SpotifyHomepage Personalization at Spotify
Homepage Personalization at SpotifyOguz Semerci
 
Hands on Explainable Recommender Systems with Knowledge Graphs @ RecSys22
Hands on Explainable Recommender Systems with Knowledge Graphs @ RecSys22Hands on Explainable Recommender Systems with Knowledge Graphs @ RecSys22
Hands on Explainable Recommender Systems with Knowledge Graphs @ RecSys22GiacomoBalloccu
 
Fundamentals of Deep Recommender Systems
 Fundamentals of Deep Recommender Systems Fundamentals of Deep Recommender Systems
Fundamentals of Deep Recommender SystemsWQ Fan
 
An introduction to Recommender Systems
An introduction to Recommender SystemsAn introduction to Recommender Systems
An introduction to Recommender SystemsDavid Zibriczky
 
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
 
Recommender systems using collaborative filtering
Recommender systems using collaborative filteringRecommender systems using collaborative filtering
Recommender systems using collaborative filteringD Yogendra Rao
 
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
 
Recent Trends in Personalization: A Netflix Perspective
Recent Trends in Personalization: A Netflix PerspectiveRecent Trends in Personalization: A Netflix Perspective
Recent Trends in Personalization: A Netflix PerspectiveJustin Basilico
 
Deep Learning for Recommender Systems - Budapest RecSys Meetup
Deep Learning for Recommender Systems  - Budapest RecSys MeetupDeep Learning for Recommender Systems  - Budapest RecSys Meetup
Deep Learning for Recommender Systems - Budapest RecSys MeetupAlexandros Karatzoglou
 
Deep Natural Language Processing for Search and Recommender Systems
Deep Natural Language Processing for Search and Recommender SystemsDeep Natural Language Processing for Search and Recommender Systems
Deep Natural Language Processing for Search and Recommender SystemsHuiji Gao
 
Movie lens recommender systems
Movie lens recommender systemsMovie lens recommender systems
Movie lens recommender systemsKapil Garg
 

What's hot (20)

Overview of recommender system
Overview of recommender systemOverview of recommender system
Overview of recommender system
 
GRU4Rec v2 - Recurrent Neural Networks with Top-k Gains for Session-based Rec...
GRU4Rec v2 - Recurrent Neural Networks with Top-k Gains for Session-based Rec...GRU4Rec v2 - Recurrent Neural Networks with Top-k Gains for Session-based Rec...
GRU4Rec v2 - Recurrent Neural Networks with Top-k Gains for Session-based Rec...
 
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
 
Fair Recommender Systems
Fair Recommender Systems Fair Recommender Systems
Fair Recommender Systems
 
Recommender system algorithm and architecture
Recommender system algorithm and architectureRecommender system algorithm and architecture
Recommender system algorithm and architecture
 
TAGNN: Target Attentive Graph Neural Networks for Session-based Recommendation
TAGNN: Target Attentive Graph Neural Networks for Session-based RecommendationTAGNN: Target Attentive Graph Neural Networks for Session-based Recommendation
TAGNN: Target Attentive Graph Neural Networks for Session-based Recommendation
 
Personalizing Session-based Recommendations with Hierarchical Recurrent Neura...
Personalizing Session-based Recommendations with Hierarchical Recurrent Neura...Personalizing Session-based Recommendations with Hierarchical Recurrent Neura...
Personalizing Session-based Recommendations with Hierarchical Recurrent Neura...
 
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
 
Homepage Personalization at Spotify
Homepage Personalization at SpotifyHomepage Personalization at Spotify
Homepage Personalization at Spotify
 
Hands on Explainable Recommender Systems with Knowledge Graphs @ RecSys22
Hands on Explainable Recommender Systems with Knowledge Graphs @ RecSys22Hands on Explainable Recommender Systems with Knowledge Graphs @ RecSys22
Hands on Explainable Recommender Systems with Knowledge Graphs @ RecSys22
 
Fundamentals of Deep Recommender Systems
 Fundamentals of Deep Recommender Systems Fundamentals of Deep Recommender Systems
Fundamentals of Deep Recommender Systems
 
An introduction to Recommender Systems
An introduction to Recommender SystemsAn introduction to Recommender Systems
An introduction to Recommender Systems
 
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
 
Recommender systems using collaborative filtering
Recommender systems using collaborative filteringRecommender systems using collaborative filtering
Recommender systems using collaborative filtering
 
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
 
Recent Trends in Personalization: A Netflix Perspective
Recent Trends in Personalization: A Netflix PerspectiveRecent Trends in Personalization: A Netflix Perspective
Recent Trends in Personalization: A Netflix Perspective
 
Deep Learning for Recommender Systems - Budapest RecSys Meetup
Deep Learning for Recommender Systems  - Budapest RecSys MeetupDeep Learning for Recommender Systems  - Budapest RecSys Meetup
Deep Learning for Recommender Systems - Budapest RecSys Meetup
 
Deep Natural Language Processing for Search and Recommender Systems
Deep Natural Language Processing for Search and Recommender SystemsDeep Natural Language Processing for Search and Recommender Systems
Deep Natural Language Processing for Search and Recommender Systems
 
Movie lens recommender systems
Movie lens recommender systemsMovie lens recommender systems
Movie lens recommender systems
 
Recommender Systems
Recommender SystemsRecommender Systems
Recommender Systems
 

Similar to Session-Based Recommender Systems

Manage online information
Manage online informationManage online information
Manage online informationMichael Lew
 
5 Benefits of Predictive Analytics for E-Commerce
5 Benefits of Predictive Analytics for E-Commerce5 Benefits of Predictive Analytics for E-Commerce
5 Benefits of Predictive Analytics for E-CommerceEdureka!
 
Prospect for learning analytics to achieve adaptive learning model
Prospect for learning analytics to achieve adaptive learning modelProspect for learning analytics to achieve adaptive learning model
Prospect for learning analytics to achieve adaptive learning modelOpen Cyber University of Korea
 
Learning Analytics for Adaptive Learning And Standardization
Learning Analytics for Adaptive Learning And StandardizationLearning Analytics for Adaptive Learning And Standardization
Learning Analytics for Adaptive Learning And StandardizationOpen Cyber University of Korea
 
The Guzman Monthly, December 2015, v2 i12
The Guzman Monthly, December 2015, v2 i12The Guzman Monthly, December 2015, v2 i12
The Guzman Monthly, December 2015, v2 i12Tony Guzman
 
Challenges in Analytics for BIG Data
Challenges in Analytics for BIG DataChallenges in Analytics for BIG Data
Challenges in Analytics for BIG DataPrasant Misra
 
Putting Data to Work: Moving science forward together beyond where we thought...
Putting Data to Work: Moving science forward together beyond where we thought...Putting Data to Work: Moving science forward together beyond where we thought...
Putting Data to Work: Moving science forward together beyond where we thought...Erin Robinson
 
Performance evaluation of Wearable Computing Frameworks
Performance evaluation of Wearable Computing FrameworksPerformance evaluation of Wearable Computing Frameworks
Performance evaluation of Wearable Computing FrameworksMichelle Guerreiro C Silva
 
Data Presentation
Data PresentationData Presentation
Data PresentationJon Zurfluh
 
AGU Leptoukh Lecture: Putting Data to Work: Moving science forward together b...
AGU Leptoukh Lecture: Putting Data to Work: Moving science forward together b...AGU Leptoukh Lecture: Putting Data to Work: Moving science forward together b...
AGU Leptoukh Lecture: Putting Data to Work: Moving science forward together b...Erin Robinson
 
Demystifying Data Science with an introduction to Machine Learning
Demystifying Data Science with an introduction to Machine LearningDemystifying Data Science with an introduction to Machine Learning
Demystifying Data Science with an introduction to Machine LearningJulian Bright
 
E Marketing Week02
E Marketing Week02E Marketing Week02
E Marketing Week02Stephen Dann
 
DRESD Project Presentation - December 2006
DRESD Project Presentation - December 2006DRESD Project Presentation - December 2006
DRESD Project Presentation - December 2006santa
 
Confirming PagesLess managing. More teaching. Greater
Confirming PagesLess managing. More teaching. Greater Confirming PagesLess managing. More teaching. Greater
Confirming PagesLess managing. More teaching. Greater AlleneMcclendon878
 
University Recommendation Support System using ML Algorithms
University Recommendation Support System using ML AlgorithmsUniversity Recommendation Support System using ML Algorithms
University Recommendation Support System using ML AlgorithmsIRJET Journal
 
Linear Regression With R
Linear Regression With RLinear Regression With R
Linear Regression With REdureka!
 
Cse443 Project Report - LPU (Modern Big Data Analysis with SQL Specialization)
Cse443 Project Report - LPU (Modern Big Data Analysis with SQL Specialization)Cse443 Project Report - LPU (Modern Big Data Analysis with SQL Specialization)
Cse443 Project Report - LPU (Modern Big Data Analysis with SQL Specialization)Qazi Maaz Arshad
 
How Does Data Science Impact the Semantic Web?
How Does Data Science Impact the Semantic Web?How Does Data Science Impact the Semantic Web?
How Does Data Science Impact the Semantic Web?Philip Bourne
 
Recommender System in light of Big Data
Recommender System in light of Big DataRecommender System in light of Big Data
Recommender System in light of Big DataKhadija Atiya
 

Similar to Session-Based Recommender Systems (20)

DataMind Pitch August 2013
DataMind Pitch August 2013DataMind Pitch August 2013
DataMind Pitch August 2013
 
Manage online information
Manage online informationManage online information
Manage online information
 
5 Benefits of Predictive Analytics for E-Commerce
5 Benefits of Predictive Analytics for E-Commerce5 Benefits of Predictive Analytics for E-Commerce
5 Benefits of Predictive Analytics for E-Commerce
 
Prospect for learning analytics to achieve adaptive learning model
Prospect for learning analytics to achieve adaptive learning modelProspect for learning analytics to achieve adaptive learning model
Prospect for learning analytics to achieve adaptive learning model
 
Learning Analytics for Adaptive Learning And Standardization
Learning Analytics for Adaptive Learning And StandardizationLearning Analytics for Adaptive Learning And Standardization
Learning Analytics for Adaptive Learning And Standardization
 
The Guzman Monthly, December 2015, v2 i12
The Guzman Monthly, December 2015, v2 i12The Guzman Monthly, December 2015, v2 i12
The Guzman Monthly, December 2015, v2 i12
 
Challenges in Analytics for BIG Data
Challenges in Analytics for BIG DataChallenges in Analytics for BIG Data
Challenges in Analytics for BIG Data
 
Putting Data to Work: Moving science forward together beyond where we thought...
Putting Data to Work: Moving science forward together beyond where we thought...Putting Data to Work: Moving science forward together beyond where we thought...
Putting Data to Work: Moving science forward together beyond where we thought...
 
Performance evaluation of Wearable Computing Frameworks
Performance evaluation of Wearable Computing FrameworksPerformance evaluation of Wearable Computing Frameworks
Performance evaluation of Wearable Computing Frameworks
 
Data Presentation
Data PresentationData Presentation
Data Presentation
 
AGU Leptoukh Lecture: Putting Data to Work: Moving science forward together b...
AGU Leptoukh Lecture: Putting Data to Work: Moving science forward together b...AGU Leptoukh Lecture: Putting Data to Work: Moving science forward together b...
AGU Leptoukh Lecture: Putting Data to Work: Moving science forward together b...
 
Demystifying Data Science with an introduction to Machine Learning
Demystifying Data Science with an introduction to Machine LearningDemystifying Data Science with an introduction to Machine Learning
Demystifying Data Science with an introduction to Machine Learning
 
E Marketing Week02
E Marketing Week02E Marketing Week02
E Marketing Week02
 
DRESD Project Presentation - December 2006
DRESD Project Presentation - December 2006DRESD Project Presentation - December 2006
DRESD Project Presentation - December 2006
 
Confirming PagesLess managing. More teaching. Greater
Confirming PagesLess managing. More teaching. Greater Confirming PagesLess managing. More teaching. Greater
Confirming PagesLess managing. More teaching. Greater
 
University Recommendation Support System using ML Algorithms
University Recommendation Support System using ML AlgorithmsUniversity Recommendation Support System using ML Algorithms
University Recommendation Support System using ML Algorithms
 
Linear Regression With R
Linear Regression With RLinear Regression With R
Linear Regression With R
 
Cse443 Project Report - LPU (Modern Big Data Analysis with SQL Specialization)
Cse443 Project Report - LPU (Modern Big Data Analysis with SQL Specialization)Cse443 Project Report - LPU (Modern Big Data Analysis with SQL Specialization)
Cse443 Project Report - LPU (Modern Big Data Analysis with SQL Specialization)
 
How Does Data Science Impact the Semantic Web?
How Does Data Science Impact the Semantic Web?How Does Data Science Impact the Semantic Web?
How Does Data Science Impact the Semantic Web?
 
Recommender System in light of Big Data
Recommender System in light of Big DataRecommender System in light of Big Data
Recommender System in light of Big Data
 

Recently uploaded

Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Jack DiGiovanna
 
Call Girls In Mahipalpur O9654467111 Escorts Service
Call Girls In Mahipalpur O9654467111  Escorts ServiceCall Girls In Mahipalpur O9654467111  Escorts Service
Call Girls In Mahipalpur O9654467111 Escorts ServiceSapana Sha
 
Digi Khata Problem along complete plan.pptx
Digi Khata Problem along complete plan.pptxDigi Khata Problem along complete plan.pptx
Digi Khata Problem along complete plan.pptxTanveerAhmed817946
 
Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxJohnnyPlasten
 
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...Florian Roscheck
 
RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998YohFuh
 
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptxAnupama Kate
 
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...Suhani Kapoor
 
B2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxB2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxStephen266013
 
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfMarket Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfRachmat Ramadhan H
 
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service BhilaiLow Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service BhilaiSuhani Kapoor
 
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...dajasot375
 
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...soniya singh
 
Unveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystUnveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystSamantha Rae Coolbeth
 
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...Sapana Sha
 
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 

Recently uploaded (20)

Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
 
Call Girls In Mahipalpur O9654467111 Escorts Service
Call Girls In Mahipalpur O9654467111  Escorts ServiceCall Girls In Mahipalpur O9654467111  Escorts Service
Call Girls In Mahipalpur O9654467111 Escorts Service
 
Digi Khata Problem along complete plan.pptx
Digi Khata Problem along complete plan.pptxDigi Khata Problem along complete plan.pptx
Digi Khata Problem along complete plan.pptx
 
Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptx
 
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
 
RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998
 
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
 
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
 
100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx
 
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
 
B2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxB2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docx
 
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfMarket Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
 
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service BhilaiLow Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
 
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
 
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
 
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in  KishangarhDelhi 99530 vip 56974 Genuine Escort Service Call Girls in  Kishangarh
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
 
Unveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystUnveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data Analyst
 
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
 
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
 

Session-Based Recommender Systems

  • 1. Session-Based Recommender Systems FREDERICK AYALA GÓMEZ PHD STUDENT IN COMPUTER SCIENCE @FREDAYALA FREDERICKAYALA 4/20/2017 @FREDAYALA LINKEDIN.COM/IN/FREDERICKAYALA 1 Presented at
  • 2. Agenda Why bother? What are Recommender Systems? How to build recommendations? Hands-on GRU4Rec Conclusions 4/20/2017 @FREDAYALA LINKEDIN.COM/IN/FREDERICKAYALA 2
  • 3. Are we good at choosing among multiple options? 4/20/2017 @FREDAYALA LINKEDIN.COM/IN/FREDERICKAYALA 3 happiness choices Having too many choices is stressful - Takes time - Increase uncertainty
  • 4. Web and SoMe as a channel to consume content, products and services. 4/20/2017 @FREDAYALA LINKEDIN.COM/IN/FREDERICKAYALA 4 Taken from https://www.wired.com/2004/10/tail/
  • 5. What are recommender systems? Not so formal definition Finding relevant things for a user based on some kind of feedback 4/20/2017 @FREDAYALA LINKEDIN.COM/IN/FREDERICKAYALA 5 Products Content Services Offer User interests What is Relevant
  • 6. “Recommendations account for about 60% of all video clicks from the home page” <- 2010James Davidson, Benjamin Liebald, Junning Liu, Palash Nandy, Taylor Van Vleet, Ullas Gargi, Sujoy Gupta, Yu He, Mike Lambert, Blake Livingston, and Dasarathi Sampath. 2010. The YouTube video recommendation system. In Proceedings of the fourth ACM conference on Recommender systems (RecSys '10). ACM, New York, NY, USA, 293-296. DOI=http://dx.doi.org/10.1145/1864708.1864770 4/20/2017 @FREDAYALA LINKEDIN.COM/IN/FREDERICKAYALA 6 “Recommendations account for about 60% of all video clicks from the home page.”
  • 7. What are recommender systems? 4/20/2017 @FREDAYALA LINKEDIN.COM/IN/FREDERICKAYALA 7
  • 8. Types of Feedback Explicit Feedback “Asking the user” Ratings Like/Dislike 4/20/2017 @FREDAYALA LINKEDIN.COM/IN/FREDERICKAYALA 8 Implicit Feedback is more common in practice Implicit Feedback “Observe the user behaviors” Clicks Previously seen items
  • 9. How to build recommender systems? 4/20/2017 @FREDAYALA LINKEDIN.COM/IN/FREDERICKAYALA 9 Two books about Recommender Systems
  • 10. Matrix Factorization 4/20/2017 @FREDAYALA LINKEDIN.COM/IN/FREDERICKAYALA 10 Represent the users/items feedback as a matrix. Then, find two lower dimension matrixes that factorize it R Usually very sparse since users consume few items ItemsUsers ≈ P Q Users Itemsf f Y. Koren, R. Bell and C. Volinsky, "Matrix Factorization Techniques for Recommender Systems," in Computer, vol. 42, no. 8, pp. 30-37, Aug. 2009. doi: 10.1109/MC.2009.263 Minimize the squared error function This is done usually by Stochastic Gradient Descent or Alternating Least Squares For binary feedback use iALS The predicted score for each user-item is given by Works very well for personalization (e.g. newsletters)
  • 11. No user profile … Old feedback could be irrelevant … ~84% of our recommendations are item-to-item - DomonkosTikk,CEO@GravityR&D Lessons learnt at building recommendation services at industry scale, https://www.slideshare.net/domonkostikk/lessons- learnt-at-building-recommendation-services-at- industry-scale 4/20/2017 @FREDAYALA LINKEDIN.COM/IN/FREDERICKAYALA 11 Online Shopping Blogs Browsing AnonymouslyNews/Expiring Content
  • 12. 4/20/2017 @FREDAYALA LINKEDIN.COM/IN/FREDERICKAYALA 12 Linden et al. 2003. “Amazon.com Recommendations: Item-to-Item Collaborative Filtering” IEEE Internet Computing Davidson et al. 2010. “The YouTube video recommendation system”. ACM RecSys '10. BCN, Spain. The next item is recommended based on the similarity between the actual item and other items. The similarity is computed by using the two item-session vectors: With this similarities we can find the k Nearest Neighbors of item i. Usually a very strong baseline. 1 2 3 . . . . i . . . j . . . . . m 1 1 1 2 . 1 1 . 1 1 . 1 1 n 1 Items Sessions Item-KNN “people who viewed this item also viewed…”
  • 13. Item-to-Item Recommendations 4/20/2017 @FREDAYALA LINKEDIN.COM/IN/FREDERICKAYALA 13 User Item User 1 A User 1 B User 1 C User 2 B User 2 C User 2 D User 3 B User 3 C User 3 A Item i Item j Count B C 3 A B 2 C A 1 C D 1
  • 14. 4/20/2017 @FREDAYALA LINKEDIN.COM/IN/FREDERICKAYALA 14 Where: i: Current item j: Next item k: Other items in the dataset yi: Latent Factor for item i yj: Latent Factor for item j yk: Latent Factor for item k bj: Bias item j bj: Bias item k N. Koenigstein, Y. Koren. "Towards scalable and accurate item-oriented recommendations". ACM RecSys '13. NY, USA. Learn model parameters that maximize the log-likelihood of the training set: Using Stochastic Gradient Descent and Importance Sampling to reduce the complexity of the training After concatenating the biases to the latent factors, the best next item j is the closest vector to the item i Not the best baseline for top-K evaluations Euclidean Item Recommender
  • 16. 4/20/2017 @FREDAYALA LINKEDIN.COM/IN/FREDERICKAYALA 16 Recurrent Neural Networks Train a model with a sequence that predicts a higher probability for the next element. Also called sequence-to-sequence models We learned the alphabet in this direction Telling it backwards is harder
  • 17. 4/20/2017 @FREDAYALA LINKEDIN.COM/IN/FREDERICKAYALA 17 Recurrent Neural Networks Taken from: http://karpathy.github.io/2015/05/21/rnn-effectiveness/ H E L O H E L O Input and outputs are one-hot- encoded Backpropagate to fix errors (i.e. move the hidden layers weights a small amount in the direction of the loss function gradient) nok nok ok ok
  • 19. GRU4RecB. Hidasi, et al. 2016 “Session-based recommendations with recurrent neural networks”. ICLR 16’, San Juan, PR Taken from the authors ICLR poster http://www.hidasi.eu/content/gru4rec_iclr16_poster.pdf Optimize directly to the ranking using BPR or TOP1 4/20/2017 @FREDAYALA LINKEDIN.COM/IN/FREDERICKAYALA 19
  • 20. GRU4Rec - PerformanceB. Hidasi, et al. 2016 “Session-based recommendations with recurrent neural networks”. ICLR 16’, San Juan, PR 4/20/2017 @FREDAYALA LINKEDIN.COM/IN/FREDERICKAYALA 20 𝑅𝑒𝑐𝑎𝑙𝑙@20 = # 𝑅𝑒𝑐𝑜𝑚𝑚𝑒𝑛𝑑𝑎𝑡𝑖𝑜𝑛𝑠 𝑤𝑖𝑡ℎ 𝑡ℎ𝑒 𝑛𝑒𝑥𝑡 𝑑𝑒𝑠𝑖𝑟𝑒𝑑 𝑖𝑡𝑒𝑚 𝑖𝑛 𝑡ℎ𝑒 𝑇𝑜𝑝 20 𝑝𝑟𝑒𝑑𝑖𝑐𝑡𝑖𝑜𝑛𝑠 𝑇𝑜𝑡𝑎𝑙 # 𝑜𝑓 𝑟𝑒𝑐𝑜𝑚𝑚𝑒𝑛𝑑𝑎𝑡𝑖𝑜𝑛𝑠 Collection of sessions – item click events
  • 21. Hands-on GRU4REC Jupyter Notebook at https://github.com/frederickayala/session-based-recsys 4/20/2017 @FREDAYALA LINKEDIN.COM/IN/FREDERICKAYALA 21
  • 22. Conclusions 4/20/2017 @FREDAYALA LINKEDIN.COM/IN/FREDERICKAYALA 22 Frederick Ayala Gómez PhD Student in Computer Science @fredayala frederickayala Session-Based Recommender Systems are very common in real life GRU4Rec code is open and GPU accelerated with Theano Thanks! +12.8%