Progressive Self-Supervised Attention Learning for Aspect-Level Sentiment Analysis

Jialong Tang, Ziyao Lu, Jinsong Su, Yubin Ge, Linfeng Song, Le Sun, Jiebo Luo

Introduction: The "Tunnel Vision" of Attention

In Aspect-Level Sentiment Classification (ASC), the objective is to discern the sentiment expressed toward a specific target or "aspect" within a sentence. While modern models leverage attention mechanisms to identify relevant context words, these mechanisms often suffer from a form of "tunnel vision." They tend to over-fit on "apparent patterns"—high-frequency words with strong, obvious polarities (e.g., "great," "bad," "small").

This reliance on obvious cues prevents models from learning "inapparent patterns"—subtle or infrequent words that carry significant sentiment in specific contexts. For instance, if the word "small" frequently appears in negative restaurant reviews, a model might incorrectly classify a positive review like "A small area makes for quiet study" as negative simply by fixating on "small."

Figure 5: Examples of attention bias where models fixate on frequent words like 'small' in training, leading to errors in test scenarios.

Methodology: Progressive Self-Supervision

To address this, the authors introduce a Progressive Self-Supervised Attention (AS) approach. This method iteratively masks the most dominant sentiment words during training, forcing the model to explore the "long tail" of the vocabulary.

The Iterative Masking Process

The training proceeds through several iterations ($K$). In each step, the model identifies the context word receiving the highest attention weight:

  1. Self-Labeling: If the model's prediction is correct, the highly-attended word is labeled as "active" (a useful cue). If incorrect, it is labeled as "misleading."
  2. Masking: The identified word is replaced with a <mask> token.
  3. Re-evaluation: The model re-examines the masked sentence to find the next most significant word, repeating the process until a set number of words are extracted or an entropy threshold is met.
Figure 6: The iterative masking process where the model progressively identifies and masks dominant sentiment words to discover subtle cues.

Soft Attention Regularization

After extracting these labels, the model is retrained with a specialized loss function. This regularizer encourages the model to distribute attention more evenly across all "active" words while penalizing attention on "misleading" words. This self-supervised approach requires no manual annotation, as the model generates its own supervision signals from its internal state.

Experimental Evaluation

The proposed method was evaluated on three benchmark datasets: LAPTOP (SemEval 2014), REST (Restaurant reviews), and TWITTER. The researchers applied their AS strategy to two established architectures: Memory Networks (MN) and Transformation Networks (TNet).

Key Results

The "AS" versions consistently outperformed their baseline counterparts across all datasets:

  • Performance Gains: On the LAPTOP dataset, the enhanced TNet-ATT(+AS) achieved a Macro-F1 score of 73.84%, compared to 71.82% for the standard TNet.
  • Robustness: Ablation studies confirmed that utilizing both "active" and "misleading" word sets is crucial. Learning what to ignore (misleading cues) is as vital as learning what to focus on.

Discussion and Limitations

While the progressive masking strategy significantly improves generalization, it introduces additional training overhead, requiring $K+1$ iterations. Furthermore, the model's performance is sensitive to the entropy threshold ($\epsilon_\alpha$) used during word extraction, which requires dataset-specific tuning. Despite these costs, the method effectively mitigates the "lazy" nature of standard attention mechanisms, offering a more robust path for sentiment analysis.

Summary updated

BibTeX
@inproceedings{tang2019progressive,
  author = {Jialong Tang and Ziyao Lu and Jinsong Su and Yubin Ge and Linfeng Song and Le Sun and Jiebo Luo},
  title = {{Progressive Self-Supervised Attention Learning for Aspect-Level Sentiment Analysis}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2019},
  doi = {10.18653/v1/p19-1053},
}
Figure