Elamur Research

Learning Document-Level Semantic Properties from Free-Text Annotations

Paper · 2008 · S.R.K. Branavan, Harr Chen, Jacob Eisenstein et al.

Summary

A restaurant reviewer can discuss nutrition in the body of a review and leave it out of the pros and cons. Another reviewer can mention nutrition in the list but use a phrase that nobody else chose. Both cases pose a problem for learning from linguistic annotation: a missing phrase is weak evidence that the review leaves out the subject, and different phrases can name the same property. Branavan and colleagues ask whether the review bodies and their author-written lists can together supply enough evidence to learn those properties and recognize them in unannotated reviews.

The authors learn a collection of properties, each represented by a cluster of phrases and a distribution over words in the review body. Their method draws on topic modeling to assign individual words to topics, so a review can provide evidence for several properties. Phrases are grouped using lexical and distributional similarity, and the topics associated with a review’s phrases help guide the assignments in its body. The body can also support topics that the reviewer omitted from the list. During training, the assignments in the review bodies can in turn affect which phrases end up together. At test time, the system uses the share of a review’s words assigned to each property to decide which properties to report.

The experiments use restaurant and cell phone reviews from Epinions. With the authors’ own phrases as the test reference, the joint method obtains an F-score of 0.757 for restaurants and 0.705 for cell phones. On a manually annotated restaurant subset, it obtains 0.500. The joint method has the highest F-score in each comparison, including against baselines that can use its learned phrase clusters. Training with both the phrases and the review bodies also yields phrase clusters that agree more closely with a human reference than clusters learned from phrase similarity alone.

The controlled comparisons help explain the gains. Looking for any phrase in a cluster recovers more reference items than looking for the requested phrase alone. The full joint method improves further on this comparison and loses substantial predictive performance when every word’s topic is forced to come from the phrase-guided distribution. The paper therefore distinguishes two difficulties in learning from freely written lists: reviewers vary in how they name a property, and they vary in which properties they bother to name at all. Its evidence comes from review domains with this particular pairing of short annotations and longer texts.

Deep dive: Learning Document-Level Semantic Properties from Free-Text Annotations

How free-text pros and cons can teach a system to identify what restaurant and cell phone reviews discuss, even when the reviews have no tags. · about 37 minutes to read

The problem and its context

A short list supplies partial evidence about a longer text

The paper starts from a practical imbalance in the availability of natural language processing training data. Expert annotation can give a learning system consistent categories and carefully checked examples, but creating that material is costly. Review sites had accumulated another kind of annotation as part of ordinary use. The people writing reviews also supplied brief descriptions of their advantages and disadvantages. The resulting lists attached compact indications of meaning to longer texts, even though nobody required the reviewers to coordinate their choice of words or cover everything they had discussed.

The paper illustrates the opportunity with restaurant reviews. One reviewer summarizes a nutritional advantage in a short phrase and mentions nutrition alongside other qualities in the body. Another uses a different phrase for healthfulness and develops the point through low-calorie dishes and published information about calories and fat. A system that recognizes the common property can connect the passages even though they express it differently. It can then compare the reviews on that property, or identify a further review that discusses the same subject while using different wording.

There are separate uncertainties in that example. The first is what the phrases mean in relation to one another. A term that refers to nutrition can belong with a short description of healthfulness, despite limited lexical overlap. The second uncertainty is what a review says when its list is silent. A reviewer may discuss nutrition in the body and reserve the list for price, convenience, or another subject they find worth highlighting. Treating that omission as a dependable negative training label would teach a predictor to discount some of the passages it is supposed to recognize.

The authors’ unit of prediction is the whole document. This matters because the question is which properties a review supports, and a single review can support several. A customer can discuss the staff, describe the physical surroundings, and explain their reaction to the meal in the same text. A single overall category would lose those distinctions. A collection of word-level topic assignments gives the method a way to collect evidence from across the document and make several decisions at the document level.

The phrase lists serve a different role at training time and test time. During training they are available alongside the review bodies, and their wording helps the system learn a vocabulary of properties. At test time the annotation is withheld. The method has to recognize those properties from the new review body. The cluster for a predicted property then supplies candidate phrases associated with it. This arrangement makes it possible to predict a phrase even when the body expresses the corresponding property in other terms.

Where the task sits among earlier approaches

The authors connect this work to earlier information extraction research on product reviews. They describe systems for extracting review features, opinions, and reasons given for pros and cons. The extracted phrases resemble the annotations available as input here. The proposed task adds a collection-level question: which of the many phrases in that input should count as expressions of a common property? Answering it gives the system a common basis for comparing reviews. It also lets the system offer a learned phrase for a property whose evidence in the document takes another form.

A second line of work supplies the treatment of review words. In Latent Dirichlet Allocation, the subject matter of a document is represented by a mixture of hidden topics. Each word occurrence has a topic assignment, and each topic supplies probabilities for words. Texts that share a topic can thus draw on the same word distribution even when their overall mixtures differ. For the review task, this gives a natural way to represent a document that touches on several properties and gives each of them a different amount of space.

A topic is hidden in the sense that its identity and its word assignments have to be inferred. The observed words tell the procedure something about which assignments fit, but the words carry no explicit topic labels. The phrase lists give the authors another source of evidence about what the topics might mean. If several reviews carry phrases about a similar property, their bodies can help establish what that property tends to look like in running text. By putting the phrase clusters and the word topics in correspondence, the authors try to make the topics more useful for the semantic decisions the evaluation will ask for.

The paper also discusses approaches that tie topics to supervision with a pre-defined structure. A restaurant dataset, for example, can be organized in advance around food, atmosphere, and service. Those are intelligible distinctions and give the learning procedure fixed categories to work with. In the task Branavan and colleagues study, the training signal comes from freely written phrases. The names and the groupings have to be recovered from the data. The underlying question is whether a property can be learned in a useful form when the categories exist only indirectly in the way people annotate and write their reviews.

