paper-with-me

홈 › Papers

Improving Sentiment Classification Using 0-Shot Generated Labels for Custom Transformer Embeddings

2021-09-29 · Ryan Bluteau, Robin Gras

We present an approach to improve sentiment classification for transformers (based on BERT and DistilBERT) using additional embeddings to represent emotion inputs. We used HuggingFace's 0-shot prediction pipeline to generate probabilities of whether emotions apply to a given sample. We generated 0-shot probabilities for 1.6 million samples from a sentiment classification dataset and a smaller sentiment airline dataset using 63 emotions. Then we added custom tokens to BERT's embeddings and tokenizers representing various levels of emotion for each predicted emotion. Finally, depending on the probability of each emotion, the respective custom token representing that level was prepended to the text input of the model to process and train for classification. We additionally test direct classification layer addition of emotion inputs and an ensemble of BERT and DistilBERT models both using emotion inputs achieving a modest increase in sentiment prediction accuracy. Our results show modest improvement in all cases over the original model for both BERT and DistilBERT tested with added emotion inputs generated from 0-shot pretrained models.

📄 PDF Abstract BibTeX

Code (0)

등록된 구현이 없습니다.

Tasks

ClassificationSentiment AnalysisSentiment Classification

Methods 이 논문이 사용한 방법론

Refunds@Expedia|||How do I get a full refund from Expedia? “How do I get a full refund from Expedia? How do I get a full refund from Expedia? – Call ☎️ +1-(888) 829 (0881) or +1-805-330-4056 or +1-805-330-4056 for Quick Help &…
Multi-Head Attention 설명 없음
Attention 설명 없음
Test 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Residual Connection 설명 없음
Dropout Dropout is a regularization technique for neural networks that drops a unit (along with connections) at training time with a specified probability $p$ (a common value is…
WordPiece 설명 없음

Similar Papers 제목 키워드 기반

A Soft Contrastive Learning-based Prompt Model for Few-shot Sentiment Analysis

2023-12-16 · Jingyi Zhou, Jie zhou, Jiabao Zhao, Siyin Wang 외

Few-shot text classification has attracted great interest in both academia and industry due to the lack of labeled data in many fields. Different from general text classification (e.g., topic classification), few-shot se…

ClassificationContrastive LearningFew-Shot Text ClassificationSentiment Analysis+4

Zero-shot Aspect-level Sentiment Classification via Explicit Utilization of Aspect-to-Document Sentiment Composition

2022-09-06 · Pengfei Deng, Jianhua Yuan, Yanyan Zhao, Bing Qin

As aspect-level sentiment labels are expensive and labor-intensive to acquire, zero-shot aspect-level sentiment classification is proposed to learn classifiers applicable to new domains without using any annotated aspect…

ClassificationSentiment AnalysisSentiment Classification

Open Aspect Target Sentiment Classification with Natural Language Prompts

2021-09-08 · EMNLP 2021 11 · Ronald Seoh, Ian Birle, Mrinal Tak, Haw-Shiuan Chang 외

For many business applications, we often seek to analyze sentiments associated with any arbitrary aspects of commercial products, despite having a very limited amount of labels or even without any labels at all. However,…

ClassificationSentiment AnalysisSentiment Classification

The Benefits of Label-Description Training for Zero-Shot Text Classification

2023-05-03 · Lingyu Gao, Debanjan Ghosh, Kevin Gimpel

Pretrained language models have improved zero-shot text classification by allowing the transfer of semantic knowledge from the training data in order to classify among specific label sets in downstream tasks. We propose …

Classificationdomain classificationtext-classificationText Classification+3

Zero-shot Approach to Overcome Perturbation Sensitivity of Prompts

2023-05-25 · Mohna Chakraborty, Adithya Kulkarni, Qi Li

Recent studies have demonstrated that natural-language prompts can help to leverage the knowledge learned by pre-trained language models for the binary sentence-level sentiment classification task. Specifically, these me…

ClassificationFew-Shot LearningSensitivitySentence+2