SlideShare una empresa de Scribd logo
1 de 60
Descargar para leer sin conexión
Feature Specific Sentiment
Analysis of Reviews
Subhabrata Mukherjee and Pushpak Bhattacharyya
Dept. of Computer Science and Engineering,
IIT Bombay
13th International Conference on Intelligent Text Processing
and Computational Intelligence - CICLING 2012,
New Delhi, India, March, 2012
MOTIVATION CONTD…
 Sentiment Analysis is always with respect to a
particular entity or feature
 Feature may be implicit or explicit
 This work concerns explicit feature
MOTIVATION
I have an ipod and it is a great buy
but I'm probably the only person that
dislikes the iTunes software.
Here the sentiment w.r.t ipod is
positive whereas that respect to
software is negative
ENTITY AND FEATURES
 An entity may be analyzed from the point of
view of multiple features
 Entity – Titanic
 Features – Music, Direction, Plot etc.
 Given a sentence how to identify the set of
features ?
SCENARIO
 Each sentence can contain multiple features
and mixed opinions (positive and negative)
 Reviews mixed from various domains
 No prior information about set of features
except the target feature
MAIN FEATURES OF THE
ALGORITHM
 Does not require any prior information about
any domain
 Unsupervised – But need a small untagged
dataset to tune parameters
 Does not require any prior feature set
 Groups set of features into separate clusters
which need to be pruned or labeled
Opinion Extraction Hypothesis
 “More closely related words come
together to express an opinion
about a feature”
Hypothesis Example
 “I want to use Samsung which is a great
product but am not so sure about using
Nokia”.
 Here “great” and “product” are related by an adjective modifier
relation, “product” and “Samsung” are related by a relative
clause modifier relation. Thus “great” and “Samsung” are
transitively related.
 Here “great” and “product” are more related to Samsung
than they are to Nokia
 Hence “great” and “product” come together to express an
opinion about the entity “Samsung” than about the entity
“Nokia”
Hypothesis Example
 “I want to use Samsung which is a great
product but am not so sure about using
Nokia”.
 Here “great” and “product” are related by an adjective modifier
relation, “product” and “Samsung” are related by a relative
clause modifier relation. Thus “great” and “Samsung” are
transitively related.
 Here “great” and “product” are more related to Samsung
than they are to Nokia
 Hence “great” and “product” come together to express an
opinion about the entity “Samsung” than about the entity
“Nokia”
Hypothesis Example
 “I want to use Samsung which is a great
product but am not so sure about using
Nokia”.
 Here “great” and “product” are related by an adjective modifier
relation, “product” and “Samsung” are related by a relative
clause modifier relation. Thus “great” and “Samsung” are
transitively related.
 Here “great” and “product” are more related to Samsung
than they are to Nokia
 Hence “great” and “product” come together to express an
opinion about the entity “Samsung” than about the entity
“Nokia”
Hypothesis Example
 “I want to use Samsung which is a great
product but am not so sure about using
Nokia”.
 Here “great” and “product” are related by an adjective modifier
relation, “product” and “Samsung” are related by a relative
clause modifier relation. Thus “great” and “Samsung” are
transitively related.
 Here “great” and “product” are more related to Samsung
than they are to Nokia
 Hence “great” and “product” come together to express an
opinion about the entity “Samsung” than about the entity
“Nokia”
Hypothesis Example
 “I want to use Samsung which is a great
product but am not so sure about using
Nokia”.
 Here “great” and “product” are related by an adjective modifier
relation, “product” and “Samsung” are related by a relative
clause modifier relation. Thus “great” and “Samsung” are
transitively related.
 Here “great” and “product” are more related to Samsung
than they are to Nokia
 Hence “great” and “product” come together to express an
opinion about the entity “Samsung” than about the entity
“Nokia”
Adjective Modifier
Hypothesis Example
 “I want to use Samsung which is a great
product but am not so sure about using
Nokia”.
 Here “great” and “product” are related by an adjective modifier
relation, “product” and “Samsung” are related by a relative
clause modifier relation. Thus “great” and “Samsung” are
transitively related.
 Here “great” and “product” are more related to Samsung
than they are to Nokia
 Hence “great” and “product” come together to express an
opinion about the entity “Samsung” than about the entity
“Nokia”
Adjective Modifier
Hypothesis Example
 “I want to use Samsung which is a great
product but am not so sure about using
Nokia”.
 Here “great” and “product” are related by an adjective modifier
relation, “product” and “Samsung” are related by a relative
clause modifier relation. Thus “great” and “Samsung” are
transitively related.
 Here “great” and “product” are more related to Samsung
than they are to Nokia
 Hence “great” and “product” come together to express an
opinion about the entity “Samsung” than about the entity
“Nokia”
Adjective Modifier
Hypothesis Example
 “I want to use Samsung which is a great
