Takamura et al. 2005

From Cohen Courses
Jump to navigationJump to search

Citation

Hiroya Takamura, Takashi Inui, and Manabu Okumura. 2005. Extracting semantic orientations of words using spin model. In Proceedings of the 43rd Annual Meeting on Association for Computational Linguistics (ACL '05).

Online version

ACL anthology

Summary

This paper follows many other sentiment analysis papers in analyzing graphs of words with synonym and antonym links to estimate the net sentiment of each word. Their estimation model, however, is a clear departure from most other work in NLP.

The fundamental idea of the paper is that sentiment of words occurring near each other (according to search engine hit counts) are likely to have similar sentiment values. They observe that this phenomenon is similar to the problem of determining the mostly likely spin states of each electron in a field of electrons.

As they describe it, on a local scale electrons near each other tend to have the same spin. To have two electrons near each other with differing spins requires some amount of energy, and as such, the goal of the optimization problem is to find the state of the electron field with the lowest possible energy. Fortunately, computational physicists have studied this spin model thoroughly. While exhaustive computation requires exponential time, they have also found tractable approximations.

Brief description of the method

The method asserts that the 'energy' of an electron system of electrons is given by

where is the spin (+1 or -1) of the th electron and is an matrix representing the weights between each pair of electrons.

The probability of an electron configuration is given by

where is the normalization factor and is a hyper-parameter called the inverse-temperature.

Unfortunately, evaluating is intractable, due to the fact that there are possible configurations of electrons. As such Takamura et al. use a clever approximation. They seek a function that is as similar to as possible. As a distance metric between the two functions they use the variational free energy which is defined as the difference between the mean energy with respect to and the entropy of .

This function's derivative is analytically findable, and hence given a starting value of an analytic update rule can be found, and is shown in the paper.

They then require a way to compute the weighting table . They do this by using their glossary of similar terms and defining where represents the degree of word .

Finally, they discuss two methodologies for determining the hyper-parameter . The first is a simple leave-one-out error rate minimization method, as is standard in many machine learning problems. The second is physics-inspired and is called the magnetism of the system, defined by

They seek a value of that makes positive, but as close as possible to zero. To accomplish this, they simply calculate with several different values of and select the best one they find.

Experimental Result

The approach described achieved accuracies from 75.2% using two seed words to 91.5% using leave-one-out cross validation. They compare their results to two previous methods for accomplishing the same task on a separate lexical graph constructed using only synonym connections. The first is the graph-based shortest-distance algorithm of Hu and Liu, which achieved a 70.8% accuracy, while Takamura et Al.'s approach achieved 73.4%. The second was Riloff et al.'s bootstrapping method which achieved 72.8%, compared to Takamura et al.'s 83.6% on that data set.

Related papers