Elamur Research

Multi-label Text Classification Approach for Sentence Level News Emotion Analysis

Paper · 2009 · Plaban Kumar Bhowmik, Anupam Basu, Pabitra Mitra et al.

Summary

A news sentence can frighten and sadden the same reader. A classification system that allows only one answer has to drop part of that reaction, even when both emotions are plausible. Bhowmick and colleagues treat this as a problem in multi-label text classification. Their system assigns a set of emotions to each sentence, choosing among disgust, fear, happiness and sadness. The target is the response the news might evoke in a reader. The authors study 1305 sentences from the Times of India archive and use the emotion labels attached to those sentences as the basis for training and evaluation.

The classifier looks for previously labeled sentences that resemble the sentence it is analyzing. It counts how many nearby examples carry each emotion and uses patterns learned from the training data to decide which emotions to assign. The authors compare different ways of representing a sentence for this search. The baseline uses words after preprocessing. A polarity representation describes the evaluative direction of the subject, verb and object. A semantic frame representation groups expressions that describe a similar kind of event. An example from the paper is the Killing frame, which can bring together expressions formed from different words.

In 5-fold cross-validation, replacing words with semantic frames raised partial-match accuracy from 0.598 to 0.756, F1 from 0.647 to 0.806 and exact label-set accuracy from 0.499 to 0.653. Polarity alone performed worse than words alone, but adding polarity to frames raised F1 to 0.817. Including words as well brought F1 down to 0.774. The authors also ranked features with a chi-squared statistic and tested whether the classifier could benefit from keeping only the higher-ranked features. Their strongest reported setting combined polarity with the top 80% of semantic frame features. It reached 0.773 partial-match accuracy, 0.827 F1 and 0.666 exact label-set accuracy, with a Hamming loss of 0.115.

The feature comparisons show that, for this corpus and classifier, grouping expressions by the events they describe gave the neighbor search a stronger basis than the preprocessed words alone. The authors attribute the advantage to two related properties of frames. They give the classifier a smaller feature space and let different expressions contribute to the same feature. The experiments measure the combined benefit of those properties. They also show why the choice of metric matters. A system can recover much of the emotion information attached to a sentence while still missing an emotion or adding an extra one, and an exact-set score registers every such case as an error.

Deep dive: Multi-label Text Classification Approach for Sentence Level News Emotion Analysis

Bhowmick and colleagues test how words, polarity and semantic frames help a nearest-neighbor classifier identify multiple emotions in news sentences. · about 35 minutes to read

The problem and its context

Whose emotion is being classified?

The paper starts from a change in what people might want to find in online text. Searching by keyword or topic gives them a way to find material about a subject. Questions about a text’s emotional impact concern a different property. A sentence can communicate what happened through apparently factual language and still prompt a strong reaction in the person reading it. For information retrieval and search, the distinction matters whenever the property of interest is how material might affect readers.

The authors distinguish the emotions a writer expresses from the emotions a reader might experience. These perspectives pose different questions about the same sentence. A writer can state that an event happened without naming an emotion or revealing a personal reaction. A reader might experience fear because of the danger described and sadness because of the harm. The paper illustrates this with a report about a deadly militant attack in Nigeria. Its proposed classification concerns the reactions the report may evoke. Working at sentence level places the reported event and its wording at the center of that decision.

Fear and sadness are compatible responses in the example. An instruction to choose the strongest emotion would turn a decision about their relative prominence into a decision about which one to retain. The paper instead asks which emotions apply. This changes the expected output. A prediction of fear can be appropriate and still incomplete if sadness is also in the reference annotation. A prediction of both can be right even though the sentence concerns a single event. The setup therefore makes the contents of the predicted set part of the evaluation, along with the correctness of each individual choice.

Reader perspective has a specific meaning here. The classifier receives sentences and learns from labeled examples. It has no input describing the individual who will read a particular sentence. Its response is a prediction of the labels associated with a sentence under the corpus’s annotation procedure. The general motivation concerns the range of emotions that readers can experience. The computational task gives that motivation a manageable form by restricting the response to a pre-defined emotion vocabulary.

This restriction makes the work part of sentiment and emotion analysis, with an emphasis on differentiating emotional categories. The classes the authors choose capture distinctions that an overall favorable or unfavorable judgment would leave unresolved. Fear, disgust and sadness can each be associated with unfavorable news, yet they capture different reactions to it. The system includes polarity because that information might contribute evidence for emotion. It still has to decide which emotion labels that evidence supports.

The earlier tasks described by the authors

The authors characterize earlier research as giving more attention to the writer’s perspective. In their account, studies of writer emotion commonly assumed that a text segment expressed a single emotion. Their discussion includes affect analysis of web forums and blogs. The assumption is consequential when it carries over to reader response, where a blend of emotions is part of the phenomenon being studied. A method constrained to return a single label is unable to express that blend regardless of the quality of its sentence representation.

The paper also identifies an earlier shared task on affective news headlines. The task supplied headlines collected from Google News and CNN, and participants tried different approaches to affective analysis. This establishes a close point of contact with the present work. Both use short units from news, and both examine affect. The headline task establishes the relevance of news text to the question, while Bhowmick and colleagues formulate their own evaluation around a corpus of sentences and sets of reader-emotion labels. The paper discusses the shared task as SemEval-2007 Task 14: Affective Text.

