Abstract
Aspect-Based Sentiment Analysis (ABSA) requires capturing the precise relationship between aspects and their corresponding opinion words. Traditional methods relying on static dependency parsers often introduce noise or fail to capture task-specific nuances. This paper introduces a novel spectral perspective to ABSA, proposing the Frequency-enhanced Latent Structure Induction (FLT) framework. By applying frequency filters to contextual representations in the Fourier domain, the model learns to induce more effective latent syntactic structures. Experimental results on standard benchmarks demonstrate that FLT achieves state-of-the-art performance, effectively shortening the distance between aspects and sentiment-bearing words while adapting to the varying linguistic scales of different datasets.
Introduction
Aspect-Based Sentiment Analysis (ABSA) aims to determine the sentiment polarity of specific aspects within a sentence. A critical challenge in ABSA is modeling the syntactic and semantic dependencies between an aspect (e.g., "service") and its descriptors (e.g., "dreadful"). While dependency trees from off-the-shelf parsers have been widely used, they are often sub-optimal for sentiment tasks due to parsing errors or a lack of task-specific focus. Recent research has shifted toward latent structure induction, but these methods often struggle with the multi-scale nature of language, where relevant information can exist at word, phrase, or sentence levels.
Methods
The proposed framework treats language representations as signals that can be processed in the frequency domain to capture these multi-scale features.
The model consists of several key components:
- Contextual Encoding: Initial word representations are generated using Pre-trained Language Models (PLMs) such as BERT or RoBERTa.
- Frequency Filter (FLT): This core module applies a Discrete Fourier Transform (DFT) to the PLM representations. By applying specific filters (High, Mid, or Low bands), the model retains information at desired linguistic scales before performing an Inverse DFT to return to the spatial domain.
- Graph Structure Learning (GSL): The filtered representations are used to induce a task-specific adjacency matrix through an attention-based metric.
- Graph Neural Networks (GNNs): A GNN processes the induced graph to extract refined aspect-specific features for sentiment classification.
- Automatic Frequency Selector (AFS): To automate the selection of optimal frequency bands, an AFS module uses a Multi-Layer Perceptron (MLP) and the Gumbel-softmax trick to adaptively learn the most helpful frequencies for a given dataset.
Key Insights and Results
The "Spectral Perspective" reveals that different linguistic scales correspond to different frequency bands. High frequencies typically capture fine-grained word-level details, while low frequencies capture broader sentence-level context.
As shown in the experimental results, the optimal frequency band varies by dataset. For formal reviews like Rest14 and Laptop14, High and Mid-High frequencies—corresponding to word and phrase scales—are most beneficial. In contrast, for the noisier, casual text found in the Twitter dataset, Low frequencies (sentence-scale) perform better, likely by filtering out social media noise and focusing on global sentiment.
The FLT model achieved state-of-the-art results across all benchmarks. On Rest14, it reached 90.27% accuracy using RoBERTa-large. On Laptop14, it achieved 86.05% accuracy, significantly outperforming standard attention-based induction methods. Furthermore, the model is highly efficient, learning end-to-end without requiring a separate fine-tuning stage for the PLM.
Discussion and Conclusion
A significant advantage of the spectral approach is its ability to reduce the Aspect-sentiment Distance (AsD), effectively "closing the gap" between aspects and their modifiers in the induced graph. While the manual Frequency Filter (FLT) often yields the best results through tuning, the Automatic Frequency Selector (AFS) provides a flexible, though slightly less performant, alternative. Future work may explore the application of this spectral perspective to other NLP tasks, such as relation extraction, where multi-scale structural information is equally vital.
Summary updated