Elamur Research

EmoNoBa: A Dataset for Analyzing Fine-Grained Emotions on Noisy Bangla Texts

Paper · 2022 · Khondoker Ittehadul Islam, Tanvir Yuvraz, Md Saiful Islam et al.

Summary

The words someone uses to praise a performance can express affection, enjoyment, or some of each. A system that detects approval has captured the general tone, but it still has to decide which feelings the comment conveys. EmoNoBa makes that question measurable for Bangla social media writing. It contains 22,698 manually labeled public comments drawn from YouTube, Facebook, and Twitter and covers 12 topics. The basic emotion categories come from the Junto Emotion Wheel, and a comment can receive any combination that applies among fear, sadness, anger, surprise, joy, and love. The work extends Bangla research on sentiment & emotion with a larger collection and a broader range of subjects than the authors describe in earlier Bangla emotion datasets.

The authors seek variety within that collection by filtering for Bangla script, removing duplicates, applying a length window, and giving priority to comments that increase vocabulary diversity. Five people read each retained comment. They consider more specific feelings from the wheel before choosing the basic categories, and a label ordinarily needs at least three votes. The authors settle cases that the voting procedure leaves unresolved. Those cases receive priority for the test set, so the benchmark gives particular weight to comments that people found difficult to label.

The strongest test result is 42.81 macro F1, achieved by a linear classifier that combines sequences of words with sequences of characters. Macro F1 gives the emotion categories equal influence on the overall score. Random guessing reaches 25.46 on the same measure. The recurrent classifiers with attention and the Bangla-BERT classifier with an adapted output layer score below guessing on the average, although all recognize joy better by its individual F1 score. Fear remains difficult across the comparison. The feature combination that leads overall differs from the character-only combination that performs best on fear.

The analysis connects these results to the language of the comments. Similar compliments appear among the strongest indicators of love and joy. A term the classifier associates with sadness can also be part of an enthusiastic response, as the authors show with a commenter who wants to see a display again. The observed errors vary across subjects, giving the authors reason to examine how the setting changes the force of an expression. The release includes the EmoNoBa data and benchmark code, with the lexical classifiers providing a reference point for work on those contextual distinctions.

Deep dive: EmoNoBa: A Dataset for Analyzing Fine-Grained Emotions on Noisy Bangla Texts

EmoNoBa tests how well classifiers recognize overlapping emotions in Bangla social media comments, using a test set enriched for disputed labels. · about 34 minutes to read

The problem and its context

What an emotion label has to capture

The paper starts from a distinction between identifying the general tone of a piece of writing and identifying the feelings it expresses. Approval can come from excitement about an event or from affection for someone involved. Both readings can fit the same text. In a critical comment, anger and sadness can likewise coexist. EmoNoBa treats these possibilities as part of the answer. Its basic unit is a comment, and its target is the set of emotion categories readers judge to be present. This is a form of text classification in which several outputs may apply to a single input.

The paper illustrates the task with someone who wants to see a particular display again and again. The comment uses a word that can carry a charge of showing off, yet the wish to see more supports both love and joy in the finished annotation. That combination matters at two levels. The same comment supplies evidence for more than one emotion, and the contribution of an individual expression depends on the statement in which it appears. If the phrase referring to the display were taken out of that statement, it could suggest a different reading.

The distinction has a concrete consequence for evaluation. A system could recover joy in the example and omit love. It could recover both and add sadness. These are different errors, even though either answer would still register the overall enthusiasm. By evaluating each emotion separately, the paper can examine which distinctions a system supplies and where it introduces a category that the readers did not assign. The choice of labels determines the resolution at which the benchmark can make those judgments.

The intended target is emotion conveyed through writing. A label is based on what readers can infer from the phrasing, informed by their familiarity with the setting. All the observers in this procedure encounter the expression through the comment. The author of the comment may have reasons for choosing those words that are invisible to them. The research question becomes tractable because it concerns interpretations readers can put on record and that later predictions can be compared against.

The gap in Bangla emotion resources

The authors place their work alongside research on emotions in English writing. They mention efforts to identify emotional information in suicide notes, detect insulting language in conversations, and study expressions relevant to cancer care. These examples motivate attention to what language conveys beyond a broad judgment of tone. They are applications from earlier research, with substantially different settings from the public comments that EmoNoBa collects.

The paper also identifies shared tasks and datasets that let researchers compare methods for finer affective distinctions. Its examples include GoEmotions, an affective text task, and a task on affect in tweets. The tweet task supplies a particularly close precedent for working with short online writing. The paper points to SemEval-2007 Task 14 on Affective Text and SemEval-2018 Task 1 on Affect in Tweets.

For Bangla, the authors describe a shortage of public labeled resources for emotion detection despite the prominence of the language. They connect the reason to study online reactions with the expansion of digital technology in Bangladesh and its potential relevance to business and social welfare. A large speaking population does not by itself supply a collection of comments labeled for particular emotions. The shortage the paper addresses concerns data for a specific computational task, which is the sense in which the work belongs to research on low-resource languages.