Among the precedents the paper cites is one concerning readers’ emotions in connection with Chinese news articles from Yahoo! Kimo News. That work addressed emotion ranking and used a support vector machine. Its evidence included character bigrams, words, article metadata, affix similarity and information about the emotions associated with words. These are different ways of describing an article for classification. Some come from its text, some from its metadata, and some from lexical information. The precedent shows that reader affect had already been studied as a computational property of news and that the choice of text representation was already part of that work.

Bhowmick and colleagues focus their own feature comparison more closely on what a sentence says and how it says it. They begin with the words, then ask whether features attached to grammatical roles or event types give the classifier better evidence. Polarity can preserve a distinction about which part of the sentence carries an evaluation. Semantic frames can preserve a common event category across sentences that use different vocabulary. The contrast among those representations creates a way to ask which kinds of resemblance are informative for assigning emotions.

Why the representation matters to the task

A sentence offers a limited amount of text for comparison. If two sentences describe similar harm with different words, a representation that treats each word as a separate feature can place them farther apart than their subject matter warrants. Stemming can help group related forms of a word, but it leaves distinct words separate. The paper’s interest in semantic frames comes from this difference. A frame groups lexical expressions around a type of event, so sentences can share a feature even when their surface vocabulary differs.

Other sentence properties can offer different evidence. The polarity of the actor described in a sentence, the action itself and the entity affected by it can contribute to a reader’s reaction. Representing them separately retains some information about sentence structure. A feature attached to the subject has a different source within the sentence from a feature attached to the verb or object. The method tests whether making those distinctions available to the classifier helps with the emotion decision.

These questions are especially pertinent to a nearest-neighbor classifier. Such a classifier relies on the examples deemed similar to the new sentence. A change to the feature representation can alter which examples count as neighbors, and that can change the evidence for several emotions at once. The paper keeps that decision procedure in place while varying the information used to compare sentences. Its question is therefore both about representing emotion-relevant information and about which representations bring together examples whose labels can inform one another.

The method, step by step

From a sentence to a set of labels

The authors start with news sentences whose emotion labels are known. A sentence may carry several labels because an annotator can assign more than one emotion. When the system receives a sentence for classification, it represents that sentence with the feature types chosen for the experiment. It then finds the nearest examples in the labeled training data. Each of those examples may contribute evidence for any of the emotion labels it carries.

The classifier considers each emotion individually when turning those nearby labels into a final prediction. It counts the neighbors associated with the emotion and consults statistics learned from the training examples. The statistics help it judge whether that count is more consistent with the emotion applying or with its absence. The positive decisions are collected into the output set. A sentence can consequently receive both fear and sadness when the available evidence supports both decisions.

How ML-KNN assigns emotion labels to a sentence

The steps in order.

How ML-KNN assigns emotion labels to a sentenceStep 1: Start with news sentences labeled for reader emotions1. Start with news sentences labeled for reader emotionsStep 2: Represent sentences with the chosen features2. Represent sentences with the chosen featuresStep 3: Estimate label and neighbor-count probabilities from training data3. Estimate label and neighbor-count probabilities from training dataStep 4: Find the nearest labeled examples for a sentence4. Find the nearest labeled examples for a sentenceStep 5: Count neighbors carrying each emotion5. Count neighbors carrying each emotionStep 6: Compare support for including or excluding each label6. Compare support for including or excluding each labelStep 7: Return the set of included emotions7. Return the set of included emotions

The authors write the classification task as a mapping from sentences to subsets of the available emotions.

h : S → 2ᴱ

Here h is the function to be learned and S is the set of sentences under consideration. The arrow indicates that the function maps a member of S to an element of 2ᴱ. The symbol E denotes the emotion inventory, and 2ᴱ is its powerset, the collection of all its subsets. A powerset includes the single-emotion subsets, all combinations of emotions and the empty set. This specifies what the output can express. The paper does not report how often the classifier returned an empty set.

This formulation separates the inventory from the individual training annotations. The inventory is shared across the corpus. Each annotated sentence carries a subset of it. A label can be shared by sentences whose remaining labels differ. In the case of fear, for instance, a nearby sentence can contribute evidence for fear even if its reference annotation also includes sadness. The algorithm can use that evidence without requiring that the target sentence and the training sentence have identical full label sets.

Build the word representation

The word condition starts with the vocabulary present in a sentence. The authors use it as the comparison baseline and motivate it with an example of a word that can be associated with fear, bomb. The example illustrates why ordinary lexical features are a sensible place to start. When an expression is repeatedly associated with a type of reaction, it can make examples that share the expression informative to one another.

The authors remove stop words and named entities before constructing the word features. Stop words are items filtered out before the feature vectors are made. Named entities are expressions that identify particular named things, such as a named person or place. In this setup, the word representation omits those expressions. This is a decision about the content presented to the classifier. The baseline described in the paper already includes preprocessing, so the comparison with frames concerns this processed vocabulary.

The remaining words undergo stemming with Porter’s stemmer. Stemming reduces related word forms to a shared representation. Its purpose here is to reduce the number of distinct word features where variation reflects word form. A word based on one root can still occupy a separate feature from a different word referring to a related event. Semantic frames address that second kind of separation.

