SetFitABSA: High-Performance Sentiment Analysis with Small Amounts of Data
Key point
Using SetFit, a new aspect-based sentiment analysis (ABSA) framework was released that outperforms LLMs even with small amounts of data.
Details
SetFitABSA, jointly developed by Intel Labs and Hugging Face, is an efficient Few-shot learning framework that detects sentiment toward specific aspects within text.
Compared to existing LLM-based approaches, it has the following key advantages.
- No prompts needed: Without complex prompt engineering, it generates rich embeddings from just a small amount of labeled data, reducing variability in results.
- Fast training speed: Training is very fast and easy using a simple data format, without the need for special tagging tools.
The process consists of a total of 3 steps.
- Aspect candidate extraction: Uses spaCy to extract nouns and noun phrases from sentences.
- Aspect/non-aspect classification: Uses SetFit to classify whether the extracted candidates are actual aspects.
- Sentiment polarity assignment: Assigns positive or negative sentiment to each classified aspect.
Experimental results showed that SetFitABSA performed on par with, or even better than, large generative models such as Llama2 and T5 in low-data settings.
This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.
Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.