Elamur Research

Unsupervised Methods to Improve Aspect-Based Sentiment Analysis in Czech

Paper · 2016 · Tomáš Hercig, Tomáš Brychcín, Lukáš Svoboda et al.

Summary

A restaurant reviewer can praise the food and complain about the service in the same sentence. A single sentiment label loses the connection between each judgment and what it describes. Aspect-based sentiment analysis keeps those connections. It asks which expressions name something the reviewer discusses, which broader categories the sentence concerns, and what sentiment the reviewer expresses towards each. The difficulty is that training a system to make these distinctions requires reviews with detailed labels. Hercig and colleagues ask how much a system can learn from the larger collections of text that are available without those labels. Their study belongs to research on sentiment and emotion.

The authors use word usage as a source of evidence. They learn which words tend to occur in similar surroundings, group words with similar usage, and give the resulting group labels to supervised classifiers alongside ordinary word features. A classifier can then recognize a pattern shared by several words even if some occurred rarely in its annotated training examples. The paper tests several ways to build those groups and several sizes of group inventory. For Czech, it also tests stemming, which brings inflected forms together under a common representation. The two sources of learning serve different purposes. Unlabeled text supplies the word groups, and annotated sentences teach the classifiers to find aspects and identify sentiment.

The experiments cover Czech and English restaurant reviews. In the Czech data, combining stem features with word groups from GloVe and continuous bag-of-words raises aspect term extraction from 71.4% to 78.7% F-measure and category extraction from 71.7% to 80.0% F-measure. With the same combination, accuracy rises from 67.4% to 72.5% for term polarity and from 69.7% to 74.0% for category polarity. English benefits as well. Its strongest term extraction and term polarity results use continuous bag-of-words alone among the additional word-group sources. The strongest Czech category polarity result comes from a different source, Skip-gram. The best feature choice therefore depends in part on what the system must predict.

The authors also expand an annotated Czech restaurant-review collection and assemble a substantially larger unlabeled collection from restaurant reviews, recipes, and hotel reviews. Both resources are made available for research. The authors describe their Czech results as the strongest known to them at the time. Their central empirical finding is that features learned from ordinary text can help across the extraction and polarity tasks while the amount of annotated training material stays fixed.

Deep dive: Unsupervised Methods to Improve Aspect-Based Sentiment Analysis in Czech

How word groups learned from unlabeled text and Czech stemming helped identify what restaurant reviews discuss and how they judge it. · about 34 minutes to read

The problem and its context

What a review is about and how it feels about each part

A sentence-level sentiment label treats the sentence as a single object of judgment. That can work when a reviewer expresses one overall view, but a restaurant review can contain several judgments even within a short passage. A diner might praise a dish and find the prices excessive. For somebody interested in why customers complain, the useful information is that the complaint is about price. An overall label supplies no way to recover that connection. It also gives the system no obligation to distinguish the dish from the price. The paper takes the entity being reviewed, such as the restaurant, as known and looks for finer distinctions within what the reviewer says about it.

The task definition distinguishes an aspect term from an aspect category. A term is an expression present in the sentence. In the paper’s example with a pork dish and soup, both foods are named, and the system is expected to return the expressions that name them. A category belongs to a pre-defined inventory. The paper illustrates this with a sentence that mentions a waitress and worn furniture. Those details can make the sentence relevant to service and ambience without either category name appearing in the review. Recognizing a category therefore requires evidence that can be spread across expressions, while recognizing a term requires identifying the words themselves.

The distinction leads to separate questions about the same text. Term extraction asks which expressions to return. Category extraction asks which labels from the inventory apply, and several can apply at once. Term polarity asks for the sentiment associated with each supplied expression. Category polarity asks for the sentiment associated with each supplied category. A sentence can thus yield a positive judgment for one aspect and a negative one for another. The polarity inventory also includes neutral and bipolar. Bipolar records both positive and negative sentiment towards the aspect being judged, whereas neutral is a separate label. A difference in sentiment between aspects is readily represented by giving each aspect its own polarity.

Giving the polarity classifiers their targets makes the boundaries of the evaluation important. In the soup example, the extraction task tests whether the system can find the foods that are mentioned. The polarity task tests whether, given a food expression, it can assign the appropriate judgment. A system may succeed at recognizing the expression while missing its sentiment, or it may judge sentiment correctly once the expression has been supplied. These outcomes call for different evidence. Keeping the tasks separate lets the paper ask whether a source of lexical information helps each of them.

This setup comes from SemEval-2014 Task 4. The paper also discusses the move to more detailed categories and associations between targets and categories in SemEval-2015 Task 12 and SemEval-2016 Task 5. Those associations change what a system needs to return. Finding a target phrase and independently recognizing a category are distinct from linking the phrase to that category. The earlier task definition gives the authors separate tests of whether the same source of word information can help with spans, categories, and judgments.

Why the authors turn to unlabeled text

The paper identifies detailed annotation as a bottleneck. An annotator has to make more decisions for aspect-based sentiment than for a single overall rating. A collection of restaurant reviews already contains examples of how people describe food, service, or furnishings. Turning those reviews into supervised training material requires somebody to identify the relevant expressions or categories and assign the appropriate polarities. The authors point to reviews, forums, and blogs as readily available material whose wording can help even when it comes without those decisions.