The preceding Bangla datasets, as characterized by the authors, each contain only a few thousand items and offer limited scope for generalizing across subject areas. The paper also describes their classifications as coarse and tied to emotion inventories associated with Ekman or Plutchik. EmoNoBa takes a different approach to the categories and to the range of writing covered. It uses the Junto wheel to guide interpretation, permits overlapping labels, and samples comments on several kinds of subject. The wheel gives annotators a finer vocabulary with which to consider a comment, while the benchmark records the applicable basic categories.

In this study, breadth across domains principally means breadth across topics of discussion. The emotional significance of praise can shift with what a commenter is evaluating. Conversely, a political discussion and a personal video can furnish quite different language for a category they share. A collection containing both gives researchers a way to look for these shifts. The authors also draw comments from several platforms, so the collection has variation in source as well as topic. Those dimensions serve different purposes. A topic is what people are discussing, while a platform is where they post the response.

Why the selection of comments matters

The authors treat repeated language as a problem for the scope of the evaluation. Many copies of the same comment would increase the number of examples without presenting as many distinct expressions of emotion. Even among distinct comments, a small collection of familiar phrases could account for a large share of the wording. If a classifier can recognize those phrases easily, its score may tell researchers a great deal about those expressions and considerably less about unfamiliar ways of conveying the same feeling. The paper therefore sets a preference for examples that add vocabulary as part of the design of the collection.

That preference carries over from the authors’ earlier work on sentiment in informal Bangla. The earlier resource provides a precedent for selecting examples with varied words. In EmoNoBa the same principle is used for a task in which approving language can carry different labels and a single response can earn several labels. That change affects what the classifier needs to learn from the variety in the text. Its evidence has to support choices among emotions that may agree in broad tone. The earlier dataset is SentNoB.

The authors pursue another kind of difficulty through human disagreement. A comment can have unusual spelling and still convey a readily identifiable feeling. A comment composed of familiar words can be difficult because readers are unsure whether the writer sounds annoyed, amused, or admiring. The paper uses the need for an author decision as an observable sign of problems that the ordinary annotation process could not resolve. Once this distinction is recorded, it can help determine which comments to reserve for evaluation. The resulting test is designed to probe a classifier on a mix in which such cases occur often.

The method, step by step

Selecting the public comments

The authors organize collection around 12 popular topics from Prothom Alo, a newspaper in Bangladesh. They use those subjects to guide the search for comments on YouTube, Facebook, and Twitter. Personal, Politics, and Health illustrate the range intended by the topical design. The material comes from public comments on the platforms. The newspaper’s role is to supply the set of subjects around which the collection is organized.

The starting pool contains ≈ 50K comments. The authors keep material written with the Bangla alphabet, remove duplicate comments, and exclude those shorter than three word tokens or longer than 50. A token is an occurrence counted in processing, so repeated words within a comment still count towards its length. The length filter defines the size of the material considered for annotation. It addresses repetition and noise as part of the authors’ curation, while leaving the kinds of informal spelling and grammar that annotators are expected to understand. Counting occurrences in this way depends on tokenization.

The remaining question is which eligible items to prioritize. Here the authors look to the percentage of unique words and give preference to comments that raise it. Consider two eligible comments with different wording from one another. One can still consist mainly of terms already widespread in the collection, while the other introduces forms that would otherwise be absent. The second can do more to diversify what the dataset contains. The selection criterion acts across the accumulating collection, with the intended benefit that a classifier encounters a wider range of forms and expressions.

The procedure establishes what counts as noisy Bangla for this benchmark. The task involves public reactions that can retain unconventional wording, but eligibility also depends on script, length, and duplication. This combination is important to the later use of the data. A classifier is evaluated on informal writing subject to those decisions, and the same decisions help shape the vocabulary and the kinds of comments that annotators see.

How EmoNoBa turns public comments into a benchmark

The steps in order.

How EmoNoBa turns public comments into a benchmarkStep 1: Gather comments by topic across social platforms1. Gather comments by topic across social platformsStep 2: Apply script, duplicate, and length filters2. Apply script, duplicate, and length filtersStep 3: Prioritize comments that diversify the vocabulary3. Prioritize comments that diversify the vocabularyStep 4: Collect independent judgments using the emotion wheel4. Collect independent judgments using the emotion wheelStep 5: Finalize labels through voting or author adjudication5. Finalize labels through voting or author adjudicationStep 6: Favor adjudicated comments when allocating test items6. Favor adjudicated comments when allocating test itemsStep 7: Train classifiers and score held-out predictions7. Train classifiers and score held-out predictions

From specific feelings to stored categories

The classification target comes from the Junto Emotion Wheel. For EmoNoBa the available outputs are love, joy, surprise, anger, sadness, and fear. The authors ask readers to work through the wheel from a more specific description of the feeling towards the basic category. Someone who describes a comment as enchanted would be led towards love, while a reading of excitement would lead toward joy. These finer distinctions help the annotator decide which broad designation to select. A benchmark prediction is evaluated at the level of the basic designations.

The authors look for educated annotators who can understand comments with grammatical or spelling errors and who use social media actively. The combination is meant to support both comprehension of the written language and recognition of how people use it in that setting. They describe the annotation system as anonymous. Their workflow turns each reading into selections from the same inventory, making judgments from different people comparable as linguistic annotation.

Each item receives decisions from five annotators. The routine procedure takes an emotion as final when it has been chosen by at least three. The threshold applies to a particular emotion. If the relevant votes accumulate for both love and joy, the item can carry both, even if the annotators differ in what else they selected. The data can therefore preserve overlapping readings without requiring the readers to agree on a single dominant feeling.

