<?xml version="1.0"?><!DOCTYPE article SYSTEM "/project/take/software/searchbench_offline_processing/paperxml_generator/aclextractor/src/python/../resource/dtd/paperxml.dtd"><article><header><firstpageheader><page local="1" global="296"/><title>SICS: Valence annotation based on seeds in word space</title><pubinfo>Proceedings of the 4th International Workshop on Semantic Evaluations (SemEval-2007),pages 296-299, Prague, June 2007. ©2007 Association for Computational Linguistics</pubinfo><author surname="Sahlgren" givenname="Magnus"><org  name="SICS Box" country="Sweden"/></author><author surname="Karlgren" givenname="Jussi"><org  name="SICS Box" country="Sweden"/></author><author surname="Eriksson" givenname="Gunnar"><org  name="SICS Box" country="Sweden"/></author></firstpageheader><frontmatter><p><b>SICS: Valence annotation based on seeds in word space</b></p><p><b>Magnus Sahlgren</b></p><p>SICS Box 1263 SE-164 29 Kista Sweden mange@sics.se</p><p><b>Jussi Karlgren</b></p><p>SICS Box 1263</p><p>SE-164 29 Kista Sweden jussi@sics.se</p><p><b>Gunnar Eriksson</b></p><p>SE-164 29 Kista</p><p>Sweden guer@sics.se</p></frontmatter><abstract>This paper reports on a experiment to iden­tify the emotional loading (the "valence") of news headlines. The experiment re­ported is based on a resource-thrifty ap­proach for valence annotation based on a word-space model and a set of seed words. The model was trained on newsprint, and va­lence was computed using proximity to one of two manually defined points in a high-dimensional word space — one represent­ing positive valence, the other representing negative valence. By projecting each head­line into this space, choosing as valence the similarity score to the point that was closer to the headline, the experiment provided re­sults with high recall of negative or positive headlines. These results show that working without a high-coverage lexicon is a viable approach to content analysis of textual data. </abstract></header><body><section number="1" title="The Semeval task"><p>This a report of an experiment proposed as the "Af­fective Text" task of the 4th international Work­shop on Semantic Evaluation (SemEval) to deter­mine whether news headlines are loaded with pre­eminently positive or negative emotion or <i>valence. </i>An example of a test headline can be:</p><p>Discovered boys bring shock, joy</p></section><section number="2" title="Working without a lexicon"><p>Our approach takes as its starting point the obser­vation that lexical resources always are noisy, out of date, and most often suffer simultaneously from being both too specific and too general. For our ex­periments, our only lexical resource consists ofa list of eight positive words and eight negative words, as shown below in Table 1. We use a medium-sized corpus of general newsprint to build a general <i>word space, </i>and use our minimal lexical resource to orient ourselves in it.</p></section><section number="3" title="Word space"><p>A word space is a high-dimensional vector space built from distributional statistics (Schütze, 1993; Sahlgren, 2006), in which each word in the vocab­ulary is represented as a <i>context vector v </i>of occur­rence frequencies: <i>v\ = </i><i>[fj7</i><i> </i><i>•••</i>, /„] where / is the frequency ofwordi in some context j.</p><p>The point of this representation is that seman­tic similarity between words can be computed us­ing vector similarity measures. Thus, the similar­ity in meaning between the words and can be quantified by computing the similarity between their respective context vectors: sim sim .</p><p>The semantics of such a word space are deter­mined by the data from which the occurrence in­formation has been collected. Since the data set in the SemEval Affective Text task consists of news headlines, a relevant word space should be pro­duced from topically and stylistically similar texts, such as newswire documents. For this reason, we trained our model on a corpus of English-language newsprint which is available for experimentation for participants in the Cross Language Evaluation Forum (CLEF).<page local="2" global="297"/><footnote anchor="1"/> The corpus consists of some 100 000 newswire documents from Los Angeles Times for the year 1994. We presume any similarly sized collection of newsprint would produce similar re­sults. We lemmatized the data using tools from Connexor,<footnote anchor="2"/> and removed stop words, leaving some 28 million words with a vocabulary of approxi­mately 300 000 words. Since the data for the af­fective task only consisted of news headlines, we treated each headline in the LA times corpus as a separate document, thus doubling the number of documents in the data.</p><p>For harvesting occurrence information, we used documents as contexts and standard tfidf-weighting of frequencies, resulting in a 220 220-dimensional word space. No dimensionality reduction was used.</p></section><section number="4" title="Seeds"><p>In order to construct valence vectors, we used a set of manually selected seed words (8 positive and 8 negative words), shown in Table 1. These words were chosen (subjectively) to represent typical ex­pression of positive or negative attitude in news texts. The size of the seed set was determined by a number of initial experiments on the development data, where we varied the size of the seed sets from these 8 words to some 700 words in each set (us­ing the WordNet Affect hierarchy (Strapparava and</p><p>Valitutti, 2004)).</p><p>As comparison, Turney and Littman (2003) used seed sets consisting of 7 words in their word valence annotation experiments, while Turney (2002) used minimal seed sets consisting of only one positive and one negative word ("excellent" and "poor") in his experiments on review classification. Such min­imal seed sets of antonym pairs are not possible to use in the present experiment because they are often nearest neighbors to each other in the word space. Also, it is difficult to find such clear paradigm words for the newswire domain.</p><p>The seed words were used to postulate one posi­tive and one negative point (i.e. vector) in the word space by simply taking the centroid of the seed word points: <i>vs = J2vw&lt;as </i>where <i>S </i>is one of the seed sets, and   is a word in this set.</p><table caption="Table 1: The seed words used to create valence vec­tors."></table></section><section number="5" title="Syntagmatic vs paradigmatic relations"><p>Our hypothesis is that words carrying most of the valence in news headlines in the experimental test set are <i>syntagmatically </i>rather than paradigmatically related to the kind of very general words used in our seed set.<footnote anchor="3"/> As an example, consider test headline 501:</p><p>Two Hussein allies are hanged, Iraqi official says.</p><p>It seems reasonable to believe that this headline should be annotated with a negative valence, and that the desicive word in this case is "hanged." Ob­viously, "hanged" has no paradigmatic neighbors (e.g. synonyms, antonyms or other 'nyms) among the seed words. However, it is likely that "hanged" will co-occur with (and therefore have a syntagmatic relation to) general negative terms such as "danger­ous" and maybe "war." In fact, in this example head­line, the most negatively associated words are prob­ably "Hussein" and "Iraqi," which often co-occur with general negative terms such as "war" and "dan­gerous" in newswire text.</p><p>To produce a word space that contains predomi-nantely syntagmatic relations, we built the distribu­tional relations using entire documents as contexts (i.e. each dimension in the word space corresponds to a document in the data). If we would have used words as contexts instead, we would have ended up with a paradigmatic word space.<footnote anchor="4"/><page local="3" global="298"/></p><footnote label="1"> http://www.clef-campaign.org/</footnote><footnote label="2"> http://www.conexor.fi/</footnote><footnote label="3">Syntagmatic relations hold between co-occurring words, while paradigmatic relations hold between words that do not co-occur, but that occur with the same other words.</footnote><footnote label="4">See Sahlgren (2006) for an explanation of how the choice of contexts determines the semantic content of the word space.</footnote><table caption="Table 1: The seed words used to create valence vectors." class="main" frame="box" rules="all" border="1" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Positive</p></td><td class="cell"><p>Negative</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>positive</p></td><td class="cell"><p>negative</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>good</p></td><td class="cell"><p>bad</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>win</p></td><td class="cell"><p>defeat</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>success</p></td><td class="cell"><p>disaster</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>peace</p></td><td class="cell"><p>war</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>happy</p></td><td class="cell"><p>sad</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>healthy</p></td><td class="cell"><p>sick</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>safe</p></td><td class="cell"><p>dangerous</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table></section><section number="6" title="Compositionality and semantic relations"><p>The relations between words in headlines were mod­eled using the most simple operation conceivable: we simply add all words' context vectors to a com­pound headline vector and use that as the represen­tation of the headline: where is a test headline, and   is a word in this headline.</p><p>This is obviously a daring, if not foolhardy, ap­proach to modelling syntactic structure, composi­tional semantics, and all types of intra-sentential se­mantic dependencies. It can fairly be expected to be improved upon through an appropriate finer-grained analysis of word presence, adjacency and syntactic relationships. However, this approach is similar to that taken by most search engines in use today, is a useful first baseline, and as can be seen from our results below, does deliver acceptable results.</p></section><section number="7" title="Valence annotation"><p>To perform the valence annotation, we first lem-matized the headlines and removed stop words and words with frequency above 10 000 in the LA times corpus. For each headline, we then summed — as discussed above — the context vectors of the remaining words, thus producing a 220 220-dimensional vector for each headline. This vector was then compared to each ofthe postulated valence vectors by computing the cosine of the angles be­tween the vectors.</p><p>We thus have for each headline two cosines, one between the headline and the positive vector and one between the headline and the negative vector. The valence vector with highest cosine score (and thus the smallest spatial angle) was chosen to annotate the headline. For the negative valence vector we as­signed a negative valence value, and for the positive vector a positive value. In 11 cases, a value of was ascribed, either because all headline words were removed by frequency and stop word filtering, or be­cause none of the remaining words occurred in our newsprint corpus.</p><p>Our method thus only delivers a binary valence decision — either positive or negative valence. Granted, we could have assigned a neutral valence to very low cosine scores, but as any threshold for deciding on a neutral score would be completely ar­bitrary, we decided to only give fully positive or negative scores to the test headlines. Also, since our aim was to provide a high-recall result, we did not wish to leave any headline with an equivocal score. We scaled the scores to fit the requirements of the coarse-grained evaluation: for each headline with a non-zero score, we multiplied the value with and boosted each value with 50.<footnote anchor="5"/> By this scaling op­eration we guaranteed a positive or a negative score for each headline (apart from the 11 exceptions, in effect unanalyzed by our algorithm, as mentioned above).</p></section><section number="8" title="Results"><p>The results from the fine-grained and coarse-grained evaluations are shown in Table 2. They show, much as we anticipated, that the coarse-grained evaluation was appropriate for our purposes.</p><p><b>8.1   Correlation coefficients, normality assumptions, and validity of results</b></p><p>The fine-grained evaluation as given by the organ­isers and as shown in Table 2 was computed using Pearson's product-moment coefficient. Pearson's correlation coefficient is a parametric statistic and assumes normal distribution of the data it is testing for correlation. While we have no idea of neither the other contributions' score distribution, nor that of the given test set, we certainly do know that our data are not normally distributed. We would much prefer to evaluate our results using a non-parametric correlation test, such as Spearman's , and suggest that the all results would be rescored using some non-parametric method instead — this would reduce the risk of inadvertent false positives stemming from divergence from the normal distribution rather than divergence from the test set.</p><footnote label="5">The coarse-grained evaluation collapsed values in the ranges [—lOO, —50] as negative, [—50, 50] as neutral, and [50,100] as positive.</footnote><table caption="Table 2: The results of the valence annotation." class="main" frame="box" rules="all" border="1" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Fine-grained</p></td><td class="cell"><p>Coarse-grained Accuracy   Precision Recall</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>20.68</p></td><td class="cell"><p>29.00</p></td><td class="cell"><p>28.41</p></td><td class="cell"><p>60.17</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><page local="4" global="299"/><subsection number="8.2" title="Use cases"><p>Evaluation ofabstract features such as emotional va­lence can be done within a system oriented frame­work such as the one used in this experiment. Al­ternatively, one could evaluate the results using a parametrized use case scenario. A simple ex­ample might be to aim for either high recall or high precision, rather than using an average which folds in both scenarios into one numeric score — easy to compare between systems but dubious in its relevance to any imaginable real life task. There are metrics, as formal as the simple recall-precision-framework in traditional adhoc retrieval, that could be adapted for this purpose (Jarvelin and Kekalainen, 2002, e.g.).</p></subsection></section><section number="9" title="Related research"><p>Our approach to valence annotation is similar to the second method described by Turney and Littman (2003). In short, their method uses sin­gular value decomposition to produce a reduced-dimensional word space, in which word valence is computed by subtracting the cosine between the word and a set of negative seed words from the co­sine between the word and a set of positive seed words.</p><p>The difference between our approach and theirs is that our approach does not require any computation­ally expensive matrix decomposition, as we do not see any reason to restructure our word space. Turney and Littman (2003) hypothesize that singular value decomposition is beneficial for the results in valency annotation because it infers paradigmatic relations between words in the reduced space. However, as we argued in Section 5, we believe that the headline valency annotation task calls for syntagmatic rather than paradigmatic relations. Furthermore, we fail to see the motivation for using singular value decom­position, since if paradigmatic relations are what is needed, then why not simply use words as dimen­sions of the word space?</p></section><section number="10" title="Concluding remarks"><p>Our results show that a resource-poor but data-rich method can deliver sensible results. This is in keep­ing with our overall approach, which aims for as lit­tle pre-computed resources as possible.</p><p>At almost every juncture in our processing we made risky and simplistic assumptions — using sim­ple frequencies of word occurrence as a semantic model; using a small seed set of positive and nega­tive terms as a target; postulating one semantic locus each for positive and negative emotion; modelling syntactic and semantic relations between terms by vector addition — and yet we find that the seman­tic structure of distributional statistics yields a signal good enough for distinguishing positive from nega­tive headlines with a non-random accuracy. Despite its simplicity, out method produces very good recall (60.17) in the coarse-grained evaluation (the median recall for all systems is 29.59). This speaks to the power of distributional semantics and gives promise of improvement if some of the choice points during the process are returned to: some decisions can well benefit from being made on principled and informed grounds rather than searching under the street lamp, as it were.</p></section><references><p>Kalervo Jarvelin and Jaana Kekalainen. 2002. Cumu­lated gain-based evaluation of IR techniques. <i>ACM</i> <i>Transactions on Information Systems, </i>20(4):422-446.</p><p>Magnus Sahlgren. 2006. <i>The Word-Space Model: Us­ing distributional analysis to represent syntagmatic and paradigmatic relations between words in high-dimensional vector spaces. </i>PhD Dissertation, Depart­ment of Linguistics, Stockholm University.</p><p>Hinrich Schütze. 1993. Word space. In <i>Proceedings of the 1993 Conference on Advances in Neural Infor­mation Processing Systems, NIPS'93, </i>pages 895-902, San Francisco, CA, USA. Morgan Kaufmann Publish­ers Inc.</p><p>Carlo Strapparava and Alessandro Valitutti. 2004. Wordnet-affect: an affective extension of wordnet. In <i>Proceedings of the 4th International Conference on Language Resources and Evaluation, LREC'04, </i>pages 1083-1086.</p><p>Peter D. Turney and Michael L. Littman. 2003. Measur­ing praise and criticism: Inference of semantic orien­tation from association. <i>ACMTransactions on Infor­mation Systems, </i>21(4):315-346.</p><p>Peter D. Turney. 2002. Thumbs up or thumbs down? semantic orientation applied to unsupervised classifi­cation of reviews. In <i>Proceedings ofthe 40th Confer­ence ofthe Association for Computational Linguistics, ACL'02, </i>pages 417-424.</p></references></body></article>