Code-mixed Sentiment and Hate-speech Prediction
Not on the map. Why?
Abstract (arXiv)
Code-mixed discourse combines multiple languages in a single text. It is commonly used in informal discourse in countries with several official languages, but also in many other countries in combination with English or neighboring languages. As recently large language models have dominated most natural language processing tasks, we investigated their performance in code-mixed settings for relevant tasks. We first created four new bilingual pre-trained masked language models for English-Hindi and English-Slovene languages, specifically aimed to support informal language. Then we performed an evaluation of monolingual, bilingual, few-lingual, and massively multilingual models on several languages, using two tasks that frequently contain code-mixed text, in particular, sentiment analysis and offensive language detection in social media texts. The results show that the most successful classifiers are fine-tuned bilingual models and multilingual models, specialized for social media texts, followed by non-specialized massively multilingual and monolingual models, while huge generative models are not competitive. For our affective problems, the models mostly perform slightly better on code-mixed data compared to non-code-mixed data.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 34 of its 59 references that are in the map. First posted on arXiv 21 May 2024.
Builds on
34 of 59 references.
References · 34
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2019Unsupervised Cross-lingual Representation Learning at Scalecited by 3,907
- 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
- 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,355
- 2019CamemBERT: a Tasty French Language Modelcited by 368
- 2021MuRIL: Multilingual Representations for Indian Languagescited by 177
- 2020A Monolingual Approach to Contextualized Word Embeddings for Mid-Resource Languagescited by 131
- 2019Adaptation of Deep Bidirectional Multilingual Transformers for Russian Languagecited by 109
22 more
- 2020GLUECoS : An Evaluation Benchmark for Code-Switched NLPcited by 101
- 2023Multilingual Large Language Models Are Not (Yet) Code-Switcherscited by 65
- 2021Are Multilingual Models Effective in Code-Switching?cited by 56
- 2022TwHIN-BERT: A Socially-Enriched Pre-trained Language Model for Multilingual Tweet Representations at Twittercited by 44
- 2020PHINC: A Parallel Hinglish Social Media Code-Mixed Corpus for Machine Translationcited by 38
- 2022L3Cube-HindBERT and DevBERT: Pre-Trained BERT Transformer models for Devanagari based Hindi and Marathi Languagescited by 35
- 2021Multi-modal Sarcasm Detection and Humor Classification in Code-mixed Conversationscited by 33
- 2022L3Cube-HingCorpus and HingBERT: A Code Mixed Hindi-English Dataset and BERT Language Modelscited by 33
- 2016Towards Sub-Word Level Compositions for Sentiment Analysis of Hindi-English Code Mixed Textcited by 31
- 2020A New Dataset for Natural Language Inference from Code-mixed Conversationscited by 29
- 2019Named Entity Recognition on Code-Switched Data: Overview of the CALCS 2018 Shared Taskcited by 24
- 2021Code-Mixing on Sesame Street: Dawn of the Adversarial Polyglotscited by 23
- 2020FinEst BERT and CroSloEngual BERT: less is more in multilingual modelscited by 20
- 2021DravidianCodeMix: Sentiment Analysis and Offensive Language Identification Dataset for Dravidian Languages in Code-Mixed Textcited by 18
- 2021BERTweetFR : Domain Adaptation of Pre-Trained Language Models for French Tweetscited by 9
- 2021NLP-CUET@LT-EDI-EACL2021: Multilingual Code-Mixed Hope Speech Detection using Cross-lingual Representation Learnercited by 7
- 2021Training dataset and dictionary sizes matter in BERT models: the case of Baltic languagescited by 7
- 2018How to evaluate sentiment classifiers for Twitter time-ordered data?cited by 5
- 2021Retweet communities reveal the main sources of hate speechcited by 5
- 2019Creating a Large Multi-Layered Representational Repository of Linguistic Code Switched Arabic Datacited by 4
- 2021Cross-lingual hate speech detection based on multilingual domain-specific word embeddingscited by 4
- 2021Call Larisa Ivanovna: Code-Switching Fools Multilingual NLU Modelscited by 2
Built on by
Citing papers per year: 2024: 2; 2025: 2.
4 papers.
- 2024What talking you?: Translating Code-Mixed Messaging Texts to Englishcited by 4
- 2025Beyond Monolingual Assumptions: A Survey of Code-Switched NLP in the Era of Large Language Models across Modalitiescited by 4
- 2024Gen-AI for User Safety: A Surveycited by 2
- 2025Rethinking Hate Speech Detection on Social Media: Can LLMs Replace Traditional Models?cited by 2
- 2025Beyond Monolingual Assumptions: A Survey of Code-Switched NLP in the Era of Large Language Models across Modalities8 Oct 2025
- 2025Rethinking Hate Speech Detection on Social Media: Can LLMs Replace Traditional Models?15 Jun 2025
- 2024Gen-AI for User Safety: A Survey10 Nov 2024
- 2024What talking you?: Translating Code-Mixed Messaging Texts to English8 Nov 2024