Why grouping phrases and reading reviews belong together

It would be possible to split the problem into a pipeline. One stage could decide which phrases are similar, and a later stage could train a separate predictor using the resulting groups as labels. That design would give the predictor consistent targets, but it would also make the initial grouping final before the review bodies had a chance to clarify it. A phrase that is hard to place from its wording or its distribution across lists might become easier to place once the procedure considers the words in the associated reviews.

The joint approach makes that evidence available while the groups are still being learned. If an assignment places a phrase with other expressions of the same property, the resulting cluster should help explain some of the review words. Assigning the phrase elsewhere changes which topics the corresponding lists favor. The procedure can therefore weigh that downstream effect as part of deciding where the phrase belongs. Conversely, the groups already suggested by the phrases can guide the word assignments towards properties that reviewers tend to single out.

For this exchange to work with incomplete annotations, the guidance must leave room for what the body adds. If a reviewer lists a strength of the food and then devotes part of the body to staff, there should be a way to allocate those staff-related words to a topic even if the phrase list gives that topic very little weight. That freedom is built into the method at the level of individual words. It also makes the authors’ central design choice testable: they can ask what happens when the alternative source of word topics is removed.

The method, step by step

How a review and its phrases meet

The first object the method needs is a corpus of review bodies paired with their authors’ phrases. The authors collect the distinct phrases seen in the corpus and compare them with one another. Each distinct phrase receives a cluster assignment. A cluster is meant to represent a property, and the same property has a corresponding topic for the words in the bodies. A phrase therefore connects to a word topic through its cluster, even if the words that make up the phrase never appear together in the review.

Consider a reviewer who marks a nutritional advantage in the short list and describes low-calorie dishes in the body. Given the current phrase clustering, the procedure can look up the cluster for the annotation and give its topic extra probability when assigning words in that review. It then checks whether each observed word is plausible under that topic’s word distribution. The same review can contain plenty of words whose assignments are better explained by other topics. To accommodate that possibility, each word has a choice between the topic distribution suggested by the list and a separate topic distribution for the review.

These decisions are provisional throughout joint training. The topics guide phrase grouping, the grouping guides topic assignment, and the word assignments update the topic word distributions. Once training has supplied estimates of those distributions, a new review body can be analyzed without a phrase list. The reported properties are the ones that attract a large enough share of its word assignments.

From author-written phrases to properties of unannotated reviews

The steps in order.

From author-written phrases to properties of unannotated reviewsStep 1: Compare distinct phrases across the training reviews1. Compare distinct phrases across the training reviewsStep 2: Initialize phrase clusters from the similarity scores2. Initialize phrase clusters from the similarity scoresStep 3: Initialize word topics with phrase clusters fixed3. Initialize word topics with phrase clusters fixedStep 4: Refine phrase clusters and word topics jointly4. Refine phrase clusters and word topics jointlyStep 5: Assign topics to an unannotated review’s words5. Assign topics to an unannotated review’s wordsStep 6: Apply property thresholds to the resulting shares6. Apply property thresholds to the resulting shares

What the method observes about phrases

For each distinct phrase, the authors use its similarity scores to the phrases in the vocabulary as its representation. This choice creates a place to combine evidence from the words inside a phrase with evidence from where it appears in the collection. The lexical comparison uses cosine similarity between phrase word representations. Cosine similarity measures how closely the representations point in the same direction, so shared wording can provide evidence for a match. The distributional comparison uses phrase co-occurrence across reviews. The paper describes these sources and the framework for accommodating them, while leaving the detailed construction of their combined scores unspecified.

A similarity score is an observation in the probabilistic account. The assumption is that a large score should be easier to explain when the two phrases are assigned to the same cluster, and a small score should be easier to explain when they are separated. This supplies graded evidence. Even a low-scoring pair can be grouped if other terms in the probabilistic calculation support that decision. Similarly, a high-scoring pair can be separated when the balance of evidence points elsewhere.

The number of distinct phrases and the chosen number of clusters play different roles. The former determines the size of the similarity matrix. The latter determines how many property identities are available for phrase and word assignments. At the corpus level the authors place a symmetric Dirichlet prior on the probabilities of assigning a phrase to each cluster. A Dirichlet distribution is a distribution over vectors of probabilities. Symmetry means the prior treats the cluster identities alike before the observations supply reasons to distinguish them.

ψ ∼ Dir(ψ₀)

Here ψ is the vector of corpus-wide cluster probabilities, ψ₀ is the symmetric prior parameter, Dir denotes a Dirichlet distribution, and ∼ means “is drawn from.” The subscript on ψ₀ distinguishes the prior from the probability vector sampled using it.

xℓ ∼ Mul(ψ)

Here xℓ is the cluster of phrase ℓ, ψ is the vector of cluster probabilities, Mul denotes a categorical draw in the paper’s multinomial notation, and ∼ marks a draw from that distribution. The index ℓ runs over the distinct phrases, so occurrences of the same observed phrase refer to a shared assignment.

p(sℓ,ℓ′ | xℓ, xℓ′) = Beta(sℓ,ℓ′; α₌) if xℓ = xℓ′, and Beta(sℓ,ℓ′; α≠) otherwise

Here sℓ,ℓ′ is the similarity between phrases ℓ and ℓ′, with ℓ′ indexing the other phrase in the pair. The variables xℓ and xℓ′ are their cluster assignments. The expression p to the left of the equality is the conditional density of the score, with the vertical bar marking what is given. Beta on the right denotes a Beta density evaluated at the score, with the parameter setting following the semicolon. The setting α₌ is Beta(2, 1) and gives higher scores more density. The setting α≠ is Beta(1, 2) and gives lower scores more density. The equality between the two assignments selects the first case.