product but am not so sure about using
Nokia”.
 Here “great” and “product” are related by an adjective modifier
relation, “product” and “Samsung” are related by a relative
clause modifier relation. Thus “great” and “Samsung” are
transitively related.
 Here “great” and “product” are more related to Samsung
than they are to Nokia
 Hence “great” and “product” come together to express an
opinion about the entity “Samsung” than about the entity
“Nokia”
Adjective Modifier
Relative Clause
Modifier
Example of a Review
 I have an ipod and it is a great buy but I'm
probably the only person that dislikes the
iTunes software.
Example of a Review
 I have an ipod and it is a great buy but I'm
probably the only person that dislikes the
iTunes software.
Example of a Review
 I have an ipod and it is a great buy but I'm
probably the only person that dislikes the
iTunes software.
Example of a Review
 I have an ipod and it is a great buy but I'm
probably the only person that dislikes the
iTunes software.
Example of a Review
 I have an ipod and it is a great buy but I'm
probably the only person that dislikes the
iTunes software.
Feature Extraction : Domain Info
Not Available








Feature Extraction : Domain Info
Not Available
 Initially, all the Nouns are treated as features and added to
the feature list F.







Feature Extraction : Domain Info
Not Available
 Initially, all the Nouns are treated as features and added to
the feature list F.
 F = { ipod, buy, person, software }






Feature Extraction : Domain Info
Not Available
 Initially, all the Nouns are treated as features and added to
the feature list F.
 F = { ipod, buy, person, software }
 Pruning the feature set
 Merge 2 features if they are strongly related




Feature Extraction : Domain Info
Not Available
 Initially, all the Nouns are treated as features and added to
the feature list F.
 F = { ipod, buy, person, software }
 Pruning the feature set
 Merge 2 features if they are strongly related
 “buy” merged with “ipod”, when target feature = “ipod”,
 “person, software” will be ignored.


Feature Extraction : Domain Info
Not Available
 Initially, all the Nouns are treated as features and added to
the feature list F.
 F = { ipod, buy, person, software }
 Pruning the feature set
 Merge 2 features if they are strongly related
 “buy” merged with “ipod”, when target feature = “ipod”,
 “person, software” will be ignored.
 “person” merged with “software”, when target feature =
“software”
 “ipod, buy” will be ignored.
Relations
 Direct Neighbor Relation
 Capture short range dependencies
 Any 2 consecutive words (such that none of them is a
StopWord) are directly related
 Consider a sentence S and 2 consecutive words .
 If , then they are directly related.
 Dependency Relation
 Capture long range dependencies
 Let Dependency_Relation be the list of significant
relations.
 Any 2 words wi and wj in S are directly related, if
s.t.
Graph representation
Graph
Algorithm
Algorithm Contd…
Algorithm Contd…
Clustering
7/23/2013
33
Clustering
7/23/2013
34
Clustering
7/23/2013
35
Clustering
7/23/2013
36
Clustering
7/23/2013
37
Clustering
7/23/2013
38
Clustering
7/23/2013
39
Clustering
7/23/2013
40
Clustering
7/23/2013
41
Evaluation – Dataset 1
 2500 sentences
 Varied domains like antivirus, camera, dvd, ipod,
music player, router, mobile
 Each sentence tagged with a feature and polarity
w.r.t the feature
 Acid Test
 Each Review has a mix of positive and negative
comments
Parameter Learning
 Dependency Parsing uses approx. 40 relations.
 Relation Space – (240 -1)
 Infeasible to probe the entire relation space.
 Fix relations certain to be significant
 nsubj, nsubjpass, dobj, amod, advmod, nn, neg
 Reject relations certain to be non-significant
Parameter Learning Contd…
 This leaves around 21 relations some of which
may not be signficant.
 Compute Leave-One-Relation out accuracy
over a training set.
 Find the relations for which there is significant
accuracy change.
Ablation test
Relations Accuracy (%)
All 63.5
Dep 67.3
Rcmod 65.4
xcomp, conj_and
ccomp, iobj
61.5
advcl, appos, csubj,
abbrev, infmod,
npavmod, rel, acomp,
agent, csubjpass,
partmod, pobj, purpcl,
xsubj
63.5
Ablation test
Relations Accuracy (%)
All 63.5
Dep 67.3
Rcmod 65.4
xcomp, conj_and
ccomp, iobj
61.5
advcl, appos, csubj,
abbrev, infmod,
npavmod, rel, acomp,
agent, csubjpass,
partmod, pobj, purpcl,
xsubj
63.5
Ablation test
Relations Accuracy (%)
All 63.5
Dep 67.3
Rcmod 65.4
xcomp, conj_and
ccomp, iobj
61.5
advcl, appos, csubj,
abbrev, infmod,
npavmod, rel, acomp,
agent, csubjpass,
partmod, pobj, purpcl,
xsubj
63.5
Significant Relations Contd…
 Leaving out dep improves accuracy most
