Introduction
Aspect-Based Sentiment Classification (ABSC) is a fine-grained sentiment analysis task that requires models to identify the sentiment polarity (positive, negative, or neutral) associated with specific "aspects" within a sentence. For example, in the sentence "The food was great but the service was slow," a model must distinguish between the positive sentiment for the aspect "food" and the negative sentiment for "service."
While modern deep learning architectures, particularly those based on Transformers, have achieved high accuracy in ABSC, they often suffer from a lack of interpretability. These models frequently exhibit the "right for the wrong reasons" phenomenon, where they arrive at a correct prediction by focusing on irrelevant tokens (e.g., stop words like "the" or "is") rather than the actual opinion words (e.g., "great" or "slow"). Furthermore, the internal gradients used to explain these models are often unstable and easily manipulated. This research introduces the Interpretation-Enhanced Gradient-based framework (IEGA) to address these issues by supervising the model's attention through small amounts of human-labeled explanation annotations.
Methodology: The IEGA Framework
The core innovation of IEGA is the Gradient Correction Module, which "teaches" the model which words are truly significant for a given prediction. Unlike standard training which only supervises the final output, IEGA treats the model's internal gradients as a signal that can be optimized. The framework operates in three primary stages:
- Gradient Calculation: The model computes the standard gradient of the loss function with respect to the input word embeddings. This identifies which input features currently exert the most influence on the model's decision.
- Word-Level Saliency Mapping: These gradients are transformed into an attribution score for each word, creating a saliency map that represents the model's internal "focus."
- Gradient Correction: The authors introduce a specialized loss term, $L_g$, which measures the discrepancy between the model's saliency scores and human-annotated "ground truth" opinion words. By minimizing this loss, the model is penalized when it attends to irrelevant words, forcing its internal logic to align with human intuition.
IEGA is designed to be model-agnostic, meaning it can be integrated into various existing architectures, such as BERT-SPC or Graph Attention Networks (RGAT), without requiring structural changes to the underlying model.
Experimental Setup
The framework was evaluated using four benchmark datasets from the SemEval challenges: Res14, Res15, Res16 (restaurant reviews) and Lap14 (laptop reviews). To provide the supervision signal for the Gradient Correction Module, the researchers utilized opinion word annotations previously established in the literature. A key focus of the study was annotation efficiency, testing how the model performs when only a small fraction (e.g., 10%) of the training data includes these explanation labels.
Results and Discussion
1. Enhanced Interpretability
The researchers measured interpretability using "Post-hoc Accuracy," which evaluates how well the top-5 most important words identified by the model predict the true sentiment. On the Lap14 dataset, a standard BERT model achieved 33.70% accuracy. With IEGA and only 10% explanation annotations, this jumped to 42.18%. When 100% of the annotations were used, the accuracy reached 59.73%, demonstrating a significant alignment between model focus and human reasoning.
2. Improved Classification Performance
One of the most significant findings was that improving interpretability also improves raw performance. By forcing the model to look at the correct opinion words, the classification accuracy increased. Integrating IEGA with the RGAT-BERT model resulted in a Macro-F1 score improvement of up to 8.68 points on the Res16 dataset.
3. Robustness and Generalization
To test the model's resilience, the authors utilized the TextFlint adversarial suite, which introduces distractor aspects to confuse the model. IEGA-enhanced models showed superior robustness compared to standard models, as they had been trained to ignore irrelevant context and focus strictly on the relevant opinion words for a specific aspect.
4. Efficiency of Human Effort
The study demonstrated that massive amounts of human labeling are not required to see benefits. Providing explanation annotations for just 10% of the training data (approximately 150 samples) was sufficient to yield substantial gains in both accuracy and interpretability, making the framework practical for real-world applications where human labor is expensive.
Conclusion
The IEGA framework demonstrates that supervising the "why" of a model's prediction is just as important as supervising the "what." By aligning model gradients with human-labeled opinion words, IEGA produces models that are not only more accurate but also more trustworthy and robust. Future research may explore applying gradient correction to other complex NLP tasks such as Question Answering or Natural Language Inference, as well as developing automated methods for generating explanation labels.
Summary updated