Elamur Research

Aspect based Sentiment Analysis in Hindi: Resource Creation and Evaluation

Paper · 2016 · Md Shad Akhtar, Asif Ekbal and Pushpak Bhattacharyya

Summary

A review can praise a laptop’s sound while complaining about its weight. A single verdict on the review would lose the distinction a reader needs to compare those features. Aspect-based sentiment analysis keeps track of what each opinion is about. Akhtar and colleagues build a Hindi benchmark for this task using reviews collected from the web. They ask a system to find the words that name an aspect, such as audio quality, and assign a sentiment to that particular mention. The categories are positive, negative, neutral and conflict. A review sentence can contain several aspect terms, and it can express a reaction without explicitly naming an aspect.

The authors gather 8,000 review sentences from online sources, then clean and filter them. The resulting collection contains 5,417 sentences from 12 domains and 4,509 annotated aspect terms. The domains range from laptops and cameras to travel and movies. Native Hindi speakers identify the terms, record their positions in the sentence and label their polarity. The authors report average annotator agreement of 95.18% using Cohen’s kappa and combine the annotations by majority vote. They make the dataset available for further research. Its main contribution is to give Hindi aspect-based sentiment analysis a set of human judgments against which systems can be trained and evaluated.

The benchmark uses a conditional random field to label the words of a sentence as the start of an aspect term, a continuation or outside any aspect term. A support vector machine assigns polarity to a target using cues such as nearby words, consecutive word pairs and an estimate of how strongly words are associated with positive or negative reviews. In 3-fold cross-validation, aspect extraction reaches 61.96% precision, 30.72% recall and 41.07% F-measure overall. Sentiment classification reaches 54.05% accuracy overall. Those measures describe separate tasks. The extraction results show that the system retrieves a limited share of the annotated terms, and the polarity accuracy measures how often the classifier assigns the correct sentiment under the reported evaluation.

The error analysis gives those scores a concrete meaning. The extractor can recognize the beginning of a long expression and leave part of it out, or include a neighboring phrase that belongs outside the annotated span. The sentiment classifier struggles with conflict, a category with few annotated examples, and can miss an expression of approval when it lies far from the target. The experiments also give different rankings by domain for extraction and sentiment. Laptop reviews yield the highest extraction F-measure in the domain comparison, while home-appliance reviews yield the highest sentiment accuracy. The benchmark makes it possible to see where a system loses information between reading a review and identifying what the reviewer thinks about a particular feature.

Deep dive: Aspect based Sentiment Analysis in Hindi: Resource Creation and Evaluation

A Hindi review benchmark shows how well a system can find the product features people discuss and identify the sentiment directed at each one. · about 33 minutes to read

The problem and its context

What a review-level verdict leaves out

The paper starts from the practical difficulty of reading large collections of online opinions. A prospective buyer may care about the screen, weight or sound of a device, and each review may discuss a different combination of those attributes. A service that assigns one polarity to each review can help someone find broadly favorable or unfavorable opinions. A reader comparing particular attributes still needs to know which part of the product the judgment concerns. That question changes both the data a researcher must collect and the output a system must produce.

An aspect is a component or attribute that a reviewer discusses. An aspect term is the expression in the review that names it. The paper’s examples distinguish a favorable assessment of audio quality, an unfavorable assessment of a laptop’s weight and a factual mention of its screen. Each judgment applies to the named attribute in its sentence. A device specification can contain a valid aspect term even when the reviewer expresses no clear approval or disapproval. The neutral label records this possibility. Conversely, a sentence conveying that something is expensive can express an unmistakable evaluation while leaving the relevant aspect unstated. The corpus includes an example of that kind without an annotated aspect term.

An information extraction system must therefore make a decision about which words belong together before it can return the target of an opinion. Audio quality illustrates the importance of this decision. A system could recognize audio as relevant and still fail to return the full expression named by the annotators. A longer phrase can make the decision harder, especially when it coordinates features or contains words that also commonly occur outside a target. A polarity classifier faces a related problem. Even if a sentence contains an obviously approving word, the classifier needs evidence connecting it to the relevant aspect.

The paper divides the problem into aspect-term extraction and sentiment classification. The former asks whether and where the writer explicitly names relevant attributes. The latter asks which sentiment applies to an identified term. This decomposition gives researchers different ways to interpret errors. A failure to find a term leaves no target for a downstream polarity decision. A correct span can also receive the wrong label. In a sentence with multiple aspects, a decision about the tone of the whole sentence cannot by itself settle the sentiment of every mention. The paper’s inclusion of a conflict category provides a place for conflict at the annotated level, while the separate spans allow judgments to differ from one target to another.

Why the authors build a Hindi benchmark

The authors describe fine-grained sentiment analysis as an active area whose benchmarks and systems had concentrated on English and a limited set of other settings. The SemEval 2014 aspect-based sentiment task offered a concrete precedent. It supplied a way to describe aspect spans and their sentiment and made evaluation scripts available. The Hindi paper takes that existing task design as a starting point. Building a Hindi collection still requires finding suitable reviews and deciding, in their original linguistic context, where the terms and opinions occur.

