Content Models with Attitude
Paper · 2011 · Christina Sauper, Aria Haghighi and Regina Barzilay
Summary
A restaurant can receive a good overall rating even when its customers disagree about a particular dish. Finding that disagreement in the reviews takes more than collecting praise and complaints. The praise and the complaints have to concern the same thing. “Content Models with Attitude” studies how to make that connection automatically. Its input is a collection of short passages already extracted from reviews. For each passage, the authors infer a property, such as a menu item, and an attitude toward it, positive or negative. They learn these assignments together across the collection. Sentiment & emotion
The approach gives each word a possible role. Some words identify what the writer is discussing, others express an opinion, and others provide common wording. A phrase about a martini can therefore be grouped with other martini comments even when the evaluations differ. Conversely, recurring praise gives the system a way to learn sentiment vocabulary without making all the things being praised members of the same group. The property groups are specific to each restaurant, while the vocabulary for expressing approval or disapproval is learned across restaurants. Each property also has its own tendency towards positive or negative reviews. That tendency can help interpret an ambiguous passage, and the wording of a passage can provide enough evidence to overcome it. Topic modeling
On Yelp restaurant snippets with human judgments about which passages belong together, the approach achieved a MUC F1 of 75.5, compared with 69.3 for a clustering baseline based on word overlap with frequency weighting. The gain came through higher recall, with a loss in precision. On the separate positive-versus-negative test, it achieved 80.2 accuracy, compared with 78.2 for counting words from sentiment lists and 75.9 for a supervised classifier using individual words. These experiments score the grouping of passages and the polarity of whole passages. They leave the accuracy of the inferred roles of individual words unmeasured.
The authors also inspected groups that the system flagged as containing opposing opinions. In 50% of those groups, the positive and negative passages concerned the same property and genuinely differed in sentiment. Some other flags arose because the system had joined passages about different items, assigned a sentiment incorrectly, or done both. The disagreement analysis shows what the two predictions can accomplish together and how an error in either can change the conclusion a reader would draw from the reviews.
Deep dive: Content Models with Attitude
Content Models with Attitude groups restaurant review snippets by what they discuss and learns where reviewers agree or disagree about the same item. · about 35 minutes to read
The problem and its context
What an overall rating leaves unresolved
A collection of reviews can describe a product in considerably more detail than a distribution of ratings. The paper uses restaurant reviews, where different customers can choose to discuss different parts of the menu. A customer who writes about noodles contributes information about noodles. Another customer may comment on a drink and leave the noodles unmentioned. An overall score puts these customers on a common scale of satisfaction. The text is where a reader can find out what each customer was satisfied with.
The authors want to recover that specificity across reviews. Sometimes several customers discuss an item in similar terms, so grouping the comments can surface a consistent evaluation. Sometimes the same item receives both praise and criticism. This second case gives a different kind of information about the reviews. Its identification depends on establishing a common subject before interpreting the differing attitudes as disagreement.
In the paper’s terminology, a product is the thing whose reviews are being analyzed, a restaurant in the experiments. A property is a more specific aspect discussed in those reviews. It can be a particular dish, a drink, or a group of closely related items, depending on how the restaurant’s reviewers describe its offerings. An attribute is a kind of description applied to a property. For the review experiments, the attributes are the two directions of sentiment. The distinction matters because a phrase can identify a dish precisely while leaving its evaluation ambiguous, or express an unmistakable evaluation with very little indication of what prompted it.
The task begins with short phrases selected from reviews. This choice sets a boundary around what the paper is trying to solve. Given a full review, a reader would first have to find the portion that describes or evaluates the item of interest. Here a separate system supplies those portions, called snippets. The authors concentrate on linking the supplied snippets across a restaurant’s reviews and recovering their attitudes. An item can therefore be absent from the analysis even if somebody discussed it, since the collection covers what the earlier extraction step retained. Information extraction
Why similar wording can point in different directions
Consider a set of snippets praising different foods with almost the same expression. They might discuss sushi, paella, steak, or soup. A procedure that groups passages by overall textual resemblance has a reason to put these together. They resemble one another in tone and phrasing. Yet someone reading the group to find out what customers say about the restaurant’s soup would have to sort through opinions about unrelated dishes. A group built around a restaurant’s drinks can be more informative about the property even when it contains both compliments and complaints and uses several specific drink names.
There are two difficulties in this example. The first is that a strong resemblance between passages can come from their evaluations. Reviewers have many opportunities to reuse an adjective such as delicious, so it can bring together descriptions of unrelated food. The second is that passages on a shared property can name it differently. A comment might use the name of a specific preparation, a shorter form of that name, or a broader food term. A single phrase may offer little evidence that these descriptions belong together. Other snippets can connect uses that would be hard to align by comparing the phrases in isolation.
The intended granularity varies with the restaurant. The authors contrast reviews of a sandwich shop, which may distinguish among particular sandwiches and wraps, with reviews of a broader restaurant, which may collectively support a general sandwich group. This motivates learning each restaurant’s properties from its own reviews. The analysis can accommodate several menu distinctions at one establishment without requiring every establishment to have corresponding groups. A property in this study is a shared category for organizing comments within the product, with its vocabulary inferred from those comments.
There is also a reason to use the rest of the collection when interpreting attitude. Suppose a group has several favorable comments and a newly considered snippet contains wording with an uncertain evaluation. Its likely membership in that group gives the analysis some evidence about sentiment. If the words clearly indicate criticism, that passage can still be negative. The paper is interested in this interaction because the aggregate sentiment is itself something the system is trying to learn. Each snippet is evidence about the group’s tendency as well as a passage to be classified.
What earlier review analysis supplied
The authors situate their work alongside methods for extracting product features and associated opinions. In their account, earlier extraction work used techniques including association mining, relaxation labeling, and supervised learning. Such methods could identify useful feature–opinion pairs within a document. The authors’ question starts from the value of those pairs and asks how to compare them across documents. Individually plausible descriptions still need a common grouping before their opinions can be meaningfully aggregated.
The paper also discusses multi-document review summarization. Some earlier work adapted summarization techniques designed for broader use, and other work developed methods specifically for opinion text. The authors describe systems that can present opposing viewpoints or communicate the average attitude. They characterize much of this line of work as selecting passages once relevant features of the reviews are available. The analysis in “Content Models with Attitude” addresses an upstream question for such a summary. It seeks the property assignments and attitudes that would tell a summarizer which passages it might select to represent an item or a disagreement. Summarization
A third line of work used probabilistic topics to analyze opinion text. According to the authors, some approaches looked for ratable aspects of products, while others represented mixtures of topics and sentiment, including in weblogs. The connection is the use of unobserved categories to explain patterns in the words people write. The difference in the problem being investigated is the unit of analysis. A full review can discuss several aspects and express several attitudes. This paper aims to recover the specific property and attitude behind a short, already extracted phrase. The task calls for a representation that can decide which words within a few words of text are relevant to each judgment. A Joint Model of Text and Aspect Ratings for Sentiment Summarization
The extraction stage comes from the authors’ own earlier work on content structure. It provides short passages with some prospect of containing the information the new analysis needs. The later stages can then exploit patterns across those passages instead of redoing the selection from full reviews. The division is reflected in the evidence the paper presents, which evaluates what can be recovered from the snippets that arrived at the aggregation stage. Incorporating Content Structure into Text Analysis Applications
The method, step by step
From the restaurant to the word
The authors describe a probabilistic account of how a snippet could have been written. First imagine choosing a property to talk about. Within a restaurant, some properties are more likely to appear in the reviews than others. Once the property is chosen, choose an attribute. In the review setting this means choosing positive or negative sentiment, with the probabilities depending on the property. Then choose the roles of the words, allowing nearby roles to depend on one another. Finally, choose the actual words from vocabularies appropriate to those roles.
The account is used in reverse when analyzing real reviews. The words are known and the earlier choices are hidden. The system estimates which property, attribute, and sequence of word roles plausibly account for the passage. It does this across the collection because the word distributions and property tendencies also have to be learned. Evidence that a term often appears in favorable remarks can sharpen its contribution to sentiment elsewhere. Evidence that a name repeatedly occurs with other words associated with a certain dish can sharpen the property assignments at its own restaurant.
How the approach represents a review snippet
The steps in order.
A vocabulary in this account is the fixed set of possible observed words. A distribution over that vocabulary assigns a probability to each word. These are unigram distributions, which means that the probabilities for choosing a word from a given distribution concern individual words. The method introduces sequence information separately, through the transitions among word roles. It can therefore favor a run of property words or a run of attribute words without learning a probability for each complete multiword phrase. N-gram
The common vocabulary serves several kinds of distribution. The background distribution explains wording that can occur widely across the collection. It can account for ordinary function words and general restaurant vocabulary with little power to identify a specific item. The attribute distributions explain the language used to evaluate a property. Their positive and negative versions are shared across restaurants. The property distributions explain wording that identifies the aspect under discussion. Each restaurant has its own set of them. A word is available to the different distributions, so its possible role depends on how well the alternatives explain its occurrence.
This division lets a word contribute differently in different passages. A word frequently associated with a food could help identify a property when it occurs near the food’s name. In another context, a widely used descriptive term may provide evidence mainly about the judgment. The paper’s mechanism assigns a role to each occurrence of a word. It estimates the probabilities behind those assignments from patterns in the whole collection, assisted by a small amount of prior information about sentiment vocabulary.
The shared distributions and their priors
The paper writes the background distribution as θᴮ and uses θᴬ for the attribute distributions. There is one shared background distribution and there is a shared distribution for each attribute. To specify what these distributions can look like before seeing the snippets, the authors use Dirichlet priors. A prior describes the initial preference over possible probability distributions. With a symmetric Dirichlet prior, every word has the same initial parameter, so the prior itself singles out no word in the vocabulary. Observed occurrences and their inferred roles can still result in quite different learned probabilities.
θᴮ ∼ Dirichlet(λᴮV)
Here θᴮ is the background distribution over words. The symbol ∼ means that it is drawn from the distribution on the right. Dirichlet names the prior over probability vectors. λᴮ is the common prior parameter for a background word, set to 0.2. In this expression V stands for the unit vector indexed by the fixed vocabulary, so λᴮV applies the same value to every entry. The paper also uses V to refer to the vocabulary itself when discussing which words may occur.
The positive and negative distributions have asymmetric priors that incorporate hand-selected seed words. A seed is a word the authors already expect to occur in an expression of the corresponding attitude. Each vocabulary entry starts with the same base parameter. Membership in an attribute’s seed list adds an amount to that entry in the prior for that attribute. This construction allows review evidence to affect every word, including words found on neither list.
Attribute prior entry for w under a = ε + λᴬ · 𝟙[w ∈ Vˢᵉᵉᵈₐ]
Here w is a vocabulary word and a is the attribute whose word distribution is being drawn. The base parameter ε is 0.25, and λᴬ is the seed increment, set to 1.0. The dot denotes multiplication. The indicator 𝟙 is active when the condition in brackets holds. The symbol ∈ means “belongs to,” and Vˢᵉᵉᵈₐ is the set of seed words selected for attribute a. For a word outside that set the increment drops out, leaving ε as its prior entry.
The authors chose 42 positive and 33 negative seeds for the restaurant domain. The lists include terms suitable for restaurant reviews, such as delicious and gross. The prior gives those words an initial association with the intended attitude. This also helps establish which latent attribute should be interpreted as positive and which as negative. The probabilities for using other words as attributes can grow through inference over the review snippets. The baseline that counts seed words offers a direct test of how much can be achieved by the lists alone.
What belongs to each restaurant
Let i designate a product and k designate one of its possible properties. The distribution θᴾᵢ,ₖ is the vocabulary for that property at that product. Each of these distributions has its own draw from a symmetric prior. If snippets are repeatedly assigned to a property and particular words in them are assigned the property role, those words can become characteristic of the group. The same words can have different relevance at another restaurant because its property distributions are learned separately.
θᴾᵢ,ₖ ∼ Dirichlet(λᴾV)
In this expression θᴾᵢ,ₖ is the word distribution for property k of product i. The superscript P designates a property distribution, and the subscripts identify its product and property. The symbol ∼ indicates a draw. Dirichlet is the prior over word probabilities, V is the unit vector indexed by the vocabulary, and λᴾ is the shared parameter applied to its entries. The authors set λᴾ to 0.2.
The method assumes a fixed number K of available properties for each restaurant. A distribution ψᵢ over these slots gives the relative chances of discussing them. This is separate from the word distribution for a property. The authors can thus represent how common it is to talk about a property and how it tends to be named through two distinct quantities. A often discussed dish may be easy to identify through a distinctive term, or it may have a vocabulary spread across several names. Its prevalence in the reviews alone says little about that word distribution.
ψᵢ ∼ Dirichlet(λᴹ𝟙ₖ)
Here ψᵢ is the vector of property probabilities for product i. The symbol ∼ indicates a draw from the Dirichlet prior on the right. λᴹ is the common prior parameter, written in the paper as 1, 000. The vector 𝟙ₖ stands for equal unit entries across the K available property slots. This is the property-assignment prior, with one entry per slot. The authors use it to encourage the use of the available clusters in the clustering experiment.
There is also an attribute distribution φᵢ,ₖ for each property. In the restaurant case it governs a binary choice, so a single probability can encode the preference for one attitude with the remaining probability for the other. The authors give this probability a beta prior. Its two parameters are equal, establishing a symmetric starting preference for positive and negative sentiment. Evidence from snippets assigned to the property can move the inferred tendency away from that starting point.
φᵢ,ₖ ∼ Beta(αᴬ, βᴬ)
Here φᵢ,ₖ denotes the probability parameter governing sentiment for property k of product i. The symbol ∼ again indicates a draw, and Beta is the prior over that probability. The parameters αᴬ and βᴬ are both set to 2. The superscript A identifies them as attribute parameters. The paper describes attributes more generally as types of description, with a fixed number N chosen in advance. The restaurant experiment sets N = 2, which makes the beta prior suitable for the attribute choice used here.
The property’s word distribution and its sentiment tendency therefore answer different questions. One says which terms a writer is likely to use in identifying the feature. The other says how likely the writer is to evaluate it favorably or unfavorably. A kitchen item can retain a stable identity while receiving very different evaluations. Its discussion can also be predominantly positive without every snippet being classified as praise. These possibilities are part of the same representation because the attitude is drawn afresh for each snippet.
What belongs to a snippet and to each word
The paper indexes the snippets of product i by j. For that pair of indices there is a hidden property assignment, Zᴾᵢ,ⱼ, and a hidden attribute assignment, Zᴬᵢ,ⱼ. The property is chosen according to the restaurant’s property frequencies. The attribute is then chosen according to the sentiment tendency of that property. Once chosen, these values apply to the entire snippet. For example, several words can identify a dish within a passage even though the passage itself receives a single property assignment.
Zᴾᵢ,ⱼ ∼ ψᵢ
Here Zᴾᵢ,ⱼ is the hidden property of snippet j for product i. The superscript P identifies the variable as a property choice. The symbol ∼ means the choice is drawn from ψᵢ, the restaurant’s distribution over its possible properties.
Zᴬᵢ,ⱼ ∼ φᵢ, Zᴾᵢ,ⱼ
Here Zᴬᵢ,ⱼ is the hidden attribute of snippet j for product i. The superscript A identifies it as an attribute choice, and ∼ indicates a draw. The expression on the right is the attribute distribution φ indexed by product i and by the value chosen for Zᴾᵢ,ⱼ. Thus the relevant sentiment tendency changes when the hypothesized property changes.
The hidden role at a word position is Zᵂᵢ,ⱼ,𝑤, where 𝑤 designates position within the snippet. Its possible states are P for a property word, A for an attribute word, and B for a background word. These are roles in the generation of the snippet. If a word comes from state P, the particular property selected for the snippet determines its distribution. If it comes from state A, the selected attribute determines its distribution. If it comes from state B, the same background distribution is used whichever property and attribute have been selected.
sᵢ,ⱼ,𝑤 ∼ { θᴾᵢ,ₖ if Zᵂᵢ,ⱼ,𝑤 = P, θᴬₐ if Zᵂᵢ,ⱼ,𝑤 = A, θᴮ if Zᵂᵢ,ⱼ,𝑤 = B }
The symbol sᵢ,ⱼ,𝑤 is the word at position 𝑤 of snippet j for product i, and ∼ indicates a draw. The braces give the distribution for each possible value of Zᵂᵢ,ⱼ,𝑤, the role at that position. P, A, and B denote property, attribute, and background. θᴾᵢ,ₖ is the word distribution of the chosen property, with k equal to the value of Zᴾᵢ,ⱼ. θᴬₐ is the word distribution of the chosen attribute, with a equal to the value of Zᴬᵢ,ⱼ. θᴮ is the shared background distribution.
A first-order hidden Markov chain governs the sequence of these roles. First-order means that the probability of a role at a position depends on the immediately preceding role. The transition parameter matrix Λ records the probabilities of moving between the possible states. The hidden states supply local structure even though the word distributions themselves are unigrams. Several words in a dish name can occupy adjacent property positions, and an expression of sentiment can occupy adjacent attribute positions. The choices still depend on the assigned property and attribute through the vocabulary available in each state.
For a concrete reading of the mechanism, consider a passage describing chicken pho favorably. The system can explain the dish name through a property distribution, an evaluative term through the positive word distribution, and any common grammatical material through the background. Another passage can describe the same dish unfavorably while using much of the same property vocabulary. Those two passages contribute evidence to the same property group through their dish wording and evidence to different attribute distributions through their evaluations.
The examples in the paper also show some of the pressure this representation is under. A short passage can name several foods, such as spring rolls and coffee, before giving a shared evaluation. Similarly, a comment can discuss a principal item and a component such as its wrapper, bread, or filling. A word-level division into property and attribute roles helps retain those details as evidence. The single snippet-level property assignment still requires a common group for the passage as a whole. A reader should therefore expect the learned grouping to reflect the collective use of item names and related terms, with potentially broader groups when the wording overlaps.
Inferring the hidden choices
The inference problem is to estimate which properties and attributes go with the observed snippets, given the information available from the full collection. This requires reasoning about assignments and word distributions together. To assess a candidate property, the system needs its likely vocabulary. To learn that vocabulary, it needs evidence about which snippets belong to the property and which words within them are property words. The attribute distributions and sentiment tendencies have a similar mutual dependence.
P(Zᴾᵢ,ⱼ, Zᴬᵢ,ⱼ ∣ s)
Here P denotes the probability distribution defined by the generative account, rather than the role label P in the word states. Zᴾᵢ,ⱼ is the property assignment and Zᴬᵢ,ⱼ is the attribute assignment for snippet j of product i. The vertical bar means “given,” and s denotes all observed snippet words. This is the joint posterior of the two snippet assignments. In principle, obtaining it requires averaging over the uncertainty in other hidden quantities.
The authors use mean-field variational inference to make that calculation manageable. In variational inference, a tractable distribution stands in for the full posterior. Mean field approximates the posterior with separate factors for the hidden quantities and updates them in turn. Independence is a property of the approximation. During the updates, a factor’s estimate still changes in response to what other factors currently say. For example, a change in the estimated property vocabulary can change which roles are plausible for a word in a snippet assigned to that property.
P(ψ, θᴾ, θᴮ, θᴬ, φ ∣ s) ≈ Q(ψ, θᴾ, θᴮ, θᴬ, φ)
Here P is the posterior distribution on the left given all observed words s, and Q is its variational approximation. The symbol ≈ means “is approximated by.” The quantities are ψ, the collection of product-level property probabilities, θᴾ, the property word distributions, θᴮ, the background word distribution, θᴬ, the attribute word distributions, and φ, the property-specific attribute tendencies. The displayed shorthand emphasizes the distributions being learned. The procedure also maintains factors for the hidden property, attribute, and word-role assignments.
The paper describes choosing the variational factors through a Kullback–Leibler divergence, a measure of discrepancy between probability distributions. Its displayed minimization places the posterior first. The update described immediately afterward uses expected log joint probabilities, the quantity used in the usual coordinate update with the reverse ordering. Since the order of the arguments matters for this divergence, the displayed objective and the operational update are best read separately.
min over Q KL(P(ψ, θᴾ, θᴮ, θᴬ, φ ∣ s) ∥ Q(ψ, θᴾ, θᴮ, θᴬ, φ))
Here “min over Q” states that the variational distribution is the object being optimized. KL denotes Kullback–Leibler divergence, and ∥ separates its arguments in the paper’s displayed order. P is the posterior conditional on all observed words s, and Q is the approximation. The arguments ψ, θᴾ, θᴮ, θᴬ, and φ are the property frequencies, property vocabularies, background vocabulary, sentiment vocabularies, and property-specific sentiment tendencies, respectively.
Operationally, each factor is updated while the others are held at their current estimates. For a position in a snippet, the procedure can consider each possible role and evaluate how well it fits the combination of the word, the current vocabulary estimates, and the state sequence. The expected log joint probability averages the log probability under the current factors for the other hidden quantities. Expressed as a normalized factor update, the operation has the following form.
q(Zᵂᵢ,ⱼ,𝑤) ← normalize{exp[𝔼(Q excluding q(Zᵂᵢ,ⱼ,𝑤)) log P(joint hidden variables, s)]}
Here q is the factor for the role Zᵂᵢ,ⱼ,𝑤 at position 𝑤 of snippet j for product i. The arrow indicates a replacement of its current estimate. 𝔼 denotes expectation under all factors in Q except the factor being updated. P denotes the generative joint probability for the hidden distributions, hidden assignments, and observed snippet words s. The log is taken before the expectation, and exp converts the resulting scores back to positive weights. Normalization makes the weights into probabilities over the possible roles of the word.
The authors describe cycling through the updates. For distribution parameters, they point to counts of the corresponding hidden assignments. A word that is probably a property word contributes evidence to the word distribution of its likely property. A word likely to have an attribute role contributes to the distribution of its likely sentiment. Probable snippet attributes contribute to the tendency estimated for the corresponding property. Using probabilities allows an uncertain assignment to contribute partial evidence during inference. The paper relates these count-based updates to earlier variational topic work. Latent Dirichlet Allocation
This procedure yields posterior estimates for the assignments used in the experiments. The sentiment decision, for example, is the more probable of the two attributes in a snippet’s factor. For the property analysis, the useful prediction is which snippets share the same assignment within a restaurant. The authors say that the inference procedure can be parallelized. Its methodological significance here is that the shared parts of the analysis can be estimated over a sizeable snippet collection. The paper’s evaluations measure the resulting assignments, rather than providing a timing study of that procedure.
Experiments and results
The Yelp collection
The source collection comes from Yelp reviews of restaurants in and around Boston and Cambridge. The authors applied the earlier snippet extractor and kept the passages it labeled as referring to food. They excluded restaurants with fewer than 20 snippets. The dataset description reports 13,879 snippets from 328 restaurants, an average snippet length of 7.8 words, and an average of 42.1 snippets per restaurant. The authors note that the amount of material varies substantially across restaurants.
These details determine what the analysis has the opportunity to learn. Short passages give it relatively little evidence about any single latent assignment. Multiple passages at the same establishment provide repeated opportunities to recognize names or descriptions of a dish. Sharing the attribute vocabulary across restaurants provides a further source of evidence for recurring evaluations. The collection also reflects the range of food descriptions the extractor chose to keep. It is an evaluation on selected text, with manual judgments used for particular downstream tasks.
The tasks inspect different predictions. Property clustering asks whether passages that concern the same item are brought together. Attribute classification asks whether an individual snippet is recognized as positive or negative. Conflict identification asks whether the combination of assignments can surface opposing views of the same item. The last of these has a different evaluation design because the authors inspect the system’s proposed conflicts directly.
Property clustering
A good property group should have both cohesion and coverage. If a group is supposed to bring together comments about pad thai, including unrelated dishes weakens its cohesion. Leaving out other relevant comments weakens its coverage. The annotators were asked to decide which snippets belonged together within a restaurant. This places emphasis on the grouping of passages. The system can receive credit for recognizing a common subject without producing the exact dish name a person would use as a label.
The reference groupings draw on 3,250 snippets from 75 restaurants. In each Mechanical Turk task, a worker received 25 snippets about a single restaurant. Workers could create as many groups as they considered appropriate and leave snippets ungrouped. Each task went to two workers, and the authors accepted the intersection of their judgments. They report 130 distinct tasks and 210 resulting reference clusters. Thus the evaluation gives priority to relationships that both workers supported. Linguistic annotation
The comparison system used agglomerative clustering in CLUTO. An agglomerative procedure builds larger groups by combining more similar groups. Here the similarity was based on cosine comparison of snippets weighted by term frequency and inverse document frequency, abbreviated TF–IDF. These weights give word overlap different importance depending on how frequently the terms occur. The CLUTO baseline was allowed 10 property clusters per restaurant. The authors describe configuring their own approach to favor use of the same number of available clusters. TF-IDF
The scoring method was MUC, a metric developed for judging groups in coreference work. In this application, it measures the changes needed to reconcile predicted groups with the human groups. Precision reflects how well the predicted links respect the reference grouping. Recall reflects how well the reference links are recovered. F1 combines precision and recall. This matters because a clustering that leaves several groups fragmented can do well on the links it does predict while falling short in bringing related snippets together. A Model-Theoretic Coreference Scoring Scheme Coreference resolution
Property clustering on annotated Yelp snippets, MUC F1
The joint approach has higher F1 than TF–IDF clustering.
The numbers
| System or setting | F1 |
|---|---|
| CLUTO with TF–IDF | 69.3 |
| Joint property and attribute approach (this paper) | 75.5 |
On the annotated clustering set, the baseline reached MUC precision of 80.2 and recall of 61.1. The authors’ approach reached precision of 72.2 and recall of 79.1. The F1 advantage therefore reflects a greater recovery of the annotated group relationships alongside a greater tendency to include relationships the reference groups did not support. The paper reports a 20% error reduction on the MUC measure.
The authors associate some baseline mistakes with comparisons driven by evaluative words and common modifiers. In their martini example, a word such as very can make comments about different things look similar. In another example, similar praise appears in comments about carrot cake and an unrelated pasta dish. When the property vocabulary drives the assignment, the recurring food terms give the system a separate way to bring together the passages about the cake. These examples show where the lexical similarity calculation can be influenced by different evidence from the evidence a human uses to identify a common subject.
There is an important qualification in the precision result. An inferred property vocabulary can miss a meaningful term, since a word that would have helped link two snippets may be assigned to an attribute or to the background. Conversely, a group that captures more reference links can also pick up unrelated material. The observed precision and recall are consequently more informative about the behavior of the system than the F1 value by itself. The result supports better recovery of the agreed groups on this task, with a cost in the purity of the links the approach proposes.
Snippet sentiment
The attribute experiment uses a separate annotation setup. The authors describe 260 snippets drawn from Yelp reviews of 30 restaurants, split evenly into a training set of 130 and a test set of 130. The manual labels are positive and negative. The evaluation excludes neutral snippets. For the joint approach, the prediction is whichever attribute has the higher estimated posterior probability for the snippet. The task scores that binary decision. Text classification
The discriminative baseline is a supervised maximum-entropy classifier using unigram features. It gets evidence about which words predict the sentiment labels in the training examples. Ideally, words associated with approval or disapproval become useful features while a food name has little influence. With short passages and a small labeled training set, a word’s association may be hard to estimate. The feature representation also gives every observed unigram an opportunity to serve as a predictor, including a food term that happens to occur in passages of one sentiment during training.
The seed baseline uses the same lists that provide the prior information for the shared sentiment distributions. It counts words appearing on the positive and negative lists and favors the more frequent side. The authors split the prediction if the lists provide equal support or if neither list appears. Because the lists were chosen for restaurant reviews, the baseline already has a source of pertinent domain knowledge. It asks how far a reader could get from that knowledge by counting alone.
Binary sentiment classification on the Yelp snippet test set, accuracy
The joint approach leads both the seed-counting and supervised unigram baselines.
The numbers
| System or setting | accuracy % |
|---|---|
| Maximum-entropy unigram classifier | 75.9 |
| Sentiment seed counts | 78.2 |
| Joint property and attribute approach (this paper) | 80.2 |
On the sentiment test set, the respective accuracies were 75.9 for the discriminative baseline, 78.2 for the seed baseline, and 80.2 for the joint approach. The introduction reports a 9.2% error reduction for binary attribute prediction. The accuracy values show how strong the manually selected seed lists already were on these snippets and how much additional performance the joint approach achieved in the reported comparison.
The authors illustrate the classification results with passages the joint approach got right and the discriminative classifier got wrong. These include favorable descriptions involving freshness or crispness and unfavorable descriptions involving an unpleasant taste or smell. Among the sentiment words highlighted in those examples, fresh and gross were seeds. Other highlighted words were outside the seed lists. The examples make it plausible that the approach can draw on a wider vocabulary than the seed baseline. Their selection also means they illustrate successful cases and do not estimate how often the method handles unfamiliar sentiment wording.
Detecting disagreement about the same property
For disagreement, a predicted conflict is a property group that contains snippets assigned to both positive and negative sentiment. The authors inspect such groups and judge two questions separately. Do the passages concern the same item? Do they express genuinely different attitudes? Both must be answered yes for the flag to identify a conflict about that item. An accurate polarity contrast can appear in the wrong property group, just as a coherent property group can contain a contrast created by a classification mistake.
The paper reports 52 groups with both judgments correct, 18 with the property right and the attitude contrast wrong, 17 with the contrast right and the property wrong, and 15 with both wrong. In its prose account of this evaluation, it reports that 50% of the inspected clusters were correct on both dimensions, that 68% were correct on property, and that 67% showed a genuine sentiment contrast. Among the clusters with the property correct, it reports that 74% also had a correctly labeled difference in sentiment.
The examples make the distinction concrete. Praise for chips and salsa can conflict with criticism of the salsa when the dish is shared between the two passages. A complaint about the preparation of naan can coexist with praise of the same restaurant’s naan. In other cases the two snippets genuinely differ in tone but concern different chicken dishes, or one discusses cream cheese while the other evaluates ice cream. Detecting different attitudes in the latter pairs leaves the substantive question about a shared dish unresolved.
The authors treated this as an error analysis and supplied no baseline for it. The percentages characterize the groups the approach proposed for inspection. They show how often a flag gave a reader evidence of a shared property with opposing opinions. To find out how many of the real disagreements in the review collection the system discovered, the study would also have needed a reference inventory of conflicts among passages outside those flags.
What the ablations show
What the comparisons vary
The paper gives no component ablation. It compares the full approach with separate clustering and sentiment baselines, presents examples of changed predictions, and analyzes the sources of error in proposed conflicts. These comparisons reveal different consequences of organizing the words by role, while leaving the individual contribution of each part of the approach unmeasured.
In the clustering comparison, the baseline uses overlapping vocabulary to connect passages. The joint approach has a more selective path for that evidence because the inferred property words determine how a snippet fits a particular property vocabulary. The martini and carrot-cake examples show why such selectivity could matter. A word may be quite useful for describing degree or tone and still be unhelpful in deciding which dish is under discussion. Treating every weighed overlap as eligible evidence makes the clustering vulnerable to frequent evaluations shared across otherwise unrelated passages.
The recall gain is consistent with the system assembling more of the passages that belong to a reference cluster. Precision fell, so the approach also brought more unsupported relationships into its predictions. This comparison therefore supports the usefulness of the full representation for recovering clusters, with a clear change in the types of error. CLUTO differs from the joint approach in both the clustering procedure and the evidence it uses. A comparison in which only the word-role mechanism was removed would be needed to isolate how much of the gain comes from that mechanism itself.
The sentiment comparisons help answer a different question about how the vocabulary is used. The seeds are shared between the seed counter and the joint approach. Since the latter performs better on the same sentiment task, the seed lists alone do not account for the observed result. The additional information available to the full approach includes word roles, evidence from occurrences outside the seed lists, and the tendency estimated for the property. The experiment leaves open how much improvement would survive if each of these sources were taken away in turn.
The maximum-entropy classifier provides a comparison with a system that can learn from labeled examples. It has a way to learn associations for arbitrary unigrams, including terms absent from the seeds. It draws that evidence from the annotated training snippets. The joint approach uses its role assignments and the patterns in the snippet collection as part of the judgment. A correct prediction on a phrase containing rancid, for instance, can show that the full system handled that phrase successfully. The outcome of that phrase alone cannot identify whether the decisive evidence was the word’s inferred role, its learned probability under the negative distribution, or the sentiment tendency of the chosen property.
Where a seemingly correct conflict can fail
The conflict analysis comes closest to a diagnosis of the separate jobs performed by the approach. A coherent group with an invalid attitude contrast reveals a failure of the sentiment judgment relevant to that flag. A real contrast in an incoherent group reveals a grouping failure even though the directions of sentiment are plausible. The authors report errors of both kinds. The crossed judgments explain why a conflict flag can be wrong even when part of the analysis is accurate.
The reported 74% rate for a genuine sentiment difference among property-correct flagged groups is conditional on a successful grouping judgment. It gives a more specific description of what readers would find in those groups than the overall both-correct percentage. It is also conditional on the system having flagged the group in the first place. A counterfactual experiment that supplied gold properties before judging sentiment would address a different question, since it could change which snippets were evaluated together and which groups qualified as conflicts.
The paper’s examples and counts thus answer questions about how the system behaves with its components working together. They show that a flag needs both a valid topic connection and valid sentiment evidence, and that errors in either can independently spoil it. The experiments leave the effect of the first-order role transitions, the seed prior, and the property-conditioned tendency unresolved as separate interventions. In particular, the hypothesis that sharing sentiment evidence within a property helps with ambiguous passages remains plausible under the results, but the reported comparisons measure the whole joint system.
Limitations
Limits identified by the authors
The authors point out that MUC can reward a degenerate clustering that puts all snippets together. Such a solution recovers many links within reference groups simply by connecting everything. They describe encouraging use of the available clusters and giving both systems the same number of slots in their comparison. That design addresses the specific concern that one system might obtain its score simply by collapsing into a single group. The metric still answers a question about links, and the choice of cluster budget still shapes what can be recovered.
The authors also note a tradeoff in their treatment of word roles. The baseline can exploit textual similarities wherever they occur. The joint approach depends on spotting the words relevant to the property. If a useful word is assigned to the wrong role, its contribution to clustering may be lost. Similarly, the seed lists provide guidance on sentiment while necessarily leaving some ways of expressing praise and criticism uncovered. The experiments compare the practical effects of these choices in the restaurant collection.
The scope of the conflict analysis is explicit in the paper. The authors found no obvious baseline for the task and treated it as an examination of errors. The judgments concern output groups containing predicted positive and negative snippets. This supports a statement about the inspected suggestions, including which of the predictions failed. The study does not estimate the proportion of actual disagreements surfaced throughout the reviews.
Limits visible in the study design
The restaurant results begin after automatic extraction and selection of food snippets. A review property that the extractor overlooks remains outside the evidence used for aggregation. Descriptions of service or atmosphere may matter to diners, but this experiment selected text that the extractor tagged as food. The observed sentiment vocabulary is also shaped by that selection. Consequently, the performance figures describe how the approach handles the chosen input, with no end-to-end measurement of how faithfully the entire process represents the underlying reviews.
The data come from one review source and one metropolitan area. The authors describe the general possibility of sharing properties across products in a domain where the aspects are more consistent, and they mention other possible kinds of attributes. Their experiments establish results for restaurant-specific properties with binary sentiment. A domain with a shared set of features, different descriptive language, or more complicated attribute types would require its own evidence about whether the same choices are suitable.
A fixed number of property slots is useful for making the clustering comparison interpretable. It cannot express different requirements for group granularity across restaurants without further decisions about that setting. An establishment with many repeatedly discussed dishes may need finer distinctions than one with a small number of recurring food topics. Another difficulty is that a single snippet can mention several foods or discuss a dish together with its components. The ability to assign property roles to several words leaves the passage with a single property label. The precise subject of each evaluation within a multi-item passage is outside that assignment.
The binary sentiment task likewise simplifies what a review can say. A reader may see favorable comments about one aspect of a dish and unfavorable comments about another within the same passage. The figures include snippets with qualifications and mixed wording. The evaluation nevertheless asks for one positive or negative judgment and ignores neutral cases. Accordingly, its accuracy refers to distinguishing the two labels on the annotated test material. It cannot establish how the method would handle neutrality, identify exactly what each part of a mixed evaluation applies to, or distinguish a very mild reaction from a strong one.
The attribute experiment also leaves token-level accuracy open. Its outcome is whether the final sentiment label agrees with the manual label for a snippet. A system can arrive at that label even if some individual words have been assigned implausible roles. The property experiment has a parallel boundary. It judges which snippets are grouped together, and a group can be judged correct without every word that contributed to its formation being correctly analyzed. The examples are informative about possible mechanisms, while the quantitative tasks score their effects at the passage or group level.
For the property reference data, accepting the intersection of workers’ judgments has the advantage of requiring shared evidence for an annotated relationship. It also narrows the evaluation to agreed groupings. Where the boundary between a specific dish, a preparation, and a general food category is debatable, the results do not tell us how well the approach accommodates several plausible perspectives. Workers were given batches from a restaurant, so their groupings describe the snippets they saw together. The reported score should be understood against that reference procedure.
The dataset description gives 42.1 snippets per restaurant on average for the experimental collection, while the introduction gives 29.8 snippets per restaurant for its description of the Yelp collection. The paper does not reconcile the two figures. The detailed experimental account identifies its selected set through the restaurant count, snippet count, and filtering procedure, so 42.1 is the figure associated with that account. The conflict analysis likewise gives both percentages and a table of counts, and those reported summaries should be read as the paper presents them. Its central observation is that many flagged groups succeed on only one of the judgments needed for a valid conflict.
Finally, a conflict in review language establishes that the authors of the passages expressed different evaluations. This may be relevant to someone assessing the consistency of a dish, as the paper suggests. The evidence cannot determine whether preparation varied, customers had different tastes, or the passages were responding to different circumstances. The probabilities summarize the available comments and their inferred subjects. The study’s strongest claims concern those textual patterns and the performance of the approach on the tasks built around them.
What came after
The later citations place the paper alongside work on internet language and work on reproducibility. The titles establish the subjects of the citing papers. The citations alone leave open whether the authors applied the review-grouping procedure, used the Yelp material, assessed the experiments, or mentioned the study as part of a wider discussion.
Jacob Eisenstein’s 2013 paper concerns how to handle language on the internet. “Content Models with Attitude” offers a specific instance of the challenge named by that later title. Its inputs are fragments of user-written reviews, and variations in wording can be consequential when the task is to recover a shared subject or distinguish evaluations. The connection establishes the earlier paper’s place among studies of internet language. The citation gives no basis for attributing reuse of the property and sentiment procedure to Eisenstein’s paper. What to do about bad language on the internet
The 2018 squib cites the study in work about reproducibility and willingness to share in computational linguistics. That subject directs attention to a different aspect of the restaurant experiments. Reproducing the cluster and sentiment comparisons would depend on the relevant snippets, their annotations, the seed lists, and the settings used for the approaches being compared. The citing relationship does not establish which of those materials the squib examined or what it concluded about the availability of any particular item from the study. Squib: Reproducibility in Computational Linguistics: Are We Willing to Share?
The 2021 systematic review cites the paper in work on reproducibility research in natural language processing. Its title identifies a review scope, and the connection records the earlier study in that literature. It provides no paper-specific replication outcome. The distinction matters here because reproducing a property-clustering score and reproducing a judgment about sentiment conflict involve different annotations and evaluation procedures, even though both tasks use outputs from the same approach. A Systematic Review of Reproducibility Research in Natural Language Processing
Cite
Cite as Christina Sauper, Aria Haghighi and Regina Barzilay. 2011. Content Models with Attitude. Proceedings of the 49th Annual Meeting of the Association for Computational Linguistics: Human Language Technologies.
@inproceedings{sauper2011content,
title = {{Content Models with Attitude}},
author = {Christina Sauper, Aria Haghighi and Regina Barzilay},
booktitle = {Proceedings of the 49th Annual Meeting of the Association for Computational Linguistics: Human Language Technologies},
year = {2011},
url = {https://aclanthology.org/P11-1036/}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/sauper-2011-content-models-attitude/