If the procedure cannot finalize an item, the authors determine its final tag. In the paper’s terminology, genInst designates items finalized through the routine process, and excInst designates those requiring the authors’ judgment. The distinction survives the assignment of final labels. An adjudicated example thus has both a reference answer for classification and a recorded annotation history that can affect its placement in the test set.

The fact of an author decision addresses a practical problem. An item that remains unsettled cannot be scored as readily against a fixed answer. The decision gives the benchmark an answer, and retention of the exception flag indicates how that answer was reached. The paper can then ask whether labels associated with many such cases also present difficulties to classifiers, even though it has finalized every item used for scoring.

Calculating agreement

The authors use a score named AnnoAccu for individual annotators. Its unit of calculation is a comment and the set of emotions that the particular annotator chose for it. For an ordinary item, the contribution is the share of those choices that receive enough votes from other readers to meet the ordinary threshold when the annotator’s own vote is included. The equation below makes the set counts explicit.

AnnoAccu = (1 / |I|) × ∑ᵢ∈ᴵ (|Tᵢ ∩ Oᵢ| / |Tᵢ|)

AnnoAccu denotes the annotator’s average score. I is the set of instances considered, |I| is the number in that set, and i identifies a particular instance. The summation sign ∑ adds a contribution for each i that belongs to I, as indicated by ∈. Tᵢ holds the emotions chosen by the annotator for example i. Oᵢ holds the emotions chosen for that instance by at least two of the other annotators. The symbol ∩ takes the intersection of the sets, retaining their shared emotions. The bars count members, so |Tᵢ ∩ Oᵢ| counts the annotator’s supported choices and |Tᵢ| counts all their choices. The slash denotes division, 1 supplies the numerator of the averaging factor, and × multiplies the sum by that factor. The equals sign defines the score as the resulting average.

That calculation starts from the labels an annotator has proposed. A label the annotator omits never becomes one of the choices to be checked for support. For instance, if someone selects only joy and enough peers also choose joy, the contribution registers support for that selection. It does not penalize the reader for omitting love even if the votes independently suffice to accept love as another final label. AnnoAccu thus captures the agreement behind an annotator’s choices in a way that differs from complete agreement with the final set of labels.

For the exceptional items, an annotator’s selections are checked against the authors’ final decision. The paper changes the comparison set in the equation accordingly.

AnnoAccu = (1 / |I|) × ∑ᵢ∈ᴵ (|Tᵢ ∩ Aᵢ| / |Tᵢ|)

Here AnnoAccu denotes the average for the annotator using the adjudication comparison. I collects the instances included in that calculation, and i is an instance in I. The notation ∑ᵢ∈ᴵ adds a contribution for every such i. Tᵢ is the annotator’s set of selected emotions, and Aᵢ is the intersecting reference set’s source, namely the emotions selected by the authors for i. The operation ∩ retains only choices present in both sets. The count |Tᵢ ∩ Aᵢ| is divided by |Tᵢ|, the number of emotions the annotator selected. As before, bars give set sizes, so |I| counts instances. The slash signifies division, 1 / |I| is the averaging factor, and × applies that factor to the sum. The equals sign gives the definition of the score.

The swap from peer support to adjudication changes what a match means. On an ordinary item it means the annotator’s decision attracted enough independent support from peers. On an exceptional item it means the decision appears in the resolution the authors supplied. In both cases the result is an average of per-item shares, so a comment with several choices does not contribute several independent terms to the final average. The paper also reports Fleiss’ κ, a measure of agreement among raters relative to agreement expected by chance. It computes κ separately for each emotion. That measure describes consistency for the category, while AnnoAccu works from an individual’s selections across comments.

Reserving comments for evaluation

The authors describe the split as stratified for multiple labels, assigning 90% to training and 10% to testing. Stratification uses the labels to help determine where an instance goes. In a multi-label collection the placement of one comment can affect the representation of several emotions, so preserving label representation involves more than dividing the items into independent classes. The paper combines this stratification with a preference for assigning author-adjudicated comments to the test portion. It describes allowing overflow between portions when the allocation cannot place all the items of a kind on the preferred side.

The aim of the preference is to confront a classifier with cases that challenged human readers. The authors mention textual noise and uncertainty about context as reasons such examples can be difficult. In practical terms, test selection therefore depends on both the labels and the way the readers arrived at them. Training supplies examples for learning a decision rule. Test performance reflects the separate allocation, with its greater emphasis on items on which a simple vote failed to settle the answer.

For choosing experimental settings, the authors randomly draw 10% of the training instances as a development set. The paper also specifies two changes to the input text used in experiments. A numerical token is mapped to the common marker CC, and Bangla and English sentence-ending markers are normalized. Mapping numbers to a common form preserves the fact that a number was present while reducing variation from particular values. Normalizing the sentence stoppers similarly brings different forms of sentence endings into a consistent representation.

What the classifiers see

The lexical approach represents a comment through sequences of adjacent words or characters. A word sequence of length 1 retains a whole word as a potential signal. Longer word sequences can preserve some of the immediate setting in which that word occurs. Character sequences provide a different view of the same writing, since a fragment can occur as part of several words. The experiments consider word lengths 1-4 and character lengths 1-5, both separately and in combinations. Such a sequence is an n-gram.