The paper uses W for the word feature set. The resulting vectors make the processed words available to the neighbor search. The authors describe the filtering and stemming steps, but give less detail about how values were assigned to the vector entries. The central distinction for their comparison is what each feature represents. In this condition, features correspond to the processed vocabulary.

Extract polarity from grammatical roles

The polarity representation, P, records evaluative information associated with a sentence’s subject, verb and object. Here polarity refers to the evaluative direction of an expression. An emotion label refers to a kind of response, such as fear or happiness. The two describe different properties, which makes it possible for polarity to be useful without being sufficient for determining the output.

The procedure starts with a parse tree. A parse tree organizes the grammatical structure of a sentence and gives the authors a way to identify the relevant constituents. The method extracts the subject, verb and object from this structure. In a straightforward report with an actor, an action and something affected by it, these distinctions give the polarity feature a way to separate evaluations associated with different parts of what happened. The tree is used to find those parts, and the extracted polarity becomes the evidence used in this feature condition. This stage relies on parsing.

To obtain polarity at the level of a constituent, the procedure starts from manual polarity tags on words and applies rules. The authors describe the rules as simple. Their account establishes the order of the operations. The grammatical structure identifies a constituent, word-level tags supply the underlying polarity evidence, and rules determine the polarity associated with the constituent.

A whole-sentence polarity value would pool together information from the grammatical parts of the sentence. Keeping their polarity information separate gives the classifier access to where the evidence comes from. In the experiments, P can be used on its own or alongside another representation. Its contribution can therefore be assessed in a condition where it is the only evidence for finding neighbors and in conditions where other features are also available.

Assign semantic frames

The semantic frame representation, SF, draws on Berkeley FrameNet. A frame groups lexical units that evoke a common kind of situation. FrameNet also records information about predicates and the roles of their arguments. The classifier’s described use of the resource is to take frame assignments as sentence features.

The paper explains the grouping with words such as kill, assassin and murder, which it associates with the Killing frame. The words differ in form and in how they can be used in a sentence. The common frame gives them a shared feature when they evoke the same kind of event. For comparison between sentences, this can make a connection available even when the texts have no identical expression for that event. The feature operates at the level of the kind of situation invoked by a lexical expression. It draws on lexical semantics.

The authors use SHALMANESER to assign the frames. This adds an automatic analysis stage between the text of the sentence and the features the classifier receives. When that stage gives different terms the same frame, the corresponding sentences can share evidence in the frame representation. The common feature describes the event category. It still takes the training labels and the classifier’s decision rule to relate that category to a possible emotional response.

This distinction helps clarify why semantic frames can be used with a multi-label classifier. The Killing frame, for instance, does not prescribe a single emotion. It supplies a way to locate training sentences with something in common. Those examples may carry fear, sadness or other labels in the inventory, depending on their annotations. The classifier considers the evidence for each label in turn.

The authors compare frames on their own with combinations that include words, polarity or both. The combination with words retains individual lexical information alongside the features that group lexical units. The combination with polarity gives the classifier information about both the situation evoked and the evaluative properties of grammatical constituents. These combinations are tested as alternative inputs to the same classifier.

Learn what the neighbors’ labels imply

The authors use Multi-Label K Nearest Neighbor, abbreviated ML-KNN. An ordinary nearest-neighbor method starts from the similarity of the new example to examples available in training. In the multi-label adaptation, each nearby example has a set of labels. A vote for a single winning class would discard much of the information in those sets. ML-KNN collects a separate count for each emotion and uses a probabilistic decision for that emotion.

The relevant quantities are a prior for label membership and a conditional probability for the neighbor count. The prior records the prevalence of the label before considering what the nearest neighbors say. The conditional probability describes how likely that count is when the sentence does or does not carry the label. The paper uses the following expression for the prior.

P(Hₗᵇ), l ∈ E, b ∈ {0, 1}

P denotes probability, and Hₗᵇ denotes the event that label l has membership status b for the sentence. The symbol ∈ means “is a member of,” so l ∈ E indicates that l is one of the emotions in inventory E. The braces delimit the possible values of b. A value of 1 means the label applies, and 0 means it is absent. The prior can therefore represent the training evidence for each membership status before the neighbor count is taken into account.

The second expression conditions the observed neighborhood evidence on the label status.

P(Nₗʲ | Hₗᵇ), j ∈ {0, 1, …, K}

P again denotes probability. Nₗʲ is the event that exactly j of the nearest training examples carry label l. The vertical bar means “given,” and Hₗᵇ is the event specifying the membership status b of the label. Thus the quantity describes how often a given count is expected under a particular status for l. The symbol K is the size of the neighborhood. The braces and ellipsis indicate that the possible counts run from 0, when none of the neighbors carries the label, through K, when each neighbor carries it.

The orientation of the conditional probability is important. It describes the likelihood of a neighbor count given a label status. The prediction asks the reverse question, which status is supported once the neighbor count is known. The maximum a posteriori decision, or MAP decision, uses the conditional probability together with the prior. The classifier compares the support for including the label with the support for excluding it and chooses the more probable status given the observed count. It carries out that calculation for each emotion and returns the labels selected for inclusion.

