Specificity-Driven Cascading Approach for Unsupervised Sentiment Modification

Pengcheng Yang, Junyang Lin, Jingjing Xu, Jun Xie, Qi Su, Xu Sun

Abstract

Unsupervised sentiment modification aims to alter the sentiment of a sentence while preserving its core content without parallel training data. A persistent challenge in this field is the loss of specific details, such as proper nouns and brand names, during the generation process. We present a Specificity-Driven Cascading Approach that addresses this "information gap" by decomposing the task into three explicit stages: Separation, Emotionalization, and Fusion. Our model demonstrates significant improvements in content preservation and sentiment accuracy, achieving a 64.9% specificity recall on business and product review benchmarks.

Introduction: The Specificity Problem

In unsupervised sentiment modification, models often struggle to maintain the "anchor points" of a sentence—the specific nouns and details that give text its unique context. Traditional methods typically attempt to map sentences to a neutral latent space and then decode them into a target sentiment. This approach forces the decoder to simultaneously invent sentiment-appropriate phrasing and reconstruct original details from a compressed representation. This high cognitive load often results in the replacement of specific terms (e.g., "Michael") with generic ones, a phenomenon the authors identify as the "information gap."

Methodology: A Cascading Pipeline

To mitigate the information gap, the proposed framework employs a three-stage cascading pipeline that explicitly separates content from sentiment before reconstruction.

The three-stage cascading approach: Separation, Emotionalization, and Fusion.
  1. Separation Module ($SC_\phi$): Utilizing a self-attention mechanism, this module identifies and isolates "sentiment words" (e.g., excellent) from "content words" (e.g., Michael's work). Unlike implicit latent space methods, this provides an explicit word-level foundation for the subsequent stages.
  2. Emotionalization Module ($S2S_{\theta_{pe/ne}}$): This module bridges the gap by generating target sentiment words based on the isolated content. For a negative target, it might transform "Michael's work" into the phrase "is really awful."
  3. Fusion Module ($S2S_{\theta_{pf/nf}}$): A bi-encoder Seq2Seq model takes both the original content words and the newly generated sentiment words as input. By providing the target sentiment words as a prior, the decoder can focus its capacity on fusing these elements into a fluent, detail-accurate sentence.

Experimental Setup

The model was evaluated on two large-scale sentiment analysis benchmarks:

  • Yelp: 580,000 business reviews.
  • Amazon: 230,000 product reviews. Sentences were filtered for lengths between 5 and 20 words and high sentiment confidence to ensure data quality.

Key Results and Performance

The cascading approach significantly outperformed competitive baselines such as CAAE and CRL across multiple metrics.

  • Content Preservation: On the Yelp dataset, the model achieved a BLEU score of 47.42, a substantial increase over the previous state-of-the-art (35.62).
  • Overall Quality: The G-Score (a harmonic mean of sentiment accuracy and content preservation) improved by 11% on Yelp and 38% on Amazon.
  • Specificity Recall: A manual analysis of proper noun preservation revealed that the proposed model retained specific information 64.9% of the time, nearly 22 percentage points higher than the best baseline.
Comparison of specificity recall across different sentiment modification systems.

Discussion and Limitations

The success of this approach underscores the value of explicit word-level separation over implicit latent representations. By reducing the "burden" on the decoder through a multi-step process, the model mimics a logical editing workflow.

However, the authors note two primary failure modes:

  1. Neutrality: The model occasionally produces sentiment-neutral sentences when the training data contains ambiguous reviews.
  2. Sentiment Leakage: If the separation module fails to catch a rare sentiment word, it may persist in the "content" bucket, leading to an output that retains the original sentiment.

Conclusion

The Specificity-Driven Cascading Approach offers a robust solution to the information loss prevalent in unsupervised text editing. By structuring the generation process as a sequence of targeted tasks, the model ensures that specific details are preserved while successfully flipping the emotional valence of the text.

Summary updated

BibTeX
@inproceedings{yang2019specificity,
  author = {Pengcheng Yang and Junyang Lin and Jingjing Xu and Jun Xie and Qi Su and Xu Sun},
  title = {{Specificity-Driven Cascading Approach for Unsupervised Sentiment Modification}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2019},
  doi = {10.18653/v1/d19-1553},
}
Figure