Structured Sentiment Analysis (SSA) is a critical task in natural language processing that involves extracting sentiment tuples: the holder, the sentiment expression, the target, and the polarity. Recent advancements have framed SSA as a dependency parsing problem, where edges represent relationships between these components. However, this formulation faces two primary challenges: sparsity and fuzziness. Sentiment relations are inherently sparse, as most words in a sentence do not participate in a sentiment tuple. Furthermore, sentiment components are often multi-word spans, creating a "fuzzy" boundary for standard single-token dependency parsers.
The Challenge: Sparsity and Fuzziness
In SSA, the resulting dependency graphs are sparse because the majority of words in a sentence are not part of a sentiment tuple. Standard parsers, like the popular Biaffine scorer, were designed for syntactic parsing where almost every word has a head. In the context of sentiment, these parsers struggle to sift through the "empty" space. Additionally, sentiment components are rarely single words; they are often multi-word spans (e.g., "unfounded charges"). Standard attention mechanisms struggle to ignore the noise of sparsity while simultaneously capturing the continuity of these multi-word spans.
Sparse Fuzzy Attention (SFA)
To address these issues, the authors introduce Sparse Fuzzy Attention (SFA), a novel mechanism designed to handle the unique structural properties of sentiment data. SFA incorporates two key innovations: max-pooling to filter out irrelevant context and sliding-window mean-pooling to capture the continuity of multi-word expressions.
The SFA architecture leverages multi-head selection to project heads and dependents into distinct representations. The max-pooling operation across these heads acts as a selection mechanism, focusing on the most salient signals and effectively ignoring the "empty" space characteristic of sparse sentiment graphs. To account for the multi-word nature of sentiment spans, a sequence-level mean pooling layer is applied via a sliding window. This "blurs" the attention weights, ensuring that if a word is identified as part of a sentiment component, its immediate neighbors are also considered, reflecting the reality of human-annotated spans.
The authors also propose a second-order extension, SFA2o, which models relationships between edges, such as siblings and grandparents in the dependency graph. This higher-order modeling helps enforce structural constraints, preventing the model from predicting impossible configurations.
Experimental Results
The proposed models were evaluated on five diverse datasets covering four languages: MultiB_EU (Basque), MultiB_CA (Catalan), NoReC_Fine (Norwegian), MPQA (English), and DS_Unis (English).
As shown in the experimental results, SFA and SFA2o consistently outperform existing baselines like RACL-BERT and the standard Biaffine (BiAF) parser. Key findings include:
- Improved Span Extraction: SFA achieved an average improvement of 3.7 F1 points in span extraction. On the DS_Unis dataset, the Holder F1 score saw a remarkable increase of 12.6 points.
- Superior Graph Parsing: The model showed significant gains in parsing the complete sentiment graph, with improvements of up to 8.0 F1 points on the MultiB_EU dataset.
- Targeted Sentiment: Targeted F1 scores (Target + Polarity) improved by an average of 2.1 points.
Conclusion
Sparse Fuzzy Attention provides a robust solution to the sparsity and fuzziness inherent in Structured Sentiment Analysis. By explicitly modeling these properties through specialized pooling mechanisms, SFA sets a new state-of-the-art across multiple languages and domains. The success of this approach suggests that the SFA mechanism is generalizable and could be applied to other NLP tasks characterized by edge sparsity, such as information extraction or specialized semantic parsing.
Summary updated