SlideShare a Scribd company logo
1 of 35
Download to read offline
Integrating Context Similarity
with Sparse Linear
Recommendation Model
Yong Zheng, Bamshad Mobasher, Robin Burke
Center for Web Intelligence, DePaul University, Chicago, USA
The 23rd Conference on User Modeling, Adaptation and Personalization,
Dublin, Ireland, June 29 – July 3, 2015 (UMAP 2015)
Agenda
• RecSys and Context-aware RecSys
• Contextual Modeling
• SLIM and Contextual SLIM
• Modeling Context Similarity
• Experimental Evaluations
• Conclusions and Future Work
Agenda
• RecSys and Context-aware RecSys
• Contextual Modeling
• SLIM and Contextual SLIM
• Modeling Context Similarity
• Experimental Evaluations
• Conclusions and Future Work
RecSys and Context-aware RecSys
• Recommender Systems (RS)
The data is usually a 2D rating matrix: User × Item ―> Ratings
Task-1: Rating Predictions for <user, item> pair
Task-2: Top-N Recommendations for a specific user, i.e., provide a
list of ranked items to the user
• Context-aware RecSys (CARS)
Context dimension: the variable, e.g., time, location, companion
Context condition: values in dimension, e.g., weekend and weekday
Context situation: a set of conditions, e.g., <weekend, home, sister>
The data is represented in a multi-dimensional rating space.
Task-1: Rating Predictions for <user, item, contexts>
Task-2: Top-N Recommendations for a user in specific contexts,
RecSys and Context-aware RecSys
Agenda
• RecSys and Context-aware RecSys
• Contextual Modeling
• SLIM and Contextual SLIM
• Modeling Context Similarity
• Experimental Evaluations
• Conclusions and Future Work
Contextual Recommendations
• How to build CARS algorithms?
Contextual Recommendations
• Contextual Modeling
There are usually two ways for contextual modeling:
1). Independent Contextual Modeling
Tensor Factorization, ACM RecSys 2010
2). Dependent Contextual Modeling
2.1). Deviation-Based Modeling
Context-aware Matrix Factorization, ACM RecSys 2011
Contextual Sparse Linear Method, ACM RecSys 2014
2.2). Similarity-Based Modeling
The proposal in this paper, UMAP 2015
Contextual Modeling
• Independent Contextual Modeling
Tensor Factorization (TF), ACM RecSys 2010
Assumption: context is independent with user/item dimension.
But usually, there are dependencies involved.
Contextual Modeling
• Dependent Contextual Modeling
Context-aware Matrix Factorization (CAMF), ACM RecSys 2011
Contextual Sparse Linear Method (CSLIM), ACM RecSys 2014
Global average
rating
User bias Item bias
Matrix Factorization:
CAMF:
Item bias in contexts
Contextual Modeling
• Dependent Contextual Modeling
Context-aware Matrix Factorization (CAMF), ACM RecSys 2011
Contextual Sparse Linear Method (CSLIM), ACM RecSys 2014
Those approaches are named as deviation-based modeling,
since they tried to incorporate contextual rating deviations into
recommendation algorithms by modeling dependencies or
correlations between contexts and user/item dimensions.
Any other alternatives? How about the dependencies or correlations
among contexts? We name this approach of context modeling as
similarity-based modeling.
Agenda
• RecSys and Context-aware RecSys
• Contextual Modeling
• SLIM and Contextual SLIM
• Modeling Context Similarity
• Experimental Evaluations
• Conclusions and Future Work
SLIM and Contextual SLIM
• Why SLIM
SLIM = Sparse Linear Method, which is an effective top-N
recommendation algorithm in traditional RS.
In this paper, we choose SLIM as the base algorithm, and introduce how
to build contextual SLIM algorithms by incorporating context similarity.
SLIM was demonstrated as the most effective top-N recommendation
algorithms in previous work. Here, we focus on top-N contextual
recommendation. Other algorithms, such as matrix factorization, can
also be chosen as base algorithm.
• SLIM in Traditional RecSys
Matrix R = rating matrix; W = coefficient matrix
SLIM aggregates users’ ratings by coefficients between items.
It learns item coefficients by minimizing the ranking score.
Sparse Linear Method (SLIM)
• CSLIM in Context-aware RecSys
P is multidimensional contextual rating space; W is item coefficient matrix;
Matrix D estimates the rating deviation from one context to another.
1). By Deviation-Based Contextual Modeling, RecSys 2014, CIKM 2014
Contextual SLIM (CSLIM)
• CSLIM in Context-aware RecSys
Previous dependent contextual modeling approaches mainly focused on
modeling the correlations between context and user/item dimensions,
but ignore the correlation between contexts themselves;
Context similarity = similarity between two contexts, measuring inner
similarities or correlations between two contextual situations;
We propose and believe that modeling context similarities is another important
way to develop dependent contextual modeling approaches, rather than
modeling contextual rating deviations!!!
2). By Similarity-Based Contextual Modeling, UMAP 2015
Contextual SLIM (CSLIM)
• CSLIM in Context-aware RecSys
Original SLIM:
Deviation-Based CSLIM:
Similarity-Based CSLIM:
2). By Similarity-Based Contextual Modeling, UMAP 2015
Deviation term
Similarity term
Contextual SLIM (CSLIM)
Agenda
• RecSys and Context-aware RecSys
• Contextual Modeling
• SLIM and Contextual SLIM
• Modeling Context Similarity
• Experimental Evaluations
• Conclusions and Future Work
Modeling Context Similarity
• Context Similarity
Context similarity can be obtained in the following ways:
1). Semantics
But, it is hard to for <holiday, cinema> & <weekday, home>;
Semantics is more useful for hierarchical or tree-based categorical data;
2). Calculation based on co-ratings in different contexts
However, contextual rating data is usually sparse, which results in unreliable
calculations for context similarity.
3). Learning methods
Instead, we can learn the similarity directly by minimizing ranking errors.
error = ranking score – predicted ranking score
Minimizing this ranking error by gradient descent in CSLIM
Modeling Context Similarity
• Context Similarity
Learning methods
Instead, we can learn the similarity directly by minimizing ranking errors.
error = ranking score – predicted ranking score
Minimizing this ranking error by gradient descent in CSLIM
However, the performance may directly depend on how we represent
and model context similarity. In this paper, we discuss 4 modeling:
1). Independent Context Similarity (ICS)
2). Latent Context Similarity (LCS)
3). Weighted Jaccard Context Similarity (WJCS)
4). Multidimensional Context Similarity (MCS)
Modeling Context Similarity
• 1).Independent Context Similarity (ICS)
Similarity-Based CSLIM:
Independent Context Similarity (ICS) can be represented as follows:
For example: Ck = {Time = Weekend, Location = Home}; Cm = {Time = Weekday, Location = Office}
is: Similarity(Weekend, Weekday) × Similarity (Home, Office)
Assumption: contextual variables are assumed as independent.
What to be learnt: each individual similarity between two conditions;
Modeling Context Similarity
• 2).Latent Context Similarity (LCS)
Similarity-Based CSLIM:
Latent Context Similarity (LCS) is an improvement over ICS.
For example: Ck = {Time = Weekend, Location = Home}; Cm = {Time = Weekday, Location = Office}
is: Similarity(Weekend, Weekday) × Similarity (Home, Office)
Each condition is represented by a vector;
What to be learnt: the weights in vectors for each contextual condition.
Training: <weekend, weekday> <weekday, holiday>
Testing: <weekend, holiday>
Context Sparsity
Modeling Context Similarity
• 3).Weighted Jaccard Context Similarity (WJCS)
Weighted Jaccard Context Similarity refers to similarity between two strs.
Assume those three context dimensions are equally weighted, w1 = w2 = w3 = 1.
= # of matched dimensions / # of all dimensions = 2/3
What to be learnt: the weight for each context dimension.
Similarity is measured by Weighted Jaccard similarity
User Movie Time Location Companion Rating
U1 Titanic Weekend Home Girlfriend 4
U2 Titanic Weekday Home Girlfriend 5
U3 Titanic Weekday Cinema Sister 4
U1 Titanic Weekday Home Sister ?
Modeling Context Similarity
• 4).Multidimensional Context Similarity (MCS)
Similarity-Based CSLIM:
Multidimensional context similarity utilizes the distance metric.
(NA, Home, Weekday)
(NA, Home, Weekday)
(Kids, Home, NA) (Kids, Home, NA)
Modeling Context Similarity
• 4).Multidimensional Context Similarity (MCS)
Similarity-Based CSLIM:
Key points in MCS:
1). Each contextual variable is represented as an axis;
2). Each contextual condition is one position in corresponding axis;
3). Thus a contextual situation is mapped as a point in the space;
4). The distance between two points is viewed as dissimilarity;
Any distance metric can be applied; here we use Euclidean distance.
What to be learnt: the positions of each condition in axises.
Modeling Context Similarity
• Summary
Similarity-Based CSLIM:
What to be learnt in each context similarity model:
ICS LCS
The correlation (real value) for each
individual pair of context conditions
The vector representation (weights in
factors) for each contextual condition
WJCS MCS
The weights for each context
dimension.
The positions (real values) for each
contextual condition
Agenda
• RecSys and Context-aware RecSys
• Contextual Modeling
• SLIM and Contextual SLIM
• Modeling Context Similarity
• Experimental Evaluations
• Conclusions and Future Work
Experimental Evaluations
• Data Sets
Note: The number of context-aware data sets is really limited!!
We use 5-folds cross validation for evaluation purposes.
We use Precision and Mean Average Precision (MAP) as metrics:
- Precision: measuring the hit ratio towards relevant items;
- MAP: additional taking the rankings of items into account.
Experimental Evaluations
• Algorithms for Comparison
1). Baseline Algorithms
CASA = Context-aware Splitting Approaches (a pre-filtering approach)
TF = Tensor Factorization (independent contextual modeling)
CAMF = Context-aware MF (dependent contextual modeling)
Deviation Model = CSLIM using deviation-based contextual modeling
2). New Algorithms
Four algorithms using different context similarity representations:
Similarity-ICS Model, Similarity-LCS Model
Similarity-WJCS Model, Similarity-MCS Model
Note: all those models were built on SLIM.
Experimental Evaluations
Experimental Evaluations
• Summary of the results
1). Which algorithm is the best?
Answer: Similarity-Based CSLIM using Multidimensional Context Similarity
2). Which one is better? Deviation or similarity-based modeling?
Answer: we can always find a similarity-based contextual modeling outperforming the
deviation-based modeling; but, the appropriate representation for context similarity
should be selected.
3). Which representation is the best?
Generally speaking, latent context similarity always outperforms independent context
similarity; and multidimensional context similarity is the best choice. Weighted
Jaccard context similarity shows non-stable recommendation performance in the
experiments.
Agenda
• RecSys and Context-aware RecSys
• Contextual Modeling
• SLIM and Contextual SLIM
• Modeling Context Similarity
• Experimental Evaluations
• Conclusions and Future Work
Conclusions & Future Work
• Conclusions
 We propose a new way to build dependent contextual modeling – similarity-
