---
title: "OffMix-3L — paper by Goswami et al. (2023)"
description: "OffMix-3L tests how well classifiers identify offensive language in posts that mix Bangla, English, and Hindi, using human-written examples."
canonical: "https://research.elamur.ai/free/en/papers/goswami-2023-offmix-3l-novel-code-mixed/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/goswami-2023-offmix-3l-novel-code-mixed/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2023](https://md.research.elamur.ai/free/en/papers/2023/) / OffMix-3L: A Novel Code-Mixed Test Dataset in Bangla-English-Hindi for Offensive Language Identification

# OffMix-3L: A Novel Code-Mixed Test Dataset in Bangla-English-Hindi for Offensive Language Identification

Paper · 2023 · Dhiman Goswami, Md Nishat Raihan, Antara Mahmud et al.

**Authors:** [Dhiman Goswami](https://md.research.elamur.ai/free/en/authors/dhiman-goswami/), Md Nishat Raihan, Antara Mahmud, [Antonios Anastasopoulos](https://md.research.elamur.ai/free/en/authors/antonios-anastasopoulos/) and [Marcos Zampieri](https://md.research.elamur.ai/free/en/authors/marcos-zampieri/) · **Year:** 2023 · **Venue:** Proceedings of the 11th International Workshop on Natural Language Processing for Social Media · **Licence:** [CC BY 4.0 (ACL Anthology)](https://creativecommons.org/licenses/by/4.0/)

Proceedings of the 11th International Workshop on Natural Language Processing for Social Media · [licence](https://creativecommons.org/licenses/by/4.0/)

- [Publisher's page](https://aclanthology.org/2023.socialnlp-1.3/)
- [PDF](https://aclanthology.org/2023.socialnlp-1.3.pdf)
- [DOI 10.18653/v1/2023.socialnlp-1.3](https://doi.org/10.18653/v1/2023.socialnlp-1.3)

## Summary

A social media post can move between languages while making a single point. A system that flags offensive language has to make sense of the whole post, including words written in a different script or spelled informally. Most earlier datasets discussed by the authors cover mixing between pairs of languages. OffMix-3L gives researchers a test for posts that combine Bangla, [English](https://md.research.elamur.ai/free/en/topics/english/), and Hindi. The task is a form of [text classification](https://md.research.elamur.ai/free/en/concepts/text-classification/) in which each post receives one label, Offensive or Non-Offensive.

To collect examples of this particular language combination, the authors asked fluent undergraduate contributors to write posts in the style of social media. Contributors could choose everyday topics and switch languages where it felt natural. The authors screened the posts for material from all three languages. They then used two rounds of [linguistic annotation](https://md.research.elamur.ai/free/en/concepts/annotation/), keeping posts on which the readers in each round agreed. The released test set contains 1,001 posts, with 522 labeled Non-Offensive and 479 labeled Offensive. The authors call the material semi-natural because people composed it for the study. It includes informal features such as transliteration, where a word is written in a script different from the one ordinarily used for it.

OffMix-3L was designed for testing. For supervised training and development, the authors created a separate synthetic collection of 100,000 examples by applying code-mixing procedures to English offense-detection data. BanglishBERT, which had been pretrained in Bangla and English, scored 0.68 weighted F1 on OffMix-3L, the highest result in the comparison. English BERT reached 0.66, and mBERT led the multilingual group at 0.63. Given a task definition and asked to label the posts without worked examples, GPT-3.5 Turbo scored 0.57. Weighted F1 combines how reliably each class is predicted with how many of its examples are recovered, giving more influence to classes with more test examples.

The leading systems changed when the authors tested on held-out synthetic data. XLM-R and mBERT each scored 0.88 weighted F1 there, ahead of BanglishBERT at 0.86. The synthetic and human-written tests therefore give different pictures of which systems work best. The authors point to transliteration, spelling variation, and the prominence of Bangla in OffMix-3L as possible explanations for the human-written results. Their error analysis gives examples of the difficulty, while leaving open which of those features accounts for the differences between systems.

## Deep dive: OffMix-3L: A Novel Code-Mixed Test Dataset in Bangla-English-Hindi for Offensive Language Identification

OffMix-3L tests how well classifiers identify offensive language in posts that mix Bangla, English, and Hindi, using human-written examples. · about 31 minutes to read

**In this deep dive**

1. [The problem and its context](#dd-the-problem-and-its-context)
2. [The method, step by step](#dd-the-method-step-by-step)
3. [Experiments and results](#dd-experiments-and-results)
4. [What the ablations show](#dd-what-the-ablations-show)
5. [Limitations](#dd-limitations)
6. [What came after](#dd-what-came-after)

### The problem and its context

#### How language mixing changes the unit of analysis

OffMix-3L treats a post as the unit on which a decision has to be made. A post can contain several sentences, alternate languages within a phrase, or carry a thought forward in a different language. A word in one script may belong to a language typically written in another. The script, the language of an individual word, and the language or languages of the surrounding sentence are thus different pieces of information. Determining any of them leaves a further question about what the entire post communicates.

The authors use *code-mixing* for the presence of linguistic material from several languages within a stretch of speech or writing. They describe *code-switching* as a more deliberate alternation between languages. They also acknowledge that these terms frequently overlap in use. For the purposes of collecting OffMix-3L, the inclusion condition concerns what appears in a post. A contributor's intention at a particular switch, or a decision about whether an individual switch was spontaneous, is outside the labeling task.

The paper discusses reasons why this form of expression is ordinary in multilingual communities. Language choice can signal affiliation with a group or help a speaker move among social settings. A word from another language can supply an expression that comes readily to mind or that the speaker finds better suited to a concept. The authors also point to borrowing in settings ordinarily described as monolingual. These examples matter because the appearance of several languages is a feature of how the message was composed. Treating each switch as a departure from an otherwise uniform message would miss the way the writer put the thought together.

The study sits within [multilingual and cross-lingual NLP](https://md.research.elamur.ai/free/en/topics/multilingual-nlp/), where support for several languages can mean different things. A dataset can contain separate posts written wholly in different languages. A system can be pretrained on text from several languages and later evaluated on each separately. OffMix-3L is designed around a further case in which the same evaluation item contains material from Bangla, English, and Hindi. The distinction affects what evidence a successful evaluation supplies. Recognition across a collection of monolingual texts leaves open what happens when the signals relevant to a single classification decision are spread across languages within the message.

#### Why offense is the label of interest

The authors study offensiveness as a judgment made about a complete text. They do not ask readers to identify the precise expression responsible for that judgment. For instance, a phrase may identify a subject, while what the writer says about that subject comes later and in another language. The label attaches to the message that results from putting those parts together. The task requires a prediction about offense, alongside whatever ability the system needs to handle languages, scripts, and informal forms.

The choice of a binary label also makes the task more specific than a general judgment about the quality or safety of an online conversation. The related work discusses abuse, aggression, hate speech, and offensive language. These terms reflect the tasks of the respective studies. OffMix-3L supplies labels for offense at the post level, so its scores measure agreement with those labels. A study that identifies an offensive span, for instance, asks for a location within the text. A post-level label alone provides no such location, even when a reader agrees that the post should be flagged.

Offensiveness also has an interpretive component that the collection procedure has to address. A post may mention insulting or troubling subject matter in order to discuss it. Someone deciding whether it is offensive may pay attention to the writer's stance, the target of an expression, or the tone of a closing remark. Different readers can give these features different weight. This makes the agreement procedure central to the benchmark: it determines which classifications the authors treat as sufficiently settled to use as reference labels.

#### What earlier work had covered

The linguistic studies cited by the authors already discussed Bangla with English, Hindi with English, and Bangla with Hindi. The resource gap they identify concerns offensive language detection on posts containing the full combination. A set of Bangla–English posts and a set of Hindi–English posts would provide useful evidence about both language pairs. Whether a classifier trained or tested on those pairs can handle a message involving all three remains a distinct empirical question. The paper presents OffMix-3L as an early dataset for that condition and qualifies its priority claim with the authors' knowledge of the field.

For Bangla and English, the authors describe work by Jahan and colleagues that studied abusive Facebook comments containing mixed and transliterated text. They also describe a collection by Wadud and colleagues with 2,200 instances. Transliteration was thus already a research issue in a bilingual setting. Adding Hindi changes the collection requirement and the range of linguistic material a system can encounter in a single post. It does not make transliteration itself a new phenomenon.

The paper describes a larger body of work for Hindi and English. One study represented 10,000 collected examples using [fastText](https://md.research.elamur.ai/free/en/papers/joulin-2016-fasttext-zip-compressing-text-classification/). Other work drew on Facebook or Twitter, including the [Hindi–English aggression corpus](https://md.research.elamur.ai/free/en/papers/kumar-2018-aggression-annotated-corpus-hindi-english/). These examples establish that social media was already a source of relevant mixed-language material. OffMix-3L changes the acquisition problem by asking for a particular combination inside each post. The authors considered this condition difficult enough to retrieve from existing online material that they opted to commission posts.

Earlier Hindi–English studies also used different ways of representing a message. The paper describes FA-Net as combining attention to local features with attention to sequential features. It describes another approach that starts from characters and processes the resulting sequence before applying attention. These approaches indicate the level at which earlier research looked for useful signals. A local expression can carry a clue, spelling can affect how a word is represented, and a sequence of expressions can change how a clue should be read. OffMix-3L shifts the emphasis to making a common test available across systems with different language coverage and training histories.

Research on Dravidian languages and other Indian-language settings forms another part of the background. The paper cites work on offensive language found in code-mixed comments and posts, on romanized writing, and on identifying the spans of text that carry offense. The authors distinguish this activity from the particular Bangla–English–Hindi evaluation they wanted to conduct. Their contribution is a resource with an explicit inclusion condition and a shared set of reference decisions. That makes it possible to examine how systems that were originally prepared for different languages behave when they face the same inputs.

#### Why the paper starts with a test set

Collecting material that satisfies both the language criterion and the agreement criterion requires people who can write or read all the relevant languages. The authors describe such collection as costly. They present the resulting dataset as a standalone benchmark, concentrating the human effort on examples to evaluate against. A supervised experiment is then possible if its training examples come from elsewhere.

This arrangement gives the paper a particular scientific question. It asks how well systems can carry over an offense decision learned from algorithmically mixed material to posts written by people. The training data provide the labels and some exposure to the target language combination. Human-written evaluation checks whether the resulting decisions generalize to a different way those languages are combined. The authors also evaluate on synthetic material to see how the same broad set of systems fares when that change in source is absent.

### The method, step by step

#### Collecting posts under a language constraint

The authors begin by recruiting 10 undergraduate contributors who are fluent in Bangla, English, and Hindi. They ask each person to compose 250 to 300 posts in the style of social media. This range describes the assignment for each contributor. The subsequent dataset counts concern posts that made it through particular stages of screening and labeling. Keeping the assignment separate from those counts matters because a draft can satisfy the writing request while failing the requirement for inclusion in the benchmark.

The writing brief gives contributors discretion. Politics, sports, education, and rumors circulating on social media are among the example topics. Contributors can use whatever language feels appropriate as they write and switch when comfortable. The authors encourage emojis, hashtags, and transliteration. In effect, they constrain the intended setting and linguistic material while leaving sentence construction and specific content to the writers. They report no quota that would require each language to occupy a fixed share of each post.

This procedure gives the researchers control over how the material is acquired. They say that locating the required combination on social platforms would be difficult. They also cite ethical concerns about using publicly available posts. Here they know the material was produced for the collection, and they can direct the task towards the forms they need. The tradeoff follows directly from the setup: the text resembles an online post by design, and the writer is working under a research brief.

The authors describe the resulting writing as semi-natural. The term identifies the source of the language choices. People decided how to express a message and when to change languages, while the researchers created the conditions under which they wrote. Later in the experiments the paper calls this the natural test set. In that comparison, *natural* refers to the human-written side of the experiment. The other side consists of posts generated by applying code-mixing procedures to existing labeled material.

#### Screening for Bangla, English, and Hindi

The next step is language identification. The authors use the Python tool langdetect and report obtaining 1,734 samples that contain a word or part of a word from each of the three languages. This is the pool they send for labeling. A post can qualify with a limited amount of material from one of the languages. The criterion establishes presence, so the benchmark can also contain posts in which one language dominates and the other languages make brief appearances.

A token is a unit counted in a text representation. Depending on how the material is segmented, a unit can be a word or part of a word. The paper refers to both in its description of the screen. This distinction matters for informal writing because whitespace and script changes need not line up neatly with all the language boundaries a reader would recognize. The paper names the screening tool and the presence condition, supplying the purpose of the operation without describing a detailed decision procedure for every ambiguous form.

There is also a difference between the presence of a language in a post and the assignment of every token to a named category. The dataset statistics include an Other category for forms outside the reported Bangla, English, and Hindi bins. The authors say many such forms are transliterations, with emojis, hashtags, and misspellings also represented. A post can therefore pass the language screen while containing a substantial amount of material whose category is less straightforward.

#### Establishing the reference label

The first group of readers consists of three students with backgrounds in social science, computer science, and linguistics. All are fluent in the languages used in the study. They each label the 1,734 screened posts as Offensive or Non-Offensive. The paper reports 63.7% raw agreement for this round. Raw agreement records how frequently the readers give the same judgment, without adjusting for agreement they could reach by chance.

The authors move 1,106 posts forward, the cases on which all three readers agree. Each selected post has therefore passed two quite different checks by this point. Its text satisfies the screen for language presence, and its assigned label has unanimous support from the first reader group. The second check makes the first group part of the definition of the eventual evaluation sample. Their disagreements affect which posts receive further review.

The second group consists of two NLP researchers who are also fluent in Bangla, English, and Hindi. They label the posts that passed the first round. The authors report 91% raw agreement and a Cohen kappa of 0.82 at this stage. Cohen kappa adjusts agreement between two readers by taking account of how often they would be expected to agree given their respective use of the labels. The raw percentage and kappa therefore describe related aspects of the same set of second-round judgments.

A post is retained after agreement in the second round, yielding 1,001 test items. The paper describes unanimity within each round and the order in which the rounds were applied. It gives no separate count of how often the second pair's common decision matched the first group's common decision. The documented selection rule is consequently best described in terms of the checks each group applied. It would take more information to characterize agreement across the groups for each retained item.

The agreement measures apply to different pools. The first group saw all screened material. The second group saw posts that had already elicited unanimous decisions. It is reasonable to interpret the second-round scores as describing agreement on a selected subset of posts. Reader experience and differences in the examples under review both accompany the change from one round to the next.

The paper also describes provisions for the people creating and labeling the material. It reports that contributors and readers were paid and attended sessions with a psychologist, one before the work and one after it. These provisions are part of the authors' account of collecting a resource that required people to produce or repeatedly read potentially offensive text. The final dataset was made freely available under the name OffMix-3L.

#### Preparing labeled material for training

The supervised comparison needs examples on which a classifier can learn the two output categories. The authors turn to the English datasets OLID and SOLID, which use labels compatible with OffMix-3L. OLID is associated with the [OffensEval task](https://md.research.elamur.ai/free/en/papers/zampieri-2019-semeval-2019-task-6-identifying/), and the paper identifies SOLID as a large offensive language resource prepared with semisupervised methods. The useful commonality for this experiment is the meaning of the top-level labels. It allows the authors to construct mixed-language training inputs while carrying forward the classification attached to the source item.

The paper reports a random selection of 100,000 source instances with equal representation of Offensive and Non-Offensive. The balance is a property of the training material by construction. It gives each class equal representation when creating synthetic examples. The test label distribution is the outcome of a different process, because the human-written dataset is screened and filtered through agreement. The authors describe no matching of individual synthetic posts to particular OffMix-3L posts.

For conversion into mixed text, the authors name two procedures, the [Random Code-mixing Algorithm](https://md.research.elamur.ai/free/en/papers/krishnan-2022-cross-lingual-text-classification-transliterated/) and r-CM. They use these to build a synthetic collection in Bangla, English, and Hindi. The role of each procedure in the overall pipeline is to make labeled English inputs resemble the desired multilingual training condition. The paper does not lay out a formula for selecting positions to switch, list per-procedure example counts, or report separate training results for the generators.

The construction assumes that the offense label can travel with the transformed item. In other words, the transformed text is used as an example of the same class indicated by its source. That assumption is important to interpreting transfer. The synthetic set gives the system a large amount of training material, but the relationship between the form of a generated sentence and its intended label is inherited from the construction. The authors do not describe reannotating transformed items with the reader panels that judged OffMix-3L.

There are accordingly two streams of data preparation, with different starting points and different roles. The human-written stream starts with composition under a brief, followed by language screening and agreement filtering. Its endpoint is the benchmark. The synthetic stream starts with an existing offense label and alters the language composition of the corresponding text. Its main endpoint is training and development material, with a held-out synthetic portion also used in a separate evaluation.

Preparing OffMix-3L and its synthetic training material The steps in order.

#### Preparing systems to make the same decision

The comparison starts from pretrained systems, whose earlier training has already given them ways of representing text. Task [fine-tuning](https://md.research.elamur.ai/free/en/concepts/fine-tuning/) adapts such a system using labeled examples for the decision of interest. Here the basic decision is whether the input belongs to Offensive or Non-Offensive. The paper separates systems by the range of languages in their pretraining and identifies English systems that already had offense-related specialization. These are overlapping properties of training histories, and the categories help readers interpret which kind of preparation went into each result.

The general monolingual systems include English BERT, [DistilBERT](https://md.research.elamur.ai/free/en/papers/sanh-2019-distilbert-distilled-version-bert-smaller/), and [RoBERTa](https://md.research.elamur.ai/free/en/papers/liu-2019-roberta-robustly-optimized-bert-pretraining/). BanglaBERT and HindiBERT represent prior training in Bangla and Hindi respectively. The English task-specialized systems are HateBERT and fBERT. They give the experiment examples of prior preparation for abusive or offensive content, alongside systems whose earlier training was general. All are evaluated on a task with the same output categories.

The bilingual entries offer two different pairings. BanglishBERT was trained on Bangla and English, whereas HingBERT was trained on Hindi and English. This is a useful comparison because English is shared and the other language differs. The comparison still involves independently developed systems, with their own training data and design choices. Its direct observable is a difference in performance between those systems on a common test. The cause of that difference requires further evidence.

The multilingual entries cover broader sets of languages. The paper gives 104 languages for mBERT and 100 for XLM-R. [IndicBERT](https://md.research.elamur.ai/free/en/papers/kakwani-2020-indicnlpsuite-monolingual-corpora-evaluation-benchmarks/) covers 12 Indian languages according to the paper, and [MuRIL](https://md.research.elamur.ai/free/en/papers/khanuja-2021-muril-multilingual-representations-indian-languages/) covers 17. The authors identify Bangla, English, and Hindi as included for these entries. This comparison asks how systems with broader prior coverage perform on a specific combination at test time.

The authors say they tune hyper-parameters to help prevent overfitting. Hyper-parameters are settings chosen for training, such as settings controlling how the system is adapted to the labeled examples. A development set gives investigators material on which to make those choices before a final test. The paper describes the synthetic collection as serving the training and development roles. It does not publish a complete set of settings for each run or spell out the search that produced them.

A separate route gives GPT-3.5 Turbo the task in a prompt. The authors call this zero-shot because the prompt gives instructions and a definition, with no labeled demonstrations of the expected decision. The sample prompt presents the system with the role of a text classifier and associates offense with rudeness or insults that can upset or embarrass people. It asks for one of the two benchmark labels. The authors use the API to obtain predictions on the test posts. The use of the same labels and test material makes those predictions scorable beside the supervised results, even though the way the system was prepared for the decision differs.

### Experiments and results

#### What was measured

OffMix-3L contains 522 Non-Offensive and 479 Offensive posts. The respective shares reported in the dataset card are 52.15% and 47.85%. The two classes are close in size, with Non-Offensive somewhat more frequent. These figures describe the reference labels of the agreed test posts. The earlier pool of screened posts and the synthetic training collection have their own selection processes.

The dataset card also reports 87,190 tokens and 18,787 types across the test set. Tokens count occurrences, so a form that occurs repeatedly contributes each appearance. Types count distinct forms under the counting procedure. The reported average is 87.10 tokens per post, with a standard deviation of 20.58. The standard deviation describes the spread of post lengths around that average. These counts give some sense of what a classification input can contain: the language requirement is applied to whole posts, which can have room for multiple sentences and several changes of language.

Among the named language categories, Bangla accounts for 31,228 tokens and 7,714 types, with an average of 31.20 tokens per post and a standard deviation of 8.60. Hindi accounts for 14,694 tokens and 1,413 types, with an average of 14.68 and a standard deviation of 5.74. English accounts for 6,690 tokens and 1,135 types, with an average of 6.68 and a standard deviation of 3.05. The authors connect the prominence of Bangla among the named languages to the contributors' first language.

Other is a substantial category in its own right, with 34,578 tokens and 8,645 types. Its reported average is 34.54 tokens per post, with a standard deviation of 10.98. The authors describe its share as almost 39% of the dataset. It contains a mixture of phenomena. A transliterated word can still carry recognizable Bangla, English, or Hindi content for a reader, while a hashtag, emoji, or misspelling may enter the same category for a different reason. The counts describe the representation of the data as classified in the dataset card. They do not recover the intended language of each Other token.

#### How to read weighted F1

The headline metric is weighted F1. For a given class, precision asks how many posts assigned that label by the system really carry it in the reference data. Recall asks how many of the posts with that reference label the system succeeds in finding. F1 brings precision and recall together, so doing well on only one side limits the resulting score. Weighting the class-level F1 scores by their representation in the evaluated set gives more influence to the class with more reference examples.

This makes the scoring different from a count of correct decisions. A system can return an Offensive label sparingly, making relatively few false accusations of offense while missing many posts the readers marked as offensive. A system can also assign the label readily and recover a larger share of the offensive posts while flagging more reference Non-Offensive posts. Weighted F1 gives a common aggregate for ranking the systems. The two patterns of errors remain different, and their frequency cannot be read from the aggregate alone.

The scores are reported on two evaluation sources. The main result uses OffMix-3L as the human-written test, with synthetic data for supervised learning. The prompting result in that comparison is obtained from instruction-based labeling. In the synthetic experiment, learning and testing both take place on portions of generated material. The paper describes a 60-20-20 division for training, evaluation, and testing in its discussion of separate experiments. Its reported tables give the synthetic-to-OffMix-3L and synthetic-to-synthetic scores. Although it also mentions splitting the natural data, it gives no separate results for training and testing completely on partitions of that material.

#### Training on synthetic data and testing on OffMix-3L

BanglishBERT leads the human-written test with 0.68 weighted F1. English BERT follows at 0.66 and is the strongest general monolingual entry. mBERT reaches 0.63, the highest score among the multilingual systems in this test. These results put systems with three different pretraining profiles near the top. The best score belongs to Bangla–English pretraining, a general English system comes next, and a multilingual system follows.

Weighted F1 on the human-written OffMix-3L test BanglishBERT leads the comparison, with English BERT and mBERT next.

**The numbers**

| System or setting | Weighted F1 |
| --- | --- |
| BanglishBERT (this paper) | 0.68 |
| BERT | 0.66 |
| mBERT | 0.63 |
| HingBERT | 0.60 |
| MuRIL | 0.60 |
| HateBERT | 0.60 |
| XLM-R | 0.57 |
| GPT 3.5 Turbo | 0.57 |
| HindiBERT | 0.43 |

The chart includes the leading results and systems that illustrate differences in language coverage, prior task specialization, and prompting. Among the additional entries in the paper's natural-test table, fBERT and RoBERTa each score 0.58. DistilBERT scores 0.57, IndicBERT 0.55, and BanglaBERT 0.54. The general monolingual results run from HindiBERT at 0.43 to English BERT at 0.66. The outcomes vary even among systems assigned to the same broad category.

HingBERT, MuRIL, and HateBERT tie at 0.60 weighted F1. The same aggregate is achieved by a Hindi–English system, a multilingual system for Indian languages, and the better of the task-specialized English entries. This gives an immediate example of why a single score does not reveal what evidence a classifier used. The preparation of the systems differs substantially, and the paper does not report whether they score correctly on the same posts within each class.

GPT-3.5 Turbo reaches 0.57 under the paper's zero-shot prompt. That puts the reported result alongside the scores for DistilBERT and XLM-R on the same test. It answers a specific practical question about giving the system a plain-language description of the offense task and asking it to return a label. The supervised systems have task examples during adaptation. The prompting system is given a verbal description in the reported setup. The comparison therefore includes the choice of how to specify the task, as well as the choice of system.

The BanglishBERT result is particularly relevant to the purpose of the benchmark. Prior training on two languages can be effective on a task whose items contain three, even when systems with all three in their reported pretraining inventory are available. The finding concerns this benchmark and training procedure. A full inventory tells a reader which languages appeared in pretraining, while the score reflects how the resulting classifier handles these particular posts after preparation for the offense task.

#### Training and testing on synthetic data

On the synthetic test, XLM-R and mBERT share the highest weighted F1 at 0.88. BanglishBERT follows at 0.86. The broader-coverage systems can therefore lead within the generated data, despite the different ordering on OffMix-3L. The top synthetic results also occur under a training-and-testing setup in which both sides derive from the synthetic collection.

Weighted F1 on the held-out synthetic test XLM-R and mBERT share the lead, ahead of BanglishBERT.

**The numbers**

| System or setting | Weighted F1 |
| --- | --- |
| XLM-R (this paper) | 0.88 |
| mBERT | 0.88 |
| BanglishBERT | 0.86 |
| BERT | 0.83 |
| HingBERT | 0.82 |
| IndicBERT | 0.82 |
| MuRIL | 0.81 |
| BanglaBERT | 0.76 |
| HindiBERT | 0.73 |

Among the remaining synthetic-test results, fBERT and HateBERT each score 0.81, RoBERTa scores 0.80, and DistilBERT scores 0.79. The paper does not list a synthetic-test result for GPT-3.5 Turbo. Its reported result belongs to the human-written test only. The two tables consequently support a direct comparison across evaluation sources for the supervised entries they have in common.

Several systems illustrate different aspects of the change in evaluation. BanglishBERT is near the top in both settings, and its lead occurs on the human-written test. mBERT is the strongest multilingual entry on OffMix-3L and shares the lead on synthetic data. XLM-R shares that synthetic lead, while its human-written score is 0.57. These outcomes show both an overall change in scores and changes in the relative ordering of systems. The two effects matter separately when the experiment is used to choose a system for further study.

The authors' synthetic experiment provides an estimate of how well the task can be learned and tested within the constructed source. A held-out synthetic sample can differ from training examples while retaining the same broad origin in English labeled data and the same approach to generating language mixtures. OffMix-3L changes that origin. Its texts start with a person's decision about what to write, and another person's decision supplies the reference label. Differences in wording, topics, switches, and standards of judgment can all accompany the move between the test sources. The experiments measure the combined effect of evaluating under those different conditions.

### What the ablations show

The paper reports no component-removal ablations. Its comparative evidence comes from changing the test source, evaluating systems with different language and task preparation, and looking at recurring features of the human-written data and at posts that were misclassified. These analyses address different parts of the result. The synthetic comparison shows how the ranking changes across evaluation conditions. The token counts describe features that could contribute to the change. The mistaken classifications show what the task can look like on an individual post.

#### Changing the source of the test posts

The closest comparison to a controlled change is to examine the supervised systems across the synthetic and human-written tests. The supervised comparisons use the same basic classification labels and rely on synthetic training examples. The change in the test source is accompanied by a change in the score and, for some systems, a change in standing. This establishes something concrete about evaluation: a result obtained on synthesized examples leaves substantial uncertainty about performance on OffMix-3L.

The difference does not isolate a particular generator, language, or script. The synthetic test is prepared from existing label-bearing English material. The human-written test is produced through a contribution and annotation exercise. That means a switch in test source also changes the way the offense label is established, the possible distribution of writing styles, and the conditions in which the wording was selected. A comparison designed to attribute the difference specifically to transliteration would need cases in which that feature varied under otherwise comparable conditions. The paper's comparison is wider in scope.

The result also gives perspective on the role of broad pretraining. XLM-R and mBERT share the lead in the synthetic evaluation. mBERT remains the strongest of the multilingual entries on the human-written test, while XLM-R ends up further down the ranking. The category of multilingual pretraining thus contains meaningfully different outcomes. Comparing language counts on their own would discard information that the evaluation supplies about how these particular systems behaved.

#### The authors' account of spelling and language coverage

The authors draw attention to Other tokens because so much of OffMix-3L is counted there. They suggest that transliteration presents a challenge when pretraining offered little exposure to the relevant forms. A reader who knows the languages may recognize a word written in an unusual script even when its written shape differs greatly from the version a text system ordinarily encounters. Misspellings and typographical errors add another source of unfamiliar forms. The paper identifies these as possible reasons that recognizing relevant words in OffMix-3L can be hard.

The category is broad enough that its size alone cannot say how often any particular cause of error occurs. A transliterated expression may carry the central judgment of a sentence. An emoji may affect its tone. A hashtag may add a comment or signal the post's subject. All can be counted under Other. It would take a more detailed analysis of the token forms and the system's errors to determine when each phenomenon mattered. The aggregate count shows that unfamiliar-looking material deserves attention in interpreting the scores.

The authors also connect the bilingual ranking to which languages dominate the recognized tokens. Bangla appears more often than Hindi among the named language categories, while English belongs to both bilingual pretraining pairs. The authors suggest that BanglishBERT is well suited to the prominence of Bangla and English in this setting and use that account to explain its advantage over HingBERT. The evidence directly supports the distributional observation and the difference in scores. An attribution to language exposure remains an interpretation because the two systems differ in other respects as well.

The data card gives corpus-wide counts. A token counted toward a language can be central to the offense decision or incidental to it. For instance, a long description can supply the setting for a short closing line that determines how a reader evaluates the message. If the description and the closing line use different languages, total token frequency may tell only part of the story. The paper has no breakdown of weighted F1 according to which language carries the decisive expression, so this alternative remains open within the authors' broad explanation.

#### What the mistaken classifications look like

One appendix example has a Non-Offensive reference label and concerns enthusiasm about joining a book club. The writer looks forward to sharing views, hearing others' reactions, and discovering more reading. The example moves among languages and writing forms and includes hashtags related to the activity. The point of the post is benign under the benchmark label, and the paper presents it among the posts the tested systems got wrong. It illustrates a false flag on content whose meaning becomes straightforward when the reader follows the whole message.

A second example has an Offensive reference label. The text combines discussion of young people and adult content on social media with criticism of the behavior it describes. It contains stretches in different languages and different writing forms, including a closing comment and hashtags. The appendix marks it as a missed offensive item. Its structure shows how a text can move from a broader discussion of a social issue to more pointed evaluation. The paper supplies the reference decision but leaves the reason for that decision unstated at the level of particular phrases.

Together the examples show errors in both directions. A system can flag a friendly invitation to discuss books, and it can miss a post readers selected as offensive. They also show why a responsible reading of the appendix has to distinguish an example from a causal diagnosis. Several features vary within each post, and the authors give no counterfactual versions with spelling corrected, scripts standardized, or individual phrases replaced. The examples let readers inspect the complexity of a mistake while leaving the trigger for each prediction unresolved.

### Limitations

#### Limits the authors state

The authors describe the source of the posts as the principal limitation. Fluent contributors generated the material under study conditions. The work therefore captures the expressions those writers chose when asked to imitate an online genre. The writers had discretion about topics, languages, and stylistic features, which gives the posts a human basis. Their assignment also makes the conditions of composition different from those on a social platform, where people write to actual audiences and respond to real conversations.

The authors give a practical reason for this design. Searching for posts with the required mixture presented difficulties, and the controlled collection gave them a way to obtain enough examples to build a benchmark. The design also addressed concerns they associate with collecting online material. Those reasons explain the acquisition choice. The resulting evidence is centered on the benchmark the researchers were able to assemble, with real-platform coverage left for future evaluation.

The other stated limitation is size. The authors explain that it is costly to commission and label material requiring fluency in all the target languages. They present the dataset as suitable for testing and describe its current size as limiting for training. Their future plans include expanding OffMix-3L so it can support both roles. They also describe work towards pretraining specifically for the Bangla–English–Hindi mixture. The reported experiments evaluate the systems and data available for the study, and the paper gives no outcome for either planned extension.

#### Limits that follow from the collection design

The contributions come from 10 writers who share Bangla as a first language. This gives the benchmark a particular linguistic perspective. A group comfortable with the same three languages could use a different dominant language, switch in different places, or choose different conventions for transliteration. A collection assembled from public posts could likewise combine registers and topic distributions differently. The OffMix-3L scores characterize performance on the posts in this study. Establishing similar behavior across other speaker groups would require new examples.

The use of a language-identification filter creates a further selection condition. The posts in the benchmark are those that the procedure accepted as containing material from all target languages. The paper gives no separate validation of the filter against a hand-labeled sample of accepted and rejected items. It therefore leaves open the rate at which unusual spellings or transliterations could have affected inclusion. Counts for the accepted set show what reached evaluation. They give little information about language combinations the screen may have failed to recognize among the drafts.

Filtering for agreement similarly changes what is represented in the final test. It gives the benchmark reference decisions with support from multiple fluent readers. Simultaneously, the resulting scores concern cases that made it through that process. Content near the boundary between the labels, or cases where the interpretation depends heavily on knowledge of an audience or conversation, may be more likely to provoke disagreement and be excluded. The actual prevalence of such cases among the discarded posts is unreported. The design establishes a scope for the result rather than an estimate of how hard all disputed posts would be for a classifier.

The second-round agreement statistics are conditional on the first-round filter. They document consistency among the two researchers on the cases the procedure routed to them. A comparison to the first group's agreement would have a different meaning if both groups had independently read the same full set of posts. Since the paper uses successive filtering, the rise in agreement cannot be attributed solely to greater expertise or to particular labeling instructions. The change in the pool of posts is part of the explanation a reader has to consider.

#### Limits that follow from the training and evaluation setup

The training label and test label are established differently. A synthetic example takes its category from an English source item that has been transformed. An OffMix-3L post obtains its category through judgments of the composed text. The experimental scores combine the transfer between those label-generation procedures with transfer between writing styles. A test on paired versions of the same labeled content could examine a narrower transformation, but no such paired comparison is reported.

The paper names the procedures used to mix the synthetic material and says it tuned hyper-parameters. Its description leaves several details open for a reader who wants to trace the performance differences back to implementation choices. The contribution of each generator, the treatment of language and script at particular substitutions, and the selected settings for each classifier are not separately reported. This limits the comparisons a reader can draw from the scores. The results support the reported ranking under the authors' setup, while a reproduction or a test of individual training decisions would need more detail.

Weighted F1 also limits what can be said about downstream behavior. The tables do not give separate precision and recall for the Offensive label or counts for each kind of mistake. The appendix demonstrates that mistakes occur in both directions, but selected examples do not establish their prevalence. A moderation workflow would have distinct reasons to care about benign posts that get flagged and offensive posts that go undetected. The benchmark compares aggregate classification performance and leaves those error rates unresolved.

The tables give point scores. The paper does not report variation across repeated fits, confidence intervals, or a significance analysis for the rankings. The difference in reported scores is enough to say which system placed higher in the experiment. Whether a close ordering would recur under another sample of contributors, another fit, or additional test posts remains unmeasured. This matters especially when the paper's result is used to reason about language coverage, since the closest competitors differ in more than a single pretraining property.

Finally, the prompted result is tied to the zero-shot formulation the authors used. The paper shows a sample instruction and reports the score obtained with that approach. It offers no comparison across wordings, example-based prompts, or other ways of describing the label boundary. The comparison therefore tells a reader how the reported prompt performed beside the supervised entries. The wider question of how well instruction-based classification could do under different task formulations is left open.

### What came after

#### From a specific test to a broader survey

[Beyond Monolingual Assumptions](https://md.research.elamur.ai/free/en/papers/sheth-2026-beyond-monolingual-assumptions-survey-code/) takes code-switched NLP as a broader survey topic and covers multiple modalities. OffMix-3L gives that topic a concrete text-classification case. Its individual inputs contain several languages, so a system's ability to process each language in isolation would answer a different evaluation question. The study also shows how the origin of test examples can change the ranking when the nominal task and target languages are held in view.

The connection is one of scope. OffMix-3L sets up a specific multilingual evaluation and documents the consequences of training synthetically and testing on human-written posts. The survey places code-switched processing in a field-wide setting across modalities. Its citation connects OffMix-3L to that broader discussion. The survey's stated scope does not establish a new result on OffMix-3L or a replication of the paper's comparisons.

#### From synthetic training data to targeted augmentation

[FLAICOL](https://md.research.elamur.ai/free/en/papers/mohammed-2026-flaicol-flip-point-led-augmentation/) focuses on augmentation for imbalanced code-mixed offensive language detection. Augmentation adds training material by producing examples from existing resources or examples. That makes the later work relevant to the training side of OffMix-3L. The earlier paper used automated mixing to create a balanced training collection because its human-written resource was reserved for evaluation. FLAICOL's stated problem is how to augment data when class imbalance is itself a feature of the task.

The shared issue is where to obtain useful additional examples for offensive language detection in mixed text. OffMix-3L pairs broad synthetic construction with a separate human-written test, revealing how much the evaluation can depend on the source of its examples. FLAICOL identifies flip-point-led augmentation as its approach to the imbalanced setting. The citation connects the studies at the level of that research problem. Its stated focus leaves open whether it used the OffMix-3L test set, adopted either of the earlier code-mixing procedures, or reported a score directly comparable with the original benchmark.

## Cite

Cite as Dhiman Goswami, Md Nishat Raihan, Antara Mahmud, Antonios Anastasopoulos and Marcos Zampieri. 2023. OffMix-3L: A Novel Code-Mixed Test Dataset in Bangla-English-Hindi for Offensive Language Identification. Proceedings of the 11th International Workshop on Natural Language Processing for Social Media.

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.18653/v1/2023.socialnlp-1.3](https://doi.org/10.18653/v1/2023.socialnlp-1.3)

```bibtex
@inproceedings{goswami2023offmix,
  title = {{OffMix-3L: A Novel Code-Mixed Test Dataset in Bangla-English-Hindi for Offensive Language Identification}},
  author = {Dhiman Goswami, Md Nishat Raihan, Antara Mahmud, Antonios Anastasopoulos and Marcos Zampieri},
  booktitle = {Proceedings of the 11th International Workshop on Natural Language Processing for Social Media},
  year = {2023},
  doi = {10.18653/v1/2023.socialnlp-1.3},
  url = {https://doi.org/10.18653/v1/2023.socialnlp-1.3}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
