Persian Emotion Detection using ParsBERT and Imbalanced Data Handling Approaches

by   Amirhossein Abaskohi, et al.

Emotion recognition is one of the machine learning applications which can be done using text, speech, or image data gathered from social media spaces. Detecting emotion can help us in different fields, including opinion mining. With the spread of social media, different platforms like Twitter have become data sources, and the language used in these platforms is informal, making the emotion detection task difficult. EmoPars and ArmanEmo are two new human-labeled emotion datasets for the Persian language. These datasets, especially EmoPars, are suffering from inequality between several samples between two classes. In this paper, we evaluate EmoPars and compare them with ArmanEmo. Throughout this analysis, we use data augmentation techniques, data re-sampling, and class-weights with Transformer-based Pretrained Language Models(PLMs) to handle the imbalance problem of these datasets. Moreover, feature selection is used to enhance the models' performance by emphasizing the text's specific features. In addition, we provide a new policy for selecting data from EmoPars, which selects the high-confidence samples; as a result, the model does not see samples that do not have specific emotion during training. Our model reaches a Macro-averaged F1-score of 0.81 and 0.76 on ArmanEmo and EmoPars, respectively, which are new state-of-the-art results in these benchmarks.


page 1

page 2

page 3

page 4


ArmanEmo: A Persian Dataset for Text-based Emotion Detection

With the recent proliferation of open textual data on social media platf...

Optimize_Prime@DravidianLangTech-ACL2022: Emotion Analysis in Tamil

This paper aims to perform an emotion analysis of social media comments ...

Emotion Recognition for Vietnamese Social Media Text

Emotion recognition or emotion prediction is a higher approach or a spec...

Exploiting Vietnamese Social Media Characteristics for Textual Emotion Recognition in Vietnamese

Textual emotion recognition has been a promising research topic in recen...

Nearest neighbour approaches for Emotion Detection in Tweets

Emotion detection is an important task that can be applied to social med...

Can Large Language Models Aid in Annotating Speech Emotional Data? Uncovering New Frontiers

Despite recent advancements in speech emotion recognition (SER) models, ...

Automatically Classifying Emotions based on Text: A Comparative Exploration of Different Datasets

Emotion Classification based on text is a task with many applications wh...

Please sign up or login with your details

Forgot password? Click here to reset