journal article·2025-03-22Open access

The Impact of Linguistic Variations on Emotion Detection: A Study of Regionally Specific Synthetic Datasets

Fernando Henrique Calderón Alvarado

Applied Sciences· Volume 15· Issue 7

Abstract

This study examines the role of linguistic regional variations in synthetic dataset generation and their impact on emotion detection performance. Emotion detection is essential for natural language processing (NLP) applications such as social media analysis, customer service, and mental health monitoring. To explore this, synthetic datasets were generated using a state-of-the-art language model, incorporating English variations from the United States, United Kingdom, and India, alongside a general baseline dataset. Two levels of prompt specificity were employed to assess the influence of regional linguistic nuances. Statistical analyses—including frequency distribution, term frequency-inverse document frequency (TF-IDF), type–token ratio (TTR), hapax legomena, pointwise mutual information (PMI) scores, and key-phrase extraction—revealed significant linguistic diversity and regional distinctions in the generated datasets. To evaluate their effectiveness, classification experiments were conducted with two models using bidirectional encoder representations from transformers (BERT) and its de-noising sequence to sequence variation (BART), beginning with zero-shot classification on the contextualized affect representations for emotion recognition (CARER) dataset, followed by fine-tuning with both baseline and region-specific datasets. Results demonstrated that region-specific datasets, particularly those generated with detailed prompts, significantly improved classification accuracy compared to the baseline. These findings underscore the importance of incorporating global linguistic variations in synthetic dataset generation, offering insights into how regional adaptations can enhance emotion detection models for diverse NLP applications.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Advanced Text Analysis Techniques · Sentiment Analysis and Opinion Mining · Topic Modeling

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Department of Computer Science and Information Engineering, Fu Jen Catholic University, New Taipei City 24205, Taiwan

Funding

National Science and Technology Council of Taiwan

References (29)

Show source-provided references
1. A survey of state-of-the-art approaches for emotion recognition in text10.1007/s10115-020-01449-0 ↗
2. Plaza-del-Arco, F.M., Curry, A., Curry, A.C., and Hovy, D. (2024). Emotion Analysis in NLP: Trends, Gaps and Roadmap for Future Directions. arXiv.
3. Emotion and personality analysis and detection using natural language processing, advances, challenges and future scope10.1007/s10462-023-10603-3 ↗
4. Prajapati, Y., Khande, R., and Parasar, A. (2021). Sentiment Analysis of Emotion Detection Using Natural Language Processing, Springer.10.1007/978-981-19-3951-8_18 ↗
5. (2024). Systematic Review of Emotion Detection with Computer Vision and Deep Learning. Sensors, 24.
6. Emotion AWARE: An artificial intelligence framework for adaptable, robust, explainable, and multi-granular emotion analysis10.1186/s40537-024-00953-2 ↗
7. Mozes, M., Tutelman, D., Winter, Y., and Globerson, A. (2023). Synthetic Data for Natural Language Processing: A Survey. CoRR, abs/2304.03751.
8. Bowman, S.R., Vilnis, L., Vinyals, O., Dai, A.M., Jozefowicz, R., and Bengio, S. (2015). Generating sentences from a continuous space. arXiv.10.18653/v1/K16-1002 ↗
9. Saharia, C., Tamkin, A., Allmendinger, F., Lowe, R., Pang, R., Tabrizian, M., Liang, P., Joshi, N., Wei, J., and Chowdhery, A. (2023). Language Models Can Teach Themselves to Program Better. CoRR, abs/2305.12413.
10. Chen, X., Sun, T., Qiu, X., and Huang, X. (2022). A Survey on Multilingual Pre-trained Language Models. CoRR, abs/2210.10271.
11. Zhao, J., Lin, Z., Lin, J., Tan, M., and Yu, J. (2022). Generative Pre-trained Models for Text Generation: A Survey. CoRR, abs/2204.08582.
12. Data Augmentation for Cross-lingual Transfer Learning of BERT-based Dependency Parsers
13. Sánchez-Junquera, J., Fernández-González, D., Rodríguez-Fórtiz, M.J., Montero, J.M., and Ordóñez, L. (2021). Generating Synthetic Data for Emotion Recognition in Conversation. CoRR, abs/2104.08773.
14. Schuff, H., Barnes, J., Crossley, S., McNamara, D.S., and Cai, Z. (2020). Culture and Emotion in Text: A Computational Analysis of Emotion Expression in English and Chinese. CoRR, abs/2010.06435.
15. Acheampong, F.A., Nunoo-Mensah, H., and Chen, W. (2020). Transformer models for text-based emotion detection: A review of BERT-based approaches. arXiv.10.1007/s10462-021-09958-2 ↗
16. Blodgett, S.L., Green, L., and O’Connor, B. (2016, January 7–12). Demographic Dialectal Variation in Social Media: A Case Study of African-American English. Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (ACL), Berlin, Germany.10.18653/v1/D16-1120 ↗
17. Jurgens, D., and Lu, T.C. (2017, January 9–11). Incorporating geolocation into supervised learning models of user demographics. Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing, Copenhagen, Denmark.
18. Han, X., Su, J., and Wan, X. (2019, January 2–7). Unsupervised Multi-Target Domain Adaptation: An Information-Theoretic Approach. Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (NAACL-HLT), Minneapolis, MN, USA.
19. Wang, A., Cho, K., and Lewis, M. (2021). Towards understanding the impact of artificial data on sequential language tasks. arXiv.
20. Liu, Y., Ott, M., Goyal, N., Du, J., Joshi, M., Chen, D., So, P., Srinivasan, M., Shinn, J., and Stoyanov, V. (2022). Synthetic data generation for natural language processing. arXiv.
21. Hovy, D., and Purschke, C. (November, January 31). Social and regional variation in language processing and its implications for NLP. Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, Brussels, Belgium.
22. Bamman, D., Dyer, C., and Smith, N.A. (2014, January 22–27). Distributed representations of geographically situated language. Proceedings of the 52nd Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers), Baltimore, MA, USA.10.3115/v1/P14-2134 ↗
23. An argument for basic emotions10.1080/02699939208411068 ↗
24. Rose, S., Engel, D., Cramer, N., and Cowley, W. (2010). Automatic keyword extraction from individual documents. Text Mining, John Wiley & Sons, Ltd.10.1002/9780470689646.ch1 ↗
25. Devlin, J., Chang, M.W., Lee, K., and Toutanova, K. (2019, January 2–7). BERT: Pre-training of deep bidirectional transformers for language understanding. Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), Minneapolis, MN, USA.
26. Lewis, M., Liu, Y., Goyal, N., Ghazvininejad, M., Mohamed, A., Levy, O., Stoyanov, V., Li, J., Zettlemoyer, L., and Schuster, M. (2020, January 5–10). BART: Denoising sequence-to-sequence pre-training for natural language generation, translation, and comprehension. Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics 2020, Virtually.10.18653/v1/2020.acl-main.703 ↗
27. Saravia, E., Liu, H., Huang, Y., Wu, J., and Chen, Y. (November, January 31). CARER: Contextualized affect representations for emotion recognition. Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing 2018, Brussels, Belgium.10.18653/v1/D18-1404 ↗
28. Powers, D.M. (2020). Evaluation: From precision, recall and F-measure to ROC, informedness, markedness and correlation. arXiv.
29. Wang, X., Zhao, J., and Li, Y. (2022). Prompt-Based Learning for Text-Based Emotion Detection: A Survey. CoRR, abs/2210.10271.