Improving Sentiment Analysis for Ukrainian Social Media Code-Switching Data
This paper addresses the challenges of sentiment analysis in Ukrainian social media, where users frequently engage in code-switching with Russian and other languages.We introduce COSMUS (COde-Switched MUltilingual Sentiment for Ukrainian Social media), a 12,224texts corpus collected from Telegram channels, product-review sites and open datasets, annotated into positive, negative, neutral and mixed sentiment classes as well as language labels (Ukrainian, Russian, code-switched).We benchmark three modeling paradigms: (i) few-shot prompting of GPT-4o and DeepSeek V2-chat, (ii) multilingual mBERT, and (iii) the Ukrainian-centric UkrRoberta.We also analyze calibration and LIME scores of the latter two solutions to verify its performance on various language labels.To mitigate data sparsity we test two augmentation strategies: back-translation consistently hurts performance, whereas a Large Language Model (LLM) word-substitution scheme yields up to +2.2% accuracy.Our work delivers the first publicly available dataset and comprehensive benchmark for sentiment classification in Ukrainian code-switching media.Results demonstrate that language-specific pre-training combined with targeted augmentation yields the most accurate and trustworthy predictions in this challenging low-resource setting.
Authors
- Vera Schmitt (ORCID: https://orcid.org/0000-0002-9735-6956)
- Veronika Solopova (ORCID: https://orcid.org/0000-0003-0183-9433)
- Yurii Shynkarov
Institutions
- Ukrainian Catholic University (UA)
- Technische Universität Berlin (DE)
Publication Details
- Published
- 2025-01-01
- DOI
- https://doi.org/10.18653/v1/2025.unlp-1.18
- Primary Topic
- Information Systems and Technology Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.00