The underlying issue is how to carry evidence from familiar words to less familiar ones. Consider a classifier that has seen numerous annotated mentions of a particular dish but little evidence about another food expression. A lexical feature for the familiar dish is tied to that form. If both expressions tend to occur in similar contexts across a larger collection, a shared feature can give the classifier evidence that applies to both. The larger text collection is used to discover the connection. A labeled review still determines whether that connection has proved relevant to finding a term, predicting a category, or judging sentiment. This division makes unlabeled text useful even though its contents do not directly specify the task’s outputs.

The authors place the work against a literature that had focused heavily on English. In their account, several earlier Czech sentiment studies had addressed judgments over sentences or documents. They identify an earlier restaurant-review study as the first Czech effort at aspect-based analysis and build on its data and annotation procedure. They also discuss a Czech collection of information technology product reviews. That collection includes marked targets and sentiment annotations, but lacks both target categories and sentiment judgments tied to the marked targets. This illustrates why the existence of annotated text in another domain does not by itself supply data for the full set of restaurant-review tasks.

Several earlier methods inform the division of the system into separate predictors. The authors draw on named entity recognition for the problem of locating expressions in a sequence. Here, the expressions can be ordinary descriptions or names of things under discussion, and the extraction output needs no entity type. Work on assigning multiple labels to a document informs the category extractor because a review sentence can concern several categories. Earlier sentiment classification work informs the polarity predictors. The paper combines these established task designs with additional features and asks what changes when the predictors can use those features.

Why Czech and English make a useful comparison

The authors describe Czech as highly inflected and relatively flexible in word order. They describe English as having little inflection by comparison. The morphology matters to a classifier built around observed words. Inflected variants can occupy separate entries in its feature vocabulary, which distributes the available training evidence across forms. The same issue arises when learning from unlabeled text. If a word appears in several forms, observations about its surroundings may be distributed across several entries in the collection used to estimate usage.

The comparison is possible because the labeled Czech and English collections concern the same domain and follow the same annotation scheme. That alignment holds the meaning of the outputs reasonably steady. A term still refers to expressed wording and a category to an inventory label, whichever language is being examined. Meanwhile, the Czech experiments can test stemming, a procedure that groups forms by reducing them to a common stem. The design asks both whether word groups are useful in each language and whether a language with substantial inflection benefits when the evidence used to build or apply the features is aggregated across forms.

The method, step by step

From ordinary text to evidence for a classifier

The system starts with two kinds of input. Some restaurant-review sentences have annotated aspects and judgments. They provide examples of what each classifier should predict. A larger collection contains text without those annotations. It provides many more examples of which words occur near one another or participate in similar topics. The authors learn from this second collection first, then translate what they learn into features that supervised training can use.

The principle is distributional semantics. Words with similar uses tend to have measurable similarities in their contexts. A representation based on those contexts gives each word a vector, an ordered set of values that places the word in a space where it can be compared with other words. One method might emphasize nearby word occurrences, while another might derive its values from prediction or topics. In each case, the resulting representation supplies a way to compare words using evidence from the unlabeled collection.

The authors then cluster the word vectors. A cluster gives words assigned to the same group a common identity. That identity can be used much like a word feature. If a feature records that an expression from a particular group occurs next to the current token, it can fire for different expressions assigned to that group. The same idea works for pairs of clusters or for the presence of a cluster anywhere inside a selected passage. The classifier uses the resulting evidence together with features derived from the actual wording. Training on annotated cases establishes when a cluster feature helps with the task.

From unlabeled text to aspect and polarity predictions

The steps in order.

From unlabeled text to aspect and polarity predictionsStep 1: Prepare unlabeled and annotated text collections1. Prepare unlabeled and annotated text collectionsStep 2: Learn word representations from unlabeled contexts2. Learn word representations from unlabeled contextsStep 3: Group related words at several clustering depths3. Group related words at several clustering depthsStep 4: Build lexical and cluster features for each task4. Build lexical and cluster features for each taskStep 5: Train separate classifiers on annotated review sentences5. Train separate classifiers on annotated review sentencesStep 6: Evaluate extraction and polarity on held-out folds6. Evaluate extraction and polarity on held-out folds

A useful way to understand the transformation is to follow a word from a review through the feature pipeline. Its surface form can be evidence by itself. Its membership in a cluster gives the classifier a second piece of information about the kinds of contexts in which it appears. Nearby words can contribute their own group identities, and an adjacent pair can contribute a feature for the ordered pair of groups. In Czech, a stem can also enter the process, either as the basis of lexical features or through the word groups learned on stemmed text. The classifier sees these features side by side and can learn different associations for each.

A group membership has no assigned aspect or polarity when it is learned. The clustering procedure uses similarity in the unlabeled corpus, rather than a restaurant taxonomy or a sentiment label. A group might become an indicator of food in category extraction if the labeled sentences support that association. It could also be useful because its typical placement helps identify the bounds of a phrase. The usefulness of the group depends on the feature template and on the training examples available for the prediction being made.

Learning the word representations

Two of the representations start from co-occurrence counts. Hyperspace Analogue to Language, or HAL, builds a space from a matrix whose entries represent words occurring together. This gives a word a profile of its observed company. Correlated Occurrence Analogue to Lexical Semantics, or COALS, develops that approach using Pearson correlation, a measure of how values vary together. The authors describe singular value decomposition as part of the COALS method and specify that their experimental setting omits it. They use the S-Space implementations for these two representations. The reported dimensionalities are 50,000 for HAL and 14,000 for COALS, with a window setting of 4 for each.