The paper characterizes the Indian-language work it surveys as mostly concerned with coarser judgments at sentence or document level. Its examples of earlier research include Hindi polarity classification supported by a subjective lexicon, work on negation and discourse in Hindi reviews, and work on detecting polarity in Hindi movie reviews. The bibliography also includes studies using linked wordnets across Indian languages and research on phrase polarity and emotion annotation in Bangla. These examples show that researchers were already developing resources and exploring several levels of sentiment analysis. The gap the authors identify concerns a benchmark built expressly around the terms that name individual aspects and the sentiment associated with each term.

The authors describe some earlier Indian-language datasets as small and question the quality of review data produced by automatic translation from English. The issue matters for a span extraction task because the expression to be located is part of the evidence. A translated sentence supplies the wording of the translation, including whatever choices it makes about the boundary of a feature name and how the writer qualifies a judgment. The Hindi benchmark starts with reviews drawn from sources that publish Hindi text. Subsequent cleaning still changes selected surface details before annotation, so the research corpus represents prepared review sentences.

The paper also puts the resource problem in terms of what a researcher can build around the data. Supervised machine learning requires examples with target labels, and the authors note that supporting resources such as lexicons and tools for identifying grammatical categories were scarce for Indian languages. A collection with sentiment labels for entire documents would leave the extraction system without a record of where each target begins and ends. A useful benchmark for this task has to locate the relevant text and distinguish the sentiment of its target from the sentiment of other terms in the same sentence. The authors present their benchmark as an early initiative of this kind for Indian languages, qualifying the claim by the scope of the work they knew.

Why the benchmark includes an evaluation system

Collecting sentences establishes the material on which research can proceed. The annotations establish what counts as the expected answer. The supervised experiments then show how the annotated output can be turned into predictions and measured. This is especially important when the target comprises a variable number of words and the same sentence can contain several targets. A corpus may look suitable for sentiment research in broad terms while supporting quite different tasks depending on the labels it actually records.

The paper uses established learning algorithms to supply those first comparisons. It cites earlier aspect extraction work using conditional random fields and earlier work on support vector machines. Its own design makes the two methods serve different purposes. The extraction algorithm labels sequences and can take neighboring label decisions into account. The classification algorithm receives an aspect term as its target and assigns a category from features associated with that term and its context. The benchmark thus makes it possible to ask where progress occurs as later experiments change the way they find aspects, the way they judge sentiment or the data on which either decision is trained.

The method, step by step

From web reviews to annotation material

The authors build a crawler to collect Hindi review text. Sources include newspapers, blogs and e-commerce sites, with more than 100 sources crawled in all. The initial collection contains 8,000 review sentences. The scope includes consumer electronics, accessories and applications, along with travel and movies. This breadth matters for the extraction task because the words that identify a feature vary with the thing being reviewed. It also creates room for different styles of opinion, from concise technical descriptions to judgments about destinations or entertainment.

A filtering and cleanup stage intervenes before the linguists see the annotation material. The authors remove irrelevant reviews using a semi-automatic process. They discard some unprintable characters and emoticons, fix obvious spelling mistakes, repair mismatched delimiters such as quotes or braces and add missing sentence-ending marks. In a screen-resolution example, the correction changes the form of a descriptive word and supplies a sentence boundary. Another example shows that the cleanup can add words to make a telegraphic fragment read as a sentence and remove an emoticon. The examples establish that preparation includes occasional edits to wording as well as character and punctuation cleanup.

These operations have consequences for later stages. The item given to an annotator is a particular string of characters. Any edit before annotation affects the positions the annotator records and can affect the tokens that a parser identifies. Removing emoticons also changes what evidence survives for a sentiment decision. A face or gesture that suggests approval or disappointment in the original post may be absent from the cleaned sentence, leaving the classifier to work from the words and other retained cues. The reported pipeline begins from the prepared text at annotation and training time.

The workflow below follows the corpus into the two supervised tasks. The final classification step is conceptually downstream of identifying a target. The paper reports a separate score for each task.

From Hindi web reviews to aspect sentiment

The steps in order.

From Hindi web reviews to aspect sentimentStep 1: Crawl review text across domains1. Crawl review text across domainsStep 2: Filter and clean the collected sentences2. Filter and clean the collected sentencesStep 3: Annotate aspect spans and their polarity3. Annotate aspect spans and their polarityStep 4: Merge independent annotations by majority vote4. Merge independent annotations by majority voteStep 5: Tokenize sentences and extract features5. Tokenize sentences and extract featuresStep 6: Predict aspect boundaries with sequential tags6. Predict aspect boundaries with sequential tagsStep 7: Classify sentiment for each target aspect7. Classify sentiment for each target aspect

Recording the target and the judgment