Relation Set Accuracy
With Dep+Rcmod 66
Without Dep 69
Without Rcmod 67
Without
Dep+Rcmod
68
Significant Relations Contd…
 Leaving out dep improves accuracy most
Relation Set Accuracy
With Dep+Rcmod 66
Without Dep 69
Without Rcmod 67
Without
Dep+Rcmod
68
Inter cluster distance
Accuracy (%)
2 67.85
3 69.28
4 68.21
5 67.4
Inter cluster distance
Accuracy (%)
2 67.85
3 69.28
4 68.21
5 67.4
Lexicon based classification
Domain Baseline 1 (%) Baseline 2 (%) Proposed System (%)
Antivirus 50 56.82 63.63
Camera 1 50 61.67 78.33
Camera 2 50 61.76 70.58
Camera 3 51.67 53.33 60.00
Camera 4(Nikon) 52.38 57.14 78.57
DVD 52.21 63.23 66.18
IPOD 50 57.69 67.30
Mobile 1 51.16 61.63 66.28
Mobile 2 50.81 65.32 70.96
Music Player 1 50.30 57.62 64.37
Music Player 2 50 60.60 67.02
Router 1 50 58.33 61.67
Router 2 50 59.72 70.83
Lexicon based classification
Domain Baseline 1 (%) Baseline 2 (%) Proposed System (%)
Antivirus 50 56.82 63.63
Camera 1 50 61.67 78.33
Camera 2 50 61.76 70.58
Camera 3 51.67 53.33 60.00
Camera 4(Nikon) 52.38 57.14 78.57
DVD 52.21 63.23 66.18
IPOD 50 57.69 67.30
Mobile 1 51.16 61.63 66.28
Mobile 2 50.81 65.32 70.96
Music Player 1 50.30 57.62 64.37
Music Player 2 50 60.60 67.02
Router 1 50 58.33 61.67
Router 2 50 59.72 70.83
Overall accuracy
Method Average Accuracy(%)
Baseline 1 50.35
Baseline 2 58.93
Proposed System 70.00
Overall accuracy
Method Average Accuracy(%)
Baseline 1 50.35
Baseline 2 58.93
Proposed System 70.00
Evaluation – Dataset 2
 Extracted 500 sentences
 Varied domains like camera, laptop, mobile
 Each sentence tagged with a feature and
polarity w.r.t the feauture
“Exploiting Coherence for the Simultaneous Discovery of Latent Facets and associated Sentiments”
Results
Method Accuracy (%)
Baseline 1 68.75
Baseline 2 61.10
CFACTS-R 80.54
CFACTS 81.28
FACTS-R 72.25
FACTS 75.72
JST 76.18
Proposed System 80.98
Results
Method Accuracy (%)
Baseline 1 68.75
Baseline 2 61.10
CFACTS-R 80.54
CFACTS 81.28
FACTS-R 72.25
FACTS 75.72
JST 76.18
Proposed System 80.98
Results
Method Accuracy (%)
Baseline 1 68.75
Baseline 2 61.10
CFACTS-R 80.54
CFACTS 81.28
FACTS-R 72.25
FACTS 75.72
JST 76.18
Proposed System 80.98
CONCLUSIONS
 Incorporating feature specificity improves
sentiment accuracy.
 Dependency Relations capture long range
dependencies as is evident from accuracy
improvement.
 Work to be extended for implicit features and
domain dependent sentiment.

Más contenido relacionado

Destacado

Supervised Learning
Supervised LearningSupervised Learning
Supervised Learning
butest
 
Cs221 lecture5-fall11
Cs221 lecture5-fall11Cs221 lecture5-fall11
Cs221 lecture5-fall11
darwinrlo
 
Tutorial of Sentiment Analysis
Tutorial of Sentiment AnalysisTutorial of Sentiment Analysis
Tutorial of Sentiment Analysis
Fabio Benedetti
 
Sentiment analysis of tweets
Sentiment analysis of tweetsSentiment analysis of tweets
Sentiment analysis of tweets
Vasu Jain
 

Destacado (12)

Sentiment Analysis
Sentiment AnalysisSentiment Analysis
Sentiment Analysis
 
Introduction to text classification using naive bayes
Introduction to text classification using naive bayesIntroduction to text classification using naive bayes
Introduction to text classification using naive bayes
 
Supervised and unsupervised learning
Supervised and unsupervised learningSupervised and unsupervised learning
Supervised and unsupervised learning
 
Tweets Classification using Naive Bayes and SVM
Tweets Classification using Naive Bayes and SVMTweets Classification using Naive Bayes and SVM
Tweets Classification using Naive Bayes and SVM
 