This procedure gives a count meaning in relation to training experience. An emotion that occurs often in the corpus can have different prior support from a less frequent emotion. An observed neighbor count can also be more typical for one emotion than for another. The same number of neighbors carrying two different labels can therefore lead to different decisions about their inclusion. A label’s training prevalence and its association with the observed local count both contribute to the result.

The probabilities are estimated from training examples. This requires evidence about how often labels apply and about the neighbor counts seen for both membership states. Some configurations can occur seldom in a training sample. The authors use Laplace smoothing, which gives unseen outcomes some probability and keeps a zero count from making an outcome impossible in the calculation. Smoothing addresses the scarcity of observations used to estimate probabilities. The later feature selection addresses scarcity in the sentence features used to find neighbors. These operations take place at different stages.

Describe the label sets in the corpus

The authors characterize the multiplicity of the reference assignments with label cardinality and label density. Cardinality gives the average number of assigned emotions per sentence. Density gives the average share of the available inventory assigned to a sentence. These quantities summarize the annotations before any predictions are made.

LC = (1 / |S|) ∑ᵢ₌₁^|S| |Eᵢ|

LC is label cardinality. S is the collection of sentences, and |S| is the number of sentences in it. The summation sign ∑ instructs the reader to add a term for each sentence, with sentence index i running from 1 through |S|. The symbol Eᵢ is the assigned emotion set for sentence i, and |Eᵢ| counts its labels. Dividing the sum by |S| produces the average label count.

LD = (1 / |S|) ∑ᵢ₌₁^|S| (|Eᵢ| / |E|)

LD is label density. The index i, the corpus size |S| and the assigned label count |Eᵢ| have the same meanings as in cardinality. Here |E| is the size of the complete emotion inventory. The expression inside parentheses after ∑ takes the fraction of the inventory assigned to a sentence. The factor 1 / |S| averages these fractions over the sentences. This measure has a different scale from cardinality because it expresses assignments in relation to the available labels.

The two descriptions help identify what makes a corpus multi-label. The average label count describes how many emotion decisions typically end up positive, and the density situates that count within the inventory. Neither measure gives the prevalence of a particular combination, such as fear with sadness. That would require tracking how frequently particular labels appear together.

Rank features and test shorter lists

The authors also study whether the neighbor search benefits from a smaller feature set. They rank words and frames using a chi-squared statistic, written χ². Here the statistic is used to score the association of a feature with the class information. Features can then be sorted by that score and a selected fraction retained. This procedure works within each representation. A selected frame feature continues to be a frame, and a selected word feature continues to represent processed vocabulary.

The paper motivates this step with the distribution of word-feature scores. After ordering words by their chi-squared values, the authors find a high-scoring part of the list followed by a long tail. They describe the pattern as Zipfian and fit a power law to the relationship between score and rank. The analogy to Zipf’s law concerns the form of that rank curve. The plotted values are feature scores.

y = αx⁻ᵝ

Here x is a word feature’s rank and y is the fitted χ² value at that rank. The coefficient α scales the curve, while β controls how quickly the fitted value falls as rank increases. The raised minus sign and β form the negative exponent applied to x. The paper gives α as 236.43 and β as 0.8204. It reports R² of 0.89 for the fit, where R² measures how closely the fitted curve accounts for the variation in the values being fitted. This number describes the rank curve. The performance of the emotion classifier is evaluated separately.

Feature selection changes the coordinates used in comparing sentences. If a feature is removed, any resemblance or difference it contributed is removed from that comparison. The authors test this for both words and semantic frames, then examine a setting that combines polarity with selected frames. This lets them examine whether the compactness gained through event grouping can be supplemented by retaining only the better-scoring features within that representation.

Experiments and results

The corpus and evaluation setup

The corpus contains 1305 sentences from the Times of India news archive. Its labels are disgust, fear, happiness and sadness. The paper lists 307 sentences labeled disgust, 371 labeled fear, 282 labeled happiness and 735 labeled sadness. These figures are counts of label assignments by category. Since a sentence can contribute to multiple categories, they describe overlapping groups of sentences. Sadness is the most common of the reported labels, and happiness is the least common.

The authors report a label cardinality of 1.3 and a label density of 0.26 for the corpus. They present both as summaries of how many emotions were attached to sentences. The cardinality conveys that multiple labels matter to the task even though the label sets are generally small. There is an inconsistency between the published density and the relationship implied by the authors’ formulas for cardinality and density. The experimental scores below are reported as the authors give them.

All the experiments use 5-fold cross-validation, with the number of nearest neighbors set to 10. In cross-validation, each fold is held out for testing while the remaining folds supply the training data, and the roles rotate. The reported feature comparisons are consequently within this corpus. The word-only representation is the baseline for those comparisons. The classifier and neighborhood size stay fixed while the authors change the input features.

What the scores measure

The authors use example-based measures to evaluate the set of predictions assigned to a sentence. Hamming loss, abbreviated HL, counts disagreements in individual label decisions relative to the total number of such decisions. Missing a reference emotion contributes an error, as does including an emotion absent from the reference. Lower Hamming loss is better. This measure can give credit for correct decisions about some emotions in a sentence that contains an error elsewhere.

Partial-match accuracy, P-Acc, rewards overlap between the predicted set and the reference set. An answer that includes an appropriate emotion and misses another can still earn partial credit. An extra predicted emotion also affects how closely the sets match. Subset accuracy, S-Acc, requires the two sets to agree exactly. A sentence can therefore have a partially correct prediction and still contribute no success to subset accuracy. These measures capture separate consequences of allowing several labels per example.