The paper follows guidelines aligned with the SemEval task and stores its linguistic annotation in XML. A sentence has an identifier and a field holding its text. The annotation can attach aspect-term entries to that sentence. Each entry records the term, its position and its polarity. The position is represented through attributes named from and to, which the paper describes as the indices of the initial and final characters. This makes the target a location in the text as well as a string. If a word occurs more than once, the offsets identify which occurrence receives the label.

An aspect entry uses term for the words being annotated and polarity for the sentiment directed towards them. A sentence can contain multiple entries, each with its own location and category. The paper contrasts a sentence that praises its audio quality, with an entry for that feature, and a sentence that says an item is expensive without identifying an explicit feature to annotate. The latter is represented without an aspect entry. This distinction prevents a reader from treating an empty annotation as evidence that the sentence itself is neutral. At the sentence level the text can express evaluation. For extraction, the expected output can still be empty.

The four polarity categories are positive, negative, neutral and conflict. The examples make it possible to see the distinction among the first three. Audio quality receives a positive annotation because the reviewer approves of it. The weight of a laptop receives a negative annotation when the reviewer describes it as heavy. A screen receives a neutral annotation when the sentence simply states its size. The label comes from what the particular sentence says about the target. The same attribute can therefore receive different judgments in different contexts, and a word that often occurs in opinions can also appear in a factual description.

The corpus records polarity at the level of aspect mentions, and the paper also gives sentence-level polarity counts. Those counts summarize different units. For instance, finding a neutral screen mention contributes to the aspect-level distribution. A sentence can contain other aspect mentions and other judgments. The XML representation preserves the individual labels so they need not be inferred from a sentence-level class. For the extraction learner, the position of a mention is the supervised answer. For the sentiment learner, the associated class provides the supervised answer for that target.

Agreement and the training record

Three native speakers of Hindi annotate the reviews. The authors measure agreement using Cohen’s kappa, which adjusts the observed match rate by considering the agreement expected by chance. This adjustment matters when some labels are used much more often than others. If two annotators often choose a common label, some of their matching decisions can be expected from their overall label use. Kappa expresses how much agreement remains beyond that expectation relative to the room for improvement above it.

K = (Pr(a) − Pr(e)) / (1 − Pr(e))

K is Cohen’s kappa. Pr(a) is the observed agreement among the raters being compared, and Pr(e) is their expected chance agreement. The letters a and e distinguish observed agreement and its chance expectation in this notation. In the numerator, − subtracts expected agreement from observed agreement. In the denominator, 1 denotes complete agreement, so the subtraction gives the amount of agreement available above the chance expectation. The parentheses mark the quantities to evaluate together, and / divides the observed excess agreement by that available amount.

The authors report 95.18% as the average agreement obtained with this measure. Their extraction agreement figure uses categories corresponding to the beginning and interior of an aspect term and to words outside a term. Those categories make it possible to distinguish an annotator disagreement about whether a word belongs within a term from a disagreement about the word’s position in that term. The paper combines the independently annotated versions by majority vote. The merged annotations supply the labels for training and evaluation.

For a reader interpreting the benchmark, the agreement measure and the merge do different jobs. Agreement describes how consistently annotators identify the expected answer under the labeling scheme. Majority voting chooses a result where annotations differ. An aggregate agreement value can support confidence in the procedure while leaving open how frequently annotators differed on a particular kind of example. The system ultimately learns from the chosen corpus record, including the way that record groups words into targets.

Learning to find a sequence of words

The first supervised task converts character spans to labels over tokens. Tokenization splits the sentence into the units the system labels. Under the BIO encoding used in the paper, B marks the beginning of an aspect term, I marks a subsequent token inside it, and O marks a token outside a term. A term consisting of a single token needs a beginning label. A term extending over several tokens has a beginning followed by continuation labels. Reading the sequence of predicted labels yields the spans the system proposes.

The audio-quality example makes the conversion concrete. The token naming audio starts the term and receives B. The token for quality continues it and receives I. The surrounding possessive wording, the approving description and the sentence ending lie outside the aspect term and receive O. The appreciative word is relevant when the system judges sentiment. Its role in the extraction labels is to lie outside the name of the feature. This separation lets the data teach the system that language expressing an opinion and language identifying the thing being evaluated have different functions in the same sentence.

A conditional random field, or CRF, performs the sequence labeling. It can score a sequence of labels using evidence about the text and about how the labels go together. This suits a task in which the interpretation of a continuation depends on the tokens around it and on the position of the beginning. A continuation label describes a token in relation to a span. The algorithm can use that relationship when assigning tags across a sentence. The paper instantiates the approach with CRF++.

The most direct feature is the surface word, meaning the word in the form in which it appears. The authors also use neighboring words within a context window of size 3. The context can supply evidence about a phrase whose individual words occur in other settings. A word indicating quality, for instance, becomes easier to interpret as part of a feature when the text beside it specifies the kind of quality under discussion. The feature window gives the learner those nearby forms. The paper reports the window setting without a worked description of the precise offsets at the edges of the window.