Supervised Learning
Supervised LearningSupervised Learning
Supervised Learning
 
Presentation on supervised learning
Presentation on supervised learningPresentation on supervised learning
Presentation on supervised learning
 
Cs221 lecture5-fall11
Cs221 lecture5-fall11Cs221 lecture5-fall11
Cs221 lecture5-fall11
 
How Sentiment Analysis works
How Sentiment Analysis worksHow Sentiment Analysis works
How Sentiment Analysis works
 
Modeling Social Data, Lecture 6: Classification with Naive Bayes
Modeling Social Data, Lecture 6: Classification with Naive BayesModeling Social Data, Lecture 6: Classification with Naive Bayes
Modeling Social Data, Lecture 6: Classification with Naive Bayes
 
Tutorial of Sentiment Analysis
Tutorial of Sentiment AnalysisTutorial of Sentiment Analysis
Tutorial of Sentiment Analysis
 
Sentiment analysis of tweets
Sentiment analysis of tweetsSentiment analysis of tweets
Sentiment analysis of tweets
 
Opinion Mining Tutorial (Sentiment Analysis)
Opinion Mining Tutorial (Sentiment Analysis)Opinion Mining Tutorial (Sentiment Analysis)
Opinion Mining Tutorial (Sentiment Analysis)
 

Similar a Feature specific analysis of reviews

What Is Good Performance Isqlug Jan 2010
What Is Good Performance Isqlug Jan 2010What Is Good Performance Isqlug Jan 2010
What Is Good Performance Isqlug Jan 2010
sqlserver.co.il
 
M1gp Shimizu - Darwin phone
M1gp Shimizu - Darwin phoneM1gp Shimizu - Darwin phone
M1gp Shimizu - Darwin phone
Kazuto Shimizu
 
Contextual references
Contextual referencesContextual references
Contextual references
Wasim Zoro
 
"The Cutting Edge" - Palletways Business Club Presentation
"The Cutting Edge" - Palletways Business Club Presentation"The Cutting Edge" - Palletways Business Club Presentation
"The Cutting Edge" - Palletways Business Club Presentation
george_edwards
 
What have fruits to do with technology? The case of Orange, Blackberry and Apple
What have fruits to do with technology? The case of Orange, Blackberry and AppleWhat have fruits to do with technology? The case of Orange, Blackberry and Apple
What have fruits to do with technology? The case of Orange, Blackberry and Apple
PlanetData Network of Excellence
 

Similar a Feature specific analysis of reviews (20)

Adaptation of Sentiment Analysis to New Linguistic Features, Informal Languag...
Adaptation of Sentiment Analysis to New Linguistic Features, Informal Languag...Adaptation of Sentiment Analysis to New Linguistic Features, Informal Languag...
Adaptation of Sentiment Analysis to New Linguistic Features, Informal Languag...
 
TwiSent: A Multi-Stage System for Analyzing Sentiment in Twitter
TwiSent: A Multi-Stage System for Analyzing Sentiment in TwitterTwiSent: A Multi-Stage System for Analyzing Sentiment in Twitter
TwiSent: A Multi-Stage System for Analyzing Sentiment in Twitter
 
respect-estimates.pdf
respect-estimates.pdfrespect-estimates.pdf
respect-estimates.pdf
 
What Is Good Performance Isqlug Jan 2010
What Is Good Performance Isqlug Jan 2010What Is Good Performance Isqlug Jan 2010
What Is Good Performance Isqlug Jan 2010
 
Lean Engineering: Engineering for Learning & Experimentation in the Enterpris...
Lean Engineering: Engineering for Learning & Experimentation in the Enterpris...Lean Engineering: Engineering for Learning & Experimentation in the Enterpris...
Lean Engineering: Engineering for Learning & Experimentation in the Enterpris...
 
Progressive Web Apps - Techdays Finland
Progressive Web Apps - Techdays FinlandProgressive Web Apps - Techdays Finland
Progressive Web Apps - Techdays Finland
 
WEBASSEMBLY - What's the right thing to write? -
WEBASSEMBLY - What's the right thing to write? -WEBASSEMBLY - What's the right thing to write? -
WEBASSEMBLY - What's the right thing to write? -
 
Mobile App Feature Configuration and A/B Experiments
Mobile App Feature Configuration and A/B ExperimentsMobile App Feature Configuration and A/B Experiments
Mobile App Feature Configuration and A/B Experiments
 
The Ember.js Framework - Everything You Need To Know
The Ember.js Framework - Everything You Need To KnowThe Ember.js Framework - Everything You Need To Know
The Ember.js Framework - Everything You Need To Know
 
CSE_StyleGuide5
CSE_StyleGuide5CSE_StyleGuide5
CSE_StyleGuide5
 