Continuous bag-of-words, abbreviated CBOW, learns by trying to predict a word from its nearby context. The context supplies the evidence and the word in its center supplies the target of the prediction. Skip-gram reverses that direction. The current word supplies evidence for predicting the words around it. Both derive word embeddings from recurring prediction patterns in unlabeled text, but they ask different questions of the same kind of local material. The antecedents are Efficient Estimation of Word Representations in Vector Space and Distributed Representations of Words and Phrases and their Compositionality.

GloVe also builds vectors using evidence about words appearing together. Its distinguishing idea in the paper’s account is to use ratios of co-occurrence probabilities. Such a ratio represents how much more characteristic a context word is of one word than of another. The feature pipeline uses the learned vectors to compare and group words. It does not pass the ratios themselves to the review classifiers. The authors use the official GloVe implementation and the Word2Vec implementation for CBOW and Skip-gram. All three settings use dimension 300, a window of 10, and 100 iterations. The authors say that their choices reflect earlier results and a tradeoff between computational complexity and the quality of the vectors.

The remaining method uses topic modeling. Latent Dirichlet Allocation seeks recurring patterns of words that can be treated as underlying topics. This supplies another kind of contextual evidence. The small windows used by the other representations concern neighboring words, while the LDA setting treats the sentence as its context. The authors use MALLET, set the dimension to 100, and run 1000 iterations. The method comes from Latent Dirichlet Allocation.

These settings describe the representations before clustering. The dimensionality gives the size of the representation learned for a word, while the number of clusters determines how many group identities the classifier can distinguish. These are separate choices. A large vector can still be mapped into a relatively small inventory of groups. Conversely, the same underlying vector space can be clustered at a finer depth to give the classifier more specific group identities.

Choosing how broadly words share features

The authors cluster the representations with the CLUTO toolkit, using k-means with cosine similarity. K-means organizes vectors around group centers. Cosine similarity compares their directions, so vectors with similar patterns across dimensions can be close according to this measure even when their overall magnitudes differ. After the groups have been formed, the classifier’s input uses the assignments. It does not need to compare the vectors whenever it encounters a word in a review sentence.

Each representation is clustered with 100, 500, 1000, and 5000 groups. With a smaller inventory, more words can share a feature, which makes the feature available across a broader set of examples. A larger inventory permits distinctions that a coarser grouping might lose. An extraction classifier might need a fairly broad signal about words that occur in food descriptions. In another case, a finer distinction between words appearing in different kinds of food descriptions could matter. The paper evaluates the depths separately and also lets the classifiers use several depths from the same representation at once.

When depths are combined, they provide parallel descriptions of a word. One feature can indicate its group in a broad partition, while another indicates its group in a finer partition. These partitions are obtained by clustering at different sizes. The method does not require the groups to form a tree in which each finer group belongs to one broader group. This distinction matters for interpreting the combined features. The classifier has several opportunities to recognize useful regularities, and the detailed assignment at one depth is a separate source of evidence from the assignment at another.

The authors also learn Czech representations on stemmed versions of the unlabeled corpus. They use the unsupervised HPS stemmer. When different inflected forms receive the same stem, evidence from their contexts can contribute to a common representation before any clustering takes place. This is a different intervention from simply adding stem-based lexical features to the supervised classifier. A classifier can use a stem directly to match related forms. A classifier using clusters learned on stemmed text can also share evidence among different stems that occur in similar contexts. The Czech experiments consider both opportunities.

Preparing text and expressing the evidence

All predictors share basic preprocessing. The authors use regular expressions for tokenization, the division of running text into units the system can process. They lower-case the tokens and remove Czech diacritics because reviews use them inconsistently. The polarity tasks ignore punctuation and stop words. The general preprocessing and the stemming experiments address different sources of variation. Lowercasing and removing diacritics normalize written forms, while stemming brings inflectional variants together. In the Czech settings that include stems, the classifiers can retain evidence from the ordinary preprocessed forms as well.

The baseline feature inventory describes wording and local patterns from several angles. A feature can record the word at a position, such as the position immediately before the current token. A bag of words records which words occur in a context without tying them to individual positions. A bigram records two adjacent units in sequence, and a bag of bigrams makes the resulting pairs available across the context. This way of representing a context can preserve local order within a pair while ignoring the pair’s exact location in the larger window.

Other baseline features serve different purposes. An affix is a piece at the edge of a word. The paper uses affixes of length 2–4 characters, allowing related word endings or beginnings to supply evidence even when the complete forms are different. A dictionary learned from annotated training examples makes known aspect terms available for extraction. For the category tasks, TF-IDF contributes a weighting based on how frequent a word is in a text relative to its prevalence across texts. The authors choose a subset of these features for each task according to the unit of prediction and the relevant context.

The cluster features parallel the positional, bag, and pair features. A positional feature identifies the group of the word at a specified location. A bag of clusters indicates which groups occur somewhere in the context. A positional cluster bigram describes the groups of two adjacent words at a location. Its bag counterpart exposes such adjacent pairs wherever they occur in the context. A cluster bigram can consequently match two phrases whose words differ but whose group assignments follow the same sequence. The exact-word bigrams remain available when that generalization would discard a useful difference.

The paper’s notation records which sets of features go into a classifier. One example for Czech is

BL+S-BL+S-GloVe

