SlideShare ist ein Scribd-Unternehmen logo
1 von 24
Downloaden Sie, um offline zu lesen
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

Weitere ähnliche Inhalte

Andere mochten auch

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 recommendationVictor 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 DetectionJialing Li
 
2015-11-24-yazzoom-smart-sensingandcontroloptimization
2015-11-24-yazzoom-smart-sensingandcontroloptimization2015-11-24-yazzoom-smart-sensingandcontroloptimization
2015-11-24-yazzoom-smart-sensingandcontroloptimizationSirris
 
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 systemsThierry 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 Applicationsmarcopavan83
 
Supersense! Studio Context
Supersense! Studio ContextSupersense! Studio Context
Supersense! Studio ContextPhilip 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 10Albert Yuen
 
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 AppsApigee | 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 ContextHendrik Drachsler
 

Andere mochten auch (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
 

Ähnlich wie TFMAP: Optimizing MAP for Top-N Context-aware Recommendation

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 ModelXiaoyu Chen
 
Towards Automating Data Narratives
Towards Automating Data NarrativesTowards Automating Data Narratives
Towards Automating Data Narrativesdgarijo
 
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 GhoshBigDataCloud
 
A pilot on Semantic Textual Similarity
A pilot on Semantic Textual SimilarityA pilot on Semantic Textual Similarity
A pilot on Semantic Textual Similaritypathsproject
 
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 predictionNTNU
 
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 psychometricsDiane 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 WebOana 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 PrioritisationSoo 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
 
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 AnalysisSwiss 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 ArtRiccardo Rigon
 

Ähnlich wie 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 ...
 
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
 
Evaluation of big data analysis
Evaluation of big data analysisEvaluation of big data analysis
Evaluation of 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
 

Mehr von 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 MeetupAlexandros 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 SydneyAlexandros 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
 

Mehr von 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
 

Kürzlich hochgeladen

Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesZilliz
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 

Kürzlich hochgeladen (20)

Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector Databases
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 

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