The example-based F1 score combines precision and recall. Precision concerns how much of what the classifier predicts is appropriate, while recall concerns how much of the reference information it recovers. This pairing matters because making few predictions can avoid some false positives at the cost of leaving relevant emotions out. Predicting more freely can recover additional emotions while also adding more unsupported labels. F1 rewards a combination of the two properties.

The ranking measures ask how well the classifier orders the emotion labels by their support. One error, OE, registers a mistake when the highest-ranked emotion is absent from the reference set. Coverage, COV, concerns how far down the ranking one must go to reach the relevant labels. Ranking loss, RL, measures the tendency to order an irrelevant label ahead of a relevant one. Average precision, AVP, rewards placing the relevant labels high in the ranking. Lower values are preferable for one error, coverage and ranking loss. Higher average precision is preferable.

The example-based and ranking measures capture different aspects of the output. The example-based measures examine decisions about which labels enter the predicted set. The ranking measures examine the ordering of relevant and irrelevant labels. A sentence can have an appropriate emotion at the head of the list and still receive an incomplete set. Conversely, the correctness of the output set leaves some questions about the order within the ranking unanswered. The paper examines both aspects of the classifier to distinguish these outcomes.

Results for words, polarity and frames

Semantic frames alone outperform the word baseline across the example-based measures. Hamming loss falls from 0.175 for words to 0.117 for frames. Partial-match accuracy is 0.598 for words and 0.756 for frames, while subset accuracy is 0.499 for words and 0.653 for frames. The F1 comparison across the complete set of feature conditions shows how frames, polarity and words interact.

Example-based F1 by feature set on the Times of India sentence corpus

Polarity with semantic frames gives the strongest F1 before feature selection.

Example-based F1 by feature set on the Times of India sentence corpusWords: 0.647Words0.647Polarity: 0.582Polarity0.582Semantic frames: 0.806Semantic frames0.806Words and polarity: 0.714Words and polarity0.714Polarity and semantic frames (this paper): 0.817Polarity and semantic frames (thispaper)0.817Words and semantic frames: 0.756Words and semantic frames0.756Words, polarity and semantic frames: 0.774Words, polarity and semantic frames0.774
The numbers
System or settingF1
Words0.647
Polarity0.582
Semantic frames0.806
Words and polarity0.714
Polarity and semantic frames (this paper)0.817
Words and semantic frames0.756
Words, polarity and semantic frames0.774

Polarity with frames leads the full-feature comparison on partial-match accuracy at 0.764, subset accuracy at 0.655 and F1 at 0.817. Frame features alone yield the lowest Hamming loss in that comparison, at 0.117, with polarity and frames together at 0.118. This small reversal matters when describing the table. The combined representation performs best on most of the reported criteria, while the frame-only setting has the edge on the measure of individual label disagreement.

Polarity alone gives the weakest example-based results among the feature settings. Its Hamming loss is 0.223 and its subset accuracy is 0.428. When given alongside words, it raises partial-match accuracy from 0.598 to 0.664 and subset accuracy from 0.499 to 0.563. When given alongside frames, it raises the partial-match and exact-set scores already achieved by frames by themselves. The combined conditions make clear that the value of polarity depends on the other information available.

The rankings mostly favor polarity with frames as well. Its one error is 0.129, coverage is 0.538, ranking loss is 0.079 and average precision is 0.921. Frames alone achieve one error of 0.143, coverage of 0.576, ranking loss of 0.091 and average precision of 0.911. For comparison, the word baseline has one error of 0.231, coverage of 0.774, ranking loss of 0.157 and average precision of 0.853. The same feature families that help decide which emotions to include also improve how the labels are ordered in these experiments.

One error by feature set on the Times of India sentence corpus

The classifier ranks a reference emotion first most often when it uses polarity with semantic frames.

One error by feature set on the Times of India sentence corpusWords: 0.231Words0.231Polarity: 0.325Polarity0.325Semantic frames: 0.143Semantic frames0.143Words and polarity: 0.210Words and polarity0.210Polarity and semantic frames (this paper): 0.129Polarity and semantic frames (thispaper)0.129Words and semantic frames: 0.145Words and semantic frames0.145Words, polarity and semantic frames: 0.133Words, polarity and semantic frames0.133
The numbers
System or settingOne error
Words0.231
Polarity0.325
Semantic frames0.143
Words and polarity0.210
Polarity and semantic frames (this paper)0.129
Words and semantic frames0.145
Words, polarity and semantic frames0.133

The results for the larger feature combinations are also informative. Adding words to the frame representation moves partial-match accuracy from 0.756 to 0.703 and subset accuracy from 0.653 to 0.594. Adding words to the combination of polarity and frames moves partial-match accuracy from 0.764 to 0.722 and subset accuracy from 0.655 to 0.618. This is evidence about the feature sets as used by ML-KNN in the experiment. Adding information to the representation can change the neighborhood in a way that leaves the classifier with less useful label evidence.

Results after feature selection