BL denotes the baseline features for the task. The prefix S- marks the stemmed version of the feature source that follows. Thus S-BL refers to stem-based baseline features, and S-GloVe refers to features from GloVe clusters learned on stemmed text. Each + denotes a union of feature sets. The classifier receives all the indicated features together. In experiment labels, a representation name also identifies which source supplied the clusters. The cluster count or combination of depths is specified separately.

Finding aspect terms in a sequence

Term extraction has to identify the words that make up each aspect expression. A prediction about the current word can depend on nearby words, and the output has to describe a sequence from which expressions can be recovered. The authors use conditional random fields, a method for assigning labels to a sequence with evidence about its elements and their relationships. They take this design from work on recognizing expressions in text. Here the purpose is to locate terms such as dishes or other aspects of the restaurant, and no named entity type has to be assigned.

The extraction context is a five-word window centered on the current word. Baseline evidence includes words at positions, a bag of words, positional bigrams, the learned aspect dictionary, and affixes. The corresponding semantic extension uses clusters and cluster bigrams at positions. For a token surrounded by words that resemble contexts around known aspect terms, the group features can supply evidence even when the particular neighboring words are uncommon in the annotated examples. Positional features let the classifier learn whether that evidence tends to matter before, inside, or after a term.

This local view is tied to the output. The extractor moves across the sentence and decides which parts constitute expressions. A feature for a word on the left of the current token can represent a different pattern from an otherwise identical feature for the right. Putting adjacent word groups into a feature also allows a pattern to survive a substitution within either group. The supervised sequence classifier determines whether that pattern helps locate the boundaries of an expression.

Judging sentiment around a supplied term

For term polarity, the unit being classified is a given aspect term. The authors use a Maximum Entropy classifier, which learns to give different weights to features as evidence for possible labels. It can use words and neighboring word pairs that are suggestive of a judgment. The context extends ten words to the left and ten to the right of the term. This allows evidence from nearby wording while making the feature collection specific to the aspect under consideration.

The authors weight word and bigram evidence according to distance from the term. Their premise is that words near the target frequently provide better evidence of its sentiment than more distant words. After testing several weighting functions, they choose a Gaussian. The paper identifies its parameters as μ and σ². The symbol μ is the expected value and determines the center of the weighting curve. The symbol σ denotes the standard deviation, and the superscript ² indicates that σ² is the variance, which determines how spread out the curve is. The authors select these parameters experimentally on training data. They give neither a fitted expression nor the parameter values.

The baseline uses a bag of words and a bag of bigrams in the term’s context. The added semantic features are bags of clusters and of cluster bigrams. This gives the classifier more than one way to represent the wording around the target. It can respond to a specific nearby expression or to a broader pattern shared across word groups. Two supplied terms in one sentence can therefore receive different evidence, since the context and its distance weighting are defined relative to each term.

Recognizing categories and judging sentiment toward them

For category extraction, the entire sentence is the context. The authors train a binary Maximum Entropy classifier for each possible category. Each answers whether its category applies. Since these decisions are made separately, the system can return several categories for one sentence. In the example with a waitress and worn furniture, the evidence for service and ambience can support both outputs. No individual span needs to be supplied as a target.

The baseline uses bags of words and bigrams together with TF-IDF. The extensions use bags of clusters and cluster bigrams. This lets the predictor learn, for example, that several expressions occurring in similar contexts can indicate the same category. The bag representation also suits cases where evidence for a category can occur anywhere in the sentence. The classifier for service can learn different associations from the classifier for ambience, even though both receive features computed over the same words.

Category polarity likewise uses the whole sentence and the same inventory of baseline and added features. The authors train a separate Maximum Entropy classifier for each category using the relevant labeled cases. The supplied category thus determines which predictor is applied. A word that has proved useful for judging food can receive a different role in the predictor for service. This gives category polarity a way to condition the judgment on the aspect even though the input lacks the explicit target location used in the term polarity task.

The task designs consequently share the representation pipeline while giving the learned information different jobs. Term extraction uses the location of a feature to help find expressions. Term polarity uses a target-centered patch of wording to judge a supplied term. Category extraction and category polarity use whole-sentence evidence, with the aspect inventory determining which predictors are relevant. The experiments measure the effect of adding word-group features within each design.

Experiments and results

The labeled and unlabeled collections

The English labeled data come from the restaurant portion of SemEval-2014 Task 4. The paper lists 3k sentences, 46.9k tokens, and 4.9k distinct words in the English training collection. The same inventory of corpus properties gives 3.7k target annotations and 3.7k category annotations. The authors mention the size of the labeled collection as their main criterion for selecting it. Their comparison of collection sizes includes later SemEval data, while the feature experiments use the earlier task setup.

The Czech labeled collection extends an earlier set of 1244 restaurant-review sentences using the same annotation procedure. The expanded training collection is listed with 2.15k sentences, 34.9k tokens, and 7.8k distinct words. It contains 3.3k target annotations and 3k category annotations. The distinct-word figures provide some context for the lexical coverage problem. The Czech collection has fewer tokens than the English collection yet more unique words as tabulated by the paper. The experiment on stems tests whether forms can share some of the evidence distributed across that vocabulary.

Five native speakers provided the Czech linguistic annotation. The authors used majority voting to select gold labels, the reference outputs against which the systems were scored. They also measured agreement by treating one annotator’s output as the reference and another annotator’s output as the prediction. The reported mean agreement for Czech term extraction is 82.91% F-measure, and for category extraction it is 88.02% F-measure. Agreement on polarity is 85.71% accuracy for terms and 88.44% accuracy for categories. These figures describe comparisons between annotators. Their role in the paper is to characterize annotation consistency, alongside the separate results for classifiers evaluated against the consolidated labels.