In the paper’s notation, there are L distinct phrases and the matrix s has L by L entries, with scores in the interval from 0 to 1. The method treats these scores as conditionally independent given the phrase assignments. In practical terms, a candidate clustering gets support from the individual scores it explains. The independence assumption makes that evidence easy to combine, even though scores involving a common phrase can carry overlapping information.

How each word gets a topic

For a particular review, the method knows the phrases in its list and has a current cluster assignment for each of them. This information determines a probability distribution over topics for that review. Every topic represented anywhere in the list receives the same probability. Topics absent from the list receive a small smoothing probability. Smoothing keeps absent topics possible in this part of the method. The construction also means that having several phrases from a cluster in the same list does not make that cluster count as several represented topics.

The paper calls the distribution built from the phrase list η. It is specific to the document because different reviews have different lists. It is deterministic given the lists and phrase assignments. During training, changing the cluster of a phrase can therefore change η for the documents that carry the phrase. A separate distribution, φ, is also specific to each document. It learns its topic proportions from a symmetric prior and from the word assignments that use it.

φ_d ∼ Dir(φ₀)

Here d identifies a document, φ_d is its separate distribution over topics, and φ₀ is the symmetric Dirichlet prior parameter for that distribution. Dir denotes the Dirichlet distribution, and ∼ indicates a draw. The possible topics have the same identities as the clusters used for the phrases.

The source of each word’s topic is chosen by a binary variable. A shared probability determines the chance that the source will be the phrase-guided distribution. The authors put a Beta prior on that probability, allowing the training procedure to adjust it. This represents the degree of reliance on author annotations as something to infer from the evidence.

λ ∼ Beta(λ₀)

Here λ is the probability of choosing the phrase-guided source, λ₀ contains the prior’s Beta parameters, Beta denotes the distribution over that probability, and ∼ denotes a draw. The prior parameters let the procedure start with a distribution of plausible values for λ.

c_d,n ∼ Bern(λ)

Here c_d,n is the source indicator for position n in document d. Bern denotes a Bernoulli distribution, which has outcomes 1 and 0. The parameter λ is the probability of outcome 1, the phrase-guided choice, and ∼ marks a draw. Outcome 0 selects the separate document distribution.

z_d,n ∼ Mul(η_d) if c_d,n = 1, and Mul(φ_d) otherwise

Here z_d,n is the topic assigned to the word occurrence at position n in document d. The symbol ∼ denotes a draw, and Mul denotes a draw of one topic using the indicated probabilities. The vector η_d is determined from the observed list and its phrases’ current clusters, and φ_d is the separate topic vector. The value of c_d,n selects the vector, with the equality to 1 identifying the phrase-guided branch.

The topic then determines the distribution of possible words. Every topic has its own set of word probabilities, shared across documents. A word that bears on a particular property can support that property in many reviews, including reviews with different lists. Conversely, the same written word can be assigned to different topics in different occurrences, according to the topic probabilities and how probable the word is under each topic.

θ_k ∼ Dir(θ₀)

Here θ_k is the vector of word probabilities for topic k, θ₀ is the symmetric Dirichlet prior parameter for these vectors, Dir denotes the Dirichlet distribution, and ∼ denotes a draw. The same θ_k can be used wherever topic k is chosen.

w_d,n ∼ Mul(θ_z_d,n)

Here w_d,n is the observed word at position n of document d, z_d,n is the topic at that position, and θ_z_d,n is the word probability vector indexed by that topic. Mul denotes a draw of a vocabulary item, and ∼ indicates that the item is drawn according to those probabilities.

This sequence describes a generative process. It specifies how phrase similarities and document words would arise given the hidden assignments and probability distributions. The training problem runs in the other direction. The similarities, words, and author-written lists are available, and the authors want probable values for the cluster assignments, word topics, and distributions that could have produced the observations. The relevant quantity is the posterior, meaning the probability distribution of the hidden quantities after taking the observations into account.

How Gibbs sampling fits the hidden quantities

The joint posterior is too complicated for the authors to calculate directly. They use Gibbs sampling, which repeatedly updates hidden quantities using their conditional probabilities given the current settings of the others. A proposed topic for a word, for instance, can be evaluated while holding fixed the current phrase clusters, source indicator, and topic word probabilities. The procedure then moves on to other variables, so evidence from one update can affect later decisions. The authors cite earlier uses of Gibbs sampling in information extraction and word segmentation.

Several updates take the form of adding counts to prior parameters. This is possible because the distribution families are conjugate. In this setting, conjugacy means that after taking account of categorical observations, a Dirichlet prior yields a Dirichlet conditional distribution with updated parameters. Similarly, the Beta prior on the source probability stays in the Beta family after adding the evidence from the binary source choices. The update changes the probability of future draws from those distributions while keeping the same mathematical form.

p(ψ | …) = Dir(ψ; ψ′)

Here p(ψ | …) is the conditional density of the cluster probability vector ψ, and the ellipsis stands for the remaining quantities held fixed during the update. Dir is the Dirichlet density evaluated at ψ. The vector ψ′ contains the updated parameters, with the semicolon separating the vector being evaluated from those parameters.

ψ′_i = ψ₀ + count_ℓ(xℓ = i)

Here ψ′_i is the updated parameter for cluster i, ψ₀ supplies the common prior contribution, and count_ℓ counts the phrase indices ℓ for which the assignment xℓ equals i. The plus sign adds the observed assignment count to the prior contribution. This count is over distinct phrases with cluster assignments, the entities indexed by ℓ.

