Label-Driven Denoising Framework for Multi-Label Few-Shot Aspect Category Detection

Fei Zhao, Yuchen Shen, Zhen Wu, Xinyu Dai

Introduction

Aspect Category Detection (ACD) is a fundamental task in sentiment analysis that involves identifying predefined categories—such as service, price, or location—discussed within a text. In real-world scenarios, a single sentence often contains multiple aspect categories (e.g., "The food was delicious, but the staff was rude"). While deep learning has advanced ACD, performance typically degrades in "few-shot" scenarios where only a handful of labeled examples (e.g., 5 or 10) are available for each category.

This paper, originally presented at COLING 2022, introduces the Label-Driven Denoising Framework (LDF). The framework is designed to overcome the limitations of traditional Prototypical Networks in multi-label few-shot settings by leveraging the semantic information inherent in the labels themselves.

The Challenges of Few-Shot ACD

Prototypical Networks typically represent each category as a "prototype" (a mean vector of support samples). However, in few-shot learning, these prototypes are often corrupted by two types of noise:

  1. Irrelevant Word Noise: With limited data, models often fail to distinguish between aspect-relevant keywords and common "noisy" words (e.g., "the," "my," "it"), leading the attention mechanism to focus on irrelevant features.
  2. Inter-class Similarity: Many aspect categories are semantically related (e.g., food_quality vs. meal_type). This proximity in the embedding space makes it difficult for classifiers to draw clear boundaries, resulting in frequent misclassifications between similar categories.

The Label-Driven Denoising Framework (LDF)

The LDF is a modular framework that can be integrated into existing prototypical architectures. It introduces two primary mechanisms to mitigate noise and improve class separation:

1. Label-guided Attention Strategy (LAS)

Traditional attention mechanisms learn weights solely from the sparse training data. LAS instead utilizes the semantic meaning of the label text. By calculating the cosine similarity between sentence word embeddings and the embedding of the literal category name (e.g., "restaurant location"), the model is forced to prioritize words semantically aligned with the target aspect. This effectively filters out non-informative words and anchors the model's focus on high-signal keywords.

2. Label-weighted Contrastive Loss (LCL)

Standard contrastive loss functions treat all negative samples (samples from different classes) as equally distinct. LCL improves upon this by weighting the loss based on label similarity. If two categories are semantically close, the framework applies a stronger "push" in the embedding space to ensure their prototypes remain distinguishable. This adaptive separation helps the model resolve fine-grained confusion between overlapping categories.

Experimental Evaluation

The researchers evaluated LDF using the FewAsp dataset, which includes 100 aspects split across training (64), validation (16), and testing (20). To test the framework's robustness, they utilized three variations:

  • FewAsp(single): Sentences with only one aspect.
  • FewAsp(multi): Sentences containing multiple aspects.
  • FewAsp: The complete dataset.

LDF was applied to two base models: Proto-HATT and Proto-AWATT. In all test settings (5-way and 10-way, 5-shot and 10-shot), the LDF-enhanced models consistently outperformed the baselines. Specifically, LDF-HATT showed an average Macro-F1 improvement of approximately 3%, while LDF-AWATT improved by roughly 2%.

Key Insights and Qualitative Results

  • Labels as Semantic Anchors: The core innovation of LDF is treating labels as features rather than just indices. In data-scarce environments, the literal text of a category name provides a vital reference point that stabilizes learning.
  • Improved Feature Clustering: t-SNE visualizations demonstrated that LDF produces tighter, more distinct clusters compared to base models, confirming that the Label-weighted Contrastive Loss successfully separates semantically similar classes.
  • Attention Accuracy: Qualitative analysis of attention maps showed that LDF-equipped models correctly ignored stop words and focused on specific descriptors like "burger," "fries," or "ambiance," whereas baseline models were often distracted by irrelevant syntax.

Limitations and Future Directions

Despite its success, the authors noted several remaining challenges:

  • Logical Complexity: The model still struggles with sentences requiring deep logical reasoning or those containing rare, specific entities (e.g., unique restaurant names).
  • Context Scarcity: Very short sentences with minimal context remain difficult to classify accurately.
  • The Long-Tail Problem: Performance tends to drop when a single sentence belongs to more than four aspect categories, indicating a need for more sophisticated handling of high-cardinality multi-label instances.

Future work may explore integrating more advanced language understanding techniques to address these complex cases where simple semantic similarity is insufficient.

Summary updated

BibTeX
@inproceedings{zhao2022label,
  author = {Fei Zhao and Yuchen Shen and Zhen Wu and Xinyu Dai},
  title = {{Label-Driven Denoising Framework for Multi-Label Few-Shot Aspect Category Detection}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2022},
  doi = {10.18653/v1/2022.findings-emnlp.177},
}
Figure