The authors use term frequency and inverse document frequency to weight those sequences. The idea is that occurrence inside a comment matters, as does how widely the same feature occurs across the documents. A frequently shared sequence can supply less distinguishing information than one concentrated in a smaller part of the collection. After weighting, a comment is represented by a vector whose entries correspond to the selected sequences and their values. The weighting scheme is called TF-IDF.

Those vectors are the inputs to a linear support vector machine, or SVM. In a linear decision, the weights learned for individual features combine to provide evidence for the prediction. The same sequence can contribute strongly to one emotion and weakly to another. The authors vary the input feature sets and tune the SVM regularization parameter C. This parameter controls the penalty associated with violating the separation sought during training. The paper identifies 10 as the best value it tried. A change from one lexical setting to another principally changes which sequences the system has available to learn from.

The recurrent approach uses a bidirectional long short-term memory network, abbreviated Bi-LSTM. It reads the word sequence in both directions, so the information available at a position can draw on earlier and later parts of the comment. The authors add attention, which lets the system give more weight to positions it uses for a decision. The aim is to capture relationships in the ordered text and emphasize words relevant to classification. The training choices the authors vary include batch size, learning rate, dropout, the number of LSTM cells, and the number of layers. These settings affect how the system updates its parameters, how strongly training is regularized, and how much capacity the recurrent network has.

The recurrent experiments compare two ways to initialize the word representations. One starts with randomly assigned values. The other begins with pretrained Bangla FastText vectors, numerical representations constructed using a resource trained on formal Wikipedia text with character 5-grams. The paper reports that this resource covers 57.13% on EmoNoBa. The comparison asks whether that starting information helps a recurrent classifier on informal comments. The external resource is described in Learning Word Vectors for 157 Languages.

The pretrained alternative is Bangla-BERT-Base. It produces a representation of the input for an output layer that learns to predict the emotions. The authors adapt that layer alone on EmoNoBa, tuning learning rate and batch size. The experiment asks what the existing representation makes available to a task-specific prediction layer under this restricted form of fine-tuning. The paper motivates the choice with prior results for Bangla-BERT and the wider success of BERT.

Experiments and results

The composition of the benchmark

The paper gives 22,698 as the total size of the final collection. The mean comment length is 1.36 ± 0.82 sentences, and the authors report 11.70 ± 10.70 words for mean sentence length and its spread. The split table separately gives 11.72 as the average word length of a training item and 11.52 for a test item. These figures describe a task centered on brief reactions, during which a reader may have little space in the comment itself to discover why a writer is praising or criticizing something.

Source and topic frequencies vary. YouTube supplies 77.28% of the comments. Personal is the most common subject in the collection, a concentration the authors relate to vlogging, and Health is the smallest. The dataset consequently contains different settings in which expressions can be studied, with the amount of evidence available for any particular setting depending on how it is represented in the collection.

The authors report that 15.3% of the comments carry more than one emotion. A count for a label is therefore a count of comments with that label, and the same comment can be represented in several such counts. Joy appears on 9,249 training items, or 45.19% of that split, and on 857 test items, or 37.72%. Fear appears on 307 training items, or 1.50%, and on 93 test items, or 4.1%. Surprise has 939 examples in training at 4.59% and 149 in testing at 6.56%. These differences matter both for learning and for understanding the evidence behind the individual scores.

The amount of author adjudication also differs between training and testing. The paper reports 1.52% adjudicated items in training and 40.18% in testing. Within the test examples for the individual labels, the share is 36.87% for joy and 43.88% for sadness. It reaches 71.81% for surprise and 80.65% for fear. The percentages use different denominators. The test figure for fear, for example, concerns the test comments labeled with fear. The overall figure concerns every comment in the test split. Taken together they show how the preference for difficult examples affects the evaluation and how unevenly those examples are distributed across categories.

The vocabulary statistics describe a further difference. The unique-word percentage is 18.24% in training and 35.03% in testing. Among the test groups for particular labels, the paper gives 45.89% for joy, 49.16% for sadness, 67.61% for surprise, and 65.52% for fear. These are statistics on the vocabulary of the named groups. They give context for the lexical comparisons because a classifier that learns from recurring sequences needs opportunities to apply those sequences again. The figures describe diversity inside the groups, while the amount of exact overlap between training and test wording is a separate question.

How consistently people applied the labels

The annotation effort involved 80 undergraduates, with workloads ranging from 5 to 5,000 instances. The authors report that 74 achieved AnnoAccu of 60% or more. This figure summarizes how many annotators attained the stated level on their assignments. Because workloads differ, it cannot be read as a proportion of all comments that received similarly strong agreement. The paper offers Fleiss’ κ by label to describe consistency at the category level.

Mean κ across the labels is 0.465. Sadness has the highest reported κ, at 0.705. Anger reaches 0.550, joy 0.509, and love 0.411. Fear and surprise have smaller values, at 0.319 and 0.295 respectively. The authors draw attention to the low agreement on categories that appear infrequently. These measurements are especially relevant to fear and surprise, where a classifier faces fewer positive examples in training and readers themselves show comparatively weak agreement. The annotation score and the prediction score measure different activities, so the agreement values help characterize the task without defining a ceiling for test F1.