The separate topic distribution for a review is updated using only words whose source indicator selected it. That restriction follows from how the two sources are used. A word assigned to a topic through the phrase-guided distribution gives evidence about the topic’s vocabulary, but its topic choice provides no direct count for the separate review distribution.

p(φ_d | …) = Dir(φ_d; φ′_d)

Here p denotes the conditional density, the bar and ellipsis indicate that the other quantities are fixed, and φ_d is the separate topic probability vector for document d. Dir is the Dirichlet density, and φ′_d is its updated parameter vector for this document.

φ′_d,i = φ₀ + count_n(z_d,n = i ∧ c_d,n = 0)

Here φ′_d,i is the updated parameter for topic i in document d and φ₀ is its symmetric prior contribution. The function count_n counts positions n for which z_d,n, the topic assignment, equals i and c_d,n, the source indicator, equals 0. The symbol ∧ requires both conditions, and the plus sign adds that count to the prior contribution.

In contrast, updating a topic’s word distribution uses assigned words from both sources. Whichever route chose the topic, the topic’s own word probabilities were responsible for the observed word. The update pools that evidence across the corpus.

p(θ_k | …) = Dir(θ_k; θ′_k)

Here p is the conditional density of the word probability vector θ_k for topic k, and the vertical bar and ellipsis indicate conditioning on the other quantities. Dir is the Dirichlet density evaluated at θ_k, with the updated vector θ′_k as its parameter.

θ′_k,i = θ₀ + ∑_d count_n(w_d,n = i ∧ z_d,n = k)

Here θ′_k,i is the updated parameter of vocabulary item i in topic k, and θ₀ is the prior contribution. The sum ∑_d ranges over documents d. Inside each document, count_n counts positions n where the word w_d,n is item i and its assigned topic z_d,n is k. The symbol ∧ joins the two required conditions, and the resulting corpus count is added to θ₀.

The source probability is updated from the corpus-wide counts of the outcomes of the source indicator. This update uses the current assignments of source, including uncertainty that is represented by changing assignments across sampling iterations.

p(λ | …) = Beta(λ; λ′)

Here p is the conditional density of λ, the phrase-guidance probability. The bar and ellipsis denote conditioning on the other quantities. Beta evaluates the Beta density at λ using the updated parameter pair λ′.

λ′ = λ₀ + [∑_d count_n(c_d,n = 1), ∑_d count_n(c_d,n = 0)]

Here λ′ is the updated Beta parameter pair and λ₀ is its prior pair. The bracketed pair contains the counts for the outcomes 1 and 0, in that order. Each ∑_d sums over documents d, and count_n counts positions n in each document whose indicator c_d,n has the specified value. The plus sign means adding the counts to the corresponding prior parameters.

The updates for the individual assignments compare possible values. To make the relationship between them clear, write q for the source distribution selected at a particular word position. For a word topic update, the current source indicator selects which topic probabilities to use. The candidate topic also has to explain the observed word through its word distribution.

q_d,n = η_d if c_d,n = 1, and φ_d otherwise

Here q_d,n is the topic probability vector applicable to position n in document d. The symbol η_d denotes the phrase-guided vector and φ_d the separate document vector. The equality c_d,n = 1 tests whether the source indicator selects η_d. This notation gives the selected distribution a name for the conditional update.

p(z_d,n = k | …) ∝ q_d,n(k) × θ_k(w_d,n)

Here p is the conditional probability that z_d,n, the topic at position n in document d, equals candidate k, and the bar and ellipsis indicate the other quantities being held fixed. The symbol ∝ means the right side is proportional to the conditional probability. The factor q_d,n(k) is the selected source’s probability for k. The factor θ_k(w_d,n) is the probability that topic k gives to the observed word w_d,n. The multiplication sign combines the two kinds of evidence. The weights for the candidate topics are normalized before sampling.

For the source update, the topic stays fixed while the procedure compares the available routes to it. The word likelihood is shared between the routes because the current topic already specifies the word distribution. The useful distinctions are the prior probability of taking each route and the topic probability that the route offers.

p(c_d,n = b | …) ∝ Bern(b; λ) × q_d,n(z_d,n) evaluated with c_d,n = b

Here b denotes a candidate value of the source indicator c_d,n at position n of document d. The conditional probability p uses the other quantities held fixed, represented by the bar and ellipsis. The proportionality sign means the right side supplies an unnormalized weight. Bern(b; λ) is the Bernoulli probability of candidate b at source probability λ, and q_d,n(z_d,n) is the candidate source’s probability for the current topic z_d,n. The multiplication balances the two terms. Evaluating with c_d,n = b selects the appropriate source vector before normalizing the weights for the two outcomes.

The phrase cluster update is where the review bodies can directly influence the grouping. For a candidate cluster, the authors consider its prior probability, the associated similarities, and how changing the phrase assignment changes the phrase-guided probabilities of currently assigned word topics. This last factor concerns reviews that use the phrase and word positions that currently take their topics from those reviews’ lists. A candidate can change which topics are represented in a document’s list and thus alter the probabilities given to several word assignments at once.

p(xℓ = i | …) ∝ ψ_i × ∏_(a,b) Beta(s_a,b; α_xa,xb) × ∏_d ∏_(n:c_d,n=1) η_d(z_d,n)

Here p is the conditional probability of putting phrase ℓ in candidate cluster i, with the other quantities fixed by the conditioning bar and ellipsis. The proportionality sign means common factors can be omitted, and × multiplies the retained kinds of evidence. The prior factor ψ_i is the corpus probability of cluster i. The first product ∏_(a,b) ranges over the similarity entries affected by the candidate assignment, where a and b index phrases, and s_a,b is the corresponding score. The term Beta evaluates its density using α_xa,xb, the parameter setting selected according to whether the assignments x_a and x_b match. The remaining products range over documents d and positions n whose indicator c_d,n equals 1. The term η_d(z_d,n) is the probability that the document’s phrase-guided distribution gives the currently assigned topic. That distribution is evaluated under the candidate phrase assignment. Factors from documents or entries unaffected by the change can be left out of the comparison.