based contextual modeling;
 We choose SLIM as the base algorithm and incorporate context similarity into
SLIM to formulate new contextual SLIM algorithms;
 We discuss different representations to model context similarity;
 We demonstrated the advantages of similarity-based CSLIM by experimental
evaluations over multiple context-aware data sets.
• Future Work
Multidimensional Context Similarity (MCS) is the best representation to model
context similarity; but it increases computational costs at the same time. In our
future work, we’d like to explore how to reduce the computational costs for MCS,
e.g., reducing context dimensions, merging contextual conditions, etc.
Conclusions & Future Work
• Stay Tuned
Context similarity can also be incorporated into matrix factorization.
 Yong Zheng, Bamshad Mobasher, Robin Burke. "Incorporating Context
Correlation Into Context-aware Matrix Factorization". Workshop on Intelligent
Personalization @ IJCAI 2015
 Yong Zheng, Bamshad Mobasher, Robin Burke. "Correlation-Based Context-
aware Matrix Factorization". In DePaul CDM School of Computing Research
Symposium, 2015 (Best Paper Award)
• Survey: Context-aware Movie Ratings
Welcome to fill out it: http://depaul.qualtrics.com/SE/?SID=SV_4TrIZbAnQtzaHsx
Short URL: http://tinyurl.com/surveycars
Integrating Context Similarity
with Sparse Linear
Recommendation Model
Yong Zheng, Bamshad Mobasher, Robin Burke
Center for Web Intelligence, DePaul University, Chicago, USA
The 23rd Conference on User Modeling, Adaptation and Personalization,
Dublin, Ireland, June 29 – July 3, 2015 (UMAP 2015)

More Related Content

What's hot

Matrix Factorization Techniques For Recommender Systems
Matrix Factorization Techniques For Recommender SystemsMatrix Factorization Techniques For Recommender Systems
Matrix Factorization Techniques For Recommender Systems
Lei Guo
 

What's hot (20)

[IUI2015] A Revisit to The Identification of Contexts in Recommender Systems
[IUI2015] A Revisit to The Identification of Contexts in Recommender Systems[IUI2015] A Revisit to The Identification of Contexts in Recommender Systems
[IUI2015] A Revisit to The Identification of Contexts in Recommender Systems
 
Hybridisation Techniques for Cold-Starting Context-Aware Recommender Systems
Hybridisation Techniques for Cold-Starting Context-Aware Recommender SystemsHybridisation Techniques for Cold-Starting Context-Aware Recommender Systems
Hybridisation Techniques for Cold-Starting Context-Aware Recommender Systems
 
[EMPIRE 2016] Adapt to Emotional Reactions In Context-aware Personalization
[EMPIRE 2016] Adapt to Emotional Reactions In Context-aware Personalization[EMPIRE 2016] Adapt to Emotional Reactions In Context-aware Personalization
[EMPIRE 2016] Adapt to Emotional Reactions In Context-aware Personalization
 
Slope one recommender on hadoop
Slope one recommender on hadoopSlope one recommender on hadoop
Slope one recommender on hadoop
 
Handling Missing Attributes using Matrix Factorization 
Handling Missing Attributes using Matrix Factorization Handling Missing Attributes using Matrix Factorization 
Handling Missing Attributes using Matrix Factorization 
 
Matrix Factorization Techniques For Recommender Systems
Matrix Factorization Techniques For Recommender SystemsMatrix Factorization Techniques For Recommender Systems
Matrix Factorization Techniques For Recommender Systems
 
Recsys 2016: Modeling Contextual Information in Session-Aware Recommender Sys...
Recsys 2016: Modeling Contextual Information in Session-Aware Recommender Sys...Recsys 2016: Modeling Contextual Information in Session-Aware Recommender Sys...
Recsys 2016: Modeling Contextual Information in Session-Aware Recommender Sys...
 
Recommendation system
Recommendation systemRecommendation system
Recommendation system
 
Introduction to Linear Discriminant Analysis
Introduction to Linear Discriminant AnalysisIntroduction to Linear Discriminant Analysis
Introduction to Linear Discriminant Analysis
 
AI to advance science research
AI to advance science researchAI to advance science research
AI to advance science research
 
A new similarity measurement based on hellinger distance for collaborating fi...
A new similarity measurement based on hellinger distance for collaborating fi...A new similarity measurement based on hellinger distance for collaborating fi...
A new similarity measurement based on hellinger distance for collaborating fi...
 
Movie lens movie recommendation system
Movie lens movie recommendation systemMovie lens movie recommendation system
Movie lens movie recommendation system
 
Evaluation of subjective answers using glsa enhanced with contextual synonymy
Evaluation of subjective answers using glsa enhanced with contextual synonymyEvaluation of subjective answers using glsa enhanced with contextual synonymy
Evaluation of subjective answers using glsa enhanced with contextual synonymy
 
Marketing analytics - clustering Types
Marketing analytics - clustering TypesMarketing analytics - clustering Types
Marketing analytics - clustering Types
 
Cluster Analysis
Cluster Analysis Cluster Analysis
Cluster Analysis
 
Context-Aware Recommender System Based on Boolean Matrix Factorisation
Context-Aware Recommender System Based on Boolean Matrix FactorisationContext-Aware Recommender System Based on Boolean Matrix Factorisation
Context-Aware Recommender System Based on Boolean Matrix Factorisation
 
Mangai
MangaiMangai
Mangai
 
Clustering
ClusteringClustering
Clustering
 
K means clustering
K means clusteringK means clustering
K means clustering
 
Cluster Analysis
Cluster Analysis Cluster Analysis
Cluster Analysis
 

Viewers also liked

[SAC2014]Splitting Approaches for Context-Aware Recommendation: An Empirical ...
[SAC2014]Splitting Approaches for Context-Aware Recommendation: An Empirical ...[SAC2014]Splitting Approaches for Context-Aware Recommendation: An Empirical ...
[SAC2014]Splitting Approaches for Context-Aware Recommendation: An Empirical ...
YONG ZHENG
 

Viewers also liked (9)

[WI 2017] Context Suggestion: Empirical Evaluations vs User Studies
[WI 2017] Context Suggestion: Empirical Evaluations vs User Studies[WI 2017] Context Suggestion: Empirical Evaluations vs User Studies
[WI 2017] Context Suggestion: Empirical Evaluations vs User Studies
 
[IUI 2017] Criteria Chains: A Novel Multi-Criteria Recommendation Approach
[IUI 2017] Criteria Chains: A Novel Multi-Criteria Recommendation Approach[IUI 2017] Criteria Chains: A Novel Multi-Criteria Recommendation Approach
[IUI 2017] Criteria Chains: A Novel Multi-Criteria Recommendation Approach
 
[SAC2014]Splitting Approaches for Context-Aware Recommendation: An Empirical ...
[SAC2014]Splitting Approaches for Context-Aware Recommendation: An Empirical ...[SAC2014]Splitting Approaches for Context-Aware Recommendation: An Empirical ...
[SAC2014]Splitting Approaches for Context-Aware Recommendation: An Empirical ...
 
[ADMA 2017] Identification of Grey Sheep Users By Histogram Intersection In R...
[ADMA 2017] Identification of Grey Sheep Users By Histogram Intersection In R...[ADMA 2017] Identification of Grey Sheep Users By Histogram Intersection In R...
[ADMA 2017] Identification of Grey Sheep Users By Histogram Intersection In R...
 
[WI 2017] Affective Prediction By Collaborative Chains In Movie Recommendation
[WI 2017] Affective Prediction By Collaborative Chains In Movie Recommendation[WI 2017] Affective Prediction By Collaborative Chains In Movie Recommendation
[WI 2017] Affective Prediction By Collaborative Chains In Movie Recommendation
 
Tutorial: Context In Recommender Systems
Tutorial: Context In Recommender SystemsTutorial: Context In Recommender Systems
Tutorial: Context In Recommender Systems
 
[RIIT 2017] Identifying Grey Sheep Users By The Distribution of User Similari...
[RIIT 2017] Identifying Grey Sheep Users By The Distribution of User Similari...[RIIT 2017] Identifying Grey Sheep Users By The Distribution of User Similari...
[RIIT 2017] Identifying Grey Sheep Users By The Distribution of User Similari...
 
Tutorial: Context-awareness In Information Retrieval and Recommender Systems
Tutorial: Context-awareness In Information Retrieval and Recommender SystemsTutorial: Context-awareness In Information Retrieval and Recommender Systems
Tutorial: Context-awareness In Information Retrieval and Recommender Systems
 
Matrix Factorization In Recommender Systems
Matrix Factorization In Recommender SystemsMatrix Factorization In Recommender Systems
Matrix Factorization In Recommender Systems
 

Similar to [UMAP 2015] Integrating Context Similarity with Sparse Linear Recommendation Model