The system also uses part-of-speech tags for the current token and surrounding tokens. These tags describe grammatical roles such as noun or adjective at the word level. They provide a way for the learner to see similar local patterns across different vocabulary. Chunk information describes short grammatical groupings and offers a further cue for terms that contain several words. A grouping can suggest where a candidate expression begins or ends. Whether that grouping coincides with the annotated aspect boundary remains a decision for the extractor to learn. The authors obtain tokens, grammatical tags and chunks from the LTRC shallow parser.

Prefixes and suffixes supply another kind of evidence. The system takes fixed-length character sequences from the beginning and end of a surface word and supplies them as features. Similar beginnings or endings can then contribute evidence even when complete word forms differ. The paper describes this as a feature of the observed string. Learning which strings are helpful comes from the labeled examples. Together, the feature families describe the token’s identity, its neighbors, its short grammatical setting and parts of its written form.

The authors characterize these feature choices as language and domain independent in design. The same types of observation can be specified for different domains, and none requires a list of domain-specific product features. The actual training values still come from Hindi sentences, and the grammatical features come from a parser used for Hindi. A feature template such as nearby words is general in form while its evidence depends on the vocabulary and structures available in the training material. The distinction matters when the paper compares results for domains with different review content.

Judging sentiment around a target

The second task is text classification conditioned on a target aspect. Once a target is available, the question is which polarity label fits the writer’s treatment of that aspect. A support vector machine, or SVM, learns to distinguish the sentiment classes using the feature values it receives for a labeled target. The important design decision for this benchmark is what part of the written review supplies those values. The authors use the target and its local surroundings, consecutive word pairs in those surroundings and a measure of a word’s sentiment association. The implementation uses TinySVM. Support-Vector Networks

For target and context features, the system includes the words of the aspect and words before and after it. The reported sentiment window has size 5. The motivation is that a reviewer frequently places an evaluation close to what it describes. In the audio example, a favorable description follows the aspect, so the local context can contain both the thing being described and the evaluative cue. Locality also limits how much text the system sees for a given target. A sentence that first introduces a feature and evaluates it later can place important evidence outside the chosen context.

The local context also supplies word bigrams, a type of n-gram made of consecutive tokens. A pair can preserve something about how the words are used together. A feature representing an individual word pools all occurrences of that form. A pair preserves the fact that a particular neighbor occurred immediately beside it, in that order. The paper uses these pairs to capture local co-occurrence. Each pair still depends on its availability in the chosen window and on the examples the classifier has seen.

Semantic orientation is the third feature family. It summarizes whether a token has a stronger statistical association with positive reviews or with negative reviews. The quantity compares pointwise mutual information for each of those relationships. Pointwise mutual information describes how strongly a particular pair of events occurs together relative to their individual frequencies. In this setting, the events concern a token and a review polarity. The paper expresses the comparison as a difference.

SO(t) = PMI(t, posRev) − PMI(t, negRev)

SO(t) is the semantic orientation of token t. PMI denotes pointwise mutual information. posRev denotes positive sentiment reviews and negRev denotes negative sentiment reviews. The comma in each PMI expression joins the token and review category whose association is being measured. The parentheses enclose the arguments of the measure. The equals sign defines the orientation score, and − subtracts the negative-review association from the positive-review association. A positive orientation therefore indicates stronger association with the positive reviews in this comparison, and a negative orientation indicates stronger association with the negative reviews.

Semantic orientation and the final label describe different things. The score captures an association for a word across reviews. The classifier must assign a class to a given target in a particular sentence, where both local wording and the target itself can matter. A word associated with approval can contribute useful evidence while leaving unresolved which feature is being praised. A four-category classification also needs to handle neutral and conflict cases even though semantic orientation is defined through a comparison of positive and negative reviews. The paper supplies this measure as one feature family alongside the words and pairs in context.

The CRF and SVM learn from the same overall annotated collection but from different views of it. Extraction training uses the sentence text and marks every token’s relationship to an aspect span. Sentiment training uses a target and the label attached to it, representing the words that surround that target. At prediction time, the extraction method supplies candidate spans and the sentiment method can assign polarity to a target. An evaluation that measures these tasks separately can describe their respective performance. A combined evaluation would also have to account for the effect of missed or inaccurate targets on the final aspect-and-sentiment output.

Experiments and results

The corpus used for evaluation

After cleaning, the corpus contains 5,417 review sentences and 100,279 tokens. The annotation identifies 4,509 aspect terms across the 12 domains. Examples range from device features in laptop and mobile reviews to material from travel and movies. The paper evaluates on the resulting collection as a whole and reports additional experiments in which training and testing are carried out separately for each domain. These are two views of performance on the benchmark. The pooled score describes the overall reported setup, while the domain rows show how the same types of learner and feature behave within different portions of the collection.

The sentence-level labels include 2,290 positive sentences, 712 negative sentences, 2,226 neutral sentences and 189 conflict sentences. At the aspect-term level, the corpus has 1,986 positive labels, 569 negative labels, 1,914 neutral labels and 40 conflict labels. These are corpus counts rather than sizes of individual test folds. The two distributions matter for different readings of the experiments. The sentiment task works with the labels attached to aspects, so the small conflict count at that level is especially relevant when interpreting the classifier’s errors. The sentence-level figures describe the material from which those aspect examples were drawn.