Karlgren
KarlgrenKarlgren
Karlgren
 
Data Science Your Vacation
Data Science Your VacationData Science Your Vacation
Data Science Your Vacation
 
M1gp Shimizu - Darwin phone
M1gp Shimizu - Darwin phoneM1gp Shimizu - Darwin phone
M1gp Shimizu - Darwin phone
 
A plumber's guide to SaaS
A plumber's guide to SaaSA plumber's guide to SaaS
A plumber's guide to SaaS
 
Contextual references
Contextual referencesContextual references
Contextual references
 
Smartphone security and privacy: you're doing it wrong
Smartphone security and privacy: you're doing it wrongSmartphone security and privacy: you're doing it wrong
Smartphone security and privacy: you're doing it wrong
 
Sentiment analysis and opinion mining
Sentiment analysis and opinion miningSentiment analysis and opinion mining
Sentiment analysis and opinion mining
 
Special Topics: Data Provenance (Transcript)
Special Topics: Data Provenance (Transcript)Special Topics: Data Provenance (Transcript)
Special Topics: Data Provenance (Transcript)
 
"The Cutting Edge" - Palletways Business Club Presentation
"The Cutting Edge" - Palletways Business Club Presentation"The Cutting Edge" - Palletways Business Club Presentation
"The Cutting Edge" - Palletways Business Club Presentation
 
What have fruits to do with technology? The case of Orange, Blackberry and Apple
What have fruits to do with technology? The case of Orange, Blackberry and AppleWhat have fruits to do with technology? The case of Orange, Blackberry and Apple
What have fruits to do with technology? The case of Orange, Blackberry and Apple
 

Más de Subhabrata Mukherjee

Probabilistic Graphical Models for Credibility Analysis in Evolving Online Co...
Probabilistic Graphical Models for Credibility Analysis in Evolving Online Co...Probabilistic Graphical Models for Credibility Analysis in Evolving Online Co...
Probabilistic Graphical Models for Credibility Analysis in Evolving Online Co...
Subhabrata Mukherjee
 

Más de Subhabrata Mukherjee (16)

XtremeDistil: Multi-stage Distillation for Massive Multilingual Models
XtremeDistil: Multi-stage Distillation for Massive Multilingual ModelsXtremeDistil: Multi-stage Distillation for Massive Multilingual Models
XtremeDistil: Multi-stage Distillation for Massive Multilingual Models
 
Probabilistic Graphical Models for Credibility Analysis in Evolving Online Co...
Probabilistic Graphical Models for Credibility Analysis in Evolving Online Co...Probabilistic Graphical Models for Credibility Analysis in Evolving Online Co...
Probabilistic Graphical Models for Credibility Analysis in Evolving Online Co...
 
Fact Checking from Text
Fact Checking from TextFact Checking from Text
Fact Checking from Text
 
OpenTag: Open Attribute Value Extraction From Product Profiles
OpenTag: Open Attribute Value Extraction From Product ProfilesOpenTag: Open Attribute Value Extraction From Product Profiles
OpenTag: Open Attribute Value Extraction From Product Profiles
 
Probabilistic Graphical Models for Credibility Analysis in Evolving Online Co...
Probabilistic Graphical Models for Credibility Analysis in Evolving Online Co...Probabilistic Graphical Models for Credibility Analysis in Evolving Online Co...
Probabilistic Graphical Models for Credibility Analysis in Evolving Online Co...
 
Continuous Experience-aware Language Model
Continuous Experience-aware Language ModelContinuous Experience-aware Language Model
Continuous Experience-aware Language Model
 
Experience aware Item Recommendation in Evolving Review Communities
Experience aware Item Recommendation in Evolving Review CommunitiesExperience aware Item Recommendation in Evolving Review Communities
Experience aware Item Recommendation in Evolving Review Communities
 
Domain Cartridge: Unsupervised Framework for Shallow Domain Ontology Construc...
Domain Cartridge: Unsupervised Framework for Shallow Domain Ontology Construc...Domain Cartridge: Unsupervised Framework for Shallow Domain Ontology Construc...
Domain Cartridge: Unsupervised Framework for Shallow Domain Ontology Construc...
 
Leveraging Joint Interactions for Credibility Analysis in News Communities
Leveraging Joint Interactions for Credibility Analysis in News CommunitiesLeveraging Joint Interactions for Credibility Analysis in News Communities
Leveraging Joint Interactions for Credibility Analysis in News Communities
 
People on Drugs: Credibility of User Statements in Health Forums
People on Drugs: Credibility of User Statements in Health ForumsPeople on Drugs: Credibility of User Statements in Health Forums
People on Drugs: Credibility of User Statements in Health Forums
 
