SlideShare a Scribd company logo
SIGIR 2012, Portland, USA, August 13, 2012
TFMAP: Optimizing MAP for Top-N
Context-aware Recommendation
Yue Shia (Presenter), Alexandros Karatzogloub, Linas Baltrunasb, Martha Larsona,
Alan Hanjalica, Nuria Oliverb
aDelft University of Technology, Netherlands
bTelefonica Research, Spain
2SIGIR 2012, Portland, USA, August 13, 2012
Introduction to Collaborative Filtering
? =
Recommending based on the target user’s past behavior and other users’
interest
3SIGIR 2012, Portland, USA, August 13, 2012
Motivation
? =
At working place At home
At working place
Not only personalized, but also context-aware
Working place
Home
4SIGIR 2012, Portland, USA, August 13, 2012
Motivation
Not only context-aware, but also suitable for implicit feedback data
5SIGIR 2012, Portland, USA, August 13, 2012
What is New!
•  First work on context-aware recommendation for implicit
feedback domains
•  Taking MAP optimization from learning-to-rank to
recommendation models with a new fast learning algorithm
6SIGIR 2012, Portland, USA, August 13, 2012
Problem
•  Given: Users’ implicit feedback on items under different
contexts
•  Target: To recommend a list of items to each user under any
given context, as accurate as possible
Users
Contexts
Items Top-N recommendation
Context-aware
Optimal in terms of a ranking measure
7SIGIR 2012, Portland, USA, August 13, 2012
Challenges
•  How to incorporate contextual information?
•  A tensor factorization model
•  What to optimize for training the recommendation model? And
How?
•  MAP capturing the quality of recommendation list based on implicit
feedback data
•  but MAP is non-smooth, thus not able to be directly optimized
•  A smoothed version of MAP
•  How to ensure the proposed solution scalable?
•  A fast learning algorithm
8SIGIR 2012, Portland, USA, August 13, 2012
How to incorporate contextual
information?
•  CP tensor factorization
U,V,C are latent factors
(parameters to be learned)
U, V, C not optimized for ymik;
but for MAP
9SIGIR 2012, Portland, USA, August 13, 2012
The Non-smoothness of MAP
•  Average precision (AP) of a ranked list of items for a given
user (user m) and a given context (context type k)
•  AP(y,r) non-smooth over model parameters
•  MAP: Mean AP across users and contexts
Mobile app
y
(Obs)
f
(pred)
r
(rank)
Angry birds 1 0.6 3
Draw something 0 0.8 2
Fruit ninja 0 0.2 4
ibook 0 0.1 5
DragonVale 1 0.9 1
Problem: r is a non-smooth function of f, thus, MAP non-smooth over
model parameters
10SIGIR 2012, Portland, USA, August 13, 2012
How to smooth MAP?
•  Borrow techniques from learning-to-rank:
•  Smoothed MAP:
•  Updating U, V, C by gradient-based method to optimize MAP
•  Theoretically, optimal U, V, C can be obtained.
( , ) ( , , , )MAP L f Y L U V C Y≈ = Smooth over U, V and C
11SIGIR 2012, Portland, USA, August 13, 2012
Complexity issue
•  Updating U and C: and
•  Linear to the number of observations in the tensor data Y
•  Updating V:
•  Quadratic to the number of items!
•  Not scalable in the case of large number of items!
L
U
∂
∂
L
C
∂
∂
L
V
∂
∂
12SIGIR 2012, Portland, USA, August 13, 2012
How to ensure scalability?
•  Fast learning
•  Per combination of user m and context k, update V of a set of
representative items (Buffer)
•  Relevant items
•  Top-ranked irrelevant items
•  Using an AP property
•  Updating positions of items that are ranked below the lowest ranked
relevant item would not improve AP
13SIGIR 2012, Portland, USA, August 13, 2012
Fast Learning
How many (ns) to sample?
Whether necessary to select
representative irrelevant items?
How beneficial from using the
lowest ranked item?
14SIGIR 2012, Portland, USA, August 13, 2012
Experimental Evaluation
Data sets
•  Appazaar (Main):
•  300K observations of implicit feedback
•  1767 users; 7701 mobile apps/items; 9 context types
•  Context defined by motion speed (3 possible states) and
location (3 possible states)
•  < benchmarking datasets; but > other datasets in
context-aware recommendation
15SIGIR 2012, Portland, USA, August 13, 2012
Experimental Evaluation
Experimental Protocol
time
Training data
Test data
(Items holdout)
Validation
data
70% 20%10%
userID
itemID
contextID
userID
?
contextID
Evaluation metrics: MAP, Precision@N
16SIGIR 2012, Portland, USA, August 13, 2012
Experimental Evaluation
Impact of Fast Learning (I)
Sampling size: 200
Rep. irrel. items
MAP: 0.102
A small sample size is enough
Sampling size: 200
Random items
MAP: 0.083 (-18%)
VS
Benefit from rep. irrel. items
17SIGIR 2012, Portland, USA, August 13, 2012
Experimental Evaluation
Impact of Fast Learning (II)
A side benefit from
AP property
Using lowest-ranked relevant item help to improve the quality of rep. irrel.
items, and also reduce buffer construction time
18SIGIR 2012, Portland, USA, August 13, 2012
Experimental Evaluation
Impact of Fast Learning (III)
Training time per iteration
at different scales of
training set
Empirically validate the linear complexity of the fast learning algorithm
19SIGIR 2012, Portland, USA, August 13, 2012
Experimental Evaluation
Performance
•  Context-free baselines (Appazaar)
•  Pop: Naive, the popularity of each item under a given context
•  iMF (Hu and Koren, ICDM’08): SotA, no context
•  BPR-MF (Rendle et al., UAI’09): SotA, no context
•  TFMAP-noC: Variant of TFMAP, no context
Performance comparison between TFMAP and context-free baselines
TFMAP-noC outperforms all the other baselines significantly. (Opt. MAP!)
TFMAP introduces another 5% improvement over TFMAP-noC. (Use context!)
20SIGIR 2012, Portland, USA, August 13, 2012
Experimental Evaluation
Performance (II)
•  Context-aware baseline (Food)
•  FM (Rendle et al., SIGIR’11): SotA, explicit feedback, context-
aware
Performance comparison between TFMAP and FM
TFMAP largely improves over FM in terms of MAP and P@1. (Opt. MAP!)
21SIGIR 2012, Portland, USA, August 13, 2012
Conclusions and Future Work
•  Our contribution
•  First work on context-aware recommendation for implicit feedback
domains
•  Propose a new recommendation model that directly optimizes MAP
•  Succeed in addressing the scalability issue of the proposed model
•  Future work
•  To optimize other evaluation metrics for top-N recommendation (e.g.,
MRR, to appear in RecSys ‘12)
•  To take metadata of users and items into account
22SIGIR 2012, Portland, USA, August 13, 2012
Questions & Answers
•  Contact info: y.shi@tudelft.nl
Thank you !
We thank SIGIR for providing a travel grant for the first author.
Telefonica Research is looking for interns!
Contact: alexk@tid.es or linas@tid.es
23SIGIR 2012, Portland, USA, August 13, 2012
Where he is?
Who he is with? What is the time?
How is he feeling?
24SIGIR 2012, Portland, USA, August 13, 2012
Examples of Recommender Systems
Sites Recommendations
Movie
Music
Friend
Video
Various
News
Travel
Approaches
•  Collaborative filtering (Majority)
•  Content-based filtering