These distributions also explain why the authors can describe the benchmark as covering several kinds of sentiment even though the classifier encounters them with very different frequency. Positive and neutral examples recur much more often than conflict examples in the aspect annotations. An overall accuracy figure summarizes decisions across those examples. It can therefore look different from the experience of a reader interested specifically in a rare sentiment. The paper’s confusion analysis is needed to see how the classifier behaves on categories that contribute relatively few decisions to the aggregate.

Baselines and scoring

The paper evaluates the CRF and SVM as its baseline learning algorithms for the new dataset. CRF++ implements aspect extraction and TinySVM implements sentiment classification. The authors use evaluation scripts from the SemEval 2014 shared task and report results from 3-fold cross-validation. In cross-validation, different held-out portions of the corpus serve as the test material in turn, with training conducted on the remaining portion for each run. The paper reports aggregate estimates from this procedure and gives domain-specific scores from separate training and testing within each domain.

Extraction is measured by precision, recall and F-measure. Precision describes the share of proposed aspect terms that match the expected annotations. Recall describes the share of expected aspect terms that the system finds. F-measure summarizes both, so its value reflects the cost of missing references as well as the value of correct predictions. These measures concern identifying the spans. They capture a different decision from sentiment accuracy, which is the share of evaluated polarity assignments that are correct. An output can describe the right general feature yet have an incomplete boundary, a distinction that matters when comparing an extracted term with its annotation.

On the overall extraction evaluation, precision is 61.96%, recall is 30.72% and F-measure is 41.07%. The gap between precision and recall shows that the system is more successful at keeping proposed spans correct than it is at finding the entire collection of annotated spans. Recall puts a concrete limit on coverage. A collection of correctly identified examples can demonstrate that the extractor learns some regularities, while the reported recall shows that many remaining features would be absent from its output.

The SVM’s overall sentiment accuracy is 54.05%. This is the paper’s classification result for its evaluation of polarity. The paper does not publish a separate success rate for returning a correctly delimited aspect together with its correct sentiment. The extraction and classification results answer different questions and use different metrics. Their numerical values give researchers reference points for the corresponding tasks on this dataset. The paper also does not report competing algorithms or a simple frequency-based comparator, so the experiments establish benchmarks for the authors’ setup without estimating its advantage over those alternatives.

Aspect extraction by domain

The extraction results vary considerably across the separately evaluated domains. Laptops yield the highest F-measure at 64.53%, with 74.59% precision and 56.87% recall. Movies come close in F-measure at 63.51%, with 70.14% precision and 58.02% recall. The movie result has higher recall than the laptop result, while the laptop result has higher precision. The comparison shows how a similar combined score can arise from different balances between finding expected terms and returning correct ones.

Travel sits at the other end of the F-measure comparison. Its F-measure is 15.03%, with precision of 32.60% and recall of 9.77%. The authors draw attention to the travel result because it comes from a domain with what they describe as a relatively good amount of review material. They suggest that the variety of destinations may account for some of the difficulty. Religious sites, hill stations, beaches and monuments can bring distinct aspect vocabulary into the same domain. A system trained on some of those reviews may encounter terms in evaluation whose usefulness as an aspect has been infrequently demonstrated by the training examples.

Aspect extraction F-measure on selected Hindi review domains

Laptop and movie reviews lead the comparison, while travel reviews yield the weakest extraction score.

Aspect extraction F-measure on selected Hindi review domainsLaptops (this paper): 64.53Laptops (this paper)64.53Movies: 63.51Movies63.51Televisions: 54.38Televisions54.38Mobiles: 53.57Mobiles53.57Smart watches: 45.36Smart watches45.36Headphones: 43.47Headphones43.47Home appliances: 28.57Home appliances28.57Travel: 15.03Travel15.03
The numbers
System or settingF-measure %
Laptops (this paper)64.53
Movies63.51
Televisions54.38
Mobiles53.57
Smart watches45.36
Headphones43.47
Home appliances28.57
Travel15.03

The precision and recall figures help explain why some of the domain results look surprising. Both headphones and home appliances reach 100.0% extraction precision, but their recalls are 27.78% and 16.67%, respectively. The predictions scored as correct in those domains cover a limited share of the annotated terms. The corresponding F-measures, 43.47% for headphones and 28.57% for home appliances, reflect those omissions. Speakers also show a wide separation, with 83.33% precision, 22.72% recall and 35.71% F-measure. In each case the precision figure by itself gives little information about coverage.

The other domain rows help locate the overall result within the range. On tablets, extraction reaches 61.50% precision, 33.67% recall and 43.52% F-measure. On cameras, it reaches 60.0% precision, 31.76% recall and 41.53% F-measure. The mobile-app figures are 50.0% precision, 18.0% recall and 26.47% F-measure. Televisions and mobiles have similar F-measures, 54.38% and 53.57%, with televisions reporting higher precision and mobiles reporting higher recall. Smart watches have 50.0% precision and 41.50% recall, which make for a closer balance than in the headphones or home-appliance rows.

