Zero-shot Aspect-level Sentiment Classification via Explicit Utilization of Aspect-to-Document Sentiment Composition

Pengfei Deng, Jianhua Yuan, Yanyan Zhao, Bing QinarXiv 2022 · DOI

Introduction

Aspect-based Sentiment Classification (ASC) aims to identify sentiments associated with specific entities or aspects within a text. For instance, in a restaurant review, a user might praise the "food" while criticizing the "service." Traditionally, training effective ASC models requires extensive human-annotated datasets where each aspect is manually labeled with a sentiment polarity. This reliance on labeled data makes the task expensive and difficult to scale across diverse domains.

To address this "data-hungry" challenge, researchers have proposed AF-DSC (Aspect Focus – Document Sentiment Classification). This method leverages the hierarchical nature of human reviews, treating a document's overall rating as a mathematical composition of the sentiments of its constituent aspects. By training on readily available document-level ratings (e.g., Yelp star ratings), the model learns to identify aspect-level sentiment as a "by-product" of predicting the global sentiment.

Methodology: The AF-DSC Framework

The core intuition behind AF-DSC is that a document's sentiment is the sum of its parts. The model architecture explicitly models the "sentiment bond" between individual aspects and the overall document rating.

Conceptual overview of the AF-DSC model, illustrating how aspect-level sentiments compose the overall document rating.

The framework consists of several key components:

  1. Rule-based Aspect Acquisition: In the absence of labels, the model utilizes a Part-of-Speech (POS) tagger to identify nouns and proper nouns as potential aspects.
  2. Explicit Composition: Built upon a BERT backbone, the model applies an attention mechanism over the hidden states of identified aspects. The weighted sum of these representations forms the document-level sentiment representation used to predict the star rating.
  3. Auxiliary Enhancement Tasks:
  4. Word Sentiment Prediction (WSP): An opinion lexicon is used to teach the model the inherent sentiment of specific words (e.g., "excellent" vs. "terrible").
  5. Enhanced Mask Word Prediction (MWP): This task forces the model to learn relationships between aspects and their descriptors by selectively masking nouns, adjectives, and adverbs.

Experimental Setup

The model was trained on document-level datasets, specifically Yelp-large and an Electronics-large dataset, each containing 30,000 instances. Evaluation was conducted on the SemEval 2014 Task 4 benchmarks (Laptop14 and Restaurant14). To test robustness, the authors also utilized the ARTS (Aspect Robustness Test Set), which evaluates whether a model correctly identifies the target aspect's sentiment rather than relying on the sentence's overall polarity.

Key Results and Discussion

AF-DSC demonstrates superior zero-shot performance compared to strong baselines, including BERT-LM and GPT-2 LM. As shown in the results table, AF-DSC achieves significant improvements in Macro-F1 scores across both restaurant and laptop domains.

Comparison of AF-DSC performance against various zero-shot baselines on the Res14 and Lap14 datasets.

The model's success stems from its ability to model the structure of sentiment. By explicitly linking aspect-level sentiment to the document rating, AF-DSC becomes highly sample-efficient, outperforming models post-trained on millions of reviews with only a fraction of the data. Furthermore, the model showed high transferability; a model trained on restaurant reviews performed competitively on electronics, suggesting it captures universal sentiment structures.

On the ARTS dataset, AF-DSC proved more resilient than standard BERT models, showing less susceptibility to "distractor" aspects with opposing sentiments. However, limitations remain, particularly regarding complex linguistic structures like double negatives and a residual bias toward the global sentiment in overwhelmingly polarized reviews.

Conclusion

AF-DSC presents a promising direction for zero-shot NLP by exploiting the inherent hierarchy of sentiment in human-generated content. By framing aspect-level sentiment as a necessary component for document-level prediction, the model achieves state-of-the-art zero-shot performance with minimal data requirements. Future work will likely focus on refining attention mechanisms to better disentangle aspect-specific sentiment from global context.

Summary updated

BibTeX
@misc{deng2022zero,
  author = {Pengfei Deng and Jianhua Yuan and Yanyan Zhao and Bing Qin},
  title = {{Zero-shot Aspect-level Sentiment Classification via Explicit Utilization of Aspect-to-Document Sentiment Composition}},
  year = {2022},
  eprint = {2209.02276},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2209.02276},
}
Figure