What the test metric rewards

The paper scores each emotion as a binary decision. For joy, a prediction is a true positive when the test annotation also includes joy. A false positive occurs when the prediction adds joy to a comment whose annotation lacks it, and a false negative occurs when joy belongs to the annotation but the classifier omits it. The same comment can be used again when scoring the decision about another emotion. This gives each label a distinct performance profile even though all are predicted from the same input.

F1 combines precision and recall. Precision concerns how many of the classifier’s positive decisions are supported by the test labels. Recall concerns how many of the positive labels in the test data the classifier recovers. Low precision can arise from adding emotions too readily, while low recall can arise from omitting them. F1 rewards a balance between the two. The paper averages the label scores to obtain macro F1, giving fear the same weight as joy regardless of the different numbers of test comments with those labels. A large gain on a common emotion can therefore coexist with a poor overall result when the system performs weakly across other categories.

The random-guess system provides the simplest comparison. The other reference settings use recurrent classifiers with attention or the output-layer adaptation of Bangla-BERT. The lexical configurations occupy a broader grid, using different lengths of sequences at either the word or the character level and combining those levels in several ways. All the scores in the comparison below concern EmoNoBa’s designated test split.

Classifier comparison for macro F1 on the EmoNoBa test split

The strongest word and character combination leads the lexical, recurrent, pretrained, and guessing settings shown.

Classifier comparison for macro F1 on the EmoNoBa test splitRandom guessing: 25.46Random guessing25.46Attentive Bi-LSTM initialized with FastText: 12.57Attentive Bi-LSTM initialized withFastText12.57Attentive Bi-LSTM initialized randomly: 21.38Attentive Bi-LSTM initialized randomly21.38Bangla-BERT with output-layer adaptation: 24.61Bangla-BERT with output-layer adaptation24.61Single-word features: 40.75Single-word features40.75Character lengths 1-4: 41.66Character lengths 1-441.66Word lengths 1-3 with character lengths 1-3: 42.52Word lengths 1-3 with character lengths1-342.52Word lengths 1-4 with character lengths 1-3 (this paper): 42.81Word lengths 1-4 with character lengths1-3 (this paper)42.81
The numbers
System or settingMacro F1
Random guessing25.46
Attentive Bi-LSTM initialized with FastText12.57
Attentive Bi-LSTM initialized randomly21.38
Bangla-BERT with output-layer adaptation24.61
Single-word features40.75
Character lengths 1-441.66
Word lengths 1-3 with character lengths 1-342.52
Word lengths 1-4 with character lengths 1-3 (this paper)42.81

Where the neural classifiers gain and lose

The random baseline records 25.46 macro F1. The Bangla-BERT configuration comes closest among the neural settings, with 24.61. The recurrent network reaches 21.38 with random initialization and 12.57 with FastText initialization. These aggregate scores are part of the comparison the authors set out to establish. The individual emotion scores show the different ways the classifiers arrive at their averages.

The FastText-initialized recurrent network reaches 52.71 test F1 for joy and 22.70 for sadness. The other labels each receive 0.0. Joy is a case where the recurrent system improves on the random baseline, which scores 43.20 for that label. In sadness the random score is 32.71, ahead of the FastText setting. With random initialization, the recurrent classifier reaches 57.79 for joy, 51.97 for sadness, and 18.49 for anger. It has 0.0 for love, surprise, and fear. The change in initial vectors is associated both with better results on the labels the first setting identifies and with a positive score on an additional label.

Bangla-BERT gives a wider spread of positive scores. Its joy F1 is 52.30 and its sadness F1 is 42.96. It reaches 22.37 for anger, 18.33 for love, and 11.70 for surprise, with 0.0 for fear. The random baseline offers an instructive comparison at this level. Its 33.57 for anger is above the Bangla-BERT result, while its 11.42 for surprise is below it. For fear its 7.52 exceeds the score of each neural variant. The aggregate rankings thus depend on how well a system covers the full label inventory, alongside how well it handles the more frequent labels.

The authors relate the sequence of positive scores to the way the test data were labeled. Joy and sadness have the smallest adjudicated shares among test emotions, and they are the categories on which the FastText version has positive F1. The randomly initialized version adds anger, and Bangla-BERT also has positive scores in love and surprise. This is a broad pattern, with love and anger close in their test adjudication percentages and no strict ordering of all the scores by those percentages. Fear is the clearest case at the difficult end of the comparison. Its 80.65% adjudicated share accompanies a zero result in each neural setting.

What the leading lexical setting achieves

The top configuration makes word sequences of lengths 1-4 available together with character sequences of lengths 1-3. Its test result is 42.81 macro F1. Its individual results are 63.57 for sadness, 63.09 for joy, 48.63 for anger, 42.22 for love, 27.45 for surprise, and 11.88 for fear. This is a comparatively even profile in the sense that every category contributes a positive score. The range between the easier and harder labels remains substantial.

At the level of an individual label, other feature choices sometimes lead. The combination with word and character lengths 1-3 achieves 63.52 for joy and also records 63.57 for sadness. The combination of single words and character lengths 1-5 reaches 28.84 for surprise. Characters at lengths 1-5 without word features give 42.96 for love. The best anger score in the table, 48.75, comes from word lengths 1-4 by themselves. The overall result therefore reflects a balance across the categories. Selecting the configuration by the aggregate measure and selecting by the score for a specific emotion can yield different answers.