These figures support the authors’ interest in the quantity of material available for each domain, but the comparisons also involve different vocabularies and kinds of reviews. Changing the domain changes what is being learned and what appears in the test data. A high score inside one domain shows performance on that setting as evaluated. It leaves open how the same extractor would do if a new domain expressed familiar aspects in unfamiliar ways, or if a familiar vocabulary named different kinds of targets.

Polarity classification by domain

The domain ordering changes when the task is sentiment. Home appliances yield the strongest reported accuracy at 79.23%, with travel at 68.78% and televisions at 65.47%. Movies have the lowest accuracy at 39.23%. The extraction comparison ranked movies among the strongest domains and home appliances and travel among the weaker ones. A domain can thus supply comparatively recognizable aspect spans while presenting difficult judgments about polarity. It can also yield relatively good polarity results for the evaluation cases while its extractor struggles to recover the reference targets.

Sentiment accuracy on selected domains of the Hindi review corpus

Home appliances lead the polarity comparison, and the ordering differs from the extraction results.

Sentiment accuracy on selected domains of the Hindi review corpusHome appliances (this paper): 79.23Home appliances (this paper)79.23Travel: 68.78Travel68.78Televisions: 65.47Televisions65.47Smart watches: 64.70Smart watches64.70Mobile apps: 61.53Mobile apps61.53Cameras: 59.06Cameras59.06Laptops: 50.98Laptops50.98Movies: 39.23Movies39.23
The numbers
System or settingaccuracy %
Home appliances (this paper)79.23
Travel68.78
Televisions65.47
Smart watches64.70
Mobile apps61.53
Cameras59.06
Laptops50.98
Movies39.23

For the remaining domains, polarity accuracy is 57.19% on tablets, 54.07% on mobiles, 53.84% on speakers and 46.15% on headphones. Laptops reach 50.98%, in spite of yielding the best extraction F-measure. The results put a practical boundary around what can be inferred from a single domain ranking. A setting that suits extraction features such as token patterns or chunks may place evaluative words far from their targets, or may contain different proportions of the polarity categories. The table measures how the tasks performed. It leaves the relative contribution of such explanations unresolved.

The authors say performance is strongly influenced by how much review material is available in a domain and call out travel extraction as an exception to the pattern they observe. The contrast between travel extraction and travel sentiment offers a more specific reading of that exception. The extractor has to recognize names of aspects across diverse topics. The polarity classifier can draw on language expressing an attitude once it has a target to evaluate. The higher sentiment figure describes the cases measured for that task. It leaves the number of correctly recovered and classified travel aspects in an end-to-end setting unspecified.

What the ablations show

The paper reports no feature-removal ablations and instead analyzes separate domain evaluations, confusion matrices and examples of prediction errors.

Where the extraction decisions break down

The analysis of extraction errors shows that over half of the aspect terms go undetected. The authors also report that only 25% of multi-word aspect terms are predicted correctly. These observations put the low overall recall in context. Some losses come from failing to identify anything at the relevant position. Others occur when the learner recognizes some words in the expression but cannot reproduce the entire span. Both matter if the downstream output is intended to tell a reader exactly which attribute the sentence discusses.

A display example illustrates the second failure. The annotation includes a coordinated phrase referring to the display’s viewing angle and brightness. The system returns the portion referring to the viewing angle and omits the conjunction and the brightness part that follow. Its prediction preserves one feature from the author’s phrase, but the expected span contains more. Treating the prediction as a complete term would also leave the brightness part unavailable as a member of that target. The example explains how a system that appears to understand the general topic of a sentence can still lose detail in the output used by the benchmark.

The paper relates some boundary failures to prepositions and conjunctions inside an aspect expression. Such words can occur between parts of a valid span. They can also separate a feature name from other material. The extractor therefore has to judge their role in context. A conjunction inside a target is especially revealing because both sides can look like reasonable places to propose a boundary. The error example shows which decision the system made. The authors do not isolate which feature values led it to make that decision.

A neighboring noun phrase can produce the opposite boundary error. The paper observes cases in which words in a phrase beside the true target are marked as additional parts of the aspect. Here the extractor labels a stretch of text around the right area but extends the span beyond the annotation. The two errors concern different directions of boundary placement. Truncation discards text the reference treats as part of the target, while extension adds text from an adjacent phrase. The reported difficulty with multi-word terms makes both kinds of examples important for understanding the extraction score.

Chunk information was included specifically to help with grouped expressions. The errors show that the complete feature set still leaves some difficult boundaries unresolved. They leave the individual contribution of chunk information open. A learner can benefit from a cue on many examples while failing on a particular construction, and it can fail when several clues point to different boundaries. Without a controlled change to the feature set, the qualitative comparison identifies the behavior future experiments would need to measure.