Author-Specific Hierarchical Sentiment Aggregation for Rating Prediction of R...
Author-Specific Hierarchical Sentiment Aggregation for Rating Prediction of R...Author-Specific Hierarchical Sentiment Aggregation for Rating Prediction of R...
Author-Specific Hierarchical Sentiment Aggregation for Rating Prediction of R...
 
Joint Author Sentiment Topic Model
Joint Author Sentiment Topic ModelJoint Author Sentiment Topic Model
Joint Author Sentiment Topic Model
 
Leveraging Sentiment to Compute Word Similarity
Leveraging Sentiment to Compute Word SimilarityLeveraging Sentiment to Compute Word Similarity
Leveraging Sentiment to Compute Word Similarity
 
WikiSent : Weakly Supervised Sentiment Analysis Through Extractive Summarizat...
WikiSent : Weakly Supervised Sentiment Analysis Through Extractive Summarizat...WikiSent : Weakly Supervised Sentiment Analysis Through Extractive Summarizat...
WikiSent : Weakly Supervised Sentiment Analysis Through Extractive Summarizat...
 
YouCat : Weakly Supervised Youtube Video Categorization System from Meta Data...
YouCat : Weakly Supervised Youtube Video Categorization System from Meta Data...YouCat : Weakly Supervised Youtube Video Categorization System from Meta Data...
YouCat : Weakly Supervised Youtube Video Categorization System from Meta Data...
 
Sentiment Analysis in Twitter with Lightweight Discourse Analysis
Sentiment Analysis in Twitter with Lightweight Discourse AnalysisSentiment Analysis in Twitter with Lightweight Discourse Analysis
Sentiment Analysis in Twitter with Lightweight Discourse Analysis
 

Último

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 

Último (20)

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
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
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
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
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
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 