Fear makes that difference particularly visible. The highest reported fear F1, 16.98, belongs to a character-only classifier whose macro F1 is 41.66. The strongest overall configuration reaches 11.88 for fear. Among the word-only settings, using single words yields 14.81 on this label. The result is appreciably stronger than the guessing baseline, although even the best fear score remains small alongside leading results for the common emotions.

Classifier comparison for fear F1 on the EmoNoBa test split

The strongest fear result comes from a character-only feature set.

Classifier comparison for fear F1 on the EmoNoBa test splitRandom guessing: 7.52Random guessing7.52Bangla-BERT with output-layer adaptation: 0.0Bangla-BERT with output-layer adaptation0.0Single-word features: 14.81Single-word features14.81Character trigrams: 16.07Character trigrams16.07Character lengths 1-4 (this paper): 16.98Character lengths 1-4 (this paper)16.98Word lengths 1-4 with character lengths 1-3: 11.88Word lengths 1-4 with character lengths1-311.88
The numbers
System or settingFear F1
Random guessing7.52
Bangla-BERT with output-layer adaptation0.0
Single-word features14.81
Character trigrams16.07
Character lengths 1-4 (this paper)16.98
Word lengths 1-4 with character lengths 1-311.88

What the ablations show

Changing the length of the evidence

Comparisons within the linear approach serve as the paper’s feature ablations. The weighting and classification approach stay in place while the kinds of sequences available to the classifier change. A comparison between individual lengths shows which kind of evidence can carry a decision on its own. Adding a length to an existing group asks the narrower question of whether it helps in the presence of the other features. Those questions lead to different answers in EmoNoBa.

For word features the strongest standalone result comes from unigrams, with test macro F1 of 40.75. Bigrams by themselves score 28.14, trigrams 12.29, and four-word sequences 11.21. Each extra word makes an exact match more specific. A phrase may give a more precise clue when it is found, but the same requirement can make the feature harder to find again in a collection chosen to contain diverse wording. The pattern is consistent with that tradeoff. It does not directly measure how frequently particular phrases recur across the split.

The combinations retain much of the strength of single words. Word lengths 1-2 give 40.56 macro F1, word lengths 1-3 give 39.69, and word lengths 1-4 give 40.06. The unigram result remains the highest aggregate score among the word-only configurations. At the same time, word lengths 1-4 yield 48.75 for anger and 60.56 for sadness, above the unigram entries of 44.94 and 59.14 for those two categories. The effect of adding a phrase feature depends on which prediction matters and what evidence the classifier already receives.

Character length changes the results in a less uniform way. With individual lengths, macro F1 is 38.44 for character bigrams, 40.06 for trigrams, 40.65 for four-character sequences, and 37.96 for five-character sequences. A set containing character lengths 1-3 reaches 39.75. Expanding it through length 4 yields 41.66, and expanding through length 5 yields 41.45. Character fragments can provide matches across forms that differ as whole words, while a longer fragment narrows the patterns it can represent. The results locate settings that balance those properties well on the test data, with no steady gain from increasing length.

The mixed configurations show what changes when both word and character features are present. Single words with character lengths 1-5 yield 42.14 macro F1. The two mixtures with character lengths 1-3 reach 42.52 when the word lengths are 1-3 and 42.81 when they extend through 4. The latter comparison is especially direct because the character lengths stay fixed while an extra word length becomes available. The result is compatible with some longer phrases being useful when the classifier also has more widely reusable features. It does not imply that four-word phrases would be sufficient by themselves, as the standalone result demonstrates.

The authors interpret the stronger settings as evidence for useful signals both within words and in phrases. The class-specific results give that interpretation a practical meaning. If fear is the target, the character combination has the strongest reported score. If joy is the target, a mixed configuration leads. The table contains evidence of usefulness at both levels, with the role of each depending on the emotion being scored and the other signals included in the classifier.

Comparing the starting word representations

The recurrent experiments change the source of the initial word representations while retaining the bidirectional architecture and attention. Starting from random values yields higher macro F1 and expands the set of emotions with a positive result. In this setup, the pretrained Bangla vectors fail to provide a performance advantage. The authors’ coverage figure offers a reason to investigate the fit between the pretrained resource and the benchmark. The vectors are associated with formal Wikipedia text, whereas the benchmark examples are informal replies with noisy spelling and phrasing.

There are several ways a mismatch could matter. Limited coverage restricts which words can draw on the external information at initialization. Even words that are covered can be used differently in comments and in formal writing. The benchmark compares the two available starting points as implemented. It does not manipulate coverage independently of the type of writing used to produce the vectors. The result establishes that random initialization worked better here, while leaving the contribution of each proposed explanation open.

The authors also suggest that unusual vocabulary may contribute to the weak neural scores for categories with a high share of exceptional instances. The data are consistent with several interacting influences. Surprise and fear are relatively rare, their test examples have high reported unique-word percentages, and readers disagreed comparatively frequently about them. Each of those conditions could affect performance. The comparison does not vary one while holding the others constant. It is consequently best read as an account of which problems coincide in this benchmark, with the initialization comparison supplying a more focused result about a particular system change.