For all these assignment updates, the sampler draws from the normalized candidate weights. The operation is stochastic even with the other quantities fixed. A plausible assignment with less support than another can still be sampled. By repeatedly updating the variables, the authors seek a collection of samples from the joint posterior, which gives them a basis for estimating values to use in testing.

How training starts and how testing ends

The training schedule breaks the initial work into stages. First, the sampler works on the phrase clusters using the similarity scores, without considering the document words. It runs this stage for 5,000 iterations. It then fixes the resulting grouping and lets the remaining parameters adapt for 5,000 iterations. Finally, it allows the whole system to update jointly for 100,000 iterations. The authors use the preliminary stages to help convergence and report checking the parameter estimates for evidence that the procedure had converged.

The authors take their final training estimates from the last 1,000 sampling iterations. For a continuous quantity they average the sampled values. For a discrete quantity they use the mode, the most frequently sampled value. They describe the averaging as a heuristic supported by the shape of their sample histograms, which showed one peak and little skew. They also report that estimates from an individual sample typically worked about as well, with greater susceptibility to sampling noise.

A new review supplies words without supplying a phrase list. The authors use the learned topics to infer assignments for those words, then count how much of the review has been assigned to each topic. For a property, the proportion is the count of positions assigned to it divided by the number of word positions in the document. The authors tune a separate threshold for each property on development data and predict support when the proportion exceeds that threshold. This is the point where word-level assignments become document-level decisions. Phrase output can then be evaluated through the clusters associated with the predicted properties.

Experiments and results

Review collections and test references

The authors use reviews from the restaurant and cell phone categories of Epinions. The restaurant collection contains 3883 reviews, with a reported mean review length of 916.9 and an average of 3.42 phrases per review. The cell phone collection contains 1112 reviews, with a reported mean review length of 1056.9 and an average of 4.91 phrases per review. In each category, the authors randomly allocate 50% of the documents to training, 15% to development, and 35% to testing. They use the development set to choose a workable cluster inventory and to set the property thresholds.

The system requires the number of clusters as input. The authors use 20 clusters for restaurants, leaving capacity for phrases outside the eight common properties in the manual review annotation. They use 30 clusters for cell phones. This design gives the method a fixed number of places to put phrases while leaving the meaning of each place to be learned. The authors report that a multithreaded C++ implementation trained in about two hours per dataset on a 2GHz dual-core desktop machine. The reported runtime concerns this implementation and training schedule.

The evaluation based on author annotations asks whether predicted properties recover the phrases in the original lists. After inferring properties from the held-out review body, the procedure checks the phrase clusters for the original annotations. This is an appealing test because those lists are the data the site actually collects. It also inherits the missing-label problem that motivates the paper. A phrase associated with a prediction can describe a topic in the body and still fail to match anything in the reference list. Thus precision measured against the list is precision of reference recovery, where the reference reflects what the reviewer chose to record.

The manual evaluation addresses that issue for a selected group of restaurant properties. The authors hand-annotate 160 reviews for eight often mentioned properties. Two raters annotate 30 of those reviews in common. The Cohen’s kappa on that overlap is 0.78. Kappa measures agreement while allowing for agreement that would occur by chance, so the paper uses it to characterize agreement on the manual decisions. The reviews receive 2.56 properties on average. To evaluate predictions, the authors choose the most common phrase for each annotated property as its representative and test whether the system supports it from the body.

The paper reports an average of 19.1 keyphrases per manually defined property in the restaurant data and 6.7 in the cell phone data. These figures concern phrase groupings. The manually annotated review-level evaluation in the results is for restaurants. Keeping the two kinds of reference distinct matters. A reference clustering answers whether phrases belong together, whereas a reference annotation on a review answers which properties that particular text supports.

What the baselines test

The random baseline assigns a probability of one half to predicting each candidate phrase. Its results are calculated in expectation, giving a recall of 0.5 and a precision equal to the prevalence of supported phrases in the test reference. It offers a useful point of comparison for the difficulty of obtaining both coverage and selectivity. A method can confidently produce a small set of answers and still have a worse F-score if it leaves most reference items uncovered.

The phrase-in-text baseline predicts support only when the phrase occurs verbatim in the review. The cluster-in-text baseline extends that test to any member of the phrase’s cluster. The latter uses the grouping learned by the authors’ system. It therefore tests how far the learned grouping can take a simple matching rule. The two rules read the same body. The difference is whether the rule can use other formulations of the property as evidence.

The phrase classifier learns a separate maximum entropy classifier for each phrase. A maximum entropy classifier uses features here derived from word counts to estimate the decision about its label. For a particular phrase, reviews whose lists contain it are positive training examples, and the remaining reviews are treated as negative. This way of defining the groups can place documents that use an alternative phrase for the property among the negatives. It can also put reviews with a relevant passage and no corresponding annotation among them.

The cluster classifier broadens the positive training set. It learns a classifier for each of the joint method’s clusters and treats any review with an annotation from that cluster as a positive example. A positive prediction supports all the phrases in that cluster. Both classifiers use the word-count features available to the authors’ approach, and both were built with Zhang Le’s MaxEnt toolkit. Grouping phrases gives the cluster classifier a more inclusive set of positives, although reviews that omitted the entire property from the list still enter its negative set.