Where the polarity decisions break down

The sentiment confusion analysis finds the greatest difficulty with conflict. It also shows worse classification performance for negative examples than for positive and neutral examples. The authors connect this pattern to the relatively low counts of negative and conflict aspects and suggest getting more conflict examples or developing features for that class. The distribution makes this explanation plausible. The paper offers no retraining comparison that changes class frequency or feature design to measure the effect.

The paper gives a second sort of polarity error in a review about a resume-notification feature. The sentence introduces the feature and praises it later. The authors count a distance of seven words between the aspect and the word that expresses approval. Their classifier has a local context window with reported size 5, and they attribute the failed sentiment assignment to the separation between the target and the important word. The example shows what a local representation can leave out even when the sentence itself contains clear evidence for the annotated class.

That example adds a different constraint from class frequency. More examples of a polarity can teach a system to recognize useful cues it sees. A cue outside the represented context may still be unavailable for a particular decision. The review demonstrates a concrete case in which the authors identify such a missing cue. The experiment does not quantify how frequently distance causes errors or how a change in window size would affect accuracy. A longer context could expose the relevant word in this example while also exposing words associated with some other target in a different sentence.

The domain comparisons provide another diagnostic. The paper keeps the general task design and feature families while evaluating domains separately. The travel extraction result motivates the authors’ explanation about specialized vocabulary. The reversal between movies and home appliances across the two tasks shows why identifying a weak domain requires specifying the target decision. Those comparisons vary the training and evaluation material together, so they can locate difficult settings without isolating the effects of review volume, vocabulary, typical span length or polarity distribution.

Limitations

Limits the authors identify

The authors describe the features as basic and propose more systematic feature engineering and domain-specific features for both tasks. Their assessment is grounded in the errors they observe. General neighboring-word and grammatical features leave substantial gaps in extraction coverage, particularly for terms with multiple words. The polarity features can lose evidence when reviewers place the evaluation at some distance from the aspect. Domain-specific cues might help recognize specialized features, and the paper treats that prospect as future investigation. It also identifies deep learning as a direction for subsequent research.

The authors’ discussion of the conflict category identifies a data limitation as well as a feature limitation. With 40 conflict annotations at the aspect level, the examples available for learning and testing that category are limited. Their suggestion to collect more instances or design features for conflict presents possible responses to the errors. The benchmark scores establish the difficulty in the observed setup. They leave open which change would improve the result and whether it would also affect performance on the more frequent sentiment categories.

The explanation for poor travel extraction is similarly qualified. The paper points to varied kinds of destinations and to aspect terms tied to those settings. This interpretation is consistent with the corpus spanning many topics inside a single named domain. The paper leaves unmeasured both how much terminology the subgroups share and how often an error involves a term specific to a subgroup. It thus identifies a reason the amount of review text may be an incomplete explanation for extraction difficulty.

Limits of the corpus and annotation

The benchmark covers 12 domains, all drawn from a collection of online review sources chosen and processed by the authors. Its breadth supports comparisons within that collection. Generalizing to Hindi writing outside those reviews, or to reviews from different source populations, would require evidence beyond those comparisons. The filtering step selects texts judged relevant for sentiment analysis. The cleanup stage also removes some cues and regularizes some writing. The data evaluate performance on the resulting material, so the treatment of unedited input remains an open question.

The distinction between explicit aspect terms and sentiment about an unnamed subject is built into the task. The sentence about expense in the annotation example can be understood as an evaluation, yet it offers no literal aspect span in the corpus. A system trained to match these annotations learns to recover explicit mentions. The evaluation therefore leaves out a related interpretation problem in which a reader infers that a review implicitly concerns price or some other attribute. The explicit-span design makes the output inspectable, because a user can point to recorded words. Its scope is the words the annotators treat as a target.

A single span can also reflect an annotation choice about what belongs together. The coordinated display phrase in the error analysis counts as an aspect term with a boundary extending through the brightness component. A reader might still find the recovered viewing-angle phrase informative, but the extraction comparison is based on the recorded span. This is a useful discipline for consistent scoring. It also means that the metrics do not separately express how useful a partially correct span might be to someone browsing reviews. Some of that information appears only in the authors’ qualitative examples.

The average kappa score supports a claim of consistency among the annotators. The paper does not give a comparably detailed account of agreement for each sentiment category or extraction construction. Agreement on common labels and ordinary spans can coexist with ambiguity about labels or boundaries that occur infrequently. Similarly, the description of majority voting gives the basic merge rule while leaving the treatment of difficult patterns of disagreement unspecified. These gaps are relevant when using the corpus to study the rare conflict class or particularly long spans, where annotation choices can matter disproportionately.

Limits of the reported evaluation

The paper reports one feature configuration for each task and supplies domain breakdowns, a confusion analysis and error examples. It does not give a series of systems with individual features enabled or removed, a comparison with a frequency baseline or a head-to-head test of alternative learning algorithms. The reported scores establish what these systems achieved on this benchmark. They give no measured estimate of the difference due specifically to sequence labeling, grammatical information, word pairs or semantic orientation. Earlier papers cited in the study motivate the choices but do not provide controlled comparisons on this Hindi dataset.

