[Paper Review] ArmanEmo: A Persian Dataset for Text-based Emotion Detection
This paper introduces ArmanEmo, a high-quality, human-annotated Persian text emotion dataset with over 7,000 sentences labeled for seven emotions, including Ekman’s six basic emotions and an 'Other' category. The authors train state-of-the-art transformer-based models on ArmanEmo, achieving a macro F1 score of 75.39, and demonstrate through transfer learning that ArmanEmo generalizes significantly better than existing Persian emotion datasets like EmoPars.
With the recent proliferation of open textual data on social media platforms, Emotion Detection (ED) from Text has received more attention over the past years. It has many applications, especially for businesses and online service providers, where emotion detection techniques can help them make informed commercial decisions by analyzing customers/users' feelings towards their products and services. In this study, we introduce ArmanEmo, a human-labeled emotion dataset of more than 7000 Persian sentences labeled for seven categories. The dataset has been collected from different resources, including Twitter, Instagram, and Digikala (an Iranian e-commerce company) comments. Labels are based on Ekman's six basic emotions (Anger, Fear, Happiness, Hatred, Sadness, Wonder) and another category (Other) to consider any other emotion not included in Ekman's model. Along with the dataset, we have provided several baseline models for emotion classification focusing on the state-of-the-art transformer-based language models. Our best model achieves a macro-averaged F1 score of 75.39 percent across our test dataset. Moreover, we also conduct transfer learning experiments to compare our proposed dataset's generalization against other Persian emotion datasets. Results of these experiments suggest that our dataset has superior generalizability among the existing Persian emotion datasets. ArmanEmo is publicly available for non-commercial use at https://github.com/Arman-Rayan-Sharif/arman-text-emotion.
Motivation & Objective
- To address the scarcity of high-quality, manually annotated Persian text emotion datasets for NLP research.
- To improve the performance and generalizability of text-based emotion detection in Persian using deep learning.
- To provide a benchmark dataset and strong baseline models for future research in Persian emotion detection.
- To evaluate the generalization capability of ArmanEmo against existing Persian emotion datasets through transfer learning.
- To support the development of emotion-aware applications in Persian, such as customer sentiment analysis and emotionally intelligent chatbots.
Proposed method
- Collected over 7,000 Persian text samples from diverse sources, including Twitter, Instagram, and Digikala (an Iranian e-commerce platform).
- Employed a rigorous human annotation process with clear labeling guidelines, selecting only sentences with a dominant emotion (threshold ≥3 out of 5 annotators) to reduce noise.
- Used a seven-class emotion schema based on Ekman’s six basic emotions (Anger, Fear, Happiness, Hatred, Sadness, Wonder) plus an 'Other' category.
- Trained multiple state-of-the-art transformer-based models, including XLM-RoBERTa-large and ParsBERT, on the ArmanEmo dataset for emotion classification.
- Conducted zero-shot evaluation using XLM-EMO, a multilingual emotion model, to assess performance without fine-tuning on Persian data.
- Performed transfer learning experiments comparing model performance fine-tuned on ArmanEmo versus EmoPars, evaluating on both test sets to assess generalizability.
Experimental results
Research questions
- RQ1How does the performance of emotion detection models trained on ArmanEmo compare to those trained on existing Persian emotion datasets like EmoPars?
- RQ2To what extent does ArmanEmo generalize to unseen data compared to other Persian emotion datasets?
- RQ3Can a multilingual emotion model like XLM-EMO achieve competitive performance on Persian text without fine-tuning on Persian emotion data?
- RQ4What is the impact of label quality and annotation consistency on model generalization in low-resource emotion detection tasks?
- RQ5How effective are state-of-the-art transformer models in detecting emotions in low-resource, morphologically rich languages like Persian?
Key findings
- The best-performing model on ArmanEmo, XLM-RoBERTa-large, achieved a macro-averaged F1 score of 75.39 on the test set.
- The model fine-tuned on ArmanEmo outperformed the model fine-tuned on EmoPars by over 19 percentage points when evaluated on the EmoPars test set (26.68 vs. 6.96 F1).
- ArmanEmo demonstrated superior generalizability compared to EmoPars, as evidenced by significantly better performance on both the ArmanEmo and EmoPars test sets.
- The zero-shot performance of XLM-EMO on ArmanEmo was 75.28 F1, indicating strong cross-lingual transferability despite no fine-tuning on Persian data.
- The model trained on EmoPars showed poor performance (6.96 F1 on EmoPars test set), suggesting high label noise in that dataset due to crowd-sourcing methodology.
- The rigorous annotation procedure in ArmanEmo—filtering for dominant emotions and removing ambiguous or multi-labeled instances—resulted in a cleaner, higher-quality dataset with better downstream performance.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.