Content Models with Attitude
Christina Sauper, Aria Haghighi, Regina Barzilay MIT
1
Content Models with Attitude Christina Sauper, Aria Haghighi, Regina - - PowerPoint PPT Presentation
Content Models with Attitude Christina Sauper, Aria Haghighi, Regina Barzilay MIT 1 Review Aggregation Hundreds of reviews for each product Opinions vary widely Need aggregate statistics Histograms show sentiment distribution,
1
→ Need aggregate statistics
2
(e.g., Snyder and Barzilay 2007)
3
4
We had a great time last night at this restaurant. The sushi was so incredibly fresh. We had a bad experience at the bar, though. My chocolate martini was absolutely terrible. We will be back, but we’ll skip the drinks. Wow, I can’t believe how much this place has changed! They used to be mediocre, but now they never fail to amaze. We started off at the bar with awesome sake
fantastic. I have such mixed things to say about this
hand, their sushi is unquestionably the best in the city. On the other, the atmosphere isn’t that great. Plus, their drinks are completely watered down.
We had a great time last night at this restaurant. The sushi was so incredibly fresh. We had a bad experience at the bar, though. My chocolate martini was absolutely terrible. We will be back, but we’ll skip the drinks. Wow, I can’t believe how much this place has changed! They used to be mediocre, but now they never fail to amaze. We started off at the bar with awesome sake
fantastic. I have such mixed things to say about this
hand, their sushi is unquestionably the best in the city. On the other, the atmosphere isn’t that great. Plus, their drinks are completely watered down.
Sushi Chicken 100% positive 33% positive
Japanese Restaurant
Relevant aspects User sentiment
5
We had a great time last night at this
was so incredibly fresh. We had a bad experience at the bar,
martini was absolutely
back, but we’ll skip the drinks. Wow, I can’t believe how much this place has changed! They used to be mediocre, but now they never fail to amaze. We started
awesome sake bombs. When we got to our table, the sushi was fantastic. I have such mixed things to say about this
hand, their sushi is unquestionably the best in the city. On the
isn’t that great. Plus, their drinks are completely watered down.
Bakery
We had a great time last night at this
was so incredibly fresh. We had a bad experience at the bar,
martini was absolutely
back, but we’ll skip the drinks. Wow, I can’t believe how much this place has changed! They used to be mediocre, but now they never fail to amaze. We started
awesome sake bombs. When we got to our table, the sushi was fantastic. I have such mixed things to say about this
hand, their sushi is unquestionably the best in the city. On the
isn’t that great. Plus, their drinks are completely watered down.
Japanese Restaurant
6
What’s the best/worst aspect of this product?
I buy all of my baked goods from this
so delicious! It’s also good for all kinds of baked goods. They also have some truly beautiful cakes
cookies are great! I picked up a birthday cake for my son here
most amazing cake I’ve ever seen! The decorations were
the kids loved the chocolate icing. I’ll definitely come back! This place is nice for some baked goods, but some things are really nasty. The loaf
stale! They were happy to take it back and give me another, but I’ll be watching next time.
Bakery
…truly beautiful cakes on display. …most amazing cake I’ve ever seen!
7
What’s the best/worst aspect of this product?
What aspects do people disagree about?
I buy all of my baked goods from this
so delicious! It’s also good for all kinds of baked goods. They also have some truly beautiful cakes
cookies are great! I picked up a birthday cake for my son here
most amazing cake I’ve ever seen! The decorations were
the kids loved the chocolate icing. I’ll definitely come back! This place is nice for some baked goods, but some things are really nasty. The loaf
stale! They were happy to take it back and give me another, but I’ll be watching next time.
Bakery
Their bread is so delicious! The loaf of bread I bought was stale!
8
– Food-related snippets from restaurant reviews
– Automatically extracted from full review text (Sauper et al. 2010) – Segmented by restaurant, but no additional annotation
the sushi was so incredibly fresh best chicken katsu in town drinks are fun, fresh, and delicious I’d recommend the apple pie the bread was disappointingly stale chocolate torte is the stuff of dreams 9
Japanese Restaurant Bakery
We went to the restaurant, and the sushi was incredibly fresh.
– Relevant aspects for each restaurant – Aspect label for each snippet – Sentiment label for each snippet
10 + they had a decent burrito − the burrito was mediocre at best − the burrito was heavily cilantroed + the salsa is incredible + the mango salsa is perfectly diced + hola free chips & salsa Burrito Salsa Mexican Restaurant
the martinis were very good the martinis were tasty the wine list was pricey their wine selection is horrible the sushi was the best I’d ever had best paella I’d ever had the fillet was the best steak we’d ever had it’s the best soup I’ve ever had
Partial output of state-of-the-art clustering system
11
12
Bakery Japanese Review 1 Review 2 Review 3
delicious fresh fantastic amazing beautiful stale fantastic smooth beautiful fresh delicious bland pies cookies cakes pies cakes bread salmon sake maki salmon maki miso
great horrible amazing dessert pizza pad thai
was food
13
They had wonderful appetizers.
14
Background distribution Sentiment distributions
word distribution for stop words and in-domain white noise
word distributions over positive and negative sentiment words small bias for seed words
first-order Markov distribution of word topic transitions
Transition distribution
15
word distribution for each aspect
probability of positive vs. negative sentiment for each aspect
probability of each aspect
Aspect distributions
Aspect multinomial Aspect-sentiment binomials
16
chosen from aspect multinomial
chosen from aspect-sentiment binomial
Background, Aspect, or Sentiment selected from transition distribution
Aspect
Sentiment Word topic sequence
17
chosen from topic-specific distribution based on word topic sequence
Aspect Sentiment Word topic sequence
Background
18
Model parameters Observed data Latent structure
19
20
Background Sentiments Aspects Latent variables Products
21
– Parameter updates are straightforward via latent variable counts – Latent variable updates are derived from expectations
E.g.: update for probability that snippet aspect equals 22
Expected log probability of
(Sauper et al. 2010)
23
24
69.3 75.5 60 70 80 Baseline Our model
MUC F1
the martinis are very good the martini selection looked delicious the s’mores martini sounded excellent Our model the martinis are very good the mozzarella was very fresh the fish and various meets were well made Baseline Baseline the carrot cake was delicious it was rich, creamy, and delicious the pasta bolognese was rich and robust Our model the carrot cake was delicious the best carrot cake I’ve ever eaten carrot cake was deliciously moist
25
26
75.9 78.2 80.2 70 75 80 85 DISCRIMINATIVE SEED OUR MODEL
Accuracy
Our model
27
28
29
Aspect errors − Similar aspect words in different contexts Sentiment errors − Rare sentiment words − Negation, sometimes
the cream cheese was n’t bad belgian frites are very crave-able the blackened chicken was meh chicken enchiladas are yummy the cream cheese wasn’t bad ice cream was just delicious
Hu and Liu 2004; Popescu et al. 2005; Kim and Hovy 2006
– Focus on single reviews
Liu et al. 2005b; Carenini et al. 2006; Hu and Liu 2006; Kim and Zhai 2009
– Also present contrastive viewpoints and average sentiment – Focus on extracting relevant sentences
Mei et al. 2007; Lu and Zhai 2008; Titov and McDonald 2008
– Focus on coarser document-level sentiment
30
31