The paper reports precision, recall, and F-score for these comparisons. Precision asks what share of the predictions the reference supports. Recall asks what share of the reference items the method retrieves. F-score combines the two, making it sensitive to a low value on either side. The authors use the sign test for statistical significance and mark individual comparisons at p <= 0.05 or p <= 0.1. An F-score ordering and a marked sign-test comparison convey different information, and some of the highest-scoring alternatives lack a significance mark.

Recovery of the original review annotations

On the restaurant test against the reviewers’ free-text annotations, the joint method reaches an F-score of 0.757, with recall of 0.901 and precision of 0.652. The strongest baseline by F-score is cluster in text at 0.572, with recall of 0.517 and precision of 0.640. Here the joint procedure recovers more of the original annotations while retaining a similar precision value. The authors mark the sign-test comparison with cluster in text at p <= 0.05 in this evaluation.

The restaurant phrase-in-text baseline has precision of 0.909 and recall of 0.078, producing an F-score of 0.144 against the free-text reference. The phrase classifier is even more selective, with precision of 0.963 and recall of 0.068, giving an F-score of 0.126. The cluster classifier obtains an F-score of 0.398 from precision of 0.907 and recall of 0.255. The random baseline has an F-score of 0.500. The significance marks at p <= 0.05 cover all of those restaurant free-text baseline comparisons with the joint method.

The cell phone test gives the joint method an F-score of 0.705 against the original annotations, with recall of 0.886 and precision of 0.585. Cluster in text is again the highest-F-score baseline at 0.659, with recall of 0.829 and precision of 0.547. The two methods’ results are closer here than in the restaurant free-text evaluation. The paper supplies no sign-test mark for that particular comparison, so the reported ordering rests on the tabulated scores.

Cell phone review predictions against free-text annotations by F-score

The joint method leads the comparison, with cluster-based matching the strongest baseline.

Cell phone review predictions against free-text annotations by F-scorePhrase classifier: 0.055Phrase classifier0.055Phrase in text: 0.259Phrase in text0.259Cluster classifier: 0.328Cluster classifier0.328Random: 0.494Random0.494Joint method with fixed human clusters: 0.655Joint method with fixed human clusters0.655Cluster in text: 0.659Cluster in text0.659Joint method with learned clusters (this paper): 0.705Joint method with learned clusters (thispaper)0.705
The numbers
System or settingF-score
Phrase classifier0.055
Phrase in text0.259
Cluster classifier0.328
Random0.494
Joint method with fixed human clusters0.655
Cluster in text0.659
Joint method with learned clusters (this paper)0.705

The cell phone precision and recall figures help explain the baseline order. Phrase in text reaches precision of 0.529 and recall of 0.171 against the free-text reference. The phrase classifier has precision of 0.600 and recall of 0.029. The cluster classifier reaches precision of 0.759 and recall of 0.210. The random baseline is listed at precision of 0.489 and recall of 0.500. The table marks p <= 0.05 for the joint method’s comparisons with random, phrase in text, and the phrase classifier. The comparison with the cluster classifier has no significance mark.

The cell phone results are also a reminder that each metric answers its own question. The cluster classifier’s precision of 0.759 exceeds the joint method’s 0.585, yet the much lower recall of the classifier accompanies a lower F-score. The system that returns the most selective set of predictions can be a different system from the one that recovers the broadest useful set. The paper’s comparative claim is about the combination of precision and recall, with the separate values showing where each approach makes its tradeoff.

Predicting the manually annotated restaurant properties

The restaurant manual reference asks a more focused question. The human judgments concern a small set of frequently discussed properties, and the test can credit a property that the reviewer discussed without listing it. The joint method reaches a recall of 0.625, a precision of 0.416, and an F-score of 0.500. The random baseline has recall of 0.500, precision of 0.300, and an F-score of 0.375. It has the highest F-score among the baselines on this reference.

Restaurant review predictions against manual annotations by F-score

The joint method leads on the manual reference, where random prediction has the highest baseline F-score.

Restaurant review predictions against manual annotations by F-scorePhrase classifier: 0.053Phrase classifier0.053Phrase in text: 0.087Phrase in text0.087Cluster classifier: 0.192Cluster classifier0.192Cluster in text: 0.314Cluster in text0.314Random: 0.375Random0.375Joint method with fixed human clusters: 0.472Joint method with fixed human clusters0.472Joint method with learned clusters (this paper): 0.500Joint method with learned clusters (thispaper)0.500
The numbers
System or settingF-score
Phrase classifier0.053
Phrase in text0.087
Cluster classifier0.192
Cluster in text0.314
Random0.375
Joint method with fixed human clusters0.472
Joint method with learned clusters (this paper)0.500

The matching rule with clusters shows what is gained by using several expressions for a property. Its recall is 0.223 and its precision is 0.534 on the manual restaurant reference. The rule that requires the exact phrase has recall of 0.048 and precision of 0.500. In this evaluation, consulting alternative phrases raises recall while also yielding a higher observed precision. The cluster rule still leaves much of the annotated material uncovered. The joint method raises recall further and obtains the higher F-score with lower precision than the cluster matching rule.

The maximum entropy baselines present a particularly clear precision and recall imbalance on this subset. The phrase classifier has precision of 0.636 and recall of 0.028. The cluster classifier has precision of 0.622 and recall of 0.113. Both return a relatively selective set of positive predictions while recovering a small share of the manually marked properties. The pattern is consistent with the authors’ explanation that the classifiers train on lists with sparse positive labels, including many apparent negatives that a reader could reasonably consider positives.

For the manual restaurant evaluation, the sign test marks the joint method’s comparisons with random, phrase in text, and the phrase classifier at p <= 0.05. The comparison with the cluster classifier is marked at p <= 0.1, and the table leaves the comparison with cluster in text unmarked. The joint method has the highest tabulated F-score under both kinds of restaurant reference. The reference changes the outcome being measured, so the restaurant scores across the two evaluations describe performance on different tasks.

