SlideShare uma empresa Scribd logo
1 de 22
Baixar para ler 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)

Mais conteúdo relacionado

Mais procurados

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
 

Mais procurados (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
 

Semelhante a Context-aware preference modeling with factorization

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
 

Semelhante a Context-aware preference modeling with factorization (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
 

Mais de 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
 

Mais de 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)
 

Último

HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesBoston Institute of Analytics
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 

Último (20)

HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 

Context-aware preference modeling with factorization

  • 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)