Pak eko 4412ijdms01
Pak eko 4412ijdms01Pak eko 4412ijdms01
Pak eko 4412ijdms01
hyuviridvic
 
Advanced Strategies for Analysis of Metabolomic Data
Advanced Strategies for Analysis of Metabolomic DataAdvanced Strategies for Analysis of Metabolomic Data
Advanced Strategies for Analysis of Metabolomic Data
Dmitry Grapov
 
Survey on Supervised Method for Face Image Retrieval Based on Euclidean Dist...
Survey on Supervised Method for Face Image Retrieval  Based on Euclidean Dist...Survey on Supervised Method for Face Image Retrieval  Based on Euclidean Dist...
Survey on Supervised Method for Face Image Retrieval Based on Euclidean Dist...
Editor IJCATR
 

Similar to [UMAP 2015] Integrating Context Similarity with Sparse Linear Recommendation Model (20)

Modeling using gis
Modeling using gisModeling using gis
Modeling using gis
 
factorization methods
factorization methodsfactorization methods
factorization methods
 
GKumarAICS
GKumarAICSGKumarAICS
GKumarAICS
 
Www.cs.berkeley.edu kunal
Www.cs.berkeley.edu kunalWww.cs.berkeley.edu kunal
Www.cs.berkeley.edu kunal
 
Shibani Antonette_Augmenting pedagogic writing practice with CLAD.pdf
Shibani Antonette_Augmenting pedagogic writing practice with CLAD.pdfShibani Antonette_Augmenting pedagogic writing practice with CLAD.pdf
Shibani Antonette_Augmenting pedagogic writing practice with CLAD.pdf
 
Chounta@paws
Chounta@pawsChounta@paws
Chounta@paws
 
A new development in the hierarchical clustering of repertory grid data
A new development in the hierarchical clustering of repertory grid dataA new development in the hierarchical clustering of repertory grid data
A new development in the hierarchical clustering of repertory grid data
 
Pak eko 4412ijdms01
Pak eko 4412ijdms01Pak eko 4412ijdms01
Pak eko 4412ijdms01
 
2cee Master Cocomo20071
2cee Master Cocomo200712cee Master Cocomo20071
2cee Master Cocomo20071
 
Advanced strategies for Metabolomics Data Analysis
Advanced strategies for Metabolomics Data AnalysisAdvanced strategies for Metabolomics Data Analysis
Advanced strategies for Metabolomics Data Analysis
 
part-4-structural-equation-modelling-qr.pptx
part-4-structural-equation-modelling-qr.pptxpart-4-structural-equation-modelling-qr.pptx
part-4-structural-equation-modelling-qr.pptx
 
Doing observation and Data Analysis for Qualitative Research
Doing observation and Data Analysis for Qualitative ResearchDoing observation and Data Analysis for Qualitative Research
Doing observation and Data Analysis for Qualitative Research
 
Unit_4- Principles of AI explaining the importants of AI
Unit_4- Principles of AI explaining the importants of AIUnit_4- Principles of AI explaining the importants of AI
Unit_4- Principles of AI explaining the importants of AI
 
Metrics for Evaluating Quality of Embeddings for Ontological Concepts
Metrics for Evaluating Quality of Embeddings for Ontological Concepts Metrics for Evaluating Quality of Embeddings for Ontological Concepts
Metrics for Evaluating Quality of Embeddings for Ontological Concepts
 
Terms for smartPLS.pptx
Terms for smartPLS.pptxTerms for smartPLS.pptx
Terms for smartPLS.pptx
 
[SOCRS2013]Differential Context Modeling in Collaborative Filtering
[SOCRS2013]Differential Context Modeling in Collaborative Filtering[SOCRS2013]Differential Context Modeling in Collaborative Filtering
[SOCRS2013]Differential Context Modeling in Collaborative Filtering
 
Bengkel smartPLS 2011
Bengkel smartPLS 2011Bengkel smartPLS 2011
Bengkel smartPLS 2011
 
Advanced Strategies for Analysis of Metabolomic Data
Advanced Strategies for Analysis of Metabolomic DataAdvanced Strategies for Analysis of Metabolomic Data
Advanced Strategies for Analysis of Metabolomic Data
 
Abstractive Review Summarization
Abstractive Review SummarizationAbstractive Review Summarization
Abstractive Review Summarization
 
Survey on Supervised Method for Face Image Retrieval Based on Euclidean Dist...
Survey on Supervised Method for Face Image Retrieval  Based on Euclidean Dist...Survey on Supervised Method for Face Image Retrieval  Based on Euclidean Dist...
Survey on Supervised Method for Face Image Retrieval Based on Euclidean Dist...
 

More from YONG ZHENG

[CARS2012@RecSys]Optimal Feature Selection for Context-Aware Recommendation u...
[CARS2012@RecSys]Optimal Feature Selection for Context-Aware Recommendation u...[CARS2012@RecSys]Optimal Feature Selection for Context-Aware Recommendation u...
[CARS2012@RecSys]Optimal Feature Selection for Context-Aware Recommendation u...
YONG ZHENG
 

