Introduction
Traditional sentiment analysis typically classifies entire sentences or phrases as positive, negative, or neutral. While effective for simple reviews, this approach falters in complex domains like business news, where a single sentence may mention multiple companies and conflicting viewpoints. To achieve a more precise understanding, systems must identify the {source, target, opinion} triple. For instance, in the sentence "Lloyd Hession said virtualization opens up a slew of potential network access control issues," a system must correctly link the negative opinion "slew of issues" to the target "virtualization" rather than the source "Lloyd Hession."
This research addresses the algorithmic gap in linking specific words to targets by leveraging syntactic information through a novel structure: the Syntactic Relatedness Trie (SRT).
The Syntactic Relatedness Trie (SRT)
The core of the proposed method is the Syntactic Relatedness Trie (SRT). Using a dependency parser, the system represents a sentence as a tree rooted at a potential target word. Each edge in this trie represents a specific grammatical relationship, such as a subject-verb or modifier relation. This structure allows the model to trace the path from a target entity to any other word in the sentence that might carry sentiment.
As shown in the figure above, the dependency parse is transformed into a set of paths originating from the target word ("policy"). These paths provide a structured "skeleton" upon which the sentiment analysis can be performed.
Sentiment Flow and the Flow Invariant
The authors define "sentiment flow" as the relevance of a word to the opinion regarding a specific target. A word is categorized as either "flow" (opinion-relevant) or "inert."
To constrain the model and improve precision, the researchers introduced the Flow Invariant. This principle posits that sentiment must form a contiguous subgraph starting from the target. Specifically, if a word is labeled "inert," all its descendants in the SRT must also be "inert." This prevents the model from identifying disconnected "flow" words that lack a grammatical path to the target.
The model is implemented using a probabilistic factor graph that considers node features, parent-node relationships, and node-child interactions. Inference is performed using Gibbs sampling while strictly enforcing the flow invariant, effectively using syntax as a constraint rather than just a feature.
Experimental Results
The model was evaluated on the IT Business Press Corpus, consisting of 33,000 articles. Due to a lack of word-level gold standards, the authors used crowdsourced annotations to create a test set.
Key findings include:
- Precision vs. Recall: Enforcing the flow invariant significantly boosted precision. The best-performing model achieved a precision of 0.70 and an accuracy of 0.59.
- Syntax Matters: Models that ignored the flow invariant generally underperformed, confirming that a coherent grammatical path is more informative than disconnected word labels.
- Feature Contribution: Including "node-child" features was crucial for capturing how sentiment propagates through complex grammatical structures, such as those involving conjunctions.
Conclusion and Future Work
By treating syntax as a structural constraint, the SRT-based model provides a principled way to perform fine-grained, word-level sentiment analysis. While the model is currently conservative (favoring precision over recall), future work could improve performance by addressing the "fertility" of conjunctions—perhaps by collapsing transparent nodes—and refining the granularity of part-of-speech tags to reduce data sparsity.
This summary is based on the paper "Grammatical structures for word-level sentiment detection" presented at NAACL 2012.
Summary updated