Abstract
While state-of-the-art NLP models have demonstrated excellent performance for aspect-based sentiment analysis (ABSA), substantial evidence has been presented on their lack of robustness. This is especially manifested as significant degradation in performance when faced with out-of-distribution data. Recent solutions that rely on counterfactually augmented datasets show promising results, but they are inherently limited because of the lack of access to explicit causal structure. In this paper, we present an alternative approach that relies on non-counterfactual data augmentation. Our proposal instead relies on using noisy, cost-efficient data augmentations that preserve semantics associated with the target aspect. Our approach then relies on modelling invariances between different versions of the data to improve robustness. A comprehensive suite of experiments shows that our proposal significantly improves upon strong pre-trained baselines on both standard and robustness-specific datasets. Our approach further establishes a new state-of-the-art on the ABSA robustness benchmark and transfers well across domains.
Introduction
State-of-the-art NLP models for Aspect-based Sentiment Analysis (ABSA) often rely on "spurious patterns"—correlations in data that are not causal. For instance, in the review "Tasty burgers and crispy fries," a model might incorrectly associate "crispy" and "fries" with the positive sentiment for "burgers" simply because they frequently co-occur in positive reviews. When these models encounter out-of-distribution data, performance can drop by over 25%.
While Counterfactual Data Augmentation (CAD) is a common fix, it requires expensive human intervention to rewrite sentences and flip sentiments. This paper explores whether robustness can be improved using simpler, non-counterfactual noise that is cheaper to generate.
Methods: Causally Relevant Representation (CRR)
The authors propose the Causally Relevant Representation (CRR) learning framework, which leverages non-counterfactual augmentations to force the model to ignore spurious noise.
ADDDIFFMIX Augmentation
Instead of complex rewrites, the ADDDIFFMIX method automatically appends or prepends 1–3 phrases from the dataset that have the opposite sentiment of the target aspect. This introduces "spurious" noise without changing the core sentiment of the original target. For example, "3D rendering slows it down" might become "3D rendering slows it down, but the keyboard is a love."
Invariance Training
The model is trained to maintain consistent predictions despite this added noise. This is achieved by combining a standard cross-entropy loss with a Kullback-Leibler (KL) divergence term. The KL term penalizes the model if its prediction distribution for the noisy sentence ($X_a$) differs from the original ($X$).
Experimental Setup
The approach was evaluated on several key benchmarks:
- SemEval 2014 (Laptop and Restaurant): Standard in-distribution (IID) datasets.
- ARTs (Aspect Robustness Test Set): A benchmark designed to break models via sentiment reversal or distracting aspects.
- MAMS (Multi-Aspect Multi-Sentiment): A dataset where sentences contain multiple aspects with differing sentiments.
Results
The CRR model, using a RoBERTa-large backbone, achieved significant gains across all benchmarks, establishing a new state-of-the-art on the ABSA robustness benchmark.
Key Findings
- Robustness Gains: On the Laptop ARTs dataset, CRR improved accuracy by 2.34% and the Aspect Robustness Score (ARS) by 5.52% over the RoBERTa baseline.
- Superior Transferability: The model demonstrated better transfer ability when trained on restaurant reviews and tested on the MAMS dataset, suggesting it learns more generalizable, causal features rather than dataset-specific shortcuts.
- Non-Counterfactual Advantage: Unlike CAD, which can sometimes degrade performance on standard datasets, the non-counterfactual CRR approach improved performance on both robustness tests and original datasets.
Conclusion
The CRR framework demonstrates that explicit causal structures or expensive human-labeled counterfactuals are not strictly necessary for building robust ABSA models. By enforcing invariance to automatically generated noise, models can learn to focus on the "causal core" of sentiment. Future work will address challenges with implicit sentiment and further explore the interpretability of these learned representations.
Summary updated