Aspect-Object Alignment with Integer Linear Programming in Opinion Mining

Yanyan Zhao, Bing Qin, Ting Liu, Wei YangPLoS 2015

Abstract

Target extraction is an important task in opinion mining. In this task, a complete target consists of an aspect and its corresponding object. However, previous work has always simply regarded the aspect as the target itself and has ignored the important "object" element. Thus, these studies have addressed incomplete targets, which are of limited use for practical applications. This paper proposes a novel and important sentiment analysis task, termed aspect-object alignment, to solve the "object neglect" problem. The objective of this task is to obtain the correct corresponding object for each aspect. We design a two-step framework for this task. We first provide an aspect-object alignment classifier that incorporates three sets of features, namely, the basic, relational, and special target features. However, the objects that are assigned to aspects in a sentence often contradict each other and possess many complicated features that are difficult to incorporate into a classifier. To resolve these conflicts, we impose two types of constraints in the second step: intra-sentence constraints and inter-sentence constraints. These constraints are encoded as linear formulations, and Integer Linear Programming (ILP) is used as an inference procedure to obtain a final global decision that is consistent with the constraints. Experiments on a corpus in the camera domain demonstrate that the three feature sets used in the aspect-object alignment classifier are effective in improving its performance. Moreover, the classifier with ILP inference performs better than the classifier without it, thereby illustrating that the two types of constraints that we impose are beneficial.

Introduction

In the field of opinion mining, identifying the target of a sentiment is a fundamental challenge. A complete target consists of two components: an aspect (a specific feature or attribute) and an object (the entity to which the aspect belongs). For instance, in the phrase "The battery life of the iPhone 15 is excellent," "battery life" is the aspect and "iPhone 15" is the object.

Historically, research has focused heavily on aspect extraction, often treating the aspect as the target itself. This leads to "object neglect," where the system fails to link features back to their parent products. This is particularly problematic in multi-product reviews or long-form content where the object is mentioned once and then followed by several sentences of aspect-based evaluation. Analysis of real-world datasets reveals that only approximately 10% of aspects co-occur with their corresponding objects in the same sentence, necessitating a robust alignment mechanism that spans sentence boundaries.

Proposed Methodology: A Two-Step Alignment Framework

To address the object neglect problem, this paper proposes a novel framework that combines local classification with global optimization.

1. Maximum Entropy (ME) Classifier

The first stage involves generating all potential aspect-object pairs within a review. A Maximum Entropy classifier is then employed to estimate the probability of a correct alignment for each pair. The classifier leverages three distinct feature sets:

  • Basic Features: These include sentence-level indicators, such as whether a sentence contains an object, an aspect, or both, and whether the sentence structure is comparative.
  • Relational Features: These capture the discourse structure, specifically the sentence distance between the aspect and the object, and consistency checks against objects identified in preceding sentences.
  • Special Target Features: These identify "anchor" objects, such as the first object mentioned in the review or the object mentioned with the highest frequency.

2. Integer Linear Programming (ILP) Inference

While the ME classifier provides local probabilities, it lacks a global view of the review's logical structure. This can lead to contradictory assignments, such as attributing the same aspect to multiple primary objects in a simple descriptive sentence.

To resolve these conflicts, the authors implement Integer Linear Programming (ILP) for global inference. Linguistic and structural rules are encoded as linear constraints:

  • Intra-sentence constraints: For example, if multiple aspects appear in a sentence without an explicit object, they are constrained to refer to the same object.
  • Inter-sentence constraints: These utilize sentiment consistency. If a reviewer maintains a consistent sentiment polarity across consecutive sentences, it is highly probable that they are continuing to discuss the same object.

Experimental Evaluation

The framework was evaluated using a manually annotated corpus of 200 Chinese-language digital camera reviews. The dataset comprised 8,042 sentences and 2,017 aspects, with an average of 2.82 objects per review.

Results

The performance of the proposed ME+ILP approach was compared against a rule-based baseline and a standalone ME classifier.

Method Accuracy
Baseline 1 (Cascading Rules) 78.04%
Baseline 2 (ME Classifier only) 81.80%
Proposed Method (ME + ILP) 83.69%

The inclusion of ILP inference yielded a statistically significant improvement of approximately 2% over the standalone classifier. Ablation studies further highlighted that Basic and Relational features are the most critical components of the alignment model.

Discussion and Conclusion

The study underscores the necessity of global optimization in opinion mining. The "10% rule" highlights that local, sentence-level analysis is insufficient for capturing the full context of consumer reviews. By using sentiment flow as a proxy for discourse persistence, the ILP model effectively bridges the gap between isolated sentences.

Future work should explore the integration of extraction and alignment into a single joint model to prevent error propagation. Additionally, testing the framework on more abstract domains, such as service industries, will be essential to verify its generalizability beyond consumer electronics.

Summary updated

BibTeX
@inproceedings{zhao2015aspect,
  author = {Yanyan Zhao and Bing Qin and Ting Liu and Wei Yang},
  title = {{Aspect-Object Alignment with Integer Linear Programming in Opinion Mining}},
  booktitle = {PLoS},
  year = {2015},
  doi = {10.1371/journal.pone.0125084},
}
Figure