Abstract
Comparative Preference Classification (CPC) is the task of identifying which entity is preferred in a comparative sentence. Current approaches often suffer from semantic loss due to entity masking or over-reliance on unstable syntactic structures. We present SAECON (Sentiment Analysis Enhanced COmparative Network), a multi-task learning framework that integrates entity-level sentiment information into the CPC task. By employing a domain-adaptive knowledge transfer strategy with a Gradient Reversal Layer (GRL), SAECON leverages external sentiment datasets to boost performance. Our model achieves state-of-the-art results on the CompSent-19 benchmark, particularly improving classification for minority preference classes.
Introduction
Determining preference in text (e.g., "Python is better suited for data analysis than MATLAB") is a critical challenge in natural language processing. Existing CPC models face three primary hurdles: the loss of word-level semantics when replacing entities with placeholders, an over-reliance on computationally heavy and often unstable deep Graph Attention Networks (GATs), and a lack of integrated sentiment features. Since preference is inherently tied to sentiment, incorporating sentiment analysis is a natural progression. However, the scarcity of CPC data makes training a robust sentiment analyzer from scratch difficult.
Methodology: The SAECON Framework
SAECON addresses these challenges through a multi-view architecture that combines global semantics, local syntax, and domain-invariant sentiment features.
Multi-View Representation
- Global Semantic Context: A bi-directional LSTM (BiLSTM) encodes the full sentence to capture long-range dependencies and the overall "vibe" of the text.
- Local Syntactic Context: A Syntactic Graph Convolutional Network (SGCN) with edge-wise gating processes the dependency parse tree, filtering noise to focus on relevant grammatical relationships between entities.
- Domain-Adaptive Sentiment Module: This module treats preference as a comparative sentiment task. To bridge the gap between specific sentiment domains (e.g., restaurant reviews) and general CPC data, we utilize a Gradient Reversal Layer (GRL). The GRL forces the model to extract domain-invariant sentiment features, ensuring that knowledge learned from auxiliary tasks transfers effectively to CPC.
Experimental Results
SAECON was evaluated on the CompSent-19 benchmark, using standard Aspect-Based Sentiment Analysis (ABSA) datasets from SemEval for auxiliary training.
Performance and Stability
SAECON-B (utilizing BERT embeddings) achieved a Micro-F1 of 86.74%, outperforming the previous state-of-the-art (ED-GAT-B) at 85.42%. A significant breakthrough was observed in the "Worse" class (where the second entity is preferred), where the F1 score rose from 47.29% to 54.08%.
Sensitivity analysis (Figure 3) confirms the model's robustness. Notably, while previous GNN-based models required over 10 layers for peak performance, SAECON achieves superior results with just 2 SGCN layers, offering greater stability and efficiency.
Key Insights
- Sentiment as a Proxy: Ablation studies confirmed that the sentiment gap between entities is a powerful predictor of preference.
- Global Context Priority: Removing the BiLSTM caused a more significant performance drop than removing the syntactic module, suggesting that broad semantic context is more critical for CPC than fine-grained syntax.
- The Role of GRL: Without domain adaptation, auxiliary sentiment data actually hindered performance. The GRL is essential for filtering out domain-specific noise (e.g., food-related terms) to focus on pure sentiment signals.
Conclusion and Future Work
SAECON demonstrates that domain-adaptive sentiment transfer significantly enhances comparative classification. While the model sets a new benchmark, challenges remain regarding extreme class imbalance and the handling of complex multi-entity comparisons. Future research will explore dynamic loss weighting and advanced data augmentation to further refine the model's ability to distinguish subtle preference nuances.
Summary updated