More Related Content

Viewers also liked

Context-aware user modeling strategies for journey plan recommendation
Context-aware user modeling strategies for journey plan recommendationContext-aware user modeling strategies for journey plan recommendation
Context-aware user modeling strategies for journey plan recommendation
Victor Codina
 
Cognitive Planning and Learning for Mobile Platforms
Cognitive Planning and Learning for Mobile PlatformsCognitive Planning and Learning for Mobile Platforms
Cognitive Planning and Learning for Mobile PlatformsSaltlux Inc.
 
Patent on In-vehicle Detection
Patent on In-vehicle DetectionPatent on In-vehicle Detection
Patent on In-vehicle Detection
Jialing Li
 
2015-11-24-yazzoom-smart-sensingandcontroloptimization
2015-11-24-yazzoom-smart-sensingandcontroloptimization2015-11-24-yazzoom-smart-sensingandcontroloptimization
2015-11-24-yazzoom-smart-sensingandcontroloptimization
Sirris
 
2010 cognitive science informing the design of attention aware social systems
2010 cognitive science informing the design of attention aware social systems2010 cognitive science informing the design of attention aware social systems
2010 cognitive science informing the design of attention aware social systems
Thierry Nabeth
 
Intelligent route planning for sustainable mobility
Intelligent route planning for sustainable mobilityIntelligent route planning for sustainable mobility
Intelligent route planning for sustainable mobilitymichaljakob
 
