Abstract
This paper presents a deep learning based approach to extract product comparison information out of user reviews on various e-commerce websites. Any comparative product review has three major entities of information: the names of the products being compared, the user opinion (predicate) and the feature or aspect under comparison. All these informing entities are dependent on each other and bound by the rules of the language, in the review. We observe that their inter-dependencies can be captured well using LSTMs. We evaluate our system on existing manually labeled datasets and observe out-performance over the existing Semantic Role Labeling (SRL) framework popular for this task.
Introduction
When consumers evaluate products online, they frequently rely on comparative reviews (e.g., "The Nikon Coolpix has better image quality than the Canon"). For manufacturers and market researchers, extracting these insights at scale is invaluable. However, traditional Natural Language Processing (NLP) tasks like Named Entity Recognition (NER) or sentiment analysis often fail to link these components into a unified "comparison unit."
Previous state-of-the-art methods treated this as a Semantic Role Labeling (SRL) problem. SRL relies on a rigid pipeline: first identifying a "predicate" (the comparative word) and then finding its "arguments" (the products and features). This approach is fragile; if the predicate is missed, the entire extraction fails. Furthermore, SRL requires extensive manual feature engineering to work effectively.
Methodology: Sequence Labeling with LSTMs
The authors propose an end-to-end deep learning framework that treats comparison extraction as a sequence labeling task. By modeling the entire sentence simultaneously, the system avoids the "pipeline bottleneck" inherent in SRL.
The model architecture consists of three primary layers:
- Embedding Layer: Words are converted into high-dimensional vectors using pre-trained GloVe embeddings, augmented with one-hot encoded Part-of-Speech (POS) tags to provide grammatical context.
- LSTM Layer: A Long Short-Term Memory network processes the sequence. The researchers found that a Bidirectional LSTM (Bi-LSTM) is particularly effective, as it captures context from both the preceding and succeeding words in a sentence.
- Output Layer: A fully connected layer with Softmax activation assigns one of five labels to each word: Product 1, Product 2, Aspect, Predicate, or None.
Data and Training
Deep learning models require significant training data. To supplement existing manually labeled corpora (such as the Jindal and Liu, Kessler, and JDPA datasets), the authors employed a pattern-based data augmentation strategy. By using high-precision regular expressions, they automatically labeled over 24,000 sentences from Amazon reviews. This "big data" approach allowed the LSTM to learn the complex linguistic dependencies between comparative entities.
Results and Discussion
The experimental results demonstrate that the Bi-LSTM model (Model 2) significantly outperforms traditional baselines, particularly in terms of Recall. While baseline systems often show high precision, they miss a vast majority of comparisons because they fail to identify the predicate.
Key findings include:
- Predicate Identification: Model 2 achieved an F1-score of 50.4%, compared to just 6.5% for the SRL baseline (Baseline 2).
- Argument Classification: For identifying "Product 1," the Bi-LSTM achieved a 35.1% recall, a massive improvement over the 1.8% recall of the predicate-dependent baseline.
- Model Complexity: Interestingly, increasing the number of LSTM layers (Model 3) did not improve performance, suggesting that a single-layer Bi-LSTM is sufficient for capturing sentential comparison structures.
Conclusion
This research highlights the power of sequence-based deep learning for complex information extraction tasks. By moving away from rigid linguistic pipelines and leveraging the memory capabilities of LSTMs, the proposed system can more reliably identify the "who, what, and how" of product comparisons. Future work will focus on improving recall by reducing noise in training data and extending the model to handle cross-sentence dependencies and implicit comparisons.
Summary updated