More from YONG ZHENG (7)

[WI 2014]Context Recommendation Using Multi-label Classification
[WI 2014]Context Recommendation Using Multi-label Classification[WI 2014]Context Recommendation Using Multi-label Classification
[WI 2014]Context Recommendation Using Multi-label Classification
 
[UMAP2013]Tutorial on Context-Aware User Modeling for Recommendation by Bamsh...
[UMAP2013]Tutorial on Context-Aware User Modeling for Recommendation by Bamsh...[UMAP2013]Tutorial on Context-Aware User Modeling for Recommendation by Bamsh...
[UMAP2013]Tutorial on Context-Aware User Modeling for Recommendation by Bamsh...
 
[UMAP2013] Recommendation with Differential Context Weighting
[UMAP2013] Recommendation with Differential Context Weighting[UMAP2013] Recommendation with Differential Context Weighting
[UMAP2013] Recommendation with Differential Context Weighting
 
A manual for Ph.D dissertation
A manual for Ph.D dissertationA manual for Ph.D dissertation
A manual for Ph.D dissertation
 
Attention flow by tagging prediction
Attention flow by tagging predictionAttention flow by tagging prediction
Attention flow by tagging prediction
 
[CARS2012@RecSys]Optimal Feature Selection for Context-Aware Recommendation u...
[CARS2012@RecSys]Optimal Feature Selection for Context-Aware Recommendation u...[CARS2012@RecSys]Optimal Feature Selection for Context-Aware Recommendation u...
[CARS2012@RecSys]Optimal Feature Selection for Context-Aware Recommendation u...
 
[HetRec2011@RecSys]Experience Discovery: Hybrid Recommendation of Student Act...
[HetRec2011@RecSys]Experience Discovery: Hybrid Recommendation of Student Act...[HetRec2011@RecSys]Experience Discovery: Hybrid Recommendation of Student Act...
[HetRec2011@RecSys]Experience Discovery: Hybrid Recommendation of Student Act...
 

Recently uploaded

Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Dr.Costas Sachpazis
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Christo Ananth
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 

Recently uploaded (20)

Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
 
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank  Design by Working Stress - IS Method.pdfIntze Overhead Water Tank  Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
 
Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...
 
Vivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design SpainVivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design Spain
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
 
Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
Glass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesGlass Ceramics: Processing and Properties
Glass Ceramics: Processing and Properties
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELLPVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineering
 