What the ablations show

Giving unlisted properties a source of word topics

The most direct intervention removes the separate route by which review words can receive their topics. In the full method, a word topic can come from the phrase-guided distribution or from a distinct topic distribution for the document. The restricted version forces all word topics to be drawn through the phrase-guided route. The authors report F-scores of 0.390 in the restaurant category and 0.171 in the cell phone category for this restriction. They describe these scores as at or below the level of the classifiers. The comparison is reported by review category, without a full precision and recall breakdown for the restricted setting.

The change tests dependence on the author’s list. The guided distribution has a small smoothing allowance for topics absent from the annotations, but it concentrates probability on topics present in them. Removing the separate distribution eliminates the route through which a review can give substantial weight to an omitted property on the strength of its words. The decline supports the decision to give the document a second source of topic probabilities. It also fits the authors’ account of why a classifier trained from label presence and absence can miss real properties.

The intervention changes how word topics are generated and how their probabilities can adapt to a review. It measures the value of the combined flexibility that the second route provides. A breakdown of which omitted property types benefited most would require a more detailed analysis of the predictions and the annotation omissions.

Recognizing a property through alternate phrases

The exact-phrase and cluster matching baselines form a controlled comparison of the role of paraphrasing. One requires the particular phrase, and the other accepts any phrase in the learned group. On the restaurant free-text evaluation, moving to cluster matching takes recall from 0.078 to 0.517 and F-score from 0.144 to 0.572. On the cell phone free-text evaluation, recall moves from 0.171 to 0.829 and F-score from 0.259 to 0.659. On the manually annotated restaurant evaluation, the cluster version also has the higher recall and F-score.

The recall movement has a straightforward interpretation. If a review uses a different phrase associated with the property, exact matching will pass over it. Once another phrase can count as evidence, that same review can become retrievable. The matching rule still needs to find literal wording somewhere in the cluster. A body that describes the property across several words or passages can remain difficult for that rule, even if a human reader readily recognizes the subject.

The classification baselines show the effect of using phrase groups in training. The cluster classifier recovers more reference items than the phrase classifier in every evaluation. The expansion changes which training documents count as positive and which phrases are supported at prediction time. Both mechanisms can contribute to the higher recall. The full joint method then makes further gains using word topics and a separate route for evidence beyond the annotation list. These comparisons show the value of phrase grouping in its own right while leaving room for the review body to contribute in a different way.

How the review bodies change the clustering

The authors also evaluate the clusters themselves. They use the Rand Index, which compares two groupings by looking at whether pairs of items are placed together or apart in both. Higher values indicate more agreement. Comparing the learned groups with human reference clusters gives the authors a way to ask whether including the review bodies improves the phrase organization, independently of the final document-level F-score.

When clustering uses keyphrase similarity alone, the Rand Index against the reference is 0.931 for restaurants and 0.759 for cell phones. With joint training on phrases and review bodies, the values are 0.966 for restaurants and 0.876 for cell phones. The ordering is the same in both categories. The words of the review bodies supply evidence that makes the resulting grouping more consistent with the human reference under this metric.

The jointly learned clusters play two roles in the paper’s argument. They support experiments in which matching or classification can use several phrases for a property, and their agreement with the human clustering can be compared directly. A gain on the Rand Index answers a narrower question than a gain on review prediction. The pairwise agreements give evidence about the organization of the phrases, whereas review prediction also depends on topic word probabilities, document-level assignments, and thresholds.

Fixing the clusters to a human grouping

Another variant supplies fixed, manually created clusters to the topic-based system. On the manual restaurant reference, its F-score is 0.472, compared with 0.500 for the learned-cluster version. On restaurant free-text annotations it obtains 0.701, compared with 0.757. For cell phone free-text annotations it obtains 0.655, compared with 0.705. The paper marks the difference for restaurant free-text precision and recall behavior as significant on its sign test at p <= 0.05 for the comparison as a whole, and marks the cell phone comparison at p <= 0.1. The manual restaurant comparison is unmarked.

The cell phone figures give an example of how the fixed grouping changes the balance of predictions. Both variants have recall of 0.886 on the free-text reference. The fixed-cluster variant has precision of 0.520, while the learned-cluster version has precision of 0.585. The reported advantage there comes with higher precision at the same reported recall. On the restaurant references the learned-cluster version has higher tabulated values on both precision and recall.

The authors draw a task-specific conclusion from the comparison. Their learned clustering is sufficiently useful for predicting review properties, and using the human grouping gives no advantage in the reported F-scores. Human clusters provide a standard for how phrases are organized. The prediction task additionally rewards groups that work with the learned topic distributions and the available review evidence. A manual grouping can therefore be useful as a reference even when fixing the training procedure to that grouping gives it less effective predictions.

Limitations

Assumptions the authors identify

The authors single out their treatment of similarity scores as a simplifying assumption. The comparison between a pair of phrases is treated as conditionally independent of the other comparisons once the cluster assignments are known. Real scores can be related because they share words, phrase representations, or occurrences in the same reviews. A distinctive phrase may contribute similar evidence to many entries. The authors suggest giving the whole matrix a joint probabilistic treatment so the connections among scores can be represented directly.

They also treat the induced properties as unstructured. The procedure can assign a review several topics, but the decision rule for reporting a property does not enforce a semantic relation to another property. The authors illustrate the issue with properties expressing favorable and unfavorable judgments of food. They would like explicit relations such as antonymy to inform when those labels are compatible. They mention correlated topic distributions and hierarchies as possible ways to represent relationships among properties. These are directions for further work. The experiments use the simpler structure.

