Explaining the Stars: Weighted Multiple-Instance Learning for Aspect-Based Sentiment Analysis

Nikolaos Pappas, Andrei Popescu-Belis

Introduction

Standard sentiment analysis typically provides a coarse-grained view, categorizing a review as generally positive or negative. However, real-world feedback is often nuanced; a user might praise a product's "durability" while criticizing its "price." Traditional regression models like Support Vector Regression (SVR) or Lasso treat an entire text as a single block of features, effectively averaging out these critical distinctions.

This paper addresses the challenge of Aspect-Based Sentiment Analysis (ABSA) by asking: how can we automatically determine ratings for specific item properties when we only have labels for the overall review? The authors propose a Multiple-Instance Learning (MIL) framework that treats a text as a "bag of sentences," allowing the model to pinpoint which specific parts of a text drive a particular rating.

The Weighted Multiple-Instance Regression Model

The core innovation is the Weighted Multiple-Instance Regression (MIR) model. Instead of assuming a single sentence is responsible for a rating, this approach treats the document's rating as a weighted average (a convex combination) of all its constituent sentences.

Conceptual overview of the weighted sentence approach, where different sentences contribute varying amounts to the final output rating.

By assigning importance weights to individual sentences, the model distinguishes between high-signal content and irrelevant "noise." For example, in a movie review, a sentence about the lead actor's performance would receive a higher weight for an "acting" aspect rating than a sentence describing the theater's seating.

Architecture and Optimization

The proposed system, APWeights, utilizes an alternating optimization strategy to learn both the regression parameters and the instance weights simultaneously. The architecture is composed of three primary components:

  1. $f_1$ Model: A regression model that predicts the target rating from the weighted sentence features.
  2. $f_2$ Model: A model that refines the global regression parameters based on the current weights.
  3. $f_3$ Model: A crucial predictive model trained to estimate sentence weights for unseen texts. This allows the system to provide human-readable explanations for new predictions by highlighting the most relevant sentences.
The technical architecture of the instance weighting process, illustrating the flow from input matrices ($B_i$) to the final prediction ($y_i$) via models $f_1, f_2,$ and $f_3$.

Evaluation and Results

The model was rigorously tested across seven diverse datasets, including product reviews from BeerAdvocate and RateBeer, as well as TED talk comments and emotion dimensions. These datasets spanned multiple languages (English, Spanish, and French), demonstrating the model's language-agnostic capabilities.

Key findings include:

  • Superior Performance: APWeights achieved over a 10% relative improvement in Mean Squared Error (MSE) compared to standard SVR and Lasso baselines.
  • Inherent Interpretability: Unlike "black-box" deep learning models, APWeights provides built-in explanations. By examining the weights assigned by $f_3$, users can see exactly which sentences led to a specific aspect rating.
  • Efficiency: The model works effectively with simple Bag-of-Words (BOW) or TF-IDF features, avoiding the need for complex linguistic preprocessing like POS tagging or dependency parsing.

Conclusion

By treating text as a collection of weighted instances, the APWeights model bridges the gap between high-performance predictive modeling and human-readable interpretability. This approach not only improves the accuracy of aspect-based sentiment analysis but also offers a transparent mechanism for understanding the "why" behind the stars. Future work may involve incorporating sentence-level supervision to further refine weight estimation and applying these weights to tasks like automated summarization.

Summary updated

BibTeX
@inproceedings{pappas2014explaining,
  author = {Nikolaos Pappas and Andrei Popescu-Belis},
  title = {{Explaining the Stars: Weighted Multiple-Instance Learning for Aspect-Based Sentiment Analysis}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2014},
  doi = {10.3115/v1/d14-1052},
}
Figure