CLJun 21, 2024

A Syntax-Injected Approach for Faster and More Accurate Sentiment Analysis

arXiv:2406.15163v36 citations
Originality Incremental advance
AI Analysis

This work addresses a domain-specific problem for NLP researchers and practitioners by offering a faster and more accurate syntax-based sentiment analysis method, though it is incremental as it builds on existing parsing and sentiment analysis techniques.

The paper tackled the computational bottleneck of syntactic parsing in sentiment analysis by proposing a Sequence Labeling Syntactic Parser (SELSP), which reformulates dependency parsing as a sequence labeling task, resulting in greater speed and accuracy compared to conventional parsers and Transformer-based models.

Sentiment Analysis (SA) is a crucial aspect of Natural Language Processing (NLP), focusing on identifying and interpreting subjective assessments in textual content. Syntactic parsing is useful in SA as it improves accuracy and provides explainability; however, it often becomes a computational bottleneck due to slow parsing algorithms. This article proposes a solution to this bottleneck by using a Sequence Labeling Syntactic Parser (SELSP) to integrate syntactic information into SA via a rule-based sentiment analysis pipeline. By reformulating dependency parsing as a sequence labeling task, we significantly improve the efficiency of syntax-based SA. SELSP is trained and evaluated on a ternary polarity classification task, demonstrating greater speed and accuracy compared to conventional parsers like Stanza and heuristic approaches such as Valence Aware Dictionary and sEntiment Reasoner (VADER). The combination of speed and accuracy makes SELSP especially attractive for sentiment analysis applications in both academic and industrial contexts. Moreover, we compare SELSP with Transformer-based models trained on a 5-label classification task. In addition, we evaluate multiple sentiment dictionaries with SELSP to determine which yields the best performance in polarity prediction. The results show that dictionaries accounting for polarity judgment variation outperform those that ignore it. Furthermore, we show that SELSP outperforms Transformer-based models in terms of speed for polarity prediction.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes