Introduction
Sentiment Analysis (SA) aims to automatically categorize the emotional valence of text. While effective for explicit statements, traditional Natural Language Processing (NLP) models often struggle with linguistic nuances such as lexical ambiguity, syntactic complexity, and particularly sarcasm or irony. These "hard" cases often involve a disconnect between literal word meanings and intended sentiment. This research explores augmenting traditional text-based features with cognitive signals—specifically eye-tracking data—to better capture the human reading process and improve sentiment detection.
Methodology
The researchers propose a hybrid feature set that integrates traditional linguistic markers with novel cognitive features derived from human reading patterns.
Feature Engineering
- Linguistic Features: Standard NLP features including unigram presence, part-of-speech (POS) ratios, and discourse connectors.
- Sarcasm-Specific Features: Designed to detect "thwarted expectations," such as a positive sentiment followed by a negative situational context.
- Basic Gaze Features: Statistical measures derived from eye-tracking, including average fixation duration (FDUR), the frequency of backward eye movements (regressions), and word skipping rates (SKIP).
- Gaze-Saliency Graphs: The study's primary innovation involves representing a reader's eye movements as a directed graph. In this model, words serve as nodes, and saccades (jumps between words) represent edges. Graph density and edge weights are calculated based on fixation durations, providing a quantitative measure of cognitive load and "surprisal" during reading.
Experimental Setup
The methodology was evaluated using two distinct datasets to test robustness across different hardware qualities:
- Dataset 1 (D1): Comprising 994 snippets (reviews, tweets, quotes) recorded with a high-precision 500Hz eye-tracker. This dataset includes 350 instances of sarcasm or irony.
- Dataset 2 (D2): Comprising 1,059 snippets recorded with a consumer-grade 120Hz eye-tracker.
Results and Analysis
The inclusion of cognitive features (Gz) consistently improved performance across multiple classifiers, including Naïve Bayes, Support Vector Machines (SVM), and Multi-layer Neural Networks.
Key findings include:
- Significant Accuracy Gains: On Dataset 2, the F-score improved by up to 9.3% when gaze features were added to the baseline models. On the more precise Dataset 1, improvements reached 3.7%.
- Handling Sarcasm: For complex constructs like irony, the addition of gaze features resulted in a 6.1% F-score improvement over text-only baselines.
- Feature Importance: Statistical analysis confirmed that gaze-based features, particularly fixation duration and graph-based metrics, frequently outranked traditional linguistic features in predictive power.
Conclusion
This research demonstrates that eye-tracking data provides a valuable proxy for the cognitive processes involved in understanding complex sentiment. By modeling reading patterns as Saliency Graphs, machines can better identify the "surprisal" associated with sarcasm and irony. While the current requirement for human gaze data limits immediate large-scale deployment, the success of the model on lower-quality hardware suggests a path toward utilizing common device cameras for non-intrusive cognitive data collection in the future.
Summary updated