TL;DR
KGAN (Knowledge Graph Augmented Network) is a new framework for aspect-based sentiment analysis that synergistically combines contextual, syntactic, and external knowledge graph information. By fusing these "multiview" representations through a novel hierarchical module, KGAN achieves state-of-the-art performance across five major benchmarks, particularly when paired with the RoBERTa language model.
What Problem Does This Paper Address?
Aspect-Based Sentiment Analysis (ABSA) is a fine-grained NLP task where the goal is to identify the sentiment polarity (positive, negative, or neutral) for specific entities mentioned in a sentence. For example, in the sentence "The food was good, but the service was poor," a model must correctly assign "positive" to food and "negative" to service.
While deep learning has advanced ABSA, two major hurdles remain:
- Complexity of Language: Long, convoluted sentences often confuse models that rely solely on word order (context) or grammatical structure (syntax).
- Inefficient Knowledge Integration: External knowledge (like knowing that "Tinca" is a type of fish) is vital for understanding niche domains, but current methods to incorporate this—such as searching large subgraphs—are often computationally expensive and fail to leverage the interplay between linguistic structure and commonsense knowledge.
Methods
The authors propose KGAN, which processes input through three parallel branches to create a "multiview" representation:
- Contextual Branch: Uses BiLSTMs and self-attention to capture the semantic flow and sequential patterns of the sentence.
- Syntactic Branch: Employs Graph Convolutional Networks (GCNs) over dependency trees to explicitly link aspects to their relevant opinion words, regardless of their distance in the sentence.
- Knowledge Branch: Instead of complex graph traversal, KGAN uses Knowledge Graph Embeddings (KGE) (e.g., TransE, ANALOGY) to map entities from WordNet or Wikidata into a continuous vector space. This allows the model to efficiently calculate semantic relatedness between words using a soft attention mechanism.
To combine these views, the authors introduce a Hierarchical Fusion Module. Rather than simple concatenation, it uses a "local-to-global" approach: first fusing pairs of views (e.g., context + syntax) through fully connected layers, and then integrating all views globally using a 3x3 convolution layer to selectively emphasize the most useful features.
Datasets
The model was evaluated on five widely recognized ABSA benchmarks:
- Laptop14 and Restaurant14 (from SemEval 2014)
- Restaurant15 (from SemEval 2015)
- Restaurant16 (from SemEval 2016)
- Twitter (a collection of tweets known for being ungrammatical and noisy)
Key Insights and Ideas
- Knowledge as a Safety Net: The knowledge branch is particularly effective for rare words or informal text (like Twitter) where syntactic parsers often fail. For instance, if a model doesn't know the word "Tinca," the knowledge graph provides the link that it is a "fish," which is related to the "food" aspect.
- Efficiency through KGE: By using pre-trained embeddings for the knowledge graph rather than building subgraphs on-the-fly, KGAN is significantly faster and requires fewer FLOPs than other graph-based competitors.
- The Power of Fusion: The hierarchical fusion module consistently outperformed standard concatenation or voting strategies, proving that the way you combine different perspectives is just as important as the perspectives themselves.
Key Results
KGAN set new state-of-the-art (SOTA) records across all five datasets when used with RoBERTa.
- Performance Gains: Compared to previous SOTA models, KGAN-RoBERTa improved accuracy by up to 2.49% on the Twitter dataset and 3.28% on Restaurant15.
- Robustness: The model proved resilient to "noise attacks." Even when 5% of the external knowledge was replaced with random noise, the model maintained high performance, suggesting it learns to weigh reliable information over noise.
- Efficiency Trade-off: Despite its multi-branch structure, KGAN maintains a smaller parameter count (3.62M) and lower latency than models like DM-GCN (8.80M), thanks to a parameter-sharing mechanism between the contextual and syntactic branches.
Limitations and Future Work
Despite its success, KGAN still struggles with highly ambiguous sentences where opinion words are misleading. For example, in the sentence "It is really thick around the battery," the model might incorrectly focus on "thick" as a negative sentiment when it is actually neutral in this specific context.
The authors suggest that future work could involve applying this multiview approach to other challenging NLU tasks, such as machine reading comprehension, intent identification, and even natural language generation.
Summary updated