The authors describe free-text annotations as a broader opportunity than pros and cons lists. They suggest using short blog tags to standardize tags across posts or supply tags for untagged entries. They also describe exploring section titles in Wikipedia articles as clues to common article structure. Those suggestions involve the same general pairing of a short, freely written annotation with a longer text, while the reported evaluations concern the restaurant and cell phone reviews.

Where the experimental conclusions apply

The review collections provide evidence for the task under an annotation convention in which people summarize advantages and disadvantages. Other annotation conventions could change what the short texts tell a learner. Review pros and cons are already selective judgments about the subject. A different collection might organize its annotations around another purpose, and the usefulness of the phrase groups would depend on how closely that purpose aligns with what the system is asked to recognize. The paper’s results establish performance in the two review categories tested.

The free-text reference leaves room for disagreement between annotation recovery and semantic correctness. If a system predicts a phrase cluster associated with a property that the body supports but the author omitted, the evaluation can count the prediction as unsupported. If a reviewer supplies a phrase whose relevant context is thin in the body, recovering it is still rewarded by the reference. This is a property of the benchmark as defined. The manual restaurant annotation reduces the effect of omissions for the selected properties by asking raters to mark what the review supports.

The manual reference has its own scope. It covers the eight common restaurant properties chosen for annotation, with 30 reviews shared between raters for the reported agreement check. The kappa of 0.78 characterizes that shared subset. The larger set of annotated reviews gives the prediction experiment a reference for those properties, while the paper offers no comparable manually annotated cell phone review evaluation. In particular, a strong cell phone score against free-text labels cannot settle how well the method recovers cell phone properties omitted from those lists.

The number of topic and cluster identities is chosen for each dataset. The system discovers the grouping and the topics within that inventory, while the values of 20 and 30 come from development decisions. The results therefore speak to induction under a chosen number of clusters. The setup offers no evidence that the procedure can determine the appropriate number of semantic properties automatically or that it would be equally effective across other inventory sizes. Likewise, the use of development thresholds makes the test decisions dependent on the data available for calibration.

What the representation and comparisons leave open

The word-based representation supports a document-level estimate of how much text is associated with a property. The method uses word identity and topic assignment, while the baselines that learn classifiers use word counts. This is well suited to recurring vocabulary across reviews. The representation described in the paper gives no explicit analysis of which expression modifies a particular aspect, how a qualification changes a claim, or which span a reader should consult to verify the final property prediction. The method and evaluation focus on assigning support to the document as a whole.

The thresholds also embody a choice about what evidence counts. A property supported by few words can be missed when its share of assignments falls below the threshold. A recurring pattern of words can take the share above threshold when the connection to the intended property is weak. Learning a threshold by property allows the procedure to adapt the decision rule to development data. The results report how well those decisions work in aggregate under the chosen references, with no separate measurement of accuracy as a function of the length or location of supporting passages.

The Rand Index gives a summary of whether phrases are grouped similarly to the human reference. It does not report the correctness of a particular pair that matters for reading or predicting a particular review. The fixed-cluster comparison helps connect grouping to the downstream task, but the two evaluations still answer different questions. An improved agreement score supports the claim that the text helps organize phrases. The prediction results supply the evidence about how well that organization serves the stated review task.

Finally, the paper compares several plausible strategies and includes a direct test of removing the alternate topic source. Those experiments identify useful parts of the complete procedure. The comparison between similarity-only and joint clustering tests the contribution of using review text in the grouping process. The text matching baselines test the effect of accepting alternate expressions. The restricted topic source tests the value of giving unlisted topics a separate route. The individual lexical and co-occurrence signals, the initialization schedule, and their interactions do not receive the same controlled breakdown. Their separate contribution remains open.

What came after

A Joint Model of Text and Aspect Ratings for Sentiment Summarization is the citing work associated with the paper, and Branavan and colleagues also cite it. Both works are dated 2008. The relationship described in Branavan and colleagues’ discussion is a shared interest in learning from review text together with document-level annotations. Titov and McDonald connect text to ratings for aspects in a pre-defined annotation structure, with sentiment summarization as the objective. The aspects give the text analysis a set of semantic distinctions to work with.

That supervision changes what has to be inferred. Given ratings for pre-defined aspects, the procedure can relate the words of a review to the aspects that the ratings already distinguish. When the extra information consists of phrases the authors of reviews selected freely, the relation among the phrases is itself part of the learning problem. Branavan and colleagues make that relation explicit by putting a cluster between each phrase and its corresponding word topic. Both settings use information attached to a review to guide analysis of its body. They differ in how much of the desired structure the annotation supplies in advance.

The citation establishes a connection between the two works. Branavan and colleagues describe the ratings approach as contemporaneous research on coupling text with explicit supervision. The documented relationship concerns that shared strategy and the different form the annotations take. It establishes no specific reuse of their phrase-clustering procedure, their sampling equations, or their review evaluations by Titov and McDonald.

Cite

Cite as S.R.K. Branavan, Harr Chen, Jacob Eisenstein and Regina Barzilay. 2008. Learning Document-Level Semantic Properties from Free-Text Annotations. Proceedings of ACL-08: HLT.

The paper itself, not this page. BibTeX from the library's record of the work.

@inproceedings{branavan2008learning,
  title = {{Learning Document-Level Semantic Properties from Free-Text Annotations}},
  author = {S.R.K. Branavan, Harr Chen, Jacob Eisenstein and Regina Barzilay},
  booktitle = {Proceedings of ACL-08: HLT},
  year = {2008},
  doi = {10.1613/jair.2633},
  url = {https://doi.org/10.1613/jair.2633}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/branavan-2008-learning-document-level-semantic-properties/