Feature specific analysis of reviews

  • 1. Feature Specific Sentiment Analysis of Reviews Subhabrata Mukherjee and Pushpak Bhattacharyya Dept. of Computer Science and Engineering, IIT Bombay 13th International Conference on Intelligent Text Processing and Computational Intelligence - CICLING 2012, New Delhi, India, March, 2012
  • 2. MOTIVATION CONTD…  Sentiment Analysis is always with respect to a particular entity or feature  Feature may be implicit or explicit  This work concerns explicit feature
  • 3. MOTIVATION I have an ipod and it is a great buy but I'm probably the only person that dislikes the iTunes software. Here the sentiment w.r.t ipod is positive whereas that respect to software is negative
  • 4. ENTITY AND FEATURES  An entity may be analyzed from the point of view of multiple features  Entity – Titanic  Features – Music, Direction, Plot etc.  Given a sentence how to identify the set of features ?
  • 5. SCENARIO  Each sentence can contain multiple features and mixed opinions (positive and negative)  Reviews mixed from various domains  No prior information about set of features except the target feature
  • 6. MAIN FEATURES OF THE ALGORITHM  Does not require any prior information about any domain  Unsupervised – But need a small untagged dataset to tune parameters  Does not require any prior feature set  Groups set of features into separate clusters which need to be pruned or labeled
  • 7. Opinion Extraction Hypothesis  “More closely related words come together to express an opinion about a feature”
  • 8. Hypothesis Example  “I want to use Samsung which is a great product but am not so sure about using Nokia”.  Here “great” and “product” are related by an adjective modifier relation, “product” and “Samsung” are related by a relative clause modifier relation. Thus “great” and “Samsung” are transitively related.  Here “great” and “product” are more related to Samsung than they are to Nokia  Hence “great” and “product” come together to express an opinion about the entity “Samsung” than about the entity “Nokia”
  • 9. Hypothesis Example  “I want to use Samsung which is a great product but am not so sure about using Nokia”.  Here “great” and “product” are related by an adjective modifier relation, “product” and “Samsung” are related by a relative clause modifier relation. Thus “great” and “Samsung” are transitively related.  Here “great” and “product” are more related to Samsung than they are to Nokia  Hence “great” and “product” come together to express an opinion about the entity “Samsung” than about the entity “Nokia”
  • 10. Hypothesis Example  “I want to use Samsung which is a great product but am not so sure about using Nokia”.  Here “great” and “product” are related by an adjective modifier relation, “product” and “Samsung” are related by a relative clause modifier relation. Thus “great” and “Samsung” are transitively related.  Here “great” and “product” are more related to Samsung than they are to Nokia  Hence “great” and “product” come together to express an opinion about the entity “Samsung” than about the entity “Nokia”
  • 11. Hypothesis Example  “I want to use Samsung which is a great product but am not so sure about using Nokia”.  Here “great” and “product” are related by an adjective modifier relation, “product” and “Samsung” are related by a relative clause modifier relation. Thus “great” and “Samsung” are transitively related.  Here “great” and “product” are more related to Samsung than they are to Nokia  Hence “great” and “product” come together to express an opinion about the entity “Samsung” than about the entity “Nokia”
  • 12. Hypothesis Example  “I want to use Samsung which is a great product but am not so sure about using Nokia”.  Here “great” and “product” are related by an adjective modifier relation, “product” and “Samsung” are related by a relative clause modifier relation. Thus “great” and “Samsung” are transitively related.  Here “great” and “product” are more related to Samsung than they are to Nokia  Hence “great” and “product” come together to express an opinion about the entity “Samsung” than about the entity “Nokia” Adjective Modifier
  • 13. Hypothesis Example  “I want to use Samsung which is a great product but am not so sure about using Nokia”.  Here “great” and “product” are related by an adjective modifier relation, “product” and “Samsung” are related by a relative clause modifier relation. Thus “great” and “Samsung” are transitively related.  Here “great” and “product” are more related to Samsung than they are to Nokia  Hence “great” and “product” come together to express an opinion about the entity “Samsung” than about the entity “Nokia” Adjective Modifier
  • 14. Hypothesis Example  “I want to use Samsung which is a great product but am not so sure about using Nokia”.  Here “great” and “product” are related by an adjective modifier relation, “product” and “Samsung” are related by a relative clause modifier relation. Thus “great” and “Samsung” are transitively related.  Here “great” and “product” are more related to Samsung than they are to Nokia  Hence “great” and “product” come together to express an opinion about the entity “Samsung” than about the entity “Nokia” Adjective Modifier
  • 15. Hypothesis Example  “I want to use Samsung which is a great product but am not so sure about using Nokia”.  Here “great” and “product” are related by an adjective modifier relation, “product” and “Samsung” are related by a relative clause modifier relation. Thus “great” and “Samsung” are transitively related.  Here “great” and “product” are more related to Samsung than they are to Nokia  Hence “great” and “product” come together to express an opinion about the entity “Samsung” than about the entity “Nokia” Adjective Modifier Relative Clause Modifier
  • 16. Example of a Review  I have an ipod and it is a great buy but I'm probably the only person that dislikes the iTunes software.
  • 17. Example of a Review  I have an ipod and it is a great buy but I'm probably the only person that dislikes the iTunes software.
  • 18. Example of a Review  I have an ipod and it is a great buy but I'm probably the only person that dislikes the iTunes software.
  • 19. Example of a Review  I have an ipod and it is a great buy but I'm probably the only person that dislikes the iTunes software.
  • 20. Example of a Review  I have an ipod and it is a great buy but I'm probably the only person that dislikes the iTunes software.
  • 21. Feature Extraction : Domain Info Not Available        
  • 22. Feature Extraction : Domain Info Not Available  Initially, all the Nouns are treated as features and added to the feature list F.       
  • 23. Feature Extraction : Domain Info Not Available  Initially, all the Nouns are treated as features and added to the feature list F.  F = { ipod, buy, person, software }      
  • 24. Feature Extraction : Domain Info Not Available  Initially, all the Nouns are treated as features and added to the feature list F.  F = { ipod, buy, person, software }  Pruning the feature set  Merge 2 features if they are strongly related    
  • 25. Feature Extraction : Domain Info Not Available  Initially, all the Nouns are treated as features and added to the feature list F.  F = { ipod, buy, person, software }  Pruning the feature set  Merge 2 features if they are strongly related  “buy” merged with “ipod”, when target feature = “ipod”,  “person, software” will be ignored.  
  • 26. Feature Extraction : Domain Info Not Available  Initially, all the Nouns are treated as features and added to the feature list F.  F = { ipod, buy, person, software }  Pruning the feature set  Merge 2 features if they are strongly related  “buy” merged with “ipod”, when target feature = “ipod”,  “person, software” will be ignored.  “person” merged with “software”, when target feature = “software”  “ipod, buy” will be ignored.
  • 27. Relations  Direct Neighbor Relation  Capture short range dependencies  Any 2 consecutive words (such that none of them is a StopWord) are directly related  Consider a sentence S and 2 consecutive words .  If , then they are directly related.  Dependency Relation  Capture long range dependencies  Let Dependency_Relation be the list of significant relations.  Any 2 words wi and wj in S are directly related, if s.t.
  • 29. Graph
  • 42. Evaluation – Dataset 1  2500 sentences  Varied domains like antivirus, camera, dvd, ipod, music player, router, mobile  Each sentence tagged with a feature and polarity w.r.t the feature  Acid Test  Each Review has a mix of positive and negative comments
  • 43. Parameter Learning  Dependency Parsing uses approx. 40 relations.  Relation Space – (240 -1)  Infeasible to probe the entire relation space.  Fix relations certain to be significant  nsubj, nsubjpass, dobj, amod, advmod, nn, neg  Reject relations certain to be non-significant
  • 44. Parameter Learning Contd…  This leaves around 21 relations some of which may not be signficant.  Compute Leave-One-Relation out accuracy over a training set.  Find the relations for which there is significant accuracy change.
  • 45. Ablation test Relations Accuracy (%) All 63.5 Dep 67.3 Rcmod 65.4 xcomp, conj_and ccomp, iobj 61.5 advcl, appos, csubj, abbrev, infmod, npavmod, rel, acomp, agent, csubjpass, partmod, pobj, purpcl, xsubj 63.5
  • 46. Ablation test Relations Accuracy (%) All 63.5 Dep 67.3 Rcmod 65.4 xcomp, conj_and ccomp, iobj 61.5 advcl, appos, csubj, abbrev, infmod, npavmod, rel, acomp, agent, csubjpass, partmod, pobj, purpcl, xsubj 63.5
  • 47. Ablation test Relations Accuracy (%) All 63.5 Dep 67.3 Rcmod 65.4 xcomp, conj_and ccomp, iobj 61.5 advcl, appos, csubj, abbrev, infmod, npavmod, rel, acomp, agent, csubjpass, partmod, pobj, purpcl, xsubj 63.5
  • 48. Significant Relations Contd…  Leaving out dep improves accuracy most Relation Set Accuracy With Dep+Rcmod 66 Without Dep 69 Without Rcmod 67 Without Dep+Rcmod 68
  • 49. Significant Relations Contd…  Leaving out dep improves accuracy most Relation Set Accuracy With Dep+Rcmod 66 Without Dep 69 Without Rcmod 67 Without Dep+Rcmod 68
  • 50. Inter cluster distance Accuracy (%) 2 67.85 3 69.28 4 68.21 5 67.4
  • 51. Inter cluster distance Accuracy (%) 2 67.85 3 69.28 4 68.21 5 67.4
  • 52. Lexicon based classification Domain Baseline 1 (%) Baseline 2 (%) Proposed System (%) Antivirus 50 56.82 63.63 Camera 1 50 61.67 78.33 Camera 2 50 61.76 70.58 Camera 3 51.67 53.33 60.00 Camera 4(Nikon) 52.38 57.14 78.57 DVD 52.21 63.23 66.18 IPOD 50 57.69 67.30 Mobile 1 51.16 61.63 66.28 Mobile 2 50.81 65.32 70.96 Music Player 1 50.30 57.62 64.37 Music Player 2 50 60.60 67.02 Router 1 50 58.33 61.67 Router 2 50 59.72 70.83
  • 53. Lexicon based classification Domain Baseline 1 (%) Baseline 2 (%) Proposed System (%) Antivirus 50 56.82 63.63 Camera 1 50 61.67 78.33 Camera 2 50 61.76 70.58 Camera 3 51.67 53.33 60.00 Camera 4(Nikon) 52.38 57.14 78.57 DVD 52.21 63.23 66.18 IPOD 50 57.69 67.30 Mobile 1 51.16 61.63 66.28 Mobile 2 50.81 65.32 70.96 Music Player 1 50.30 57.62 64.37 Music Player 2 50 60.60 67.02 Router 1 50 58.33 61.67 Router 2 50 59.72 70.83
  • 54. Overall accuracy Method Average Accuracy(%) Baseline 1 50.35 Baseline 2 58.93 Proposed System 70.00
  • 55. Overall accuracy Method Average Accuracy(%) Baseline 1 50.35 Baseline 2 58.93 Proposed System 70.00
  • 56. Evaluation – Dataset 2  Extracted 500 sentences  Varied domains like camera, laptop, mobile  Each sentence tagged with a feature and polarity w.r.t the feauture “Exploiting Coherence for the Simultaneous Discovery of Latent Facets and associated Sentiments”
  • 57. Results Method Accuracy (%) Baseline 1 68.75 Baseline 2 61.10 CFACTS-R 80.54 CFACTS 81.28 FACTS-R 72.25 FACTS 75.72 JST 76.18 Proposed System 80.98
  • 58. Results Method Accuracy (%) Baseline 1 68.75 Baseline 2 61.10 CFACTS-R 80.54 CFACTS 81.28 FACTS-R 72.25 FACTS 75.72 JST 76.18 Proposed System 80.98
  • 59. Results Method Accuracy (%) Baseline 1 68.75 Baseline 2 61.10 CFACTS-R 80.54 CFACTS 81.28 FACTS-R 72.25 FACTS 75.72 JST 76.18 Proposed System 80.98
  • 60. CONCLUSIONS  Incorporating feature specificity improves sentiment accuracy.  Dependency Relations capture long range dependencies as is evident from accuracy improvement.  Work to be extended for implicit features and domain dependent sentiment.