The feature-selection experiment varies how much of the chi-squared ranking the classifier keeps. In the word condition, the authors identify the top 10% as the best fraction examined. For semantic frames they identify the top 80%. The fractions describe the feature lists retained in those conditions. They are separate from the number of neighbors and the fraction of sentences held out during cross-validation. The paper’s plots show changes in performance as the feature set is restricted, and the authors describe the gains from selecting features within each family as slight.

The strongest point results the authors report come from combining polarity with the top 80% of semantic frames. That setting gives Hamming loss of 0.115, partial-match accuracy of 0.773, F1 of 0.827 and subset accuracy of 0.666. Using polarity with the complete frame set is a close competitor. It gives 0.118 Hamming loss, 0.764 partial-match accuracy, 0.817 F1 and 0.655 subset accuracy. The comparison indicates the size of the further improvement after the influential choice to use polarity with frames has already been made.

Exact label-set accuracy with full and selected frame features on the Times of India corpus

Keeping the higher-scoring frames alongside polarity improves exact agreement with the reference label sets.

Exact label-set accuracy with full and selected frame features on the Times of India corpusPolarity and all semantic frames: 0.655Polarity and all semantic frames0.655Polarity and top 80% of semantic frames (this paper): 0.666Polarity and top 80% of semantic frames(this paper)0.666
The numbers
System or settingSubset accuracy
Polarity and all semantic frames0.655
Polarity and top 80% of semantic frames (this paper)0.666

The difference between partial-match and subset accuracy persists in the best reported setting. The classifier earns credit for overlapping with the reference more often than it finds the entire set. This helps explain what is gained by reporting both measures. The more permissive measure recognizes that an imperfect prediction can still recover useful information about the sentence. The strict measure asks whether the exact collection of emotions can be recovered.

The comparison with other systems

The authors present a separate comparison using micro-averaged accuracy, precision, recall and F1, stating that these are the measures available for comparing their multi-label results with the other systems they discuss. Micro-averaging pools decisions across labels before scoring. That makes it a different view from measuring agreement with the label set of each sentence. The results are printed on a different scale from the decimal example-based scores, and their values are reported here as printed.

For the proposed system, the comparison lists accuracy of 88.2, precision of 84.42, recall of 79.93 and F1 of 82.1. UPAR7 has accuracy of 89.43 and F1 of 9.43. UA-ZBSA has accuracy of 85.72 and F1 of 13.81, while SWAT has accuracy of 88.58 and F1 of 11.95. A row attributed to Li and Chen reports accuracy of 76.88, with the other measures left blank.

This comparison is distinct from the word baseline and feature combinations evaluated on the Times of India sentences. The paper discusses earlier news tasks that use other materials and gives no common test collection or common label inventory for the rows in this comparison. The results show what the paper records for the respective systems. The experiments with a shared corpus, classifier and cross-validation setup are the basis for judging which feature representation helped in the authors’ task. The reported micro-averaged accuracy also answers a different question from the share of sentences whose complete label sets were predicted correctly.

What the ablations show

Replacing words with frames changes the evidence for similarity

The feature comparison is the paper’s main controlled analysis. It keeps the classifier, number of neighbors and evaluation procedure in place while replacing or combining the classes of input features. The useful comparison is therefore between different ways of supplying evidence to the same decision procedure. Every feature condition is evaluated against the word baseline, and the frame-only condition provides the cleanest comparison between the two lexical representations.

The authors report 2345 dimensions for the word representation and 279 for the semantic frame representation. These counts describe the feature spaces, rather than the number of dimensions occupied by any particular sentence. With fewer distinct event features and several lexical units potentially contributing to one feature, different sentences can share evidence more readily. The substitution can change both the number of feature dimensions and which sentences are close enough to influence a prediction.

The authors offer two explanations for the frame advantage. The first is the smaller representation. A broad vocabulary gives many dimensions in which individual examples can differ and many features with limited support across sentences. The second is generalization through shared meaning. Assigning the same frame to different lexical units combines evidence that the word vectors would keep separate. The authors argue that this grouping reduces the skew in how the resulting features are distributed.

The experiment bundles those changes. The frame condition changes the meaning of the features and the size of the representation together. Its advantage is consistent with both proposed explanations. The comparison does not tell how much of the gain comes from grouping conceptually related terms and how much comes from a less sparse set of coordinates. A matched comparison with an equally compact vocabulary would address part of that question, but the reported conditions compare the authors’ actual word and frame representations.

The ranking results strengthen the account of what changed at the output. Frames improve one error over words alone and also improve coverage and ranking loss. Their benefit extends beyond getting the most likely label right. Relevant labels tend to be easier to find farther down the ranking as well. This complements the exact-set improvement, which depends on the classifier’s eventual inclusion decisions.

Polarity contributes in combination

The standalone polarity condition tests how much can be recovered from the evaluative information attached to the grammatical roles. Its scores are below those of the word baseline and the frame-only condition. This suggests that the polarity representation on its own leaves out distinctions needed to find useful neighbors for the emotion categories. A hint about the evaluative character of the action or its participants can still leave several reader reactions plausible.

The comparisons with combined features reveal a conditional benefit. Words with polarity improve on words alone across the measures in the table. Frames with polarity improve on frames alone on partial-match accuracy, F1 and subset accuracy, and on each of the ranking measures. When words and frames are already present, adding polarity also improves the listed scores. These contrasts use different starting representations and show that polarization information can help the classifier when there is other evidence about the sentence.

The slight increase in Hamming loss when polarity is added to frames qualifies that account. The ranking becomes stronger and the full predicted set agrees with the reference on a larger share of examples, while the reported loss over individual label decisions changes in the other direction. Those outcomes can coexist because the measures aggregate errors differently. Exact-set accuracy depends on how errors are distributed across sentences. Hamming loss depends on the total disagreement across the separate label decisions. The table allows a reader to see the tradeoff, but offers no breakdown of which assignments changed.

The combined result makes sense in light of the two descriptions of the sentence. A frame connects items that evoke the same kind of event. Polarity gives information about the evaluative character of parts of the event description. The experiment supports the value of having both kinds of evidence available. It does not trace the benefit to the polarity of a particular role or to a particular emotion, because the subject, verb and object features are tested together and the published results aggregate across emotions.

Adding words can weaken the frame representation

The authors test word features both in their own condition and alongside representations that contain frames. The results are much stronger for frames on their own than for words by themselves. A second question is whether words preserve details that might improve a frame-based system when both are included. In the reported data, the comparisons generally favor keeping the frame conditions free of the full word feature set.

The decrease occurs with frames alone as the starting point and with polarity and frames together as the starting point. In the first case the ranking measures mostly worsen, though the values for one error are close and the values for ranking loss and average precision still favor frames alone. In the second, the addition of words weakens all of the listed scores. Across the example-based measures, both comparisons show a clear advantage for the representation without words.

One interpretation follows from how nearest-neighbor classification uses its inputs. The additional word features can alter the distances between sentences and thereby alter which labeled examples affect a decision. Specific lexical differences may separate sentences that the frame representation brought together. The authors discuss the feature sparsity problem, and their interpretation of the frame advantage is consistent with this possibility. The experiment does not inspect changed neighborhoods or isolate distance weighting, so it cannot establish that mechanism for the observed losses.

The conclusion applies to adding the tested word representation as a feature group. It leaves room for individual words to convey relevant cues, as the finding for selected word features suggests. The behavior of the full word inventory in combination reflects how all those features act together in this setup. The paper’s conditions give evidence about the group as a whole.

Feature selection helps most visibly with a long word ranking

The chi-squared analysis supplements the feature-group comparisons with a test of how much of each representation to retain. The word-score curve has a high-scoring head and a long tail. Restricting the representation to the top 10% gives the best word setting the authors identify. The corresponding frame setting retains the top 80%. This difference shows that the useful cutoff, as measured in these experiments, depends on which representation is being filtered.

The authors interpret the long word tail as evidence of feature sparsity. The performance experiment adds evidence that the tail has practical consequences. Keeping only the higher-scoring part of a representation can improve the classifier. The fitted curve gives a description of the ordering of word features, while evaluation at different retention levels measures the effect of those choices on prediction. The relationship between rank and score alone cannot determine the best cutoff.

A larger fraction of frames was retained in the authors’ selected condition. This fits their explanation that frames already merge terms associated with a common situation and yield a smaller, less skewed feature set. It remains an interpretation supported by the combination of the feature dimensions, ranking analysis and comparative performance. The study does not give a feature-by-feature account of which frames helped or which removed features hurt.

The improvement from selecting frames in the polarity-and-frame setting is modest alongside the larger improvement from adopting frames in place of words. Both are part of the evidence. The first comparison shows that a change in the underlying representation can alter how well the classifier retrieves relevant neighbors. The second shows that an already effective representation can benefit from filtering, with the observed gain tied to the cutoff and corpus tested.

Limitations

Scope set by the authors

The authors define their target as reader emotion for news sentences and study a specific newspaper archive. Their classifier predicts among disgust, fear, happiness and sadness. This is a well-defined task for comparing feature choices. The task establishes how consistently the procedure can recover those corpus labels under the reported evaluation. The paper presents the possibility of mixed reader reactions as its motivation and operationalizes that possibility through annotated label sets.

The study also keeps a particular classifier and neighborhood size throughout. This serves its main purpose of comparing feature families under a shared decision procedure. The authors use the properties of the frame representation to explain its advantage over words and interpret the results in terms of feature sparsity and generalization. Those explanations concern how their representations work in combination with nearest-neighbor classification.

The authors acknowledge a constraint on comparisons with other systems. They use micro-averaged measures for the printed comparison because their own formulation allows multiple labels. That restriction makes the reported quantities easier to place beside one another. A comparison across independent tasks still depends on common data, emotion definitions and annotation conditions. The paper’s controlled evidence comes from its internal feature experiments, where those conditions are shared.

What the annotation can establish

The study predicts labels associated with sentences, and the annotations determine what counts as a correct prediction. The paper explains that an annotator may assign several emotions to a sentence. It gives no account of annotator agreement or of how assignments were combined when there were differing judgments. These details would matter to an interpretation about readers in general because the possibility of varying reactions is integral to the task. The published scores quantify agreement with the reference labels used in the experiments.

The corpus statistics show that the labels occur with differing frequencies. Without performance broken down by emotion, the aggregate results leave open how evenly the classifier’s gains are distributed. A strong overall gain could reflect better recovery of a frequent label, improvement across the whole inventory or a mixture of effects. The paper gives the counts necessary to see that frequency varies. It gives insufficient detail to determine how the benefit of frames depends on that variation.