The unlabeled collections are much larger. The English collection comes from OpenTable and is listed with 409k sentences, 27M tokens, and 121k distinct words. The Czech collection has 514k sentences, 15M tokens, and 259k distinct words in the corpus inventory. The authors assembled it because publicly available Czech text in the restaurant domain was scarce. Recipes account for 8.8M tokens and 57.1% of the Czech collection, restaurant reviews for 2M tokens and 12.8%, and hotel reviews for 4.7M tokens and 30.1%. These proportions make clear that the word representations used for the Czech restaurant tasks draw heavily on text from related domains.

The two Czech collections are made available for research. Their roles in the experiment remain distinct. The labeled collection supplies aspect and sentiment decisions. The unlabeled collection supplies contexts used to derive the word representations. A recipe can therefore influence which words share a cluster without serving as an annotated example of what sentiment a diner expresses towards a meal.

Baselines, splits, and metrics

The authors use 10-fold cross-validation for the feature experiments. The labeled data are divided into folds, and held-out cases are scored using classifiers trained on the other folds. The numbers below are cross-validation results for the corresponding English or Czech dataset, rather than official shared-task test scores. Each language has a baseline that uses the ordinary task-specific feature set without cluster features. For Czech, a further comparison adds stemmed versions of baseline features. This shows how much changes when the system can share lexical evidence across forms before adding the semantic group features.

The extraction tasks use F-measure, which takes account of both precision and recall. Precision concerns how many returned aspects are correct. Recall concerns how many of the annotated aspects the system recovers. This is appropriate because each extraction instance can yield a set of outputs. A system returning many unsupported categories and a system overlooking categories can both make mistakes, and the measure is sensitive to both types. The polarity tasks use accuracy, the share of supplied aspects assigned the correct polarity. Extraction scores and polarity scores therefore describe different prediction opportunities.

The comparisons proceed from individual cluster settings to combinations. The authors first add features from one representation clustered at one depth. Then they combine the depths of a representation in the same feature set. They also test the joint use of CBOW and GloVe after comparing the individual sources. In the Czech combination experiments, the semantic features are stemmed, and the classifier receives both the ordinary baseline and stem-based baseline features. In English, the experiments use no corresponding stemming extension.

English restaurant reviews

For English aspect term extraction, the baseline scores 75.6% F-measure. HAL, pooled across depths, scores 80.3%. Pooled CBOW reaches 80.6%, the highest reported English term extraction result in the combination comparison. The joint CBOW and GloVe setting reaches 80.4%. This is a case in which the strongest single aggregate source is sufficient to obtain the best reported result. It also illustrates why the joint setting is worth comparing against the better of the component settings, in addition to comparing it against the baseline.

Feature combinations for English restaurant aspect term extraction, cross-validation F-measure

Pooling CBOW clusters across depths gives the highest score in this comparison.

Feature combinations for English restaurant aspect term extraction, cross-validation F-measureLexical baseline: 75.6Lexical baseline75.6HAL across depths: 80.3HAL across depths80.3GloVe across depths: 78.7GloVe across depths78.7CBOW and GloVe across depths: 80.4CBOW and GloVe across depths80.4CBOW across depths (this paper): 80.6CBOW across depths (this paper)80.6
The numbers
System or settingF-measure %
Lexical baseline75.6
HAL across depths80.3
GloVe across depths78.7
CBOW and GloVe across depths80.4
CBOW across depths (this paper)80.6

For English term polarity, the baseline is 67.4% accuracy. The pooled CBOW setting reaches 71.1%, and pooling CBOW with GloVe gives 70.9%. The ordering of these two settings is the same as in term extraction, even though the predictor is now deciding sentiment around an aspect it has already been given. Skip-gram and GloVe also raise term polarity accuracy when their depths are pooled, to 69.9% and 70.2% respectively. The useful evidence is thus available from several sources even where one choice has the strongest reported result.

The category results favor the joint setting. The English category extraction baseline is 77.5% F-measure in the combination table. The results narrative gives 77.6% for that baseline. For the direct comparison with the combined setting, 77.5% is the value reported alongside it. The joint CBOW and GloVe feature set reaches 80.6% F-measure. Among the settings pooling a single source, Skip-gram reaches 79.6%, while HAL and GloVe each reach 79.5%. The term and category extractors both use lexical and cluster evidence, but the best way to supply the latter differs with the extraction target.

For English category polarity, the baseline is 68.3% accuracy. Pooled CBOW has the highest result among the individual sources at 71.4%, and the joint setting reaches 72.1%. This category result and the corresponding category extraction result are the clearest English cases in the combination table where the joint feature set leads. Term extraction and term polarity show how much of the overall benefit can already be obtained from one suitable source with several depths.

Czech restaurant reviews

On Czech term extraction, the ordinary baseline reaches 71.4% F-measure. Adding stems to the baseline gives 74.9%. Adding pooled stemmed HAL or pooled stemmed GloVe to the expanded baseline gives 78.5% in each case, and the joint stemmed CBOW and GloVe setting reaches 78.7%. The sequence of settings is important to the interpretation. The ordinary baseline is strengthened by giving it access to forms grouped by the stemmer, and cluster features improve the score further when the stem-based baseline is already available.