Several details needed for a precise replication of the evaluation are abbreviated. The paper identifies the software packages, the feature families, the context window sizes and the use of 3-fold cross-validation. It leaves details such as allocation of review material to folds, the exact character lengths used for prefix and suffix features, and the handling of sparse counts for the semantic orientation feature unspecified. The latter feature connects token association to positive and negative review labels, which makes the data used to estimate those associations an important part of an evaluation protocol. The procedure for estimating them within the reported folds is left unclear.

The domain rows come from experiments trained and evaluated separately within domains. They leave open how an already trained system would perform on an unfamiliar domain. The amount and character of available training material can both change across those rows, as can the distribution of targets and sentiment in the corresponding test material. A controlled study of transfer or of training size would need to vary those conditions explicitly. The existing evaluation supports descriptive comparisons of performance across the domains named in the paper.

Finally, the paper gives separate extraction and sentiment metrics, with limited detail about the aspect inputs used in the polarity evaluation. It describes sentiment classification as following the identification of aspect terms. The results do not show a joint score requiring a correct span and correct polarity on the same item, and the polarity test protocol leaves the exact treatment of extraction errors unclear. This matters because an extractor with low recall can omit many targets that a polarity classifier could judge correctly if given their locations. The separate headline scores support conclusions about the reported subtasks, while the practical yield of the combined procedure remains unmeasured.

What came after

The later citing work reaches several neighboring problems in sentiment and emotion research. Some papers continue to address representation and learning for sentiment analysis. Others focus on the resources needed to investigate sentiment in another language or emotion in a different kind of text. These connections can be made at the level of research questions. The citation relationship alone leaves open whether the later study reused the Hindi reviews, adopted their labeling scheme or evaluated against the reported scores.

One later study explores a hybrid deep learning architecture for sentiment analysis. The connection is the approach to sentiment classification. The Hindi benchmark uses features specified by the authors, including words near the target and their associations with review polarity, and proposes investigating deep learning as future work. The later study takes up that broad direction through a hybrid architecture. Its citation gives a connection between feature-based Hindi benchmark work and later work on learning architectures for sentiment. It leaves the dataset and evaluation relationship unspecified.

The subsequent work on data sparsity in aspect-based sentiment analysis stays closest to the benchmark’s named task. It takes sparse data as its central problem. The original Hindi study had reason to care about scarcity at more than one level. It was building a resource where task-specific examples had been hard to obtain, and its analysis found that some sentiment classes and aspect vocabularies were difficult to learn from the observed material. That gives the later paper’s focus a concrete point of contact with the benchmark. The citation and subject identify the relationship without specifying which sparsity problem it addressed using this particular corpus.

Exploring Amharic Sentiment Analysis from Social Media Texts pursues annotation tools and classification for Amharic social media. Its point of contact is the combination of resource creation and an evaluated classification task. The Hindi work collects and annotates review sentences so that both extraction and polarity can be measured. The Amharic study addresses the corresponding need to build annotation and classification capability around the language and text it studies. Its stated focus is social media and sentiment, while reuse of the Hindi aspect annotation scheme is unspecified.

Another citing study addresses creating and evaluating resources for sentiment analysis. It continues the resource question at the center of the Hindi paper. The benchmark’s contribution includes choosing material, defining expected outputs and using them in an evaluation. Work concerned with creating and evaluating sentiment resources likewise treats resource design as part of what establishes the scope of an experiment. The connection is to that research problem. The citation leaves the specific influence of the Hindi corpus or evaluation procedure unstated.

Knowledge-Infused Hierarchy-Aware Emotion Recognition in Code-mixed Mental Health Counseling Conversations takes the broader study of affect into code-mixed counseling conversations and addresses emotion recognition with knowledge and hierarchy. The object of classification in the Hindi benchmark is a judgment attached to an explicit review aspect. The later work concerns emotion conveyed in conversational text. Its citation connects the benchmark to a wider literature in which researchers define an affective judgment in relation to a particular kind of input. The available connection does not establish a transfer of review labels, examples or procedures to the counseling setting.

Cite

Cite as Md Shad Akhtar, Asif Ekbal and Pushpak Bhattacharyya. 2016. Aspect based Sentiment Analysis in Hindi: Resource Creation and Evaluation. Proceedings of the Tenth International Conference on Language Resources and Evaluation (LREC'16).

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

@inproceedings{akhtar2016aspect,
  title = {{Aspect based Sentiment Analysis in Hindi: Resource Creation and Evaluation}},
  author = {Md Shad Akhtar, Asif Ekbal and Pushpak Bhattacharyya},
  booktitle = {Proceedings of the Tenth International Conference on Language Resources and Evaluation (LREC'16)},
  year = {2016},
  url = {https://aclanthology.org/L16-1429/}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/akhtar-2016-aspect-based-sentiment-analysis-hindi/