Looking at what the classifiers learn from words

The paper inspects influential word sequences associated with each category. Compliments stand out among indicators of love and joy. Slang and criticism figure among the signals for negative emotions. Some features have a fairly direct connection to the named category, such as a reference to crying for sadness or a plea for protection for fear. Others acquire their significance from the situations in which people use them. A reference to a lack of justice appears among the sadness features, for instance, and points towards what is being lamented rather than supplying an explicit name for the feeling.

The overlap between love and joy is especially informative. Expressions praising how good something looks and words rating someone very highly appear in the indicators for both. In a data collection where each emotion is judged separately, a well-known compliment can legitimately carry information about each label. A classifier that sees the expression repeatedly in both groups has evidence for both predictions. In an individual comment the difference may depend on whether the writer sounds affectionately impressed or enthusiastic about the subject. That evidence can be distributed across the comment or depend on what prompted it.

The feature analysis also makes clear why a negative-sounding expression can mislead. The example about wanting more of a display contains an expression associated with sadness among the strong features. The comment as a whole has love and joy annotations. A classifier can learn the association from legitimate occurrences elsewhere and still apply it unhelpfully in this setting. The example reveals the limits of an association by showing a recognizable reason it can fail in a particular use.

Strong sequences offer clues to what evidence a lexical classifier can exploit. They do not establish that every prediction containing the sequence was made for the same reason. A feature contributes alongside others, and the same phrase can appear in different kinds of comment. The authors use their inspection to propose explanations for recurrent patterns in the errors. This analysis complements the numeric feature comparisons by suggesting what some of the changes in available evidence actually mean for a reader of the comments.

Reading the errors by subject

The paper compares the distribution of test emotions within topics with the strongest classifier’s binary F1 for each topic and label. The two views answer different questions. The distribution describes what annotators find in the comments, while the F1 scores describe what the classifier recovers in that part of the test set. A category can be present in a topic and still prove difficult because its expressions resemble those that support another category.

In Personal comments the authors observe that the classifier sometimes adds sadness to items labeled for love or joy. Their explanation draws on expressions with a critical association that appear inside comments conveying enthusiasm. In a multi-label task this can be an error of addition. It remains possible for the system to identify the positive emotion and also produce a false positive for sadness. The error therefore points to the interpretation of the apparently negative cue within a comment, regardless of whether the agreeable tone was already detected.

The authors also identify difficulty distinguishing love and joy in Business, Education, Entertainment, Music, and Personal. They propose that approving language can express enchantment in comments on music or entertainment and excitement in comments on business or education. In the wheel used for annotation, enchantment belongs under love and excitement under joy. This makes the topic analysis directly relevant to the earlier annotation procedure. The broad labels that look similar in the output can originate in different finer interpretations by readers.

The authors’ explanation links the situation to how a phrase is heard. It is supported by the overlaps among prominent features and by the types of mistakes they report. The analysis does not supply an intervention that changes the topic while preserving the wording or changes the wording while preserving the topic. It identifies why more context might help and where to look for the effect. The paper’s proposed improvement in understanding contextual information follows from these errors.

Limitations

Limits the authors identify

The authors end with contextual interpretation as unfinished work. Their classifiers can use recurring fragments and short expressions to identify useful evidence, and their error analysis shows why the meaning of such evidence can vary. A familiar expression of approval can fit several feelings. A term commonly associated with sadness can occur within praise. The authors propose improving Bangla systems’ understanding of sub-word information in context, with the aim of resolving such cases. The reported tests establish the problem the improvement would address. They evaluate the existing feature combinations and neural settings.

The authors also recognize the challenge posed by noise and uncertain context in the annotation. By having a separate route for difficult cases, they can assign reference labels and keep track of which comments required extra judgment. The evaluation accentuates that difficulty by design. The classifier’s answer is scored against the final label set, which may have been reached through votes or adjudication. When several plausible readings were available, the test nonetheless records a determinate outcome. Particularly low agreement for fear and surprise makes this history relevant when interpreting their scores.

The paper offers vocabulary diversity as a possible explanation for poorer recognition on difficult examples. The authors refer to similarities with their earlier Bangla sentiment data and to the increased demands of distinguishing emotions within a piece of text. Their vocabulary statistics support the observation that some test groups are lexically varied. The independent effect of that property remains open, since the benchmark also varies in category frequency and adjudication. A rare label with varied wording and many disputed readings poses all these challenges at once.

Limits visible in the sampling and split

The test score estimates performance on a particular selected collection of comments. Giving author-adjudicated instances priority creates an evaluation with a larger share of items the usual voting procedure could not finalize. This is appropriate to the paper’s aim of building a challenging test. A stream sampled without that preference could contain a different mixture of routine and exceptional items. The benchmark does not measure how scores change under that alternative sampling procedure.

Coverage of several topics also differs from an evaluation of transfer to a previously unseen topic. The paper reports multi-label stratification, a preference connected to adjudication, and comparisons of results by subject. It does not report a test that withholds a whole topic from training. The data support comparisons among the subjects represented in the collection, while the strength of transfer to a new domain remains unmeasured. The large contribution from YouTube and the concentration in Personal likewise mean that a single aggregate cannot describe performance across all sources in equal detail.