A Context-Aware Retrieval System for Mobile Applications
A Context-Aware Retrieval System for Mobile ApplicationsA Context-Aware Retrieval System for Mobile Applications
A Context-Aware Retrieval System for Mobile Applications
marcopavan83
 
Supersense! Studio Context
Supersense! Studio ContextSupersense! Studio Context
Supersense! Studio Context
Philip van Allen
 
Why Were Short Netflix T2 Partners 12 16 10
Why Were Short Netflix T2 Partners 12 16 10Why Were Short Netflix T2 Partners 12 16 10
Why Were Short Netflix T2 Partners 12 16 10
Albert Yuen
 
Sensing
SensingSensing
Webcast: API-Centric Architecture for Building Context-Aware Apps
Webcast: API-Centric Architecture for Building Context-Aware AppsWebcast: API-Centric Architecture for Building Context-Aware Apps
Webcast: API-Centric Architecture for Building Context-Aware Apps
Apigee | Google Cloud
 
context aware computing
context aware computingcontext aware computing
context aware computingswati sonawane
 
Factorization Meets the Item Embedding: Regularizing Matrix Factorization wit...
Factorization Meets the Item Embedding: Regularizing Matrix Factorization wit...Factorization Meets the Item Embedding: Regularizing Matrix Factorization wit...
Factorization Meets the Item Embedding: Regularizing Matrix Factorization wit...
Dawen Liang
 
How Recommender Systems in Technology-Enhanced Learning depend on Context
How Recommender Systems in Technology-Enhanced Learning depend on ContextHow Recommender Systems in Technology-Enhanced Learning depend on Context
How Recommender Systems in Technology-Enhanced Learning depend on Context
Hendrik Drachsler
 

Viewers also liked (14)

Context-aware user modeling strategies for journey plan recommendation
Context-aware user modeling strategies for journey plan recommendationContext-aware user modeling strategies for journey plan recommendation
Context-aware user modeling strategies for journey plan recommendation
 
Cognitive Planning and Learning for Mobile Platforms
Cognitive Planning and Learning for Mobile PlatformsCognitive Planning and Learning for Mobile Platforms
Cognitive Planning and Learning for Mobile Platforms
 
Patent on In-vehicle Detection
Patent on In-vehicle DetectionPatent on In-vehicle Detection
Patent on In-vehicle Detection
 
2015-11-24-yazzoom-smart-sensingandcontroloptimization
2015-11-24-yazzoom-smart-sensingandcontroloptimization2015-11-24-yazzoom-smart-sensingandcontroloptimization
2015-11-24-yazzoom-smart-sensingandcontroloptimization
 
2010 cognitive science informing the design of attention aware social systems
2010 cognitive science informing the design of attention aware social systems2010 cognitive science informing the design of attention aware social systems
2010 cognitive science informing the design of attention aware social systems
 
Intelligent route planning for sustainable mobility
Intelligent route planning for sustainable mobilityIntelligent route planning for sustainable mobility
Intelligent route planning for sustainable mobility
 
A Context-Aware Retrieval System for Mobile Applications
A Context-Aware Retrieval System for Mobile ApplicationsA Context-Aware Retrieval System for Mobile Applications
A Context-Aware Retrieval System for Mobile Applications
 
Supersense! Studio Context
Supersense! Studio ContextSupersense! Studio Context
Supersense! Studio Context
 
Why Were Short Netflix T2 Partners 12 16 10
Why Were Short Netflix T2 Partners 12 16 10Why Were Short Netflix T2 Partners 12 16 10
Why Were Short Netflix T2 Partners 12 16 10
 
Sensing
SensingSensing
Sensing
 
Webcast: API-Centric Architecture for Building Context-Aware Apps
Webcast: API-Centric Architecture for Building Context-Aware AppsWebcast: API-Centric Architecture for Building Context-Aware Apps
Webcast: API-Centric Architecture for Building Context-Aware Apps
 
context aware computing
context aware computingcontext aware computing
context aware computing
 
