Structured Sentiment Analysis Using Sequence Labeling as Dependency Graph Parsing

Muhammad Imran, Ana Ezquerro, Carlos Gómez-Rodríguez, Anders Søgaard, David VilaresarXiv 2026

TL;DR

This paper demonstrates that Structured Sentiment Analysis (SSA)—the task of extracting complex "who-said-what-about-whom" graphs—doesn't require specialized, heavy-duty graph parsers. By linearizing sentiment graphs into sequences of tags, the authors achieve state-of-the-art performance using simple sequence labeling, resulting in a 2x speedup during inference while maintaining high accuracy across five languages.

What Problem Does This Paper Address?

Traditional sentiment analysis often stops at classifying a sentence as "positive" or "negative." While Aspect-Based Sentiment Analysis (ABSA) goes further by identifying specific targets, it still struggles with complex sentences involving multiple opinions, negations, or specific "holders" (the person expressing the opinion).

Structured Sentiment Analysis (SSA) aims to solve this by producing a sentiment graph. In this graph, nodes represent holders, targets, and expressions, while arcs define their relationships. However, extracting these graphs is computationally expensive. Most current methods rely on complex biaffine graph parsers or sequence-to-sequence models that require specialized decoding procedures. The authors ask: Can we treat this complex graph-parsing problem as a simple tagging task without losing structural information?

Methods

The authors propose a two-phase approach that casts SSA as a sequence labeling problem:

  1. Sentiment-to-Dependency Transformation: They first convert sentiment tuples (holder, target, expression, polarity) into a dependency graph. They compare two strategies: "head-first" (where the first token of a span is the parent) and "head-final" (where the last token is the parent).

    Figure 1: Head-first transformation of a sentiment graph to a dependency graph [5]. The sentiment graph has two opinion tuples: 𝑂1 = (∅, the hotel, in great condition, +) and 𝑂2 = (my experience, the service, ruined, -).
  2. Graph Linearization: This is the core innovation. Instead of predicting arcs directly, they use encodings to turn the graph structure into a sequence of labels (tags) for each word. They test several encodings:

  3. Absolute/Relative Indexing: Tags represent the position of a word's parent.
  4. Bracketing: Tags use symbols like << or \> to represent incoming and outgoing arcs, effectively "drawing" the graph with text (see Figure 2).
  5. 6k-bit Encoding: A sophisticated bounded-space encoding that handles "crossing arcs" (non-projective structures) by splitting the graph into multiple planes (see Figures 3 and 4).
  6. Neural Tagger: They use a standard XLM-RoBERTa-large encoder. A simple feed-forward network predicts the linearized tags, and a separate module predicts the relation types (e.g., "target," "holder," or "polarity").

Datasets

The models were evaluated on seven datasets across five languages, all part of the SemEval-2022 Task 10 benchmark:

  • English: OpeNER, MPQA, and Darmstadt Universities (DS).
  • Spanish: OpeNER.
  • Norwegian: NoReC.
  • Basque & Catalan: MultiBooked.

Key Insights and Ideas

  • Linearization is Sufficient: The most striking finding is that a plain sequence labeler, when equipped with a smart graph encoding, can outperform dedicated graph-parsing architectures.
  • The "Head-First" Advantage: While traditional graph parsers often prefer "head-final" structures, sequence labeling models perform significantly better with "head-first" transformations. This is likely because identifying the start of a sentiment expression early helps the model contextualize the rest of the span.
  • Efficiency Gains: By avoiding the construction of dense pairwise score tensors (a requirement for biaffine parsers), the sequence labeling approach is roughly twice as fast at inference time.
  • 6k-bit Robustness: The 6k-bit encoding proved to be the most effective, as it provides a compact label space while successfully capturing the complex, overlapping dependencies common in natural language sentiment.

Key Results

The proposed sequence labeling approach achieved an average Sentiment Graph $F_1$ ($SF_1$) of 60.4 across all datasets, surpassing the strong biaffine graph-based baseline (57.8).

  • Performance: On the MultiBooked (Catalan) dataset, the model reached an $SF_1$ of 77.0, significantly higher than previous benchmarks.
  • Speed: The model processed approximately 4,450 tokens per second at inference, compared to 2,196 tokens per second for the biaffine baseline.
  • Pareto Front: As shown in Figure 8 (not included here but described in the text), the sequence labeling models occupy the optimal "Pareto front," offering the best trade-off between high accuracy and high inference speed.

Limitations and Future Work

  • Lossy Conversions: In very rare cases where multiple opinion tuples share the exact same tokens in a way that creates indistinguishable graph structures, the transformation back to sentiment tuples can be lossy.
  • Long-Range Dependencies: Like most sequence labeling tasks, the model's performance drops as the distance between related words (e.g., a holder and a distant target) increases.
  • Component Precision: While the model excels at capturing the overall graph structure, it sometimes lags behind specialized systems in the precision of individual components, like holder extraction. The authors suggest that future work could integrate more fine-grained span detection to bridge this gap.

Summary updated

BibTeX
@misc{imran2026structured,
  author = {Muhammad Imran and Ana Ezquerro and Carlos Gómez-Rodríguez and Anders Søgaard and David Vilares},
  title = {{Structured Sentiment Analysis Using Sequence Labeling as Dependency Graph Parsing}},
  year = {2026},
  eprint = {2610.11695},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.11695},
}
Figure