Benjamin Aw
Add updated pkl file v3
6fa4bc9
{
"paper_id": "W10-0217",
"header": {
"generated_with": "S2ORC 1.0.0",
"date_generated": "2023-01-19T05:06:50.832861Z"
},
"title": "Hierarchical versus Flat Classification of Emotions in Text",
"authors": [
{
"first": "Diman",
"middle": [],
"last": "Ghazi",
"suffix": "",
"affiliation": {},
"email": ""
},
{
"first": "Diana",
"middle": [],
"last": "Inkpen",
"suffix": "",
"affiliation": {},
"email": ""
},
{
"first": "Stan",
"middle": [],
"last": "Szpakowicz",
"suffix": "",
"affiliation": {},
"email": ""
}
],
"year": "",
"venue": null,
"identifiers": {},
"abstract": "We explore the task of automatic classification of texts by the emotions expressed. Our novel method arranges neutrality, polarity and emotions hierarchically. We test the method on two datasets and show that it outperforms the corresponding \"flat\" approach, which does not take into account the hierarchical information. The highly imbalanced structure of most of the datasets in this area, particularly the two datasets with which we worked, has a dramatic effect on the performance of classification. The hierarchical approach helps alleviate the effect.",
"pdf_parse": {
"paper_id": "W10-0217",
"_pdf_hash": "",
"abstract": [
{
"text": "We explore the task of automatic classification of texts by the emotions expressed. Our novel method arranges neutrality, polarity and emotions hierarchically. We test the method on two datasets and show that it outperforms the corresponding \"flat\" approach, which does not take into account the hierarchical information. The highly imbalanced structure of most of the datasets in this area, particularly the two datasets with which we worked, has a dramatic effect on the performance of classification. The hierarchical approach helps alleviate the effect.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Abstract",
"sec_num": null
}
],
"body_text": [
{
"text": "Computational approaches to emotion analysis have focused on various emotion modalities, but there was only limited effort in the direction of automatic recognition of emotion in text (Aman, 2007) . Oleveres et al.(1998) , as one of the first works in emotion detection in text, uses a simple Natural Language Parser for keyword spotting, phrase length measurement and emoticon identification. They apply a rule-based expert system to construct emotion scores based on the parsed text and contextual information. However their simple wordlevel analysis system is not sufficient when the emotion is expressed by more complicated phrases and sentences. More advanced systems for textual emotion recognition performed sentence-level analysis. Liu et al. (2003) , proposed an approach aimed at understanding the underlying semantics of language using large-scale real-world commonsense knowledge to classify sentences into \"basic\" emotion categories. They developed a commonsense affect model enabling the analysis of the affective qualities of text in a robust way. In SemEval 2007, one of the tasks was carried out in an unsupervised setting and the emphasis was on the study of emotion in lexical semantics (Strapparava and Mihalcea, 2008; Chaumartin, 2007; Kozareva et al., 2007; Katz et al., 2007) . Neviarouskaya et al.(2009) applied a rule-based approach to affect recognition from a blog text. However, statistical and machine learning approaches have became a method of choice for constructing a wide variety of NLP applications (Wiebe et al., 2005 ).",
"cite_spans": [
{
"start": 184,
"end": 196,
"text": "(Aman, 2007)",
"ref_id": "BIBREF1"
},
{
"start": 199,
"end": 220,
"text": "Oleveres et al.(1998)",
"ref_id": null
},
{
"start": 740,
"end": 757,
"text": "Liu et al. (2003)",
"ref_id": "BIBREF12"
},
{
"start": 1206,
"end": 1238,
"text": "(Strapparava and Mihalcea, 2008;",
"ref_id": "BIBREF17"
},
{
"start": 1239,
"end": 1256,
"text": "Chaumartin, 2007;",
"ref_id": "BIBREF3"
},
{
"start": 1257,
"end": 1279,
"text": "Kozareva et al., 2007;",
"ref_id": "BIBREF11"
},
{
"start": 1280,
"end": 1298,
"text": "Katz et al., 2007)",
"ref_id": "BIBREF6"
},
{
"start": 1301,
"end": 1327,
"text": "Neviarouskaya et al.(2009)",
"ref_id": null
},
{
"start": 1534,
"end": 1553,
"text": "(Wiebe et al., 2005",
"ref_id": "BIBREF19"
}
],
"ref_spans": [],
"eq_spans": [],
"section": "Introduction",
"sec_num": "1"
},
{
"text": "There has been previous work using statistical methods and supervised machine learning, including (Aman, 2007; Katz et al., 2007; Alm, 2008; Wilson et al., 2009) . Most of that research concentrated on feature selections and applying lexical semantics rather than on different learning schemes. In particular, only flat classification has been considered. According to Kiritchenko et al. (2006) , \"Hierarchical categorization deals with categorization problems where categories are organized in hierarchies\". Hierarchical text categorization places new items into a collection with a predefined hierarchical structure. The categories are partially ordered, usually from more generic to more specific. Koller and Sahami (1997) carried out the first proper study of a hierarchical text categorization problem in 1997. More work in hierarchical text categorization has been reported later. Keshtkar and Inkpen (2009) applied a hierarchical approach to mood classification: classifying blog posts into 132 moods. The connection with our work is only indirect, because -even though moods and emotions may seem similar -their hierarchy structure and the classification task are quite different. The work reported in (Kiritchenko et al., 2006) is more general. It explores two main aspects of hierarchic-al text categorization: learning algorithms and performance evaluation.",
"cite_spans": [
{
"start": 98,
"end": 110,
"text": "(Aman, 2007;",
"ref_id": "BIBREF1"
},
{
"start": 111,
"end": 129,
"text": "Katz et al., 2007;",
"ref_id": "BIBREF6"
},
{
"start": 130,
"end": 140,
"text": "Alm, 2008;",
"ref_id": "BIBREF0"
},
{
"start": 141,
"end": 161,
"text": "Wilson et al., 2009)",
"ref_id": "BIBREF18"
},
{
"start": 369,
"end": 394,
"text": "Kiritchenko et al. (2006)",
"ref_id": "BIBREF9"
},
{
"start": 701,
"end": 725,
"text": "Koller and Sahami (1997)",
"ref_id": "BIBREF10"
},
{
"start": 887,
"end": 913,
"text": "Keshtkar and Inkpen (2009)",
"ref_id": "BIBREF8"
},
{
"start": 1210,
"end": 1236,
"text": "(Kiritchenko et al., 2006)",
"ref_id": "BIBREF9"
}
],
"ref_spans": [],
"eq_spans": [],
"section": "Introduction",
"sec_num": "1"
},
{
"text": "In this paper, we extend our preliminary work (Ghazi et al., 2010) on hierarchical classification. Hierarchical classification is a new approach to emotional analysis, which considers the relation between neutrality, polarity and emotion of a text. The main idea is to arrange these categories and their interconnections into a hierarchy and leverage it in the classification process.",
"cite_spans": [
{
"start": 46,
"end": 66,
"text": "(Ghazi et al., 2010)",
"ref_id": "BIBREF5"
}
],
"ref_spans": [],
"eq_spans": [],
"section": "Introduction",
"sec_num": "1"
},
{
"text": "We categorize sentences into six basic emotion classes; there also may, naturally, be no emotion in a sentence. The emotions are happiness, sadness, fear, anger, disgust, and surprise (Ekman, 1992) . In one of the datasets we applied, we did consider the class non-emotional.",
"cite_spans": [
{
"start": 184,
"end": 197,
"text": "(Ekman, 1992)",
"ref_id": "BIBREF4"
}
],
"ref_spans": [],
"eq_spans": [],
"section": "Introduction",
"sec_num": "1"
},
{
"text": "For these categories, we have considered two forms of hierarchy for classification, with two or three levels. In the two-level method, we explore the effect of neutral instances on one dataset and the effect of polarity on the other dataset. In the three-level hierarchy, we consider neutrality and polarity together.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Introduction",
"sec_num": "1"
},
{
"text": "Our experiments on data annotated with emotions show performance which exceeds that of the corresponding flat approach. Section 2 of this paper gives an overview of the datasets and feature sets. Section 3 describes both hierarchical classification methods and their evaluation with respect to flat classification results. Section 4 discusses future work and presents a few conclusions.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Introduction",
"sec_num": "1"
},
{
"text": "The statistical methods typically require training and test corpora, manually annotated with respect to each language-processing task to be learned (Wiebe et al., 2005) . One of the datasets in our experiments is a corpus of blog sentences annotated with Ekman's emotion labels (Aman, 2007) . The second dataset is a sentence-annotated corpus resource divided into three parts for large-scale exploration of affect in children's stories (Alm, 2008) .",
"cite_spans": [
{
"start": 148,
"end": 168,
"text": "(Wiebe et al., 2005)",
"ref_id": "BIBREF19"
},
{
"start": 278,
"end": 290,
"text": "(Aman, 2007)",
"ref_id": "BIBREF1"
},
{
"start": 437,
"end": 448,
"text": "(Alm, 2008)",
"ref_id": "BIBREF0"
}
],
"ref_spans": [],
"eq_spans": [],
"section": "Datasets",
"sec_num": "2.1"
},
{
"text": "In the first dataset, each sentence is tagged by a dominant emotion in the sentence, or labelled as non-emotional. The dataset contains 173 weblog posts annotated by two judges. Table 1 shows the details of the dataset.",
"cite_spans": [],
"ref_spans": [
{
"start": 178,
"end": 185,
"text": "Table 1",
"ref_id": "TABREF0"
}
],
"eq_spans": [],
"section": "Datasets",
"sec_num": "2.1"
},
{
"text": "In the second dataset, two annotators have annotated 176 stories. The affects considered are the same as Ekman's six emotions, except that the surprise class is subdivided into positive surprise and negative surprise. We run our experiments on only sentences with high agreement-sentences with the same affective labels annotated by both annotators. That is the version of the dataset which merged angry and disgusted instances and combined the positive and negative surprise classes. The resulting dataset, therefore, has only five classes (Alm, 2008) . Table 1 presents more details about the datasets, including the range of frequencies for the class distribution (Min is the proportion of sentences with the most infrequent class, Max is the proportion for sentences with the most frequent class.) The proportion of the most frequent class also gives us a baseline for the accuracies of our classifiers (since the poorest baseline classifier could always choose the most frequent class). ",
"cite_spans": [
{
"start": 541,
"end": 552,
"text": "(Alm, 2008)",
"ref_id": "BIBREF0"
}
],
"ref_spans": [
{
"start": 555,
"end": 562,
"text": "Table 1",
"ref_id": "TABREF0"
}
],
"eq_spans": [],
"section": "Datasets",
"sec_num": "2.1"
},
{
"text": "In (Ghazi et al., 2010) , three sets of features -one corpus-based and two lexically-based -are compared on Aman's datasets. The first experiment is a corpus-based classification which uses unigrams (bag-of-words). In the second experiment, classification was based on features derived from the Prior-Polarity lexicon 1 (Wilson et al. 2009) ; the features were the tokens common between the prior-polarity lexicon and the chosen dataset. In the last experiment, we used a combination of the emotional lists of words from Roget's Thesaurus 2 (Aman and Szpakowicz, 2008) and WordNet Affect 3 (Strapparava and Valitutti, 2004) ; we call it the polarity feature set.",
"cite_spans": [
{
"start": 3,
"end": 23,
"text": "(Ghazi et al., 2010)",
"ref_id": "BIBREF5"
},
{
"start": 320,
"end": 340,
"text": "(Wilson et al. 2009)",
"ref_id": "BIBREF18"
},
{
"start": 541,
"end": 568,
"text": "(Aman and Szpakowicz, 2008)",
"ref_id": "BIBREF2"
},
{
"start": 590,
"end": 623,
"text": "(Strapparava and Valitutti, 2004)",
"ref_id": null
}
],
"ref_spans": [],
"eq_spans": [],
"section": "Feature sets",
"sec_num": "2.2"
},
{
"text": "Based on the results and the discussion in (Ghazi et al., 2010) , we decided to use the polarity feature set in our experiments. This feature set has certain advantages. It is quite a bit smaller than the unigram features, and we have observed that they appear to be more meaningful. For example, the unigram features include (inevitably nonemotional) names of people and countries. It is also possible to have misspelled tokens in unigrams, while the prior-polarity lexicon features are well-defined words usually considered as polar.",
"cite_spans": [
{
"start": 43,
"end": 63,
"text": "(Ghazi et al., 2010)",
"ref_id": "BIBREF5"
}
],
"ref_spans": [],
"eq_spans": [],
"section": "Feature sets",
"sec_num": "2.2"
},
{
"text": "Besides, lexical features are known to be more domain-and corpus-independent. Last but not least, our chosen feature set significantly outperforms the third set.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Feature sets",
"sec_num": "2.2"
},
{
"text": "As a classification algorithm, we use the support vector machines (SVM) algorithm with tenfold cross-validation as a testing option. It is shown that SVM obtains good performance in text classification: it scales well to the large numbers of features (Kennedy and Inkpen, 2006; Aman, 2007) . We apply the same settings at each level of the hierarchy for our hierarchical approach classification.",
"cite_spans": [
{
"start": 251,
"end": 277,
"text": "(Kennedy and Inkpen, 2006;",
"ref_id": "BIBREF7"
},
{
"start": 278,
"end": 289,
"text": "Aman, 2007)",
"ref_id": "BIBREF1"
}
],
"ref_spans": [],
"eq_spans": [],
"section": "Classification",
"sec_num": "2.3"
},
{
"text": "In hierarchical categorization, categories are organized into levels (Kiritchenko et al., 2006) . We use the hierarchical categories to put more knowledge into our classification method as the category hierarchies are carefully composed manually to represent our knowledge of the subject. We will achieve that in two forms of hierarchy. A two-level hierarchy represents the relation of emotion and neutrality in text, as well as the relation of positive and negative polarity. These two relations are examined in two different experiments, each on a separate dataset.",
"cite_spans": [
{
"start": 69,
"end": 95,
"text": "(Kiritchenko et al., 2006)",
"ref_id": "BIBREF9"
}
],
"ref_spans": [],
"eq_spans": [],
"section": "Classification",
"sec_num": "2.3"
},
{
"text": "A three-level hierarchy is concerned with the relation between polarity and emotions along with the relation between neutrality and emotion. We assume that, of Ekman's six emotions, happiness belongs to the positive polarity class, while the other five emotions have negative polarity. This is quite similar to the three-level hierarchy of affect labels used by Alm (2008) . In her diagram, she considers happiness and positive surprise as positive, and the rest as negative emotions. She has not, however, used this model in the classification approach:",
"cite_spans": [
{
"start": 362,
"end": 372,
"text": "Alm (2008)",
"ref_id": "BIBREF0"
}
],
"ref_spans": [],
"eq_spans": [],
"section": "Classification",
"sec_num": "2.3"
},
{
"text": "classification experiments were only run at three separate affect levels. She also considers positive and negative surprise as one Surprise class.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Classification",
"sec_num": "2.3"
},
{
"text": "For each level of our proposed hierarchy, we run two sets of experiments. In the first set, we assume that all the instances are correctly classified at the preceding levels, so we only need to be concerned with local mistakes. Because we do not have to deal with instances misclassified at the previous level, we call these results reference results.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Classification",
"sec_num": "2.3"
},
{
"text": "In the second set of experiments, the methodology is different than in (Ghazi et al. 2010) . In that work both training and testing of subsequent levels is based on the results of preceding levels. A question arises, however: once we have good data available, why train on incorrect data which result from mistakes at the preceding level? That is why we decided to train on correctly-labelled data and when testing, to compute global results by cumulating the mistakes from all the levels of the hierarchical classification. In other words, classification mistakes at one level of the hierarchy carry on as mistakes at the next levels. Therefore, we talk of global results because we compute the accuracy, precision, recall and F-measure globally, based on the results at all levels. These results characterize the hierarchical classification approach when testing on new sentences: the classifiers are applied in a pipeline order: level 1, then level 2 on the results of the previous level (then level 3 if we are in the three-level setting).",
"cite_spans": [
{
"start": 71,
"end": 90,
"text": "(Ghazi et al. 2010)",
"ref_id": "BIBREF5"
}
],
"ref_spans": [],
"eq_spans": [],
"section": "Classification",
"sec_num": "2.3"
},
{
"text": "In the next section, we show the experiments and results on our chosen datasets.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Classification",
"sec_num": "2.3"
},
{
"text": "3 Results and discussions",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Classification",
"sec_num": "2.3"
},
{
"text": "This section has two parts. The main goal of the first part is to find out how the presence of neutral instances affects the performance of features for distinguishing between emotional classes in Aman's dataset. This was motivated by a similar work in polarity classification (Wilson et al., 2009) .",
"cite_spans": [
{
"start": 277,
"end": 298,
"text": "(Wilson et al., 2009)",
"ref_id": "BIBREF18"
}
],
"ref_spans": [],
"eq_spans": [],
"section": "Two-level classification",
"sec_num": "3.1"
},
{
"text": "In the second part, we discuss the effect of considering positive and negative polarity of emotions for five affect classes in Alm's dataset.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Two-level classification",
"sec_num": "3.1"
},
{
"text": "At the first level, emotional versus non-emotional classification tries to determine whether an instance is neutral or emotional. The second step takes all instances which level 1 classified as emotional, and tries to classify them into one of Ekman's six emotions. Table 2 presents the result of experiments and, for comparison, the flat classification results. A comparison of the results in both experiments with flat classification shows that in both cases the accuracy of two-level approach is significantly better than the accuracy of flat classification.",
"cite_spans": [],
"ref_spans": [
{
"start": 266,
"end": 273,
"text": "Table 2",
"ref_id": "TABREF2"
}
],
"eq_spans": [],
"section": "Neutral-Emotional",
"sec_num": "3.1.1"
},
{
"text": "One of the results worth discussing further is the precision of the non-emotional class: it increases while recall decreases. We will see the same pattern in further experiments. This happens to the classes which used to dominate in flat classification but they no longer dominate in hierarchical classification. Classifiers tends to give priority to a dominant class, so more instances are placed in this class; thus, classification achieves low precision and high recall. Hierarchical methods tend to produce higher precision.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Neutral-Emotional",
"sec_num": "3.1.1"
},
{
"text": "The difference between precision and recall of the happiness class in the flat approach and the twolevel approach cannot be ignored. It can be explained as follows: at the second level there are no more non-emotional instances, so the happiness class dominates, with 42% of all the instances. As explained before, this gives high recall and low precision for the happiness class. We hope to address this big gap between precision and recall of the happiness class in the next experiments, threelevel classification. It separates happiness from the other five emotions, so it makes the number of instances of each level more balanced. Our main focus is comparing hierarchical and flat classification, assuming all the other parameters are fixed. We mention, however, the best previous results achieved by Aman (2007) on the same dataset. Her best result was obtained by combining corpus-based unigrams, features derived from emotional lists of words from Roget's Thesaurus (explained in 2.2) and common words between the dataset and WordNetAffect. She also applied SVM with tenfold cross validation. The results appear in Table 3 . By comparing the reference results in Table 2 with Aman's result shown in Table 3 , our results on two classes, non-emo and sadness are significantly better. Even though recall of our experiments is higher for happiness class, the precision makes the Fmeasure to be lower. The reason behind the difference between the precisions is the same as their difference between in our hierarchical and flat comparisons. As it was also mentioned there we hope to address this problem in three-level classification. Both precision and recall of the sadness in our experiments is higher than Aman's results. We have a higher precision for fear, but recall is slightly lower. For the last three classes our precision is higher while recall is significantly lower.",
"cite_spans": [
{
"start": 804,
"end": 815,
"text": "Aman (2007)",
"ref_id": "BIBREF1"
}
],
"ref_spans": [
{
"start": 1121,
"end": 1128,
"text": "Table 3",
"ref_id": "TABREF1"
},
{
"start": 1169,
"end": 1176,
"text": "Table 2",
"ref_id": "TABREF2"
},
{
"start": 1205,
"end": 1212,
"text": "Table 3",
"ref_id": "TABREF1"
}
],
"eq_spans": [],
"section": "Neutral-Emotional",
"sec_num": "3.1.1"
},
{
"text": "The size of these three classes, which are the smallest classes in the dataset, appears to be the reason. It is possible that the small set of features that we are using will recall fewer instances of these classes comparing to the bigger feature sets used by Aman (2007) .",
"cite_spans": [
{
"start": 260,
"end": 271,
"text": "Aman (2007)",
"ref_id": "BIBREF1"
}
],
"ref_spans": [],
"eq_spans": [],
"section": "Neutral-Emotional",
"sec_num": "3.1.1"
},
{
"text": "These experiments have been run on Alm's dataset with five emotion classes. This part is based on the assumption that the happiness class is positive and the remaining four classes are negative.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Negative-Positive polarity",
"sec_num": "3.1.2"
},
{
"text": "At the first level, positive versus negative classification tries to determine whether an instance bears a positive emotion. The second step takes all instances which level 1 classified as negative, and tries to classify them into one of the four negative classes, namely sadness, fear, surprise and angerdisgust. The results show a higher accuracy in reference results while it is slightly lower for global results. In terms of precision and recall, however, there is a high increase in precision of positive (happiness) class while the recall decreases. The results show a higher accuracy in reference results while it is slightly lower for global results. In terms of precision and recall, however, there is a high increase in precision of positive (happiness) class while the recall decreases.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Negative-Positive polarity",
"sec_num": "3.1.2"
},
{
"text": "We also see a higher F-measure for all classes in the reference results. That confirms the consistency between the result in Table 2 and Table 4 .",
"cite_spans": [],
"ref_spans": [
{
"start": 125,
"end": 144,
"text": "Table 2 and Table 4",
"ref_id": "TABREF2"
}
],
"eq_spans": [],
"section": "Negative-Positive polarity",
"sec_num": "3.1.2"
},
{
"text": "In the global measurements, recall is higher for all the classes at the second level, but the F-measure is higher only for three classes.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Negative-Positive polarity",
"sec_num": "3.1.2"
},
{
"text": "Here we cannot compare our results with the best previous results achieved by Alm (2008) , because the datasets and the experiments are not the same. She reports the accuracy of the classification results for three sub-corpora separately. She randomly selected neutral instances from the annotated data and added them to the dataset, which makes it different than the data set we used in our experiments.",
"cite_spans": [
{
"start": 78,
"end": 88,
"text": "Alm (2008)",
"ref_id": "BIBREF0"
}
],
"ref_spans": [],
"eq_spans": [],
"section": "Negative-Positive polarity",
"sec_num": "3.1.2"
},
{
"text": "In this approach, we go even further: we break the seven-class classification task into three levels. The first level defines whether the instance is emotional. At the second level the instances defined as emotional by the first level will be classified on their polarity. At the third level, we assume that the instances of happiness class have positive polarity and the other five emotions negative polarity. That is why we take the negative instances from the second level and classify them into the five negative emotion classes. Table 5 presents the results of this classification. The results show that the accuracy of both reference results and global results are higher than flat classification, but the accuracy of the global results is not significantly better.",
"cite_spans": [],
"ref_spans": [
{
"start": 534,
"end": 541,
"text": "Table 5",
"ref_id": "TABREF4"
}
],
"eq_spans": [],
"section": "Three-level classification",
"sec_num": "3.2"
},
{
"text": "At the first and second level, the F-measure of noemotion and happiness classes is significantly better. At the third level, except in the class disgust, we see an increase in the F-measure of all classes in comparison with both the two-level and flat classification. Also, as shown by the two-level experiments, the results of the second level of the reference results approach an increase in the precision of the happiness class. That makes the instances defined as happiness more precise. By comparing the results with Table 3 , which is the best previous results, we see an increase in the precision of happiness class and its F-measure consequently; therefore in these results we get a higher F-measure for three classes, non-emo, sadness and fear. We get the same F-measure for happiness and slightly lower F-measure for surprise but we still have a lower F-measure for the other two classes, namely, disgust and anger. The other difference is the high increase in the recall value for fear.",
"cite_spans": [],
"ref_spans": [
{
"start": 522,
"end": 529,
"text": "Table 3",
"ref_id": "TABREF1"
}
],
"eq_spans": [],
"section": "Three-level classification",
"sec_num": "3.2"
},
{
"text": "The focus of this study was a comparison of the hierarchical and flat classification approaches to emotional analysis and classification. In the emotional classification we noticed that having a dominant class in the dataset degrades the results significantly. A classifier trained on imbalanced data gives biased results for the classes with more instances. Our results, based on a novel method, shows that the hierarchical classification approach is better at dealing with the highly imbalanced data. We also saw a considerable improvement in the classification results when we did not deal with the errors from previous steps and slightly better results when we evaluated the results globally.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Conclusions and Future Work",
"sec_num": "4"
},
{
"text": "In the future, we will consider different levels of our hierarchy as different tasks which could be handled differently. Each of the tasks has its own specification. We can, therefore, definitely benefit from analyzing each task separately and defining different sets of features and classification methods for each task rather than using the same method for every task.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Conclusions and Future Work",
"sec_num": "4"
},
{
"text": "www.cs.pitt.edu/mpqa 2 The 1987 Penguin's Roget's Thesaurus was used. 3 www.cse.unt.edu/~rada/affective text/data/WordNetAffectEmotioLists.tar.gz",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "",
"sec_num": null
}
],
"back_matter": [],
"bib_entries": {
"BIBREF0": {
"ref_id": "b0",
"title": "Affect in text and speech",
"authors": [
{
"first": "C",
"middle": [],
"last": "Alm",
"suffix": ""
}
],
"year": 2008,
"venue": "",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Alm, C.: \"Affect in text and speech\", PhD disserta- tion, University of Illinois at Urbana- Champaign, Department of Linguistics (2008)",
"links": null
},
"BIBREF1": {
"ref_id": "b1",
"title": "Identifying Expressions of Emotion in Text",
"authors": [
{
"first": "S",
"middle": [],
"last": "Aman",
"suffix": ""
}
],
"year": 2007,
"venue": "Ottawa",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Aman, S.: \"Identifying Expressions of Emotion in Text\", Master's thesis, University of Ottawa, Ot- tawa, Canada (2007)",
"links": null
},
"BIBREF2": {
"ref_id": "b2",
"title": "Using Roget's Thesaurus for Fine-grained Emotion Recognition",
"authors": [
{
"first": "S",
"middle": [],
"last": "Aman",
"suffix": ""
},
{
"first": "S",
"middle": [],
"last": "Szpakowicz",
"suffix": ""
}
],
"year": 2008,
"venue": "Proc. Conf. on Natural Language Processing (IJCNLP)",
"volume": "",
"issue": "",
"pages": "296--302",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Aman, S., Szpakowicz, S.: \"Using Roget's Thesau- rus for Fine-grained Emotion Recognition\". Proc. Conf. on Natural Language Processing (IJCNLP), Hyderabad, India, 296-302 (2008)",
"links": null
},
"BIBREF3": {
"ref_id": "b3",
"title": "Upar7: A knowledge-based system for headline sentiment tagging",
"authors": [
{
"first": "",
"middle": [
"F"
],
"last": "Chaumartin",
"suffix": ""
}
],
"year": 2007,
"venue": "Proc. Se-mEval-2007",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Chaumartin. F.: \"Upar7: A knowledge-based sys- tem for headline sentiment tagging\", Proc. Se- mEval-2007, Prague, Czech Republic, June (2007)",
"links": null
},
"BIBREF4": {
"ref_id": "b4",
"title": "An Argument for Basic Emotions",
"authors": [
{
"first": "P",
"middle": [],
"last": "Ekman",
"suffix": ""
}
],
"year": 1992,
"venue": "Cognition and Emotion",
"volume": "6",
"issue": "",
"pages": "169--200",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Ekman, P.: \"An Argument for Basic Emotions\", Cognition and Emotion, 6, 169-200 (1992)",
"links": null
},
"BIBREF5": {
"ref_id": "b5",
"title": "Hierarchical approach to emotion recognition and classification in texts",
"authors": [
{
"first": "D",
"middle": [],
"last": "Ghazi",
"suffix": ""
},
{
"first": "D",
"middle": [],
"last": "Inkpen",
"suffix": ""
},
{
"first": "S",
"middle": [],
"last": "Szpakowicz",
"suffix": ""
}
],
"year": 2010,
"venue": "Proc. 23rd Canadian Conference on Artificial Intelligence",
"volume": "6085",
"issue": "",
"pages": "40--50",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Ghazi, D., Inkpen, D., Szpakowicz, S.: \"Hierar- chical approach to emotion recognition and clas- sification in texts\", A. Farzindar and V. Keselj (eds.), Proc. 23rd Canadian Conference on Ar- tificial Intelligence, Ottawa, ON. Lecture Notes in Artificial Intelligence 6085, Springer Verlag, 40-50 (2010)",
"links": null
},
"BIBREF6": {
"ref_id": "b6",
"title": "Swatmp: the semeval-2007 systems for task 5 and task 14",
"authors": [
{
"first": "P",
"middle": [],
"last": "Katz",
"suffix": ""
},
{
"first": "M",
"middle": [],
"last": "Singleton",
"suffix": ""
},
{
"first": "R",
"middle": [],
"last": "Wicentowski",
"suffix": ""
}
],
"year": 2007,
"venue": "Proc. SemEval-2007",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Katz, P., Singleton, M., Wicentowski, R.: \"Swat- mp: the semeval-2007 systems for task 5 and task 14\", Proc. SemEval-2007, Prague, Czech Republic, June (2007)",
"links": null
},
"BIBREF7": {
"ref_id": "b7",
"title": "Sentiment classification of movie reviews using contextual valence shifter",
"authors": [
{
"first": "A",
"middle": [],
"last": "Kennedy",
"suffix": ""
},
{
"first": "D",
"middle": [],
"last": "Inkpen",
"suffix": ""
}
],
"year": 2006,
"venue": "Computational Intelligence",
"volume": "22",
"issue": "",
"pages": "110--125",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Kennedy, A., Inkpen, D.: \"Sentiment classification of movie reviews using contextual valence shif- ter\", Computational Intelligence 22. 110-125 (2006)",
"links": null
},
"BIBREF8": {
"ref_id": "b8",
"title": "Using Sentiment Orientation Features for Mood Classification in Blog Corpus",
"authors": [
{
"first": "F",
"middle": [],
"last": "Keshtkar",
"suffix": ""
},
{
"first": "D",
"middle": [],
"last": "Inkpen",
"suffix": ""
}
],
"year": 2009,
"venue": "IEEE International Conf. on NLP and KE",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Keshtkar, F., Inkpen, D.: \"Using Sentiment Orien- tation Features for Mood Classification in Blog Corpus\", IEEE International Conf. on NLP and KE, Dalian, China, Sep. 24-27 (2009)",
"links": null
},
"BIBREF9": {
"ref_id": "b9",
"title": "Learning and Evaluation in the Presence of Class Hierarchies: Application to Text Categorization",
"authors": [
{
"first": "S",
"middle": [],
"last": "Kiritchenko",
"suffix": ""
},
{
"first": "S",
"middle": [],
"last": "Matwin",
"suffix": ""
},
{
"first": "R",
"middle": [],
"last": "Nock",
"suffix": ""
},
{
"first": "F",
"middle": [],
"last": "Famili",
"suffix": ""
}
],
"year": 2006,
"venue": "Lecture Notes in Artificial Intelligence",
"volume": "4013",
"issue": "",
"pages": "395--406",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Kiritchenko, S., Matwin, S., Nock, R., Famili, F.: \"Learning and Evaluation in the Presence of Class Hierarchies: Application to Text Categori- zation\", Lecture Notes in Artificial Intelligence 4013, Springer, 395-406 (2006)",
"links": null
},
"BIBREF10": {
"ref_id": "b10",
"title": "Hierarchically Classifying Documents Using Very Few Words",
"authors": [
{
"first": "D",
"middle": [],
"last": "Koller",
"suffix": ""
},
{
"first": "M",
"middle": [],
"last": "Sahami",
"suffix": ""
}
],
"year": 1997,
"venue": "",
"volume": "",
"issue": "",
"pages": "170--178",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Koller, D., Sahami, M.: \"Hierarchically Classify- ing Documents Using Very Few Words\". Proc. International Conference on Machine Learning, 170-178 (1997)",
"links": null
},
"BIBREF11": {
"ref_id": "b11",
"title": "UA-ZBSA: A headline emotion classification through web information",
"authors": [
{
"first": "Z",
"middle": [],
"last": "Kozareva",
"suffix": ""
},
{
"first": "B",
"middle": [],
"last": "Navarro",
"suffix": ""
},
{
"first": "S",
"middle": [],
"last": "Vazquez",
"suffix": ""
},
{
"first": "A",
"middle": [],
"last": "Montoyo",
"suffix": ""
}
],
"year": 2007,
"venue": "Proc. SemEval-2007",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Kozareva, Z., Navarro, B., Vazquez, S., Montoyo, A.: \"UA-ZBSA: A headline emotion classifica- tion through web information\", Proc. SemEval- 2007, Prague, Czech Republic, June (2007)",
"links": null
},
"BIBREF12": {
"ref_id": "b12",
"title": "A Model of Textual Affect Sensing using Real-World Knowledge",
"authors": [
{
"first": "H",
"middle": [],
"last": "Liu",
"suffix": ""
},
{
"first": "H",
"middle": [],
"last": "Lieberman",
"suffix": ""
},
{
"first": "T",
"middle": [],
"last": "Selker",
"suffix": ""
}
],
"year": 2003,
"venue": "Proc. IUI 2003",
"volume": "",
"issue": "",
"pages": "125--132",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Liu, H., Lieberman, H., Selker, T.: \"A Model of Textual Affect Sensing using Real-World Knowledge\". In Proc. IUI 2003, 125-132 (2003)",
"links": null
},
"BIBREF13": {
"ref_id": "b13",
"title": "Compositionality Principle in Recognition of Fine-Grained Emotions from Text",
"authors": [
{
"first": "A",
"middle": [],
"last": "Neviarouskaya",
"suffix": ""
},
{
"first": "H",
"middle": [],
"last": "Prendinger",
"suffix": ""
},
{
"first": "M",
"middle": [],
"last": "Ishizuka",
"suffix": ""
}
],
"year": null,
"venue": "Proceedings of Third International Conference on Weblogs and Social Media (ICWSM'09",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Neviarouskaya, A., Prendinger, H., and Ishizuka, M.: \"Compositionality Principle in Recognition of Fine-Grained Emotions from Text\", In: Pro- ceedings of Third International Conference on Weblogs and Social Media (ICWSM'09),",
"links": null
},
"BIBREF15": {
"ref_id": "b15",
"title": "Intelligent, Expressive Avatars",
"authors": [
{
"first": "J",
"middle": [],
"last": "Olveres",
"suffix": ""
},
{
"first": "M",
"middle": [],
"last": "Billinghurst",
"suffix": ""
},
{
"first": "J",
"middle": [],
"last": "Savage",
"suffix": ""
},
{
"first": "A",
"middle": [],
"last": "Holden",
"suffix": ""
}
],
"year": 1998,
"venue": "Proc. of the WECC'98",
"volume": "",
"issue": "",
"pages": "47--55",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Olveres, J., Billinghurst, M., Savage, J., Holden, A.: \"Intelligent, Expressive Avatars\". In Proc. of the WECC'98, 47-55 (1998)",
"links": null
},
"BIBREF16": {
"ref_id": "b16",
"title": "SemEval-2007 Task 14: Affective Text",
"authors": [
{
"first": "C",
"middle": [],
"last": "Strapparava",
"suffix": ""
},
{
"first": "R",
"middle": [],
"last": "Mihalcea",
"suffix": ""
}
],
"year": 2007,
"venue": "",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Strapparava, C., Mihalcea, R.: \"SemEval-2007 Task 14: Affective Text\" (2007)",
"links": null
},
"BIBREF17": {
"ref_id": "b17",
"title": "Learning to Identify Emotions in Text",
"authors": [
{
"first": "C",
"middle": [],
"last": "Strapparava",
"suffix": ""
},
{
"first": "R",
"middle": [],
"last": "Mihalcea",
"suffix": ""
}
],
"year": 2008,
"venue": "Proc. ACM Symposium on Applied computing",
"volume": "",
"issue": "",
"pages": "1556--1560",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Strapparava, C., Mihalcea, R.: \"Learning to Identi- fy Emotions in Text\", Proc. ACM Symposium on Applied computing, Fortaleza, Brazil, 1556- 1560 (2008)",
"links": null
},
"BIBREF18": {
"ref_id": "b18",
"title": "Recognizing contextual polarity: an exploration of features for phrase-level sentiment analysis",
"authors": [
{
"first": "T",
"middle": [],
"last": "Wilson",
"suffix": ""
},
{
"first": "J",
"middle": [],
"last": "Wiebe",
"suffix": ""
},
{
"first": "P",
"middle": [],
"last": "Hoffmann",
"suffix": ""
}
],
"year": 2009,
"venue": "Computational Linguistics",
"volume": "35",
"issue": "3",
"pages": "399--433",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Wilson, T., Wiebe, J., Hoffmann, P.: \"Recognizing contextual polarity: an exploration of features for phrase-level sentiment analysis\", Computa- tional Linguistics 35(3), 399-433 (2009)",
"links": null
},
"BIBREF19": {
"ref_id": "b19",
"title": "Annotating Expressions of Opinions and Emotions in Language",
"authors": [
{
"first": "J",
"middle": [],
"last": "Wiebe",
"suffix": ""
},
{
"first": "T",
"middle": [],
"last": "Wilson",
"suffix": ""
},
{
"first": "C",
"middle": [],
"last": "Cardie",
"suffix": ""
}
],
"year": 2005,
"venue": "Language Resources and Evaluation",
"volume": "39",
"issue": "",
"pages": "165--210",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Wiebe, J., Wilson, T., Cardie, C.: \"Annotating Expressions of Opinions and Emotions in Lan- guage\", Language Resources and Evaluation 39, 165-210 (2005)",
"links": null
}
},
"ref_entries": {
"TABREF0": {
"num": null,
"content": "<table><tr><td/><td>Domain</td><td>Size</td><td># classes</td><td>Min-Max%</td></tr><tr><td>Aman's</td><td colspan=\"2\">Weblogs 2090</td><td>7</td><td>6-38 %</td></tr><tr><td>Data set</td><td/><td/><td/><td/></tr><tr><td>Alm's</td><td>Stories</td><td>1207</td><td>5</td><td>9-36%</td></tr><tr><td>Data set</td><td/><td/><td/><td/></tr></table>",
"html": null,
"text": "Datasets specifications.",
"type_str": "table"
},
"TABREF1": {
"num": null,
"content": "<table><tr><td/><td>Precision</td><td>Recall</td><td>F-Measure</td></tr><tr><td>happiness</td><td>0.813</td><td>0.698</td><td>0.751</td></tr><tr><td>sadness</td><td>0.605</td><td>0.416</td><td>0.493</td></tr><tr><td>fear</td><td>0.868</td><td>0.513</td><td>0.645</td></tr><tr><td>surprise</td><td>0.723</td><td>0.409</td><td>0.522</td></tr><tr><td>disgust</td><td>0.672</td><td>0.488</td><td>0.566</td></tr><tr><td>anger</td><td>0.650</td><td>0.436</td><td>0.522</td></tr><tr><td>non-emo</td><td>0.587</td><td>0.625</td><td>0.605</td></tr></table>",
"html": null,
"text": "Aman's best results on her data set.",
"type_str": "table"
},
"TABREF2": {
"num": null,
"content": "<table><tr><td/><td/><td colspan=\"3\">Two-level classification</td><td/><td>Flat classification</td><td/></tr><tr><td/><td/><td>Precision</td><td>Recall</td><td>F-measure</td><td>Precision</td><td>Recall</td><td>F-measure</td></tr><tr><td>1 st level</td><td>emo non-emo</td><td>0.88 0.88</td><td>0.85 0.81</td><td>0.86 0.84</td><td>--0.54</td><td>--0.87</td><td>--0.67</td></tr><tr><td/><td>happiness</td><td>0.59</td><td>0.95</td><td>0.71</td><td>0.74</td><td>0.60</td><td>0.66</td></tr><tr><td>2 nd level reference results</td><td>sadness fear surprise</td><td>0.77 0.91 0.75</td><td>0.49 0.49 0.32</td><td>0.60 0.63 0.45</td><td>0.69 0.82 0.64</td><td>0.42 0.49 0.27</td><td>0.52 0.62 0.38</td></tr><tr><td/><td>disgust</td><td>0.66</td><td>0.35</td><td>0.45</td><td>0.68</td><td>0.31</td><td>0.43</td></tr><tr><td/><td>anger</td><td>0.72</td><td>0.33</td><td>0.46</td><td>0.67</td><td>0.26</td><td>0.38</td></tr><tr><td>Accuracy</td><td/><td/><td>68.32%</td><td/><td/><td>61.67%</td><td/></tr><tr><td/><td>non-emo</td><td>0.88</td><td>0.81</td><td>0.84</td><td>0.54</td><td>0.87</td><td>0.67</td></tr><tr><td/><td>happiness</td><td>0.56</td><td>0.86</td><td>0.68</td><td>0.74</td><td>0.60</td><td>0.66</td></tr><tr><td>2 -level experi-</td><td>sadness</td><td>0.64</td><td>0.42</td><td>0.51</td><td>0.69</td><td>0.42</td><td>0.52</td></tr><tr><td>ment</td><td>fear</td><td>0.75</td><td>0.43</td><td>0.55</td><td>0.82</td><td>0.49</td><td>0.62</td></tr><tr><td>global results</td><td>surprise</td><td>0.56</td><td>0.29</td><td>0.38</td><td>0.64</td><td>0.27</td><td>0.38</td></tr><tr><td/><td>disgust</td><td>0.52</td><td>0.29</td><td>0.37</td><td>0.68</td><td>0.31</td><td>0.43</td></tr><tr><td/><td>anger</td><td>0.55</td><td>0.27</td><td>0.36</td><td>0.67</td><td>0.26</td><td>0.38</td></tr><tr><td>Accuracy</td><td/><td/><td>65.50%</td><td/><td/><td>61.67%</td><td/></tr></table>",
"html": null,
"text": "Two-level emotional classification on Aman's dataset (the highest precision, recall, and F-measure values for each class are shown in bold). The results of the flat classification are repeated for convenience.",
"type_str": "table"
},
"TABREF3": {
"num": null,
"content": "<table><tr><td/><td/><td colspan=\"3\">Two-level classification</td><td colspan=\"3\">Flat classification</td></tr><tr><td/><td/><td>Precision</td><td>Recall</td><td>F-measure</td><td>Precision</td><td>Recall</td><td>F-measure</td></tr><tr><td>1 st level</td><td>neg pos</td><td>0.81 0.84</td><td>0.93 0.64</td><td>0.87 0.72</td><td>--0.56</td><td>--0.86</td><td>--0.68</td></tr><tr><td>2 nd level reference results</td><td>sadness fear surprise</td><td>0.65 0.59 0.45</td><td>0.68 0.40 0.21</td><td>0.66 0.47 0.29</td><td>0.67 0.59 0.35</td><td>0.53 0.38 0.10</td><td>0.59 0.46 0.16</td></tr><tr><td/><td>anger</td><td>0.49</td><td>0.73</td><td>0.59</td><td>0.54</td><td>0.43</td><td>0.48</td></tr><tr><td>Accuracy</td><td/><td/><td>59.07%</td><td/><td/><td>57.41%</td><td/></tr><tr><td/><td>happiness</td><td>0.84</td><td>0.64</td><td>0.72</td><td>0.56</td><td>0.86</td><td>0.68</td></tr><tr><td>2-level experiment global results</td><td>sadness fear surprise</td><td>0.55 0.45 0.27</td><td>0.61 0.39 0.21</td><td>0.58 0.42 0.19</td><td>0.67 0.59 0.35</td><td>0.53 0.38 0.10</td><td>0.59 0.46 0.16</td></tr><tr><td/><td>anger</td><td>0.43</td><td>0.68</td><td>0.53</td><td>0.54</td><td>0.43</td><td>0.48</td></tr><tr><td>Accuracy</td><td/><td/><td>56.57%</td><td/><td/><td>57.41%</td><td/></tr></table>",
"html": null,
"text": "Two-level emotional classification on Alm's dataset (the highest precision, recall, and F-measure values for each class are shown in bold).",
"type_str": "table"
},
"TABREF4": {
"num": null,
"content": "<table><tr><td colspan=\"5\">-level emotional classification on Aman's data-</td></tr><tr><td colspan=\"5\">set (the highest precision, recall, and F-measure values for</td></tr><tr><td colspan=\"2\">each class are shown in bold)</td><td/><td/><td/></tr><tr><td/><td/><td colspan=\"3\">Three-level Classification</td></tr><tr><td/><td/><td>Precision</td><td>Recall</td><td>F</td></tr><tr><td>1 st level</td><td>emo</td><td>0.88</td><td>0.85</td><td>0.86</td></tr><tr><td/><td>non-emo</td><td>0.88</td><td>0.81</td><td>0.84</td></tr><tr><td>2 nd level</td><td>positive</td><td>0.89</td><td>0.65</td><td>0.75</td></tr><tr><td>reference results</td><td>negative</td><td>0.79</td><td>0.94</td><td>0.86</td></tr><tr><td>3 rd level reference results</td><td>sadness fear surprise</td><td>0.63 0.88 0.79</td><td>0.54 0.52 0.37</td><td>0.59 0.65 0.50</td></tr><tr><td/><td>disgust</td><td>0.42</td><td>0.38</td><td>0.40</td></tr><tr><td/><td>anger</td><td>0.38</td><td>0.71</td><td>0.49</td></tr><tr><td>Accuracy</td><td/><td/><td>65.5%</td><td/></tr><tr><td/><td>non-emo</td><td>0.88</td><td>0.81</td><td>0.84</td></tr><tr><td>3 -level experi-</td><td>happiness</td><td>0.77</td><td>0.62</td><td>0.69</td></tr><tr><td>ment</td><td>sadness</td><td>0.43</td><td>0.49</td><td>0.46</td></tr><tr><td>global results</td><td>fear</td><td>0.52</td><td>0.4</td><td>0.45</td></tr><tr><td/><td>surprise</td><td>0.46</td><td>0.32</td><td>0.38</td></tr><tr><td/><td>disgust</td><td>0.31</td><td>0.31</td><td>0.31</td></tr><tr><td/><td>anger</td><td>0.35</td><td>0.55</td><td>0.43</td></tr><tr><td>Accuracy</td><td/><td/><td>62.2%</td><td/></tr></table>",
"html": null,
"text": "Three",
"type_str": "table"
}
}
}
}