Factorization Meets the Item Embedding: Regularizing Matrix Factorization wit...
Factorization Meets the Item Embedding: Regularizing Matrix Factorization wit...Factorization Meets the Item Embedding: Regularizing Matrix Factorization wit...
Factorization Meets the Item Embedding: Regularizing Matrix Factorization wit...
 
How Recommender Systems in Technology-Enhanced Learning depend on Context
How Recommender Systems in Technology-Enhanced Learning depend on ContextHow Recommender Systems in Technology-Enhanced Learning depend on Context
How Recommender Systems in Technology-Enhanced Learning depend on Context
 

Similar to TFMAP: Optimizing MAP for Top-N Context-aware Recommendation

Entity2rec recsys
Entity2rec recsysEntity2rec recsys
Entity2rec recsys
Enrico Palumbo
 
User Personality and the New User Problem in a Context-­‐Aware POI Recommende...
User Personality and the New User Problem in a Context-­‐Aware POI Recommende...User Personality and the New User Problem in a Context-­‐Aware POI Recommende...
User Personality and the New User Problem in a Context-­‐Aware POI Recommende...
International Federation for Information Technologies in Travel and Tourism (IFITT)
 
Jörg Waitelonis, Henrik Jürges and Harald Sack | Don't compare Apples to Oran...
Jörg Waitelonis, Henrik Jürges and Harald Sack | Don't compare Apples to Oran...Jörg Waitelonis, Henrik Jürges and Harald Sack | Don't compare Apples to Oran...
Jörg Waitelonis, Henrik Jürges and Harald Sack | Don't compare Apples to Oran...
semanticsconference
 
Exploring Review Content for Recommendation via Latent Factor Model
Exploring Review Content for Recommendation via Latent Factor ModelExploring Review Content for Recommendation via Latent Factor Model
Exploring Review Content for Recommendation via Latent Factor Model
Xiaoyu Chen
 
Towards Automating Data Narratives
Towards Automating Data NarrativesTowards Automating Data Narratives
Towards Automating Data Narratives
dgarijo
 
