SlideShare a Scribd company logo
1 of 22
Download to read offline
Context-aware Preference
Modeling with Factorization
Balázs Hidasi
RecSys’15, Doctoral Symposium
19. September 2015
Outline
• I. Background
a. Implicit feedback
b. Context
c. Factorization
• II. Finished research
a. Context-aware algorithms (iTALS, iTALSx)
b. Speeding-up ALS
c. General Factorization Framework
• III. Future research
a. Automatic preference model learning
b. Context-related research
Background
Implicit feedback
• + The practical scenario
• + Collected by passive monitoring
• + Available in large quantities
• - Preferences are not explicit
• - Noisy positive feedback
• - No negative feedback
• - Missing feedback needs to be handled
Context
• Context: Additional side information that can help refining
the recommendations and tailoring them in order to fit the
users’ actual needs better.
• Context helps:
Dealing with context related effects during training
Adapting recommendation lists during recommendation time
• Types
User side information: user metadata, social networks, etc.
Item side information: item metadata, etc.
Context of transactions: time, location, device, etc.
Factorization
• Project entities into a low dimensional latent feature
space
• The interaction between the representations estimate
the preferences
Research
Context-aware algorithms [1,2]
• iTALS / iTALSx
Pointwise preference estimation
ALS learning
Scales linearly with the number of transactions
Different models
• Models for different problems
Low number of features, sparser data
iTALSx
Denser data, using higher number of
features is possible iTALS
User-
item-
context
relation
Item feature
matrix
Userfeature
matrix
≈ Preference
tensor
(R)
Item feature
matrixUserfeature
matrix
≈
Items
Users
User-item
realtion
Item-context
relation
User-context
relation
N-way model (iTALS) Pairwise interaction model (iTALSx)
Speeding up ALS [3]
• ALS scales cubically (quadratically in practice) with the
number of features
Bottleneck: solving a system of linear equations
Highly impractical to use high factor models
• Approximate solutions for speed-up
ALS-CG: conjugate gradient based direct approximation of ALS
o Efficiency depends on matrix-vector multiplication
ALS-CD: optimize on a feature-by-feature basis (instead of
computing whole feature vectors)
o Implicit case: lots of negative examples compression
Speed-up results
• Accuracy similar to ALS
• Significant speed-up
Better trade-offs (accuracy vs. time)
More efficient resource usage
• Linear scaling with the number of
features (in practice)
High factor models are usable
• CG or CD? 0
500
1000
1500
2000
20 40 60 80 100 120 140 160 180 200
Time(s)
Number of features
iTALS iTALS - CG iTALS - CD
Method Similar Worse Better
ALS-CG 62 of 75 (82.67%) 10 of 75 (13.33%) 3 of 75 (4%)
ALS-CD 57 of 75 (76%) 16 of 75 (21.33%) 2 of 75 (2.67%)
GFF: General Factorization Framework [4]
• An algorithm that allows experimentation with novel models for the context-
aware recommendation problem, that are not restricted to the two main model
classes used by the state-of-the-art.
• Motivation
dimensions lots of different possible preference models
Standard models not necessarily fit the problem (e.q. asymmetry)
Lack of tool that has this flexibility
• Features
No restriction on the context
Large preference model class
Data type independence
Flexibility
Scalability
Novel preference models with GFF (1)
• Interactions with context
User-item
User-context-item
(reweighting)
User-context (bias)
Item-context (bias)
Context-context?
• A 4D problem
Users (U)
Items (I)
Seasonality (S)
Sequentiality (Q)
• Traditional models
N-way (USQI)
Pairwise (UI+US+IS+UQ+IQ+SQ)
• Novel models
Interaction (UI+USI+UQI)
Context-interaction (USI+UQI)
Reduced pairwise
(UI+US+IS+UQ+IQ)
User bias (UI+US+UQ)
Item bias (UI+UQ+IQ)
(Other interesting ones: UI+USQI;
UI+USI+UQI+USQI; USI+UQI+USQI)
Novel preference models with GFF (2)
Performance of novel models
Dataset Best model Improvement
(over traditional)
Novel better
than traditional
Grocery UI+USI+UQI +20.14% 3 of 5
TV1 USI+UQI +15.37% 2 of 5
TV2 UI+USI+UQI +30.30% 4 of 5
LastFM UI+USI+UQI +12.40% 3 of 5
VoD UI+USI+UQI +19.02% 2 of 5
Grocery VoD
USQI
UI+US+IS+UQ+IQ+SQ
USI+UQI
UI+USI+UQI
UI+US+IS+UQ+IQ
UI+US+UQ
UI+IS+IQ
USQI
UI+US+IS+UQ+IQ+SQ
USI+UQI
UI+USI+UQI
UI+US+IS+UQ+IQ
UI+US+UQ
UI+IS+IQ
+8.23%
+20.14% +16.50% +17.74% +19.02%
Future research
Automatic model learning for GFF
• Flexibility of GFF
Useful for experimentation
Finding the best (or fairly good) model requires lots of
experiments for a new setup
• Automatize model selection
Which contexts should be used?
Which interactions should be used?
Model selection with LARS
4/22/2015
• Model: UI+US+IS+USI+UQ+IQ+UQI+USQI+USQ+ISQ+SQ
• Each term contributes to the prediction of the
preferences
• Terms are the features
• Inferred preferences (0/1) are the target
For every possible (u,i,s,q) combination
Weighting: multiply examples of positive feedback by the
weight
Efficiency of the model selection
4/22/2015
• Lot of examples efficiency?
• Efficient LARS implementations require only the
Covariance of features
Correlation of features with the target
• E.g.: ∑ , , , 1 ∘ 1 ∘ ∘, , ,
Sum has many members
Can be computed efficiently
Precomputed covariance matrices and sums of vectors required
Interaction of dimensions
4/22/2015
• When to use the model selection?
• Dimension interact
One ALS epoch modifies a certain feature to be optimal with the current
model
Different terms optimize for different aspects (e.g. USI and IS)
Shared features will be suboptimal to either but may lean to one side
o Problems with unbiased selection
• Handle terms or groups of terms separately
Hard to integrate into solution
Requires multiple instances of feature matrices
Increases model complexity
Selection strategies
4/22/2015
• Joint pretraining (few epochs), model selection, training
selected model
• Multiple iterations of pretraining and selecting
• Joint training of a few terms, extend to full model using the
trained features, (additional training), selection, train
• Separate training, model selection, (merge separate feature
matrices for the same dimension), (training)
• Separate training, model selection, train non selected
members on the residual
Context-related research
• Non-conventional context
Standard context: entity based
Other types
o Hierarchical
o Composite
o Ordered
o Continuous
• Context quality
General quality
Suitability for a model or interaction type
Improving quality by splitting/combining context-states
Thank you!
References (papers can be downloaded from http://hidasi.eu)
[1] Balázs Hidasi and Domonkos Tikk: Fast ALS-based tensor factorization for context-aware recommendation from implicit
feedback. ECML-PKDD (2012)
[2] Balázs Hidasi: Factorization models for context-aware recommendations. Infocommunications Journal VI(4) (2014)
[3] Balázs Hidasi and Domonkos Tikk: Speeding up ALS learning via approximate methods for context-aware
recommendations. Knowledge and Information Systems (2015)
[4] Balázs Hidasi and Domonkos Tikk: General factorization framework for context-aware recommendations. Data Mining and
Knowledge Discovery (2015)

More Related Content

What's hot

Session-aware Linear Item-Item Models for Session-based Recommendation (WWW 2...
Session-aware Linear Item-Item Models for Session-based Recommendation (WWW 2...Session-aware Linear Item-Item Models for Session-based Recommendation (WWW 2...
Session-aware Linear Item-Item Models for Session-based Recommendation (WWW 2...민진 최
 
Deep Learning Models for Question Answering
Deep Learning Models for Question AnsweringDeep Learning Models for Question Answering
Deep Learning Models for Question AnsweringSujit Pal
 
Evolving a Medical Image Similarity Search
Evolving a Medical Image Similarity SearchEvolving a Medical Image Similarity Search
Evolving a Medical Image Similarity SearchSujit Pal
 
Learning to learn unlearned feature for segmentation
Learning to learn unlearned feature for segmentationLearning to learn unlearned feature for segmentation
Learning to learn unlearned feature for segmentationNAVER Engineering
 
林守德/Practical Issues in Machine Learning
林守德/Practical Issues in Machine Learning林守德/Practical Issues in Machine Learning
林守德/Practical Issues in Machine Learning台灣資料科學年會
 
Local collaborative autoencoders (WSDM2021)
Local collaborative autoencoders (WSDM2021)Local collaborative autoencoders (WSDM2021)
Local collaborative autoencoders (WSDM2021)민진 최
 
Machine learning for_finance
Machine learning for_financeMachine learning for_finance
Machine learning for_financeStefan Duprey
 
Mathematical Background for Artificial Intelligence
Mathematical Background for Artificial IntelligenceMathematical Background for Artificial Intelligence
Mathematical Background for Artificial Intelligenceananth
 
Kaggle Days Madrid - Alberto Danese
Kaggle Days Madrid - Alberto DaneseKaggle Days Madrid - Alberto Danese
Kaggle Days Madrid - Alberto DaneseAlberto Danese
 
Introduction to cyclical learning rates for training neural nets
Introduction to cyclical learning rates for training neural netsIntroduction to cyclical learning rates for training neural nets
Introduction to cyclical learning rates for training neural netsSayak Paul
 
Understanding Basics of Machine Learning
Understanding Basics of Machine LearningUnderstanding Basics of Machine Learning
Understanding Basics of Machine LearningPranav Ainavolu
 
Few shot learning/ one shot learning/ machine learning
Few shot learning/ one shot learning/ machine learningFew shot learning/ one shot learning/ machine learning
Few shot learning/ one shot learning/ machine learningﺁﺻﻒ ﻋﻠﯽ ﻣﯿﺮ
 
Tutorial on Theory and Application of Generative Adversarial Networks
Tutorial on Theory and Application of Generative Adversarial NetworksTutorial on Theory and Application of Generative Adversarial Networks
Tutorial on Theory and Application of Generative Adversarial NetworksMLReview
 
Learning to Compose Domain-Specific Transformations for Data Augmentation
Learning to Compose Domain-Specific Transformations for Data AugmentationLearning to Compose Domain-Specific Transformations for Data Augmentation
Learning to Compose Domain-Specific Transformations for Data AugmentationTatsuya Shirakawa
 
Recommendation system using collaborative deep learning
Recommendation system using collaborative deep learningRecommendation system using collaborative deep learning
Recommendation system using collaborative deep learningRitesh Sawant
 
End to-end semi-supervised object detection with soft teacher ver.1.0
End to-end semi-supervised object detection with soft teacher ver.1.0End to-end semi-supervised object detection with soft teacher ver.1.0
End to-end semi-supervised object detection with soft teacher ver.1.0taeseon ryu
 
Generative Adversarial Networks and Their Applications in Medical Imaging
Generative Adversarial Networks  and Their Applications in Medical ImagingGenerative Adversarial Networks  and Their Applications in Medical Imaging
Generative Adversarial Networks and Their Applications in Medical ImagingSanghoon Hong
 
Semi-supervised Learning
Semi-supervised LearningSemi-supervised Learning
Semi-supervised Learningbutest
 

What's hot (20)

Session-aware Linear Item-Item Models for Session-based Recommendation (WWW 2...
Session-aware Linear Item-Item Models for Session-based Recommendation (WWW 2...Session-aware Linear Item-Item Models for Session-based Recommendation (WWW 2...
Session-aware Linear Item-Item Models for Session-based Recommendation (WWW 2...
 
Deep Learning Models for Question Answering
Deep Learning Models for Question AnsweringDeep Learning Models for Question Answering
Deep Learning Models for Question Answering
 
Evolving a Medical Image Similarity Search
Evolving a Medical Image Similarity SearchEvolving a Medical Image Similarity Search
Evolving a Medical Image Similarity Search
 
Icml2017 overview
Icml2017 overviewIcml2017 overview
Icml2017 overview
 
Learning to learn unlearned feature for segmentation
Learning to learn unlearned feature for segmentationLearning to learn unlearned feature for segmentation
Learning to learn unlearned feature for segmentation
 
林守德/Practical Issues in Machine Learning
林守德/Practical Issues in Machine Learning林守德/Practical Issues in Machine Learning
林守德/Practical Issues in Machine Learning
 
Local collaborative autoencoders (WSDM2021)
Local collaborative autoencoders (WSDM2021)Local collaborative autoencoders (WSDM2021)
Local collaborative autoencoders (WSDM2021)
 
Active learning
Active learningActive learning
Active learning
 
Machine learning for_finance
Machine learning for_financeMachine learning for_finance
Machine learning for_finance
 
Mathematical Background for Artificial Intelligence
Mathematical Background for Artificial IntelligenceMathematical Background for Artificial Intelligence
Mathematical Background for Artificial Intelligence
 
Kaggle Days Madrid - Alberto Danese
Kaggle Days Madrid - Alberto DaneseKaggle Days Madrid - Alberto Danese
Kaggle Days Madrid - Alberto Danese
 
Introduction to cyclical learning rates for training neural nets
Introduction to cyclical learning rates for training neural netsIntroduction to cyclical learning rates for training neural nets
Introduction to cyclical learning rates for training neural nets
 
Understanding Basics of Machine Learning
Understanding Basics of Machine LearningUnderstanding Basics of Machine Learning
Understanding Basics of Machine Learning
 
Few shot learning/ one shot learning/ machine learning
Few shot learning/ one shot learning/ machine learningFew shot learning/ one shot learning/ machine learning
Few shot learning/ one shot learning/ machine learning
 
Tutorial on Theory and Application of Generative Adversarial Networks
Tutorial on Theory and Application of Generative Adversarial NetworksTutorial on Theory and Application of Generative Adversarial Networks
Tutorial on Theory and Application of Generative Adversarial Networks
 
Learning to Compose Domain-Specific Transformations for Data Augmentation
Learning to Compose Domain-Specific Transformations for Data AugmentationLearning to Compose Domain-Specific Transformations for Data Augmentation
Learning to Compose Domain-Specific Transformations for Data Augmentation
 
Recommendation system using collaborative deep learning
Recommendation system using collaborative deep learningRecommendation system using collaborative deep learning
Recommendation system using collaborative deep learning
 
End to-end semi-supervised object detection with soft teacher ver.1.0
End to-end semi-supervised object detection with soft teacher ver.1.0End to-end semi-supervised object detection with soft teacher ver.1.0
End to-end semi-supervised object detection with soft teacher ver.1.0
 
Generative Adversarial Networks and Their Applications in Medical Imaging
Generative Adversarial Networks  and Their Applications in Medical ImagingGenerative Adversarial Networks  and Their Applications in Medical Imaging
Generative Adversarial Networks and Their Applications in Medical Imaging
 
Semi-supervised Learning
Semi-supervised LearningSemi-supervised Learning
Semi-supervised Learning
 

Similar to Context-aware Preference Modeling with Factorization Techniques

Simulation in Social Sciences - Lecture 6 in Introduction to Computational S...
Simulation in Social Sciences -  Lecture 6 in Introduction to Computational S...Simulation in Social Sciences -  Lecture 6 in Introduction to Computational S...
Simulation in Social Sciences - Lecture 6 in Introduction to Computational S...Lauri Eloranta
 
2023-08-22 CoLLAs Tutorial - Beyond CIL.pdf
2023-08-22 CoLLAs Tutorial - Beyond CIL.pdf2023-08-22 CoLLAs Tutorial - Beyond CIL.pdf
2023-08-22 CoLLAs Tutorial - Beyond CIL.pdfVincenzo Lomonaco
 
Goal Decomposition and Abductive Reasoning for Policy Analysis and Refinement
Goal Decomposition and Abductive Reasoning for Policy Analysis and RefinementGoal Decomposition and Abductive Reasoning for Policy Analysis and Refinement
Goal Decomposition and Abductive Reasoning for Policy Analysis and RefinementEmil Lupu
 
QoE++: Shifting from Ego- to Eco-System? QCMan 2015 Keynote
QoE++: Shifting from Ego- to Eco-System? QCMan 2015 KeynoteQoE++: Shifting from Ego- to Eco-System? QCMan 2015 Keynote
QoE++: Shifting from Ego- to Eco-System? QCMan 2015 KeynoteTobias Hoßfeld
 
Learning Content and Usage Factors Simultaneously
Learning Content and Usage Factors SimultaneouslyLearning Content and Usage Factors Simultaneously
Learning Content and Usage Factors SimultaneouslyArnab Bhadury
 
Simulation Models as a Research Method.ppt
Simulation Models as a Research Method.pptSimulation Models as a Research Method.ppt
Simulation Models as a Research Method.pptQidiwQidiwQidiw
 
[SEBD2020] OLAP Querying of Document Stores in the Presence of Schema Variety
[SEBD2020] OLAP Querying of Document Stores in the Presence of Schema Variety[SEBD2020] OLAP Querying of Document Stores in the Presence of Schema Variety
[SEBD2020] OLAP Querying of Document Stores in the Presence of Schema VarietyUniversity of Bologna
 
Demography basedhybridrecommendersystemformovierecommendation
Demography basedhybridrecommendersystemformovierecommendationDemography basedhybridrecommendersystemformovierecommendation
Demography basedhybridrecommendersystemformovierecommendationUmmeSalmaM1
 
AGRIS toolkit
AGRIS toolkitAGRIS toolkit
AGRIS toolkitFAO
 
A flexible recommenndation system for Cable TV
A flexible recommenndation system for Cable TVA flexible recommenndation system for Cable TV
A flexible recommenndation system for Cable TVIntoTheMinds
 
A Flexible Recommendation System for Cable TV
A Flexible Recommendation System for Cable TVA Flexible Recommendation System for Cable TV
A Flexible Recommendation System for Cable TVFrancisco Couto
 
Artificial Intelligence for Automated Software Testing
Artificial Intelligence for Automated Software TestingArtificial Intelligence for Automated Software Testing
Artificial Intelligence for Automated Software TestingLionel Briand
 
Top 10 Data Science Practitioner Pitfalls
Top 10 Data Science Practitioner PitfallsTop 10 Data Science Practitioner Pitfalls
Top 10 Data Science Practitioner PitfallsSri Ambati
 
AgriFood Data, Models, Standards, Tools, Use Cases
AgriFood Data, Models, Standards, Tools, Use CasesAgriFood Data, Models, Standards, Tools, Use Cases
AgriFood Data, Models, Standards, Tools, Use CasesRothamsted Research, UK
 
Statistics in the age of data science, issues you can not ignore
Statistics in the age of data science, issues you can not ignoreStatistics in the age of data science, issues you can not ignore
Statistics in the age of data science, issues you can not ignoreTuri, Inc.
 
Software Engineering Research: Leading a Double-Agent Life.
Software Engineering Research: Leading a Double-Agent Life.Software Engineering Research: Leading a Double-Agent Life.
Software Engineering Research: Leading a Double-Agent Life.Lionel Briand
 
Approaches to Preservation Storage Technologies
Approaches to Preservation Storage Technologies Approaches to Preservation Storage Technologies
Approaches to Preservation Storage Technologies Micah Altman
 
June brownbagpressurvey
June brownbagpressurveyJune brownbagpressurvey
June brownbagpressurveyMicah Altman
 

Similar to Context-aware Preference Modeling with Factorization Techniques (20)

MUMS Opening Workshop - The Isaac Newton Institute Uncertainty Quantification...
MUMS Opening Workshop - The Isaac Newton Institute Uncertainty Quantification...MUMS Opening Workshop - The Isaac Newton Institute Uncertainty Quantification...
MUMS Opening Workshop - The Isaac Newton Institute Uncertainty Quantification...
 
Simulation in Social Sciences - Lecture 6 in Introduction to Computational S...
Simulation in Social Sciences -  Lecture 6 in Introduction to Computational S...Simulation in Social Sciences -  Lecture 6 in Introduction to Computational S...
Simulation in Social Sciences - Lecture 6 in Introduction to Computational S...
 
2023-08-22 CoLLAs Tutorial - Beyond CIL.pdf
2023-08-22 CoLLAs Tutorial - Beyond CIL.pdf2023-08-22 CoLLAs Tutorial - Beyond CIL.pdf
2023-08-22 CoLLAs Tutorial - Beyond CIL.pdf
 
Goal Decomposition and Abductive Reasoning for Policy Analysis and Refinement
Goal Decomposition and Abductive Reasoning for Policy Analysis and RefinementGoal Decomposition and Abductive Reasoning for Policy Analysis and Refinement
Goal Decomposition and Abductive Reasoning for Policy Analysis and Refinement
 
QoE++: Shifting from Ego- to Eco-System? QCMan 2015 Keynote
QoE++: Shifting from Ego- to Eco-System? QCMan 2015 KeynoteQoE++: Shifting from Ego- to Eco-System? QCMan 2015 Keynote
QoE++: Shifting from Ego- to Eco-System? QCMan 2015 Keynote
 
Learning Content and Usage Factors Simultaneously
Learning Content and Usage Factors SimultaneouslyLearning Content and Usage Factors Simultaneously
Learning Content and Usage Factors Simultaneously
 
Simulation Models as a Research Method.ppt
Simulation Models as a Research Method.pptSimulation Models as a Research Method.ppt
Simulation Models as a Research Method.ppt
 
[SEBD2020] OLAP Querying of Document Stores in the Presence of Schema Variety
[SEBD2020] OLAP Querying of Document Stores in the Presence of Schema Variety[SEBD2020] OLAP Querying of Document Stores in the Presence of Schema Variety
[SEBD2020] OLAP Querying of Document Stores in the Presence of Schema Variety
 
Demography basedhybridrecommendersystemformovierecommendation
Demography basedhybridrecommendersystemformovierecommendationDemography basedhybridrecommendersystemformovierecommendation
Demography basedhybridrecommendersystemformovierecommendation
 
AGRIS toolkit
AGRIS toolkitAGRIS toolkit
AGRIS toolkit
 
A flexible recommenndation system for Cable TV
A flexible recommenndation system for Cable TVA flexible recommenndation system for Cable TV
A flexible recommenndation system for Cable TV
 
A Flexible Recommendation System for Cable TV
A Flexible Recommendation System for Cable TVA Flexible Recommendation System for Cable TV
A Flexible Recommendation System for Cable TV
 
Artificial Intelligence for Automated Software Testing
Artificial Intelligence for Automated Software TestingArtificial Intelligence for Automated Software Testing
Artificial Intelligence for Automated Software Testing
 
Service system design
Service system designService system design
Service system design
 
Top 10 Data Science Practitioner Pitfalls
Top 10 Data Science Practitioner PitfallsTop 10 Data Science Practitioner Pitfalls
Top 10 Data Science Practitioner Pitfalls
 
AgriFood Data, Models, Standards, Tools, Use Cases
AgriFood Data, Models, Standards, Tools, Use CasesAgriFood Data, Models, Standards, Tools, Use Cases
AgriFood Data, Models, Standards, Tools, Use Cases
 
Statistics in the age of data science, issues you can not ignore
Statistics in the age of data science, issues you can not ignoreStatistics in the age of data science, issues you can not ignore
Statistics in the age of data science, issues you can not ignore
 
Software Engineering Research: Leading a Double-Agent Life.
Software Engineering Research: Leading a Double-Agent Life.Software Engineering Research: Leading a Double-Agent Life.
Software Engineering Research: Leading a Double-Agent Life.
 
Approaches to Preservation Storage Technologies
Approaches to Preservation Storage Technologies Approaches to Preservation Storage Technologies
Approaches to Preservation Storage Technologies
 
June brownbagpressurvey
June brownbagpressurveyJune brownbagpressurvey
June brownbagpressurvey
 

More from Balázs Hidasi

Egyedi termék kreatívok tömeges gyártása generatív AI segítségével
Egyedi termék kreatívok tömeges gyártása generatív AI segítségévelEgyedi termék kreatívok tömeges gyártása generatív AI segítségével
Egyedi termék kreatívok tömeges gyártása generatív AI segítségévelBalázs Hidasi
 
The Effect of Third Party Implementations on Reproducibility
The Effect of Third Party Implementations on ReproducibilityThe Effect of Third Party Implementations on Reproducibility
The Effect of Third Party Implementations on ReproducibilityBalázs Hidasi
 
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
 
Context aware factorization methods for implicit feedback based recommendatio...
Context aware factorization methods for implicit feedback based recommendatio...Context aware factorization methods for implicit feedback based recommendatio...
Context aware factorization methods for implicit feedback based recommendatio...Balázs Hidasi
 
Deep learning: the future of recommendations
Deep learning: the future of recommendationsDeep learning: the future of recommendations
Deep learning: the future of recommendationsBalázs Hidasi
 
Approximate modeling of continuous context in factorization algorithms (CaRR1...
Approximate modeling of continuous context in factorization algorithms (CaRR1...Approximate modeling of continuous context in factorization algorithms (CaRR1...
Approximate modeling of continuous context in factorization algorithms (CaRR1...Balázs Hidasi
 
Az implicit ajánlási probléma és néhány megoldása (BME TMIT szeminárium előad...
Az implicit ajánlási probléma és néhány megoldása (BME TMIT szeminárium előad...Az implicit ajánlási probléma és néhány megoldása (BME TMIT szeminárium előad...
Az implicit ajánlási probléma és néhány megoldása (BME TMIT szeminárium előad...Balázs Hidasi
 
Context-aware similarities within the factorization framework (CaRR 2013 pres...
Context-aware similarities within the factorization framework (CaRR 2013 pres...Context-aware similarities within the factorization framework (CaRR 2013 pres...
Context-aware similarities within the factorization framework (CaRR 2013 pres...Balázs Hidasi
 
iTALS: implicit tensor factorization for context-aware recommendations (ECML/...
iTALS: implicit tensor factorization for context-aware recommendations (ECML/...iTALS: implicit tensor factorization for context-aware recommendations (ECML/...
iTALS: implicit tensor factorization for context-aware recommendations (ECML/...Balázs Hidasi
 
Initialization of matrix factorization (CaRR 2012 presentation)
Initialization of matrix factorization (CaRR 2012 presentation)Initialization of matrix factorization (CaRR 2012 presentation)
Initialization of matrix factorization (CaRR 2012 presentation)Balázs Hidasi
 
ShiftTree: model alapú idősor-osztályozó (VK 2009 előadás)
ShiftTree: model alapú idősor-osztályozó (VK 2009 előadás)ShiftTree: model alapú idősor-osztályozó (VK 2009 előadás)
ShiftTree: model alapú idősor-osztályozó (VK 2009 előadás)Balázs Hidasi
 
ShiftTree: model alapú idősor-osztályozó (ML@BP előadás, 2012)
ShiftTree: model alapú idősor-osztályozó (ML@BP előadás, 2012)ShiftTree: model alapú idősor-osztályozó (ML@BP előadás, 2012)
ShiftTree: model alapú idősor-osztályozó (ML@BP előadás, 2012)Balázs Hidasi
 
ShiftTree: model based time series classifier (ECML/PKDD 2011 presentation)
ShiftTree: model based time series classifier (ECML/PKDD 2011 presentation)ShiftTree: model based time series classifier (ECML/PKDD 2011 presentation)
ShiftTree: model based time series classifier (ECML/PKDD 2011 presentation)Balázs Hidasi
 

More from Balázs Hidasi (13)

Egyedi termék kreatívok tömeges gyártása generatív AI segítségével
Egyedi termék kreatívok tömeges gyártása generatív AI segítségévelEgyedi termék kreatívok tömeges gyártása generatív AI segítségével
Egyedi termék kreatívok tömeges gyártása generatív AI segítségével
 
The Effect of Third Party Implementations on Reproducibility
The Effect of Third Party Implementations on ReproducibilityThe Effect of Third Party Implementations on Reproducibility
The Effect of Third Party Implementations on Reproducibility
 
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
 
Context aware factorization methods for implicit feedback based recommendatio...
Context aware factorization methods for implicit feedback based recommendatio...Context aware factorization methods for implicit feedback based recommendatio...
Context aware factorization methods for implicit feedback based recommendatio...
 
Deep learning: the future of recommendations
Deep learning: the future of recommendationsDeep learning: the future of recommendations
Deep learning: the future of recommendations
 
Approximate modeling of continuous context in factorization algorithms (CaRR1...
Approximate modeling of continuous context in factorization algorithms (CaRR1...Approximate modeling of continuous context in factorization algorithms (CaRR1...
Approximate modeling of continuous context in factorization algorithms (CaRR1...
 
Az implicit ajánlási probléma és néhány megoldása (BME TMIT szeminárium előad...
Az implicit ajánlási probléma és néhány megoldása (BME TMIT szeminárium előad...Az implicit ajánlási probléma és néhány megoldása (BME TMIT szeminárium előad...
Az implicit ajánlási probléma és néhány megoldása (BME TMIT szeminárium előad...
 
Context-aware similarities within the factorization framework (CaRR 2013 pres...
Context-aware similarities within the factorization framework (CaRR 2013 pres...Context-aware similarities within the factorization framework (CaRR 2013 pres...
Context-aware similarities within the factorization framework (CaRR 2013 pres...
 
iTALS: implicit tensor factorization for context-aware recommendations (ECML/...
iTALS: implicit tensor factorization for context-aware recommendations (ECML/...iTALS: implicit tensor factorization for context-aware recommendations (ECML/...
iTALS: implicit tensor factorization for context-aware recommendations (ECML/...
 
Initialization of matrix factorization (CaRR 2012 presentation)
Initialization of matrix factorization (CaRR 2012 presentation)Initialization of matrix factorization (CaRR 2012 presentation)
Initialization of matrix factorization (CaRR 2012 presentation)
 
ShiftTree: model alapú idősor-osztályozó (VK 2009 előadás)
ShiftTree: model alapú idősor-osztályozó (VK 2009 előadás)ShiftTree: model alapú idősor-osztályozó (VK 2009 előadás)
ShiftTree: model alapú idősor-osztályozó (VK 2009 előadás)
 
ShiftTree: model alapú idősor-osztályozó (ML@BP előadás, 2012)
ShiftTree: model alapú idősor-osztályozó (ML@BP előadás, 2012)ShiftTree: model alapú idősor-osztályozó (ML@BP előadás, 2012)
ShiftTree: model alapú idősor-osztályozó (ML@BP előadás, 2012)
 
ShiftTree: model based time series classifier (ECML/PKDD 2011 presentation)
ShiftTree: model based time series classifier (ECML/PKDD 2011 presentation)ShiftTree: model based time series classifier (ECML/PKDD 2011 presentation)
ShiftTree: model based time series classifier (ECML/PKDD 2011 presentation)
 

Recently uploaded

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
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentationphoebematthew05
 
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
 
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
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
"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
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDGMarianaLemus7
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
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
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 

Recently uploaded (20)

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
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentation
 
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
 
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort ServiceHot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
 
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
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
"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
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDG
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
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
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 

Context-aware Preference Modeling with Factorization Techniques

  • 1. Context-aware Preference Modeling with Factorization Balázs Hidasi RecSys’15, Doctoral Symposium 19. September 2015
  • 2. Outline • I. Background a. Implicit feedback b. Context c. Factorization • II. Finished research a. Context-aware algorithms (iTALS, iTALSx) b. Speeding-up ALS c. General Factorization Framework • III. Future research a. Automatic preference model learning b. Context-related research
  • 4. Implicit feedback • + The practical scenario • + Collected by passive monitoring • + Available in large quantities • - Preferences are not explicit • - Noisy positive feedback • - No negative feedback • - Missing feedback needs to be handled
  • 5. Context • Context: Additional side information that can help refining the recommendations and tailoring them in order to fit the users’ actual needs better. • Context helps: Dealing with context related effects during training Adapting recommendation lists during recommendation time • Types User side information: user metadata, social networks, etc. Item side information: item metadata, etc. Context of transactions: time, location, device, etc.
  • 6. Factorization • Project entities into a low dimensional latent feature space • The interaction between the representations estimate the preferences
  • 8. Context-aware algorithms [1,2] • iTALS / iTALSx Pointwise preference estimation ALS learning Scales linearly with the number of transactions Different models • Models for different problems Low number of features, sparser data iTALSx Denser data, using higher number of features is possible iTALS User- item- context relation Item feature matrix Userfeature matrix ≈ Preference tensor (R) Item feature matrixUserfeature matrix ≈ Items Users User-item realtion Item-context relation User-context relation N-way model (iTALS) Pairwise interaction model (iTALSx)
  • 9. Speeding up ALS [3] • ALS scales cubically (quadratically in practice) with the number of features Bottleneck: solving a system of linear equations Highly impractical to use high factor models • Approximate solutions for speed-up ALS-CG: conjugate gradient based direct approximation of ALS o Efficiency depends on matrix-vector multiplication ALS-CD: optimize on a feature-by-feature basis (instead of computing whole feature vectors) o Implicit case: lots of negative examples compression
  • 10. Speed-up results • Accuracy similar to ALS • Significant speed-up Better trade-offs (accuracy vs. time) More efficient resource usage • Linear scaling with the number of features (in practice) High factor models are usable • CG or CD? 0 500 1000 1500 2000 20 40 60 80 100 120 140 160 180 200 Time(s) Number of features iTALS iTALS - CG iTALS - CD Method Similar Worse Better ALS-CG 62 of 75 (82.67%) 10 of 75 (13.33%) 3 of 75 (4%) ALS-CD 57 of 75 (76%) 16 of 75 (21.33%) 2 of 75 (2.67%)
  • 11. GFF: General Factorization Framework [4] • An algorithm that allows experimentation with novel models for the context- aware recommendation problem, that are not restricted to the two main model classes used by the state-of-the-art. • Motivation dimensions lots of different possible preference models Standard models not necessarily fit the problem (e.q. asymmetry) Lack of tool that has this flexibility • Features No restriction on the context Large preference model class Data type independence Flexibility Scalability
  • 12. Novel preference models with GFF (1) • Interactions with context User-item User-context-item (reweighting) User-context (bias) Item-context (bias) Context-context? • A 4D problem Users (U) Items (I) Seasonality (S) Sequentiality (Q) • Traditional models N-way (USQI) Pairwise (UI+US+IS+UQ+IQ+SQ) • Novel models Interaction (UI+USI+UQI) Context-interaction (USI+UQI) Reduced pairwise (UI+US+IS+UQ+IQ) User bias (UI+US+UQ) Item bias (UI+UQ+IQ) (Other interesting ones: UI+USQI; UI+USI+UQI+USQI; USI+UQI+USQI)
  • 13. Novel preference models with GFF (2)
  • 14. Performance of novel models Dataset Best model Improvement (over traditional) Novel better than traditional Grocery UI+USI+UQI +20.14% 3 of 5 TV1 USI+UQI +15.37% 2 of 5 TV2 UI+USI+UQI +30.30% 4 of 5 LastFM UI+USI+UQI +12.40% 3 of 5 VoD UI+USI+UQI +19.02% 2 of 5 Grocery VoD USQI UI+US+IS+UQ+IQ+SQ USI+UQI UI+USI+UQI UI+US+IS+UQ+IQ UI+US+UQ UI+IS+IQ USQI UI+US+IS+UQ+IQ+SQ USI+UQI UI+USI+UQI UI+US+IS+UQ+IQ UI+US+UQ UI+IS+IQ +8.23% +20.14% +16.50% +17.74% +19.02%
  • 16. Automatic model learning for GFF • Flexibility of GFF Useful for experimentation Finding the best (or fairly good) model requires lots of experiments for a new setup • Automatize model selection Which contexts should be used? Which interactions should be used?
  • 17. Model selection with LARS 4/22/2015 • Model: UI+US+IS+USI+UQ+IQ+UQI+USQI+USQ+ISQ+SQ • Each term contributes to the prediction of the preferences • Terms are the features • Inferred preferences (0/1) are the target For every possible (u,i,s,q) combination Weighting: multiply examples of positive feedback by the weight
  • 18. Efficiency of the model selection 4/22/2015 • Lot of examples efficiency? • Efficient LARS implementations require only the Covariance of features Correlation of features with the target • E.g.: ∑ , , , 1 ∘ 1 ∘ ∘, , , Sum has many members Can be computed efficiently Precomputed covariance matrices and sums of vectors required
  • 19. Interaction of dimensions 4/22/2015 • When to use the model selection? • Dimension interact One ALS epoch modifies a certain feature to be optimal with the current model Different terms optimize for different aspects (e.g. USI and IS) Shared features will be suboptimal to either but may lean to one side o Problems with unbiased selection • Handle terms or groups of terms separately Hard to integrate into solution Requires multiple instances of feature matrices Increases model complexity
  • 20. Selection strategies 4/22/2015 • Joint pretraining (few epochs), model selection, training selected model • Multiple iterations of pretraining and selecting • Joint training of a few terms, extend to full model using the trained features, (additional training), selection, train • Separate training, model selection, (merge separate feature matrices for the same dimension), (training) • Separate training, model selection, train non selected members on the residual
  • 21. Context-related research • Non-conventional context Standard context: entity based Other types o Hierarchical o Composite o Ordered o Continuous • Context quality General quality Suitability for a model or interaction type Improving quality by splitting/combining context-states
  • 22. Thank you! References (papers can be downloaded from http://hidasi.eu) [1] Balázs Hidasi and Domonkos Tikk: Fast ALS-based tensor factorization for context-aware recommendation from implicit feedback. ECML-PKDD (2012) [2] Balázs Hidasi: Factorization models for context-aware recommendations. Infocommunications Journal VI(4) (2014) [3] Balázs Hidasi and Domonkos Tikk: Speeding up ALS learning via approximate methods for context-aware recommendations. Knowledge and Information Systems (2015) [4] Balázs Hidasi and Domonkos Tikk: General factorization framework for context-aware recommendations. Data Mining and Knowledge Discovery (2015)