The script and length requirements matter for similar reasons. The conclusions concern Bangla-script comments that pass the selection rules. Bangla written in another script and comments outside the length window fall beyond the evaluated material. The move to prioritize vocabulary variety also means the retained comments were selected in part for what they add to the collection. Label shares are informative about EmoNoBa and its test setup. They cannot on their own establish which emotions occur most often in Bangla social media at large.

A reporting discrepancy affects the interpretation of the split statistics. The corpus description states a total of 22,698 instances. The split table reports 20,468 training instances and 2,272 test instances, figures that do not reconcile with that total. The paper gives no account of the discrepancy. The stated overall total and both printed split counts can be reported as such, but the exact division of the final corpus cannot be reconstructed from those figures alone.

Limits visible in the labels and scores

The reference answers capture readers’ judgments about what a comment conveys. There is no separate measure of what a writer privately felt when posting it. The wheel guides interpretation through specific feelings, but the scores concern its basic categories. A classifier with a strong joy result has shown agreement with the reference label joy. Its score does not show whether it distinguishes among the more specific readings used to arrive at that label.

AnnoAccu also covers a specific part of agreement. It gives credit when the annotator’s selected emotions align with the relevant comparison set. Since its denominator counts the selections, omission of an emotion can go unpenalized if the choices the annotator does make are supported. The paper does not specify how to apply the formula when the annotator selects no emotions, which would leave the denominator empty. Fleiss’ κ supplies a separate category-level view of agreement, but neither measure identifies why any particular pair of readers interpreted a comment differently.

Macro F1 summarizes the ability to recover individual emotion labels. It does not describe how frequently a prediction reproduces all the labels on the same comment, an important distinction for items like the example carrying both love and joy. A classifier adding sadness could still receive credit for each correctly predicted positive label in the respective binary tasks. That makes macro F1 well suited to showing how performance varies by category. The score does not supply a direct measure of full agreement with the annotated emotion set.

The comparison with random guessing also has a reporting limit. The paper presents a test score for guessing, without detailing how the random predictions were distributed among categories or how scores varied across draws. The baseline makes the reported overall ranking interpretable as a comparison of the listed settings. Its point results leave the precision of that comparison unclear, especially for classifiers with close aggregate scores.

Limits of the system comparisons

Bangla-BERT was evaluated with adjustment confined to its output layer. Its score therefore describes the representation’s usefulness under that training setup. Other forms of adaptation are outside the comparison. The recurrent experiments likewise concern the specified architecture and the initialization choices that were tested. Their results give a clear comparison with the chosen lexical settings on this split. A claim about the relative ability of whole families of classifiers to recognize emotions would require broader experiments.

The paper reports point scores and offers no uncertainty estimates for differences among the leading mixtures of features. The table establishes the order of those settings for the reported run and test data. It leaves open how stable that order would be under a fresh split or repeated fits. For fear, the amount of positive test evidence is small relative to joy and the label is heavily represented among adjudicated cases. The observed scores show that all tested settings have difficulty here, while the stability of differences among those settings remains unquantified.

Finally, the per-topic analysis and inspection of influential words do not isolate the benefit of giving a classifier more context. They show how phrases that look informative across the corpus can occur in comments with different interpretations and how some errors vary with the subject. Readers can use those observations to understand the benchmark failures. Measuring the proposed remedy would require testing a system that has access to additional contextual evidence and comparing how it handles the same kinds of examples.

What came after

No later study is documented here as extending or testing EmoNoBa. The authors’ own follow-up proposal is to improve contextual interpretation for Bangla emotion detection, including the way smaller pieces of words are represented in their surroundings. The direction follows from the cases where recurring phrases were strong enough to drive predictions but weak at separating the intended feelings. Love and joy supply the clearest example because both can be expressed through the same kind of praise.

The public release makes it possible to test that proposal against the original benchmark. The strongest lexical result provides an overall comparison, while the individual labels and the errors by topic specify what a follow-up could examine more closely. For example, improving fear recognition and avoiding false sadness predictions in enthusiastic Personal comments are different outcomes, even if both can raise the aggregate score. The paper leaves those as open empirical questions.

Cite

Cite as Khondoker Ittehadul Islam, Tanvir Yuvraz, Md Saiful Islam and Enamul Hassan. 2022. EmoNoBa: A Dataset for Analyzing Fine-Grained Emotions on Noisy Bangla Texts. Proceedings of the 2nd Conference of the Asia-Pacific Chapter of the Association for Computational Linguistics and the 12th International Joint Conference on Natural Language Processing (Volume 2: Short Papers).

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/2022.aacl-short.17

@inproceedings{islam2022emonoba,
  title = {{EmoNoBa: A Dataset for Analyzing Fine-Grained Emotions on Noisy Bangla Texts}},
  author = {Khondoker Ittehadul Islam, Tanvir Yuvraz, Md Saiful Islam and Enamul Hassan},
  booktitle = {Proceedings of the 2nd Conference of the Asia-Pacific Chapter of the Association for Computational Linguistics and the 12th International Joint Conference on Natural Language Processing (Volume 2: Short Papers)},
  year = {2022},
  doi = {10.18653/v1/2022.aacl-short.17},
  url = {https://doi.org/10.18653/v1/2022.aacl-short.17}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/islam-2022-emonoba-dataset-analyzing-fine-grained/