Likewise, the study gives counts for individual labels without giving counts for particular combinations. Its examples demonstrate the motivation for multiple labels, and its accuracy measures show the effect of getting only some of a label set right. They leave open which mixtures are common in the corpus and which are easier for the classifier to recover. A sentence assigned both fear and sadness is eligible for evaluation as such, but aggregate partial-match and exact-set scores cannot reveal how the classifier handles that particular combination.

There is also a numerical inconsistency in the description of the corpus. The paper reports cardinality of 1.3 and density of 0.26 while defining density as cardinality normalized by the size of its four-emotion inventory. With a fixed inventory, both statistics use the same underlying label counts. The printed values fail to agree under the stated definitions. The discrepancy limits the use of density as a quantitative characterization of this corpus. The published category counts and the explicit permission to assign multiple labels remain independently stated.

What the feature comparisons can establish

The frame experiments provide good evidence for changing the representation within this dataset and classifier. The comparison is less specific about the causal explanation. Frame assignment simultaneously changes the granularity of the features, the number of dimensions and the pattern of sharing between sentences. The paper attributes the gain to reduced dimensionality and to generalization, but it does not manipulate these properties independently. The relative contributions of those properties are left unresolved.

The automatic frame assignment also adds a source of variation that the experiment does not evaluate separately. A frame feature depends on the analysis assigned to the sentence. Errors or gaps in that analysis could affect which neighbors are retrieved. The paper reports the classifier’s performance with the resulting frame representation, without an assessment of the accuracy of frame assignments or an analysis of cases where a wrong frame led to a wrong emotion prediction. It therefore establishes the performance of the combined pipeline under the reported conditions.

The polarity procedure raises a separate question about reproducibility. It uses manual word-level polarity tags, constituent extraction and rules, with the paper giving an outline of the procedure. The account does not spell out the rules in enough detail to determine how every kind of sentence would be treated. It also leaves open the effect of removing each grammatical role in turn. The comparisons demonstrate the contribution of the polarity feature group as used in the study, while leaving the precise source of the gain within that group undetermined.

On the word side, the results apply to the authors’ preprocessed vocabulary. Removing stop words and named entities and applying Porter stemming are part of the baseline. No separate control tests each preprocessing decision, and the paper gives limited detail about the numerical representation used for the neighbor search. Accordingly, the comparison tells how the word condition fares as defined in the study. It does not establish the outcome for every way of representing word evidence.

What the evaluation can establish

The authors report 5-fold cross-validation for all experiments. Their description leaves open whether the chi-squared ranks were computed separately from the training portion of each fold and whether the retained fraction was chosen in a separate tuning stage. These distinctions matter because chi-squared feature ranking uses the label information. For a held-out score to represent evaluation of the full selection procedure, the held-out labels have to stay outside the procedure used to rank and choose the features. The paper’s account leaves that aspect of the evaluation uncertain.

The reporting also gives point scores rather than uncertainty estimates or results for individual folds. This matters most when the scores are close, as they are for polarity with all frames and polarity with selected frames. The paper identifies the best observed setting. Its results do not establish how often that setting would win if the corpus were partitioned differently. The size of the frame advantage over words and the smaller gain from selection should therefore be read at their reported scales, with no inference about a formal significance test.

All the reported internal comparisons keep the neighbor count at 10, so their conclusions concern that setting. The paper supplies no sweep over neighborhood size. The reason this setting can matter follows directly from the method. The number of neighbors determines how broad a pool supplies the counts for each emotion. A representation that helps with one size of neighborhood might have a different effect when the evidence is aggregated more or less locally. The study holds this choice fixed to compare features.

Cross-validation tests on held-out sentences sampled from the same collection. The paper does not establish performance on a separate newspaper, on full articles or under a different inventory of emotions. The external comparison does not close that gap, since it juxtaposes reported results from separate tasks. Its most direct finding is that feature choice affects the quality of reader-emotion predictions on the Times of India sentence corpus, with semantic frames providing the largest observed improvement over the word baseline.

What came after

The subsequent use of the paper’s approach is undocumented, so there is no basis for attributing a later classifier or result to it. Its place in the research record is clearest in the experiment it reports. The authors took an existing multi-label nearest-neighbor procedure and tested an event-based representation against words and grammatical-role polarity for predicting reader emotions. The resulting evidence concerns a specific sentence corpus and provides a concrete comparison between lexical and frame evidence for a task in which several responses can apply at once.

Cite

Cite as Plaban Kumar Bhowmik, Anupam Basu, Pabitra Mitra and Abhishek Prasad. 2009. Multi-label Text Classification Approach for Sentence Level News Emotion Analysis. Lecture notes in computer science.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.1007/978-3-642-11164-8_42

@inproceedings{bhowmik2009multi,
  title = {{Multi-label Text Classification Approach for Sentence Level News Emotion Analysis}},
  author = {Plaban Kumar Bhowmik, Anupam Basu, Pabitra Mitra and Abhishek Prasad},
  booktitle = {Lecture notes in computer science},
  year = {2009},
  doi = {10.1007/978-3-642-11164-8\_42},
  url = {https://doi.org/10.1007/978-3-642-11164-8_42}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/bhowmik-2009-multi-label-text-classification-approach/