Abstract
Targeted Sentiment Analysis (TSA) requires simultaneous identification of aspects and their corresponding sentiments. Traditional methods often suffer from "negative transfer" due to coarse-grained assumptions where semantically related aspects are forced to share sentiments. We present FCKT (Fine-Grained Cross-Task Knowledge Transfer), a framework that utilizes token-level contrastive learning and a differentiable transfer mechanism to enable precise, aspect-specific sentiment modeling. FCKT achieves state-of-the-art results on standard benchmarks, significantly outperforming large language models like GPT-4o.
Introduction: The Challenge of Coarse-Grained Transfer
Targeted Sentiment Analysis (TSA) involves two interdependent sub-tasks: Aspect Extraction (AE) and Sentiment Prediction (SP). A recurring issue in existing models is the reliance on "coarse-grained" transfer. These models often assume that aspects belonging to the same category (e.g., "camera-related") should share the same sentiment.
Consider the sentence: "The lens and autofocus are impressive, except for the low-light capability." A coarse-grained model might incorrectly label "low-light capability" as positive because it is semantically grouped with "lens" and "autofocus." FCKT addresses this by implementing a fine-grained transfer mechanism that respects individual aspect sentiments even when they deviate from the sentence's general theme.
Methodology
The FCKT framework is built on three core innovations designed to enhance the interaction between aspect extraction and sentiment classification.
1. Token-Level Semantic Contrastive Learning (TCL)
To refine aspect boundaries, FCKT employs Token-Level Contrastive Learning. In the latent space, the model treats the start and end tokens of a specific aspect as positive pairs, while tokens from different aspects serve as negative pairs. This approach encourages the model to learn more distinct and semantically coherent boundaries for each identified aspect.
2. Fine-Grained Knowledge Transfer (AKT)
Unlike traditional pipelines that use "hard" boundaries (fixed word spans) for sentiment analysis, FCKT introduces an expectation-based approach. It calculates an expected word embedding derived from the probability distribution of predicted boundaries. This makes the entire AE-to-SP pipeline differentiable, allowing sentiment signals to backpropagate and supervise the aspect extraction process during training.
3. Alternating Learning Strategy
To maintain stability and prevent over-reliance on potentially noisy predicted aspects, FCKT uses a sampling ratio ($\xi$). The model alternates between training on ground-truth labels and its own predicted transfer knowledge, ensuring a balance between learning from data and adapting to its own internal representations.
Experimental Results
FCKT was evaluated on three standard benchmarks: Laptop, Restaurant, and Tweets. The framework consistently achieved state-of-the-art performance, with an average F1 improvement of 1.38% over the previous leading model, AIFI.
| Dataset | FCKT (F1) | GPT-4o (F1) |
|---|---|---|
| Laptop | 0.7144 | 0.3941 |
| Restaurant | 0.8153 | 0.6624 |
| Tweets | 0.6225 | 0.3930 |
A notable finding is FCKT's substantial lead over GPT-4o. While large language models (LLMs) possess vast general knowledge, they often struggle with the fine-grained constraints of TSA, particularly in specialized domains or low-resource settings where task-specific architectures like FCKT excel.
Discussion and Key Insights
The success of FCKT underscores two critical points:
- Differentiability Matters: By transforming a discrete pipeline into a continuous, end-to-end system, the sentiment classifier can effectively guide the aspect extractor toward spans of text that carry significant emotional weight.
- Handling Implicit Sentiment: Approximately 30% of sentiment expressions are implicit or contrastive (using words like "but" or "except"). Fine-grained transfer is essential for capturing these nuances that category-level aggregation typically misses.
Conclusion and Future Work
FCKT demonstrates that fine-grained, differentiable knowledge transfer is a powerful approach for Targeted Sentiment Analysis. While the model excels in precision, future work will focus on improving recall by refining heuristic extraction methods and better addressing highly ambiguous rhetorical structures like sarcasm.
Summary updated