[UMAP 2015] Integrating Context Similarity with Sparse Linear Recommendation Model

  • 1. Integrating Context Similarity with Sparse Linear Recommendation Model Yong Zheng, Bamshad Mobasher, Robin Burke Center for Web Intelligence, DePaul University, Chicago, USA The 23rd Conference on User Modeling, Adaptation and Personalization, Dublin, Ireland, June 29 – July 3, 2015 (UMAP 2015)
  • 2. Agenda • RecSys and Context-aware RecSys • Contextual Modeling • SLIM and Contextual SLIM • Modeling Context Similarity • Experimental Evaluations • Conclusions and Future Work
  • 3. Agenda • RecSys and Context-aware RecSys • Contextual Modeling • SLIM and Contextual SLIM • Modeling Context Similarity • Experimental Evaluations • Conclusions and Future Work
  • 4. RecSys and Context-aware RecSys • Recommender Systems (RS) The data is usually a 2D rating matrix: User × Item ―> Ratings Task-1: Rating Predictions for <user, item> pair Task-2: Top-N Recommendations for a specific user, i.e., provide a list of ranked items to the user
  • 5. • Context-aware RecSys (CARS) Context dimension: the variable, e.g., time, location, companion Context condition: values in dimension, e.g., weekend and weekday Context situation: a set of conditions, e.g., <weekend, home, sister> The data is represented in a multi-dimensional rating space. Task-1: Rating Predictions for <user, item, contexts> Task-2: Top-N Recommendations for a user in specific contexts, RecSys and Context-aware RecSys
  • 6. Agenda • RecSys and Context-aware RecSys • Contextual Modeling • SLIM and Contextual SLIM • Modeling Context Similarity • Experimental Evaluations • Conclusions and Future Work
  • 7. Contextual Recommendations • How to build CARS algorithms?
  • 8. Contextual Recommendations • Contextual Modeling There are usually two ways for contextual modeling: 1). Independent Contextual Modeling Tensor Factorization, ACM RecSys 2010 2). Dependent Contextual Modeling 2.1). Deviation-Based Modeling Context-aware Matrix Factorization, ACM RecSys 2011 Contextual Sparse Linear Method, ACM RecSys 2014 2.2). Similarity-Based Modeling The proposal in this paper, UMAP 2015
  • 9. Contextual Modeling • Independent Contextual Modeling Tensor Factorization (TF), ACM RecSys 2010 Assumption: context is independent with user/item dimension. But usually, there are dependencies involved.
  • 10. Contextual Modeling • Dependent Contextual Modeling Context-aware Matrix Factorization (CAMF), ACM RecSys 2011 Contextual Sparse Linear Method (CSLIM), ACM RecSys 2014 Global average rating User bias Item bias Matrix Factorization: CAMF: Item bias in contexts
  • 11. Contextual Modeling • Dependent Contextual Modeling Context-aware Matrix Factorization (CAMF), ACM RecSys 2011 Contextual Sparse Linear Method (CSLIM), ACM RecSys 2014 Those approaches are named as deviation-based modeling, since they tried to incorporate contextual rating deviations into recommendation algorithms by modeling dependencies or correlations between contexts and user/item dimensions. Any other alternatives? How about the dependencies or correlations among contexts? We name this approach of context modeling as similarity-based modeling.
  • 12. Agenda • RecSys and Context-aware RecSys • Contextual Modeling • SLIM and Contextual SLIM • Modeling Context Similarity • Experimental Evaluations • Conclusions and Future Work
  • 13. SLIM and Contextual SLIM • Why SLIM SLIM = Sparse Linear Method, which is an effective top-N recommendation algorithm in traditional RS. In this paper, we choose SLIM as the base algorithm, and introduce how to build contextual SLIM algorithms by incorporating context similarity. SLIM was demonstrated as the most effective top-N recommendation algorithms in previous work. Here, we focus on top-N contextual recommendation. Other algorithms, such as matrix factorization, can also be chosen as base algorithm.
  • 14. • SLIM in Traditional RecSys Matrix R = rating matrix; W = coefficient matrix SLIM aggregates users’ ratings by coefficients between items. It learns item coefficients by minimizing the ranking score. Sparse Linear Method (SLIM)
  • 15. • CSLIM in Context-aware RecSys P is multidimensional contextual rating space; W is item coefficient matrix; Matrix D estimates the rating deviation from one context to another. 1). By Deviation-Based Contextual Modeling, RecSys 2014, CIKM 2014 Contextual SLIM (CSLIM)
  • 16. • CSLIM in Context-aware RecSys Previous dependent contextual modeling approaches mainly focused on modeling the correlations between context and user/item dimensions, but ignore the correlation between contexts themselves; Context similarity = similarity between two contexts, measuring inner similarities or correlations between two contextual situations; We propose and believe that modeling context similarities is another important way to develop dependent contextual modeling approaches, rather than modeling contextual rating deviations!!! 2). By Similarity-Based Contextual Modeling, UMAP 2015 Contextual SLIM (CSLIM)
  • 17. • CSLIM in Context-aware RecSys Original SLIM: Deviation-Based CSLIM: Similarity-Based CSLIM: 2). By Similarity-Based Contextual Modeling, UMAP 2015 Deviation term Similarity term Contextual SLIM (CSLIM)
  • 18. Agenda • RecSys and Context-aware RecSys • Contextual Modeling • SLIM and Contextual SLIM • Modeling Context Similarity • Experimental Evaluations • Conclusions and Future Work
  • 19. Modeling Context Similarity • Context Similarity Context similarity can be obtained in the following ways: 1). Semantics But, it is hard to for <holiday, cinema> & <weekday, home>; Semantics is more useful for hierarchical or tree-based categorical data; 2). Calculation based on co-ratings in different contexts However, contextual rating data is usually sparse, which results in unreliable calculations for context similarity. 3). Learning methods Instead, we can learn the similarity directly by minimizing ranking errors. error = ranking score – predicted ranking score Minimizing this ranking error by gradient descent in CSLIM
  • 20. Modeling Context Similarity • Context Similarity Learning methods Instead, we can learn the similarity directly by minimizing ranking errors. error = ranking score – predicted ranking score Minimizing this ranking error by gradient descent in CSLIM However, the performance may directly depend on how we represent and model context similarity. In this paper, we discuss 4 modeling: 1). Independent Context Similarity (ICS) 2). Latent Context Similarity (LCS) 3). Weighted Jaccard Context Similarity (WJCS) 4). Multidimensional Context Similarity (MCS)
  • 21. Modeling Context Similarity • 1).Independent Context Similarity (ICS) Similarity-Based CSLIM: Independent Context Similarity (ICS) can be represented as follows: For example: Ck = {Time = Weekend, Location = Home}; Cm = {Time = Weekday, Location = Office} is: Similarity(Weekend, Weekday) × Similarity (Home, Office) Assumption: contextual variables are assumed as independent. What to be learnt: each individual similarity between two conditions;
  • 22. Modeling Context Similarity • 2).Latent Context Similarity (LCS) Similarity-Based CSLIM: Latent Context Similarity (LCS) is an improvement over ICS. For example: Ck = {Time = Weekend, Location = Home}; Cm = {Time = Weekday, Location = Office} is: Similarity(Weekend, Weekday) × Similarity (Home, Office) Each condition is represented by a vector; What to be learnt: the weights in vectors for each contextual condition. Training: <weekend, weekday> <weekday, holiday> Testing: <weekend, holiday> Context Sparsity
  • 23. Modeling Context Similarity • 3).Weighted Jaccard Context Similarity (WJCS) Weighted Jaccard Context Similarity refers to similarity between two strs. Assume those three context dimensions are equally weighted, w1 = w2 = w3 = 1. = # of matched dimensions / # of all dimensions = 2/3 What to be learnt: the weight for each context dimension. Similarity is measured by Weighted Jaccard similarity User Movie Time Location Companion Rating U1 Titanic Weekend Home Girlfriend 4 U2 Titanic Weekday Home Girlfriend 5 U3 Titanic Weekday Cinema Sister 4 U1 Titanic Weekday Home Sister ?
  • 24. Modeling Context Similarity • 4).Multidimensional Context Similarity (MCS) Similarity-Based CSLIM: Multidimensional context similarity utilizes the distance metric. (NA, Home, Weekday) (NA, Home, Weekday) (Kids, Home, NA) (Kids, Home, NA)
  • 25. Modeling Context Similarity • 4).Multidimensional Context Similarity (MCS) Similarity-Based CSLIM: Key points in MCS: 1). Each contextual variable is represented as an axis; 2). Each contextual condition is one position in corresponding axis; 3). Thus a contextual situation is mapped as a point in the space; 4). The distance between two points is viewed as dissimilarity; Any distance metric can be applied; here we use Euclidean distance. What to be learnt: the positions of each condition in axises.
  • 26. Modeling Context Similarity • Summary Similarity-Based CSLIM: What to be learnt in each context similarity model: ICS LCS The correlation (real value) for each individual pair of context conditions The vector representation (weights in factors) for each contextual condition WJCS MCS The weights for each context dimension. The positions (real values) for each contextual condition
  • 27. Agenda • RecSys and Context-aware RecSys • Contextual Modeling • SLIM and Contextual SLIM • Modeling Context Similarity • Experimental Evaluations • Conclusions and Future Work
  • 28. Experimental Evaluations • Data Sets Note: The number of context-aware data sets is really limited!! We use 5-folds cross validation for evaluation purposes. We use Precision and Mean Average Precision (MAP) as metrics: - Precision: measuring the hit ratio towards relevant items; - MAP: additional taking the rankings of items into account.
  • 29. Experimental Evaluations • Algorithms for Comparison 1). Baseline Algorithms CASA = Context-aware Splitting Approaches (a pre-filtering approach) TF = Tensor Factorization (independent contextual modeling) CAMF = Context-aware MF (dependent contextual modeling) Deviation Model = CSLIM using deviation-based contextual modeling 2). New Algorithms Four algorithms using different context similarity representations: Similarity-ICS Model, Similarity-LCS Model Similarity-WJCS Model, Similarity-MCS Model Note: all those models were built on SLIM.
  • 31. Experimental Evaluations • Summary of the results 1). Which algorithm is the best? Answer: Similarity-Based CSLIM using Multidimensional Context Similarity 2). Which one is better? Deviation or similarity-based modeling? Answer: we can always find a similarity-based contextual modeling outperforming the deviation-based modeling; but, the appropriate representation for context similarity should be selected. 3). Which representation is the best? Generally speaking, latent context similarity always outperforms independent context similarity; and multidimensional context similarity is the best choice. Weighted Jaccard context similarity shows non-stable recommendation performance in the experiments.
  • 32. Agenda • RecSys and Context-aware RecSys • Contextual Modeling • SLIM and Contextual SLIM • Modeling Context Similarity • Experimental Evaluations • Conclusions and Future Work
  • 33. Conclusions & Future Work • Conclusions  We propose a new way to build dependent contextual modeling – similarity- based contextual modeling;  We choose SLIM as the base algorithm and incorporate context similarity into SLIM to formulate new contextual SLIM algorithms;  We discuss different representations to model context similarity;  We demonstrated the advantages of similarity-based CSLIM by experimental evaluations over multiple context-aware data sets. • Future Work Multidimensional Context Similarity (MCS) is the best representation to model context similarity; but it increases computational costs at the same time. In our future work, we’d like to explore how to reduce the computational costs for MCS, e.g., reducing context dimensions, merging contextual conditions, etc.
  • 34. Conclusions & Future Work • Stay Tuned Context similarity can also be incorporated into matrix factorization.  Yong Zheng, Bamshad Mobasher, Robin Burke. "Incorporating Context Correlation Into Context-aware Matrix Factorization". Workshop on Intelligent Personalization @ IJCAI 2015  Yong Zheng, Bamshad Mobasher, Robin Burke. "Correlation-Based Context- aware Matrix Factorization". In DePaul CDM School of Computing Research Symposium, 2015 (Best Paper Award) • Survey: Context-aware Movie Ratings Welcome to fill out it: http://depaul.qualtrics.com/SE/?SID=SV_4TrIZbAnQtzaHsx Short URL: http://tinyurl.com/surveycars
  • 35. Integrating Context Similarity with Sparse Linear Recommendation Model Yong Zheng, Bamshad Mobasher, Robin Burke Center for Web Intelligence, DePaul University, Chicago, USA The 23rd Conference on User Modeling, Adaptation and Personalization, Dublin, Ireland, June 29 – July 3, 2015 (UMAP 2015)