Apereo Webinar: Learning What Works When Scaling Analytics Infrastructure (Ja...
Apereo Webinar: Learning What Works When Scaling Analytics Infrastructure (Ja...Apereo Webinar: Learning What Works When Scaling Analytics Infrastructure (Ja...
Apereo Webinar: Learning What Works When Scaling Analytics Infrastructure (Ja...
Unicon, Inc.
 
Recommendation Engine Powered by Hadoop
Recommendation Engine Powered by HadoopRecommendation Engine Powered by Hadoop
Recommendation Engine Powered by HadoopPranab Ghosh
 
Recommendation Engine Powered by Hadoop - Pranab Ghosh
Recommendation Engine Powered by Hadoop - Pranab GhoshRecommendation Engine Powered by Hadoop - Pranab Ghosh
Recommendation Engine Powered by Hadoop - Pranab Ghosh
BigDataCloud
 
A pilot on Semantic Textual Similarity
A pilot on Semantic Textual SimilarityA pilot on Semantic Textual Similarity
A pilot on Semantic Textual Similaritypathsproject
 
IS.pptx
IS.pptxIS.pptx
Evaluating query-independent object features for relevancy prediction
Evaluating query-independent object features for relevancy predictionEvaluating query-independent object features for relevancy prediction
Evaluating query-independent object features for relevancy prediction
NTNU
 
Wenzhe Xu (Evelyn) Resume for Data Science
Wenzhe Xu (Evelyn) Resume for Data ScienceWenzhe Xu (Evelyn) Resume for Data Science
Wenzhe Xu (Evelyn) Resume for Data ScienceWenzhe(Evelyn) Xu
 
On Information Quality: Can Your Data Do The Job? (SCECR 2015 Keynote)
On Information Quality: Can Your Data Do The Job? (SCECR 2015 Keynote)On Information Quality: Can Your Data Do The Job? (SCECR 2015 Keynote)
On Information Quality: Can Your Data Do The Job? (SCECR 2015 Keynote)
Galit Shmueli
 
R programming for psychometrics
R programming for psychometricsR programming for psychometrics
R programming for psychometrics
Diane Talley
 
Personalised Search for the Social Semantic Web
Personalised Search for the Social Semantic WebPersonalised Search for the Social Semantic Web
Personalised Search for the Social Semantic Web
Oana Tifrea-Marciuska
 
Eliciting Requirements for Search based Requirements Prioritisation
Eliciting Requirements for Search based Requirements PrioritisationEliciting Requirements for Search based Requirements Prioritisation
Eliciting Requirements for Search based Requirements Prioritisation
Soo Ling Lim
 
MSRA 2018: Intelligent Software Engineering: Synergy between AI and Software ...
MSRA 2018: Intelligent Software Engineering: Synergy between AI and Software ...MSRA 2018: Intelligent Software Engineering: Synergy between AI and Software ...
MSRA 2018: Intelligent Software Engineering: Synergy between AI and Software ...
Tao Xie
 
Evaluation of big data analysis
Evaluation of big data analysisEvaluation of big data analysis
Evaluation of big data analysis
Καρολίνα Κάτι
 
Closing The Loop for Evaluating Big Data Analysis
Closing The Loop for Evaluating Big Data AnalysisClosing The Loop for Evaluating Big Data Analysis
Closing The Loop for Evaluating Big Data Analysis
Swiss Big Data User Group
 
Parma 2016-05-17 - JGrass-NewAGE - Some About The State of Art
Parma 2016-05-17 - JGrass-NewAGE - Some About The State of ArtParma 2016-05-17 - JGrass-NewAGE - Some About The State of Art
Parma 2016-05-17 - JGrass-NewAGE - Some About The State of Art
Riccardo Rigon
 

Similar to TFMAP: Optimizing MAP for Top-N Context-aware Recommendation (20)

Entity2rec recsys
Entity2rec recsysEntity2rec recsys
Entity2rec recsys
 
User Personality and the New User Problem in a Context-­‐Aware POI Recommende...
User Personality and the New User Problem in a Context-­‐Aware POI Recommende...User Personality and the New User Problem in a Context-­‐Aware POI Recommende...
User Personality and the New User Problem in a Context-­‐Aware POI Recommende...
 
Jörg Waitelonis, Henrik Jürges and Harald Sack | Don't compare Apples to Oran...
Jörg Waitelonis, Henrik Jürges and Harald Sack | Don't compare Apples to Oran...Jörg Waitelonis, Henrik Jürges and Harald Sack | Don't compare Apples to Oran...
Jörg Waitelonis, Henrik Jürges and Harald Sack | Don't compare Apples to Oran...
 
Exploring Review Content for Recommendation via Latent Factor Model
Exploring Review Content for Recommendation via Latent Factor ModelExploring Review Content for Recommendation via Latent Factor Model
Exploring Review Content for Recommendation via Latent Factor Model
 
Towards Automating Data Narratives
Towards Automating Data NarrativesTowards Automating Data Narratives
Towards Automating Data Narratives
 
Apereo Webinar: Learning What Works When Scaling Analytics Infrastructure (Ja...
Apereo Webinar: Learning What Works When Scaling Analytics Infrastructure (Ja...Apereo Webinar: Learning What Works When Scaling Analytics Infrastructure (Ja...
Apereo Webinar: Learning What Works When Scaling Analytics Infrastructure (Ja...
 
Recommendation Engine Powered by Hadoop
Recommendation Engine Powered by HadoopRecommendation Engine Powered by Hadoop
Recommendation Engine Powered by Hadoop
 
Recommendation Engine Powered by Hadoop - Pranab Ghosh
Recommendation Engine Powered by Hadoop - Pranab GhoshRecommendation Engine Powered by Hadoop - Pranab Ghosh
Recommendation Engine Powered by Hadoop - Pranab Ghosh
 
A pilot on Semantic Textual Similarity
A pilot on Semantic Textual SimilarityA pilot on Semantic Textual Similarity
A pilot on Semantic Textual Similarity
 
IS.pptx
IS.pptxIS.pptx
IS.pptx
 
Evaluating query-independent object features for relevancy prediction
Evaluating query-independent object features for relevancy predictionEvaluating query-independent object features for relevancy prediction
Evaluating query-independent object features for relevancy prediction
 
Wenzhe Xu (Evelyn) Resume for Data Science
Wenzhe Xu (Evelyn) Resume for Data ScienceWenzhe Xu (Evelyn) Resume for Data Science
Wenzhe Xu (Evelyn) Resume for Data Science
 
On Information Quality: Can Your Data Do The Job? (SCECR 2015 Keynote)
On Information Quality: Can Your Data Do The Job? (SCECR 2015 Keynote)On Information Quality: Can Your Data Do The Job? (SCECR 2015 Keynote)
On Information Quality: Can Your Data Do The Job? (SCECR 2015 Keynote)
 
R programming for psychometrics
R programming for psychometricsR programming for psychometrics
R programming for psychometrics
 
Personalised Search for the Social Semantic Web
Personalised Search for the Social Semantic WebPersonalised Search for the Social Semantic Web
Personalised Search for the Social Semantic Web
 
Eliciting Requirements for Search based Requirements Prioritisation
Eliciting Requirements for Search based Requirements PrioritisationEliciting Requirements for Search based Requirements Prioritisation
Eliciting Requirements for Search based Requirements Prioritisation
 
MSRA 2018: Intelligent Software Engineering: Synergy between AI and Software ...
MSRA 2018: Intelligent Software Engineering: Synergy between AI and Software ...MSRA 2018: Intelligent Software Engineering: Synergy between AI and Software ...
MSRA 2018: Intelligent Software Engineering: Synergy between AI and Software ...
 
Evaluation of big data analysis
Evaluation of big data analysisEvaluation of big data analysis
Evaluation of big data analysis
 
Closing The Loop for Evaluating Big Data Analysis
Closing The Loop for Evaluating Big Data AnalysisClosing The Loop for Evaluating Big Data Analysis
Closing The Loop for Evaluating Big Data Analysis
 
Parma 2016-05-17 - JGrass-NewAGE - Some About The State of Art
Parma 2016-05-17 - JGrass-NewAGE - Some About The State of ArtParma 2016-05-17 - JGrass-NewAGE - Some About The State of Art
Parma 2016-05-17 - JGrass-NewAGE - Some About The State of Art
 

More from Alexandros Karatzoglou

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
 
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
Alexandros Karatzoglou
 
Machine Learning for Recommender Systems MLSS 2015 Sydney
Machine Learning for Recommender Systems MLSS 2015 SydneyMachine Learning for Recommender Systems MLSS 2015 Sydney
Machine Learning for Recommender Systems MLSS 2015 Sydney
Alexandros Karatzoglou
 
ESSIR 2013 Recommender Systems tutorial
ESSIR 2013 Recommender Systems tutorial ESSIR 2013 Recommender Systems tutorial
ESSIR 2013 Recommender Systems tutorial
Alexandros Karatzoglou
 
Multiverse Recommendation: N-dimensional Tensor Factorization for Context-awa...
Multiverse Recommendation: N-dimensional Tensor Factorization for Context-awa...Multiverse Recommendation: N-dimensional Tensor Factorization for Context-awa...
Multiverse Recommendation: N-dimensional Tensor Factorization for Context-awa...
Alexandros Karatzoglou
 
Machine Learning in R
Machine Learning in RMachine Learning in R
Machine Learning in R
Alexandros Karatzoglou
 

More from Alexandros Karatzoglou (6)

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
 
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
 
Machine Learning for Recommender Systems MLSS 2015 Sydney
Machine Learning for Recommender Systems MLSS 2015 SydneyMachine Learning for Recommender Systems MLSS 2015 Sydney
Machine Learning for Recommender Systems MLSS 2015 Sydney
 
ESSIR 2013 Recommender Systems tutorial
ESSIR 2013 Recommender Systems tutorial ESSIR 2013 Recommender Systems tutorial
ESSIR 2013 Recommender Systems tutorial
 
Multiverse Recommendation: N-dimensional Tensor Factorization for Context-awa...
Multiverse Recommendation: N-dimensional Tensor Factorization for Context-awa...Multiverse Recommendation: N-dimensional Tensor Factorization for Context-awa...
Multiverse Recommendation: N-dimensional Tensor Factorization for Context-awa...
 
Machine Learning in R
Machine Learning in RMachine Learning in R
Machine Learning in R
 

Recently uploaded

UiPath Community Day Dubai: AI at Work..
UiPath Community Day Dubai: AI at Work..UiPath Community Day Dubai: AI at Work..
UiPath Community Day Dubai: AI at Work..
UiPathCommunity
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
Quantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIsQuantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIs
Vlad Stirbu
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
sonjaschweigert1
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptxSecstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
nkrafacyberclub
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
Thijs Feryn
 
Enhancing Performance with Globus and the Science DMZ
Enhancing Performance with Globus and the Science DMZEnhancing Performance with Globus and the Science DMZ
Enhancing Performance with Globus and the Science DMZ
Globus
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
Ralf Eggert
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
Adtran
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Aggregage
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
OnBoard
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Paige Cruz
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
Kari Kakkonen
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
Sri Ambati
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
UiPathCommunity
 

Recently uploaded (20)

UiPath Community Day Dubai: AI at Work..
UiPath Community Day Dubai: AI at Work..UiPath Community Day Dubai: AI at Work..
UiPath Community Day Dubai: AI at Work..
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
Quantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIsQuantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIs
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptxSecstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
Enhancing Performance with Globus and the Science DMZ
Enhancing Performance with Globus and the Science DMZEnhancing Performance with Globus and the Science DMZ
Enhancing Performance with Globus and the Science DMZ
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 

TFMAP: Optimizing MAP for Top-N Context-aware Recommendation

  • 1. SIGIR 2012, Portland, USA, August 13, 2012 TFMAP: Optimizing MAP for Top-N Context-aware Recommendation Yue Shia (Presenter), Alexandros Karatzogloub, Linas Baltrunasb, Martha Larsona, Alan Hanjalica, Nuria Oliverb aDelft University of Technology, Netherlands bTelefonica Research, Spain
  • 2. 2SIGIR 2012, Portland, USA, August 13, 2012 Introduction to Collaborative Filtering ? = Recommending based on the target user’s past behavior and other users’ interest
  • 3. 3SIGIR 2012, Portland, USA, August 13, 2012 Motivation ? = At working place At home At working place Not only personalized, but also context-aware Working place Home
  • 4. 4SIGIR 2012, Portland, USA, August 13, 2012 Motivation Not only context-aware, but also suitable for implicit feedback data
  • 5. 5SIGIR 2012, Portland, USA, August 13, 2012 What is New! •  First work on context-aware recommendation for implicit feedback domains •  Taking MAP optimization from learning-to-rank to recommendation models with a new fast learning algorithm
  • 6. 6SIGIR 2012, Portland, USA, August 13, 2012 Problem •  Given: Users’ implicit feedback on items under different contexts •  Target: To recommend a list of items to each user under any given context, as accurate as possible Users Contexts Items Top-N recommendation Context-aware Optimal in terms of a ranking measure
  • 7. 7SIGIR 2012, Portland, USA, August 13, 2012 Challenges •  How to incorporate contextual information? •  A tensor factorization model •  What to optimize for training the recommendation model? And How? •  MAP capturing the quality of recommendation list based on implicit feedback data •  but MAP is non-smooth, thus not able to be directly optimized •  A smoothed version of MAP •  How to ensure the proposed solution scalable? •  A fast learning algorithm
  • 8. 8SIGIR 2012, Portland, USA, August 13, 2012 How to incorporate contextual information? •  CP tensor factorization U,V,C are latent factors (parameters to be learned) U, V, C not optimized for ymik; but for MAP
  • 9. 9SIGIR 2012, Portland, USA, August 13, 2012 The Non-smoothness of MAP •  Average precision (AP) of a ranked list of items for a given user (user m) and a given context (context type k) •  AP(y,r) non-smooth over model parameters •  MAP: Mean AP across users and contexts Mobile app y (Obs) f (pred) r (rank) Angry birds 1 0.6 3 Draw something 0 0.8 2 Fruit ninja 0 0.2 4 ibook 0 0.1 5 DragonVale 1 0.9 1 Problem: r is a non-smooth function of f, thus, MAP non-smooth over model parameters
  • 10. 10SIGIR 2012, Portland, USA, August 13, 2012 How to smooth MAP? •  Borrow techniques from learning-to-rank: •  Smoothed MAP: •  Updating U, V, C by gradient-based method to optimize MAP •  Theoretically, optimal U, V, C can be obtained. ( , ) ( , , , )MAP L f Y L U V C Y≈ = Smooth over U, V and C
  • 11. 11SIGIR 2012, Portland, USA, August 13, 2012 Complexity issue •  Updating U and C: and •  Linear to the number of observations in the tensor data Y •  Updating V: •  Quadratic to the number of items! •  Not scalable in the case of large number of items! L U ∂ ∂ L C ∂ ∂ L V ∂ ∂
  • 12. 12SIGIR 2012, Portland, USA, August 13, 2012 How to ensure scalability? •  Fast learning •  Per combination of user m and context k, update V of a set of representative items (Buffer) •  Relevant items •  Top-ranked irrelevant items •  Using an AP property •  Updating positions of items that are ranked below the lowest ranked relevant item would not improve AP
  • 13. 13SIGIR 2012, Portland, USA, August 13, 2012 Fast Learning How many (ns) to sample? Whether necessary to select representative irrelevant items? How beneficial from using the lowest ranked item?
  • 14. 14SIGIR 2012, Portland, USA, August 13, 2012 Experimental Evaluation Data sets •  Appazaar (Main): •  300K observations of implicit feedback •  1767 users; 7701 mobile apps/items; 9 context types •  Context defined by motion speed (3 possible states) and location (3 possible states) •  < benchmarking datasets; but > other datasets in context-aware recommendation
  • 15. 15SIGIR 2012, Portland, USA, August 13, 2012 Experimental Evaluation Experimental Protocol time Training data Test data (Items holdout) Validation data 70% 20%10% userID itemID contextID userID ? contextID Evaluation metrics: MAP, Precision@N
  • 16. 16SIGIR 2012, Portland, USA, August 13, 2012 Experimental Evaluation Impact of Fast Learning (I) Sampling size: 200 Rep. irrel. items MAP: 0.102 A small sample size is enough Sampling size: 200 Random items MAP: 0.083 (-18%) VS Benefit from rep. irrel. items
  • 17. 17SIGIR 2012, Portland, USA, August 13, 2012 Experimental Evaluation Impact of Fast Learning (II) A side benefit from AP property Using lowest-ranked relevant item help to improve the quality of rep. irrel. items, and also reduce buffer construction time
  • 18. 18SIGIR 2012, Portland, USA, August 13, 2012 Experimental Evaluation Impact of Fast Learning (III) Training time per iteration at different scales of training set Empirically validate the linear complexity of the fast learning algorithm
  • 19. 19SIGIR 2012, Portland, USA, August 13, 2012 Experimental Evaluation Performance •  Context-free baselines (Appazaar) •  Pop: Naive, the popularity of each item under a given context •  iMF (Hu and Koren, ICDM’08): SotA, no context •  BPR-MF (Rendle et al., UAI’09): SotA, no context •  TFMAP-noC: Variant of TFMAP, no context Performance comparison between TFMAP and context-free baselines TFMAP-noC outperforms all the other baselines significantly. (Opt. MAP!) TFMAP introduces another 5% improvement over TFMAP-noC. (Use context!)
  • 20. 20SIGIR 2012, Portland, USA, August 13, 2012 Experimental Evaluation Performance (II) •  Context-aware baseline (Food) •  FM (Rendle et al., SIGIR’11): SotA, explicit feedback, context- aware Performance comparison between TFMAP and FM TFMAP largely improves over FM in terms of MAP and P@1. (Opt. MAP!)
  • 21. 21SIGIR 2012, Portland, USA, August 13, 2012 Conclusions and Future Work •  Our contribution •  First work on context-aware recommendation for implicit feedback domains •  Propose a new recommendation model that directly optimizes MAP •  Succeed in addressing the scalability issue of the proposed model •  Future work •  To optimize other evaluation metrics for top-N recommendation (e.g., MRR, to appear in RecSys ‘12) •  To take metadata of users and items into account
  • 22. 22SIGIR 2012, Portland, USA, August 13, 2012 Questions & Answers •  Contact info: y.shi@tudelft.nl Thank you ! We thank SIGIR for providing a travel grant for the first author. Telefonica Research is looking for interns! Contact: alexk@tid.es or linas@tid.es
  • 23. 23SIGIR 2012, Portland, USA, August 13, 2012 Where he is? Who he is with? What is the time? How is he feeling?
  • 24. 24SIGIR 2012, Portland, USA, August 13, 2012 Examples of Recommender Systems Sites Recommendations Movie Music Friend Video Various News Travel Approaches •  Collaborative filtering (Majority) •  Content-based filtering