SentimentArcs: A Novel Method for Self-Supervised Sentiment Analysis of Time Series Shows SOTA Transformers Can Struggle Finding Narrative Arcs

Jon ChunarXiv 2021

Introduction: The Challenge of Long-Form Sentiment

While state-of-the-art (SOTA) sentiment analysis models achieve near-perfect accuracy on short-text benchmarks like movie reviews or tweets, they often falter when applied to long-form narratives. This "domain shift"—moving from 140 characters to 10,000-line novels—introduces significant complexity. In literary analysis, researchers aren't just looking for a binary positive/negative label; they are seeking a narrative arc: the emotional trajectory of a story over time.

Traditional supervised learning is ill-suited for this task because human annotators rarely agree on the sentiment of complex literary passages, leading to poor inter-annotation agreement. To address this, the SentimentArcs framework moves away from manual labeling toward a self-supervised, ensemble-based approach.

The SentimentArcs Framework

SentimentArcs treats sentiment as a diachronic (time-based) series. The pipeline utilizes an ensemble of 34 models across five distinct families: Lexical (dictionary-based), Heuristic (rule-based), Classic Machine Learning, Deep Neural Networks, and Transformers.

Linguistic rules handled by heuristic models like VADER and SentimentR.

The "ground truth" for a given text is defined as the median of all normalized sentiment arcs produced by the ensemble. The process involves:

  1. Preprocessing and Analysis: Text is analyzed by all 34 models.
  2. Standardization: Data is converted to z-scores and smoothed using a Simple Moving Average.
  3. Downsampling: The Largest Triangle Three Buckets (LTTB) algorithm is used to reduce thousands of data points into a manageable series while preserving critical emotional peaks and valleys.

The framework introduces several novel metrics, including Model-Corpus Compatibility (MCC) and Ensemble-Corpus Compatibility (ECC), to measure how well individual models or the entire ensemble align with the consensus arc.

The Narrative Corpus

The study evaluates these models against a curated corpus of 25 long-form narratives spanning over two millennia. This diverse dataset includes works ranging from Homer’s Odyssey to modern novels like Ian McEwan’s Machines Like Me.

The curated corpus of 25 long-form narratives used to test the SentimentArcs framework.

By testing on works with varied styles and complexities—such as the modernist prose of Virginia Woolf or the non-linear structures of Toni Morrison—the researchers provide a rigorous "real-world" stress test that standard benchmarks lack.

Key Findings: Transformers and Narrative Coherence

The research, encompassing 840 unique corpus-model combinations, yielded several surprising insights:

  • Transformer Instability: Despite their dominance in short-text tasks, Transformers were often the least cohesive group. They frequently diverged from the ensemble consensus and from each other, suggesting they may struggle with the sustained narrative structures of full-length books.
  • Success of Simpler Models: For straightforward adventure or autobiographical narratives, basic lexical models like AFINN often aligned most closely with the ensemble median.
  • The Impact of Literary Complexity: The ensemble showed the highest level of disagreement (lowest ECC) on complex works like Beloved and A Portrait of the Artist as a Young Man.
  • Effective Downsampling: The LTTB algorithm proved highly effective at maintaining the recognizable "shape" of a story's emotional journey even after significant data reduction.

Conclusion and Future Directions

SentimentArcs demonstrates that high performance on standard NLP benchmarks does not guarantee success in mapping narrative arcs. While Large RoBERTa showed promise in identifying subtle features in challenging texts, the overall instability of Transformers in this domain highlights a significant area for improvement.

Currently, the framework still benefits from a "human-in-the-loop" approach, where domain experts adjudicate between divergent model outputs in texts rich with irony or symbolism. Future work will explore expanding the ensemble to include architectures like TextCNN and applying the method to non-literary domains such as financial reports and legal opinions.

Summary updated

BibTeX
@misc{chun2021sentimentarcs,
  author = {Jon Chun},
  title = {{SentimentArcs: A Novel Method for Self-Supervised Sentiment Analysis of Time Series Shows SOTA Transformers Can Struggle Finding Narrative Arcs}},
  year = {2021},
  eprint = {2110.09454},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2110.09454},
}
Figure