A Generative Language Model for Few-shot Aspect-Based Sentiment Analysis
Not on the map. Why?
Abstract (arXiv)
Sentiment analysis is an important task in natural language processing. In recent works, pre-trained language models are often used to achieve state-of-the-art results, especially when training data is scarce. It is common to fine-tune on the downstream task, usually by adding task-specific layers on top of the model. In this paper, we focus on aspect-based sentiment analysis, which involves extracting aspect term, category, and predicting their corresponding polarities. In particular, we are interested in few-shot settings. We propose to reformulate the extraction and prediction tasks into the sequence generation task, using a generative language model with unidirectional attention (GPT2 is used unless stated otherwise). This way, the model learns to accomplish the tasks via language generation without the need of training task-specific layers. Our evaluation results on the single-task polarity prediction show that our approach outperforms the previous state-of-the-art (based on BERT) on average performance by a large margins in few-shot and full-shot settings. More importantly, our generative approach significantly reduces the model variance caused by low-resource data. We further demonstrate that the proposed generative language model can handle joint and multi-task settings, unlike previous work. We observe that the proposed sequence generation method achieves further improved performances on polarity prediction when the model is trained via joint and multi-task settings. Further evaluation on similar sentiment analysis datasets, SST-2, SST- and OOS intent detection validates the superiority and noise robustness of generative language model in few-shot settings.
Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Builds on 19 of its 39 references that are in the map. First posted on arXiv 11 Apr 2022.
Builds on
19 of 39 references.
References · 19
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
- 2019The Woman Worked as a Babysitter: On Biases in Language Generationcited by 540
- 2019An Evaluation Dataset for Intent Classification and Out-of-Scope Predictioncited by 378
- 2018Examining Gender and Race Bias in Two Hundred Sentiment Analysis Systemscited by 234
- 2020TOD-BERT: Pre-trained Natural Language Understanding for Task-Oriented Dialoguecited by 185
- 2019BERT Post-Training for Review Reading Comprehension and Aspect-based Sentiment Analysiscited by 176
- 2018Reducing Gender Bias in Abusive Language Detectioncited by 152
- 2019Assessing Social and Intersectional Biases in Contextualized Word Representationscited by 134
- 2018Double Embeddings and CNN-based Sequence Labeling for Aspect Extractioncited by 42
7 more
- 2021Solving Aspect Category Sentiment Analysis as a Text Generation Taskcited by 21
- 2021Open Aspect Target Sentiment Classification with Natural Language Promptscited by 20
- 2018Exploiting Coarse-to-Fine Task Transfer for Aspect-level Sentiment Classificationcited by 19
- 2020Author's Sentiment Predictioncited by 18
- 2020Improving BERT Performance for Aspect-Based Sentiment Analysiscited by 15
- 2014Aspect-Based Opinion Extraction from Customer reviewscited by 2
- 2020Does BERT Understand Sentiment? Leveraging Comparisons Between Contextual and Non-Contextual Embeddings to Improve Aspect-Based Sentiment Modelscited by 2
Built on by
Citing papers per year: 2022: 1; 2023: 4; 2024: 1; 2025: 1.
7 papers.
- 2023InstructABSA: Instruction Learning for Aspect Based Sentiment Analysiscited by 22
- 2022Few-shot Multimodal Sentiment Analysis based on Multimodal Probabilistic Fusion Promptscited by 9
- 2024Disentangling Likes and Dislikes in Personalized Generative Explainable Recommendationcited by 3
- 2023Syntax-aware Hybrid prompt model for Few-shot multi-modal sentiment analysiscited by 2
- 2023Leveraging Twitter Data for Sentiment Analysis of Transit User Feedback: An NLP Frameworkcited by 1
- 2025MDSF: Context-Aware Multi-Dimensional Data Storytelling Framework based on Large language Modelcited by 1
- 2023UBC-DLNLP at SemEval-2023 Task 12: Impact of Transfer Learning on African Sentiment Analysiscited by 0
- 2025MDSF: Context-Aware Multi-Dimensional Data Storytelling Framework based on Large language Model2 Jan 2025
- 2024Disentangling Likes and Dislikes in Personalized Generative Explainable Recommendation17 Oct 2024
- 2023Leveraging Twitter Data for Sentiment Analysis of Transit User Feedback: An NLP Framework11 Oct 2023
- 2023Syntax-aware Hybrid prompt model for Few-shot multi-modal sentiment analysis2 Jun 2023
- 2023UBC-DLNLP at SemEval-2023 Task 12: Impact of Transfer Learning on African Sentiment Analysis21 Apr 2023
- 2023InstructABSA: Instruction Learning for Aspect Based Sentiment Analysis16 Feb 2023
- 2022Few-shot Multimodal Sentiment Analysis based on Multimodal Probabilistic Fusion Prompts12 Nov 2022