For Czech term polarity, the baseline has 67.4% accuracy, rising to 69.0% with the stem features. Pooled stemmed CBOW brings accuracy to 72.1%, and the joint feature set reaches 72.5%. Pooled stemmed Skip-gram scores 71.6%, while pooled stemmed GloVe scores 71.3%. The results place the joint setting ahead of the individual sources in this comparison. They also show that GloVe can contribute to a strong joint setting even where its separate result is below that of CBOW.

The Czech category extractor has a baseline F-measure of 71.7%. The addition of stemmed baseline features raises it to 73.6%. With the same expanded lexical feature set, stemmed GloVe across depths gives 79.5%. The joint setting with CBOW and GloVe reaches 80.0%. Pooled stemmed HAL gives 78.5%, and pooled stemmed CBOW gives 78.1%. In this task, group features bring substantial improvements even after the lexical features can make use of stems.

Feature combinations for Czech restaurant aspect category extraction, cross-validation F-measure

Stem features improve the lexical baseline, and the joint cluster setting scores highest.

Feature combinations for Czech restaurant aspect category extraction, cross-validation F-measureLexical baseline: 71.7Lexical baseline71.7Lexical baseline plus stems: 73.6Lexical baseline plus stems73.6Stems and stemmed HAL across depths: 78.5Stems and stemmed HAL across depths78.5Stems and stemmed GloVe across depths: 79.5Stems and stemmed GloVe across depths79.5Stems with stemmed CBOW and GloVe across depths (this paper): 80.0Stems with stemmed CBOW and GloVe acrossdepths (this paper)80.0
The numbers
System or settingF-measure %
Lexical baseline71.7
Lexical baseline plus stems73.6
Stems and stemmed HAL across depths78.5
Stems and stemmed GloVe across depths79.5
Stems with stemmed CBOW and GloVe across depths (this paper)80.0

The Czech category polarity baseline reaches 69.7% accuracy, and adding stemmed baseline features raises it to 71.3%. The joint cluster setting scores 74.0%, while pooled stemmed Skip-gram gives the strongest reported Czech category polarity result at 75.2%. Pooled stemmed GloVe reaches 74.1%, and pooled stemmed CBOW reaches 73.6%. The joint setting consequently improves all four Czech tasks against the ordinary baseline, with the highest scores on term extraction, term polarity, and category extraction. Category polarity favors a different source of groups.

Feature combinations for Czech restaurant aspect category polarity, cross-validation accuracy

Stemmed Skip-gram clusters give the strongest category polarity result.

Feature combinations for Czech restaurant aspect category polarity, cross-validation accuracyLexical baseline: 69.7Lexical baseline69.7Lexical baseline plus stems: 71.3Lexical baseline plus stems71.3Stems and stemmed CBOW across depths: 73.6Stems and stemmed CBOW across depths73.6Stems with stemmed CBOW and GloVe across depths: 74.0Stems with stemmed CBOW and GloVe acrossdepths74.0Stems and stemmed GloVe across depths: 74.1Stems and stemmed GloVe across depths74.1Stems and stemmed Skip-gram across depths (this paper): 75.2Stems and stemmed Skip-gram acrossdepths (this paper)75.2
The numbers
System or settingAccuracy %
Lexical baseline69.7
Lexical baseline plus stems71.3
Stems and stemmed CBOW across depths73.6
Stems with stemmed CBOW and GloVe across depths74.0
Stems and stemmed GloVe across depths74.1
Stems and stemmed Skip-gram across depths (this paper)75.2

Taken together, the cross-validation comparisons support the authors’ conclusion that word groups give the supervised classifiers useful information for both languages. The Czech extraction baselines start below the corresponding English baselines, while the polarity baselines are much closer. The improved scores bring the extraction results for both languages toward a similar range, and all four language-and-task combinations for polarity have a setting above 70% accuracy. Similar headline performance can arise from different combinations of features, as the category polarity experiments make especially clear.

What the ablations show

Adding cluster features to an otherwise familiar predictor

The baseline-to-extension comparisons test the paper’s main intervention. For a given task, the classifier design stays the same while the available features expand. Term extraction continues to use a sequence classifier. The sentiment tasks continue to classify supplied aspects. A stronger score with added clusters therefore supports the value of that extra information within the existing task design. The comparisons also show that the useful signal can come from more than one way of discovering similarity in unlabeled text.

The results from individual settings show where that conclusion has exceptions. In English category polarity, adding COALS at 100 clusters gives 68.1% accuracy, against the 68.3% baseline. English term extraction at the same depth gains from COALS, reaching 77.6% F-measure against 75.6%. One representation at one depth can therefore be helpful for a span-finding task and slightly detrimental for a sentiment task. The paper’s broad positive conclusion fits the range of well-performing settings, while individual table entries show that the benefit depends on the prediction and the configuration.

The distinction matters because there are several reasons a grouping might be useful. A group can allow a word seldom encountered in annotation to share evidence with a frequent neighbor in the semantic space. It can also combine information from words that appear in comparable positions, in which case the benefit may involve the shape of an aspect expression. For polarity, a group can capture recurrent language around particular opinions or targets. The scores show that some group features are informative. They do not establish which of these linguistic routes accounts for a particular gain.

Separating lexical stemming from clustering on stems

The Czech experiments expose two places where stems can change the system. The easiest way to see their effect on the supervised predictor is to compare the ordinary baseline with the baseline that also has stem features. For term extraction, this moves the score from 71.4% to 74.9% F-measure. For term polarity, it moves accuracy from 67.4% to 69.0%. Both comparisons support a benefit from lexical normalization before any semantic group is added. The corresponding category comparisons also favor the stem-augmented baselines.

The single-depth experiments test a different use of stemming. They compare features from word groups trained on the ordinary unlabeled corpus with features from groups trained on a stemmed version. For instance, at 5000 clusters, Czech HAL gives 75.0% F-measure for term extraction, and stemmed HAL gives 76.9%. At 1000 clusters, GloVe gives 75.8% F-measure for category extraction, and stemmed GloVe gives 77.4%. In these pairs, the ordinary lexical baseline is common to the compared settings. The difference concerns the processing of the corpus used to learn the word-group features.

Some pairs move in the other direction. At 500 clusters, Czech CBOW gives 75.4% F-measure for term extraction, while the stemmed version gives 74.9%. For Czech category polarity at 1000 clusters, Skip-gram gives 74.1% accuracy, while its stemmed counterpart gives 73.0%. These cases show that grouping inflected forms before learning distributions can help some configurations while losing distinctions that other configurations can use. The overall tendency leads the authors to carry stemmed representations forward in Czech. Their first experiments allow the reader to see the costs that can accompany that choice.

The combination experiments put the two uses of stems together. The useful comparison here is between adding stems alone and then adding groups learned on stemmed text. Czech category extraction rises from the 73.6% stem-augmented baseline to 79.5% F-measure with pooled stemmed GloVe. That comparison shows that the extra benefit can persist after the classifier already has direct access to stems. A stem allows an inflected family to share lexical evidence. A semantic group can supply links across different families. The experiment measures the usefulness of the resulting features after both kinds of sharing become possible.

Varying the cluster depth

Experiments at each cluster depth show that the best group size is specific to the representation and the task. For English HAL, term extraction reaches 79.3% F-measure with 100 clusters. English term polarity using HAL instead reaches its strongest result among the listed individual depths at 5000 clusters, with 69.6% accuracy. That difference is compatible with a broad grouping being helpful for identifying expressions and a finer grouping preserving distinctions useful to sentiment. The result is a comparison of scores across sizes, so the precise contents of the groups would still be needed to confirm that interpretation.

The same representation can benefit when the classifier sees several depths. English CBOW term extraction reaches 79.1% F-measure at 1000 clusters, its highest individual-depth result for that task, and 80.6% when its depths are pooled. English CBOW term polarity reaches 69.8% accuracy at 5000 clusters and 71.1% with pooled depths. These are direct examples of the multiple partitions providing a stronger feature set than the best reported individual partition for the same source and task.

Pooling is not uniformly advantageous. For English category polarity, HAL at 1000 clusters yields 69.7% accuracy, while pooled HAL yields 69.5%. For English category extraction, LDA at 1000 clusters reaches 78.6% F-measure, and pooling the depths gives 78.4%. These comparisons indicate that supplying more group identities can add little or weaken the resulting predictor. In Czech, the pooled settings also add stem-based lexical features that were absent from the initial single-depth settings. Comparing those tables therefore shows the effect of the broader Czech configuration, while the English results offer a cleaner view of the change from one depth to several.

Combining representation sources

The authors choose CBOW and GloVe for the joint comparison because they see the two as strong overall. Each brings group assignments obtained with a different learning objective. The joint feature set lets the classifier exploit both, while the single-source pooled settings provide a check on whether the additional representation brings useful evidence. In English category extraction, the joint result of 80.6% F-measure is higher than 79.3% for pooled CBOW and 79.5% for pooled GloVe. In English category polarity, the joint accuracy of 72.1% is higher than 71.4% for CBOW and 70.8% for GloVe.

The same combination has a more limited effect on the English term tasks. Its 80.4% term extraction F-measure falls below pooled CBOW’s 80.6%, and its 70.9% term polarity accuracy falls below pooled CBOW’s 71.1%. Czech term extraction and term polarity favor the joint setting, but the highest Czech category polarity accuracy comes from Skip-gram. The choice of CBOW and GloVe is therefore defensible as an overall configuration, with single-task comparisons supplying the evidence for more specific decisions.

There is also a design choice about how far to search. The authors avoid combining all representations and depths because they are concerned about overfitting. The comparisons show the outcomes for the configurations they test. They do not measure the cost of the untried full combination or give a ranking of every possible pair. The strongest conclusion is that one representation can offer several useful resolutions and that a second source can improve some tasks. The evidence for the need to combine sources is clearest when the joint result also exceeds the stronger of its individual components.

Limitations

Limits identified by the authors

The authors’ observation that annotated data are scarce remains relevant after the improvements. Word distributions can be learned from ordinary text, but the classifiers still need examples of the intended aspect and polarity labels. Even the learned dictionary in the term extraction baseline depends on annotated training cases. The work shows that the labeled material can be supplemented effectively. It leaves open how the benefit changes when training examples become much scarcer or much more plentiful.

The authors also identify a constraint on their Czech data collection. Scarcity of Czech restaurant text led them to use recipes and hotel reviews as well as restaurant reviews. They selected those sources for their relevance to the task. This was a way to assemble a corpus large enough to learn from, and it sets the conditions under which the reported Czech benefits were obtained. The paper also narrows its search over feature combinations because of overfitting concerns, testing the selected pair of CBOW and GloVe rather than attempting every combination of sources and depths.

For the term polarity component, the authors say that they compared distance-weighting functions and selected a Gaussian, with its parameters found experimentally on training data. They omit the account of that comparison. A reader can understand how the system emphasizes words near the supplied target, while the strength of the evidence for the particular weighting function and the fitted settings remain unspecified. The experiments on new features establish their value inside that design. They give no estimate of how much of the underlying term polarity performance comes from that distance weighting.

The authors see broader language coverage as future work. Their reasoning is that the methods added to improve the system can learn from text without relying on external linguistic information, which makes similar improvements in other languages plausible. The demonstrated cases are Czech and English. The authors suggest testing languages from additional families, so the wider applicability remains a hypothesis connected to the method’s inputs and assumptions.

Limits that follow from the experimental setup

The labeled datasets make it possible to compare the same tasks in both languages, but the comparison does not hold everything else fixed. The labeled corpora differ in their amounts and vocabularies, and the unlabeled corpora differ in their composition. The Czech experiments include stemming while the English experiments do not. Results within Czech quantify the effect of particular stem-based settings in that environment. Differences across the languages cannot be attributed to inflection alone, because the available text and accompanying features also change.

The mixed Czech corpus leaves an unanswered question about data selection. The results show that representations learned from this mixture can help on restaurant reviews. The paper does not train separate systems on recipes, hotel reviews, and restaurant reviews to establish what each contributes. As a result, a gain from the complete corpus cannot tell us whether the large recipe component is essential, whether a restaurant-only corpus of comparable size would be more useful, or whether the mix helps particular aspects more than others. The unlabeled texts provide the semantic evidence in aggregate.

The polarity evaluation also sets a boundary on what the scores describe. Term polarity is evaluated with the term already known, and category polarity with the category supplied. In a full application, extraction errors could deprive the polarity classifier of an aspect it would otherwise have classified correctly. A wrong extraction could also lead to a sentiment decision about an unsupported aspect. The task scores identify where feature changes help individual components. The paper gives no end-to-end measurement of how reliably the system would return complete aspect-and-sentiment outputs when every decision must come from the system.

Likewise, the summary scores tell us relatively little about which examples improved. A higher extraction F-measure can result from finding more actual aspects, returning fewer incorrect aspects, or changes in both directions. Polarity accuracy aggregates over the supplied instances. Improvements in that metric could be concentrated in some categories or judgments, while infrequent outputs show a different pattern. Without results broken down by aspect type, word frequency, or sentiment class, the paper cannot establish that the gains extend evenly to these cases. The annotation agreement figures also describe overall consistency under the chosen scoring procedures, instead of the particular phenomena that posed difficulties for annotators.

The reported comparisons give cross-validation scores without fold-level variation or significance tests. Large separations from the baseline support the general usefulness of the features under this protocol. Close scores, such as the best English term results with a single pooled source and with the joint setting, are harder to interpret as stable rankings. The paper’s selection of promising feature families is grounded in the reported experiments, but it gives no separate final evaluation of the selection process. Its claim to the strongest Czech performance is stated as the authors’ assessment of the work known to them at the time. The directly comparable evidence in the experiments comes from the baselines and feature variants scored on the same collections.

Finally, the task uses the earlier SemEval distinction between terms and categories. It establishes that the features can improve extraction and polarity under that definition. The more detailed shared tasks mentioned by the authors also associate targets with categories. Recognizing relevant information for each of the earlier subtasks can be useful background for that richer problem, while the ability to make the explicit association remains outside these experiments.

What came after

Extending Czech Aspect-Based Sentiment Analysis with Opinion Terms cites Hercig and colleagues and extends Czech aspect-based sentiment analysis to opinion terms. It presents a dataset and benchmarks for that extension. Opinion terms draw attention to the wording that expresses an evaluation. This adds a distinct object of study to the earlier tasks. A food expression names what is being discussed, a polarity label records how it is judged, and an opinion term concerns the expression that conveys the judgment. In the earlier paper’s soup example, identifying the soup and predicting its polarity are scored separately, while the wording that leads to the judgment can enter as contextual evidence.

The connection is consequently clearest at the level of task definition. Hercig and colleagues build resources and compare ways of representing context for Czech aspect and polarity predictions. The later work puts opinion expressions themselves within the scope of Czech aspect-based sentiment analysis and benchmarks the expanded task. The citation establishes the connection between the studies. Whether the later dataset reuses the earlier annotations, or whether its benchmarks adopt the stemming and clustering procedure, remains unspecified in the account of the later work.

Cite

Cite as Tomáš Hercig, Tomáš Brychcín, Lukáš Svoboda, Michal Konkol and Josef Steinberger. 2016. Unsupervised Methods to Improve Aspect-Based Sentiment Analysis in Czech. Computación y Sistemas.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.13053/cys-20-3-2469

@inproceedings{hercig2016unsupervised,
  title = {{Unsupervised Methods to Improve Aspect-Based Sentiment Analysis in Czech}},
  author = {Tomáš Hercig, Tomáš Brychcín, Lukáš Svoboda, Michal Konkol and Josef Steinberger},
  booktitle = {Computación y Sistemas},
  year = {2016},
  doi = {10.13053/cys-20-3-2469},
  url = {https://doi.org/10.13053/cys-20-3-2469}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/hercig-2016-unsupervised-methods-improve-aspect-based/