Elamur Research

BanTH: A Multi-label Hate Speech Detection Dataset for Transliterated Bangla

Paper · 2025 · Fabiha Haider, Fariha Tanjim Shifat, Md Farhan Ishmam et al.

Summary

Bangla speakers frequently write online using Latin letters. Spelling can vary from one writer to the next, and a comment can move between Bangla and English without changing scripts. Both features complicate an already difficult task. A system has to work out what the comment says before deciding whether it is hateful and whom or what it attacks. The authors introduce BanTH, a dataset of 37,350 YouTube comments, to study those decisions in transliterated Bangla. They present it as the first dataset for this variety of Bangla that lets a hate speech classifier assign several categories to the same comment.

Every comment has a Hate or Non-Hate label. A hateful comment can also carry multiple labels, such as Political and Gender, when it attacks someone on both grounds. The categories also cover personal insults, threats or encouragement of violence, and attacks based on religion, origin, or appearance. Native Bangla speakers familiar with informal Latin-script writing annotated the comments. Domain experts helped resolve ambiguous cases. The resulting benchmark measures both whether a classifier detects hate and whether it recovers the particular combination of labels assigned by the annotators.

The authors compare training classifiers on the labeled comments with asking GPT-3.5 or GPT-4o to classify comments from instructions. Some trained classifiers first undergo further pretraining on unlabeled transliterated Bangla. Among those systems, TB-mBERT leads on the binary task and on exact matches for the multi-label task, while TB-BERT leads the trained classifiers in multi-label macro-F1. GPT-4o with examples in its prompt achieves the highest multi-label macro-F1 in the benchmark, 39.53%, but its subset accuracy, the share of comments whose complete label set it predicts correctly, is 26.76%. TB-mBERT scores 54.71 on subset accuracy.

The paper also tests prompts that ask GPT-4o to convert a comment into standard Bangla or English before classifying it. Some of these prompts improve on direct classification without examples, especially on exact label-set matches and on the rate of individual label errors. The comparison depends on the metric. A direct step-by-step explanation prompt still leads the zero-shot multi-label macro-F1 results in the main benchmark. The examples show why conversion can help or hurt: it can make the difference between criticism and abuse clearer, or it can remove or introduce a detail that changes how the comment is judged.

Deep dive: BanTH: A Multi-label Hate Speech Detection Dataset for Transliterated Bangla

BanTH benchmarks hate speech detection in Bangla written in Latin script, comparing trained classifiers with prompts that translate before classifying. · about 33 minutes to read

The problem and its context

The script is only part of the problem

A Bangla comment typed in Latin letters is still Bangla. A reader who knows the language may recognize a familiar expression even if its spelling differs from the form another writer would use. A classifier that has largely encountered formal Bangla faces a different situation. It may have little experience with those spellings, the conventions of informal online writing, or the way English words are used inside Bangla sentences. Seeing familiar Latin letters gives it little assurance that it has understood the comment.

The paper places this difficulty within research on low-resource languages. The authors use scarcity in the sense of available material for language technology. Bangla has a large speech community, but the amount and kind of text available for a computational task vary by written form. A system may have substantial exposure to ordinary Bangla script and relatively little exposure to Bangla written the way people type it in YouTube comments. Adding more formal text could leave that particular gap mostly intact.

Transliteration and translation address different parts of the problem. Back-transliteration starts from the Latin-script comment and tries to recover a written Bangla form. Translation into English expresses the meaning in another language. Both can make an unfamiliar input easier for a classifier to handle, but both involve interpretation. A Latin spelling can admit more than one reading, especially if the writer uses an abbreviation or a dialect expression. An English rendering also has to convey tone and social meaning, which may depend on how the writer addresses someone or on the connotations of a local term.

The paper treats this as a problem in natural language processing and uses hate speech to ask what happens when sparse exposure to a written variety affects a decision about meaning. A classifier can recognize a word associated with religion or politics and still miss whether the writer is attacking a community, criticizing a policy, or merely identifying someone. Conversely, it can understand the broad topic without recovering an insult carried by a small part of the sentence. The difficulty of detecting hate therefore persists even after the system identifies the language.

From finding hate to describing it

In the paper’s account of earlier work, a basic detection task asks whether a text contains hate. A binary label is appropriate for that question. Other tasks ask the classifier to choose a category, such as the group at which a statement is directed. If the categories must be mutually exclusive, the answer has to select a single class even when the text attacks the same person or community in several ways.

BanTH takes a multi-label approach to text classification. A remark about women in politics, for instance, might disparage them because they are women and because of their political role. Gender and Political can both apply. If the classifier returns only one, its answer gets part of the comment right. A binary Hate decision would give no indication of which part it had recognized. The layered task makes that partial success visible.

The distinction matters because the label inventory mixes categories that answer different questions about a comment. Religion, gender, origin, and politics describe grounds for targeting someone. Personal Offense captures an attack directed at an individual. Abusive/Violence can describe the conduct expressed in the text, such as a threat against a person or group. A comment can therefore receive overlapping labels even when it has a single target. For instance, the grounds for an attack and the presence of a threat may each merit a label.

The authors situate this task within a research area that also studies offensive language, sexism, abusive comments, and cyberbullying. They note that the boundaries between these tasks vary with the definition and the material being labeled. BanTH’s rules recognize serious personal insults alongside attacks based on group identity. As a consequence, an evaluation designed around a narrower definition of hate could make different decisions on the same comments. The broader problem of defining what counts as a positive example runs through the earlier survey literature that the authors cite. A Survey on Hate Speech Detection using Natural Language Processing

The gap in earlier Bangla research

The paper describes earlier Bangla work on detecting hate and related harms, including abuse, cyberbullying, sexism, and violent language. Bangla research had already explored categories such as politics, religion, and gender, and some work assigned several labels to aggressive, hateful, or toxic texts. The authors also cite multilingual and multi-aspect research elsewhere in the field. The gap they identify concerns the overlap of a particular input variety and a particular labeling task. Multilingual and Multi-Aspect Hate Speech Analysis

There was also earlier work on the Latin-script variety itself. The paper describes research on restoring Bangla script, detecting abusive or offensive comments, analyzing sentiment, and identifying cyberbullying. It notes that transliterated Bangla had already been used in work assigning several sentiment or emotion labels. Hate speech and offensive language in Bengali had likewise received attention. The authors distinguish BanTH by pairing colloquial transliterated Bangla with an inventory of hate categories that can overlap within a comment. Hate Speech and Offensive Language Detection in Bengali

A parallel line of work concerns how a classifier acquires familiarity with the input. The paper describes pretrained Transformer encoders as a standard approach in hate speech detection. An encoder reads a sequence and represents each part in the context of the others. Training it for a particular classification task gives it feedback about which textual distinctions matter for that task. If its earlier training rarely included a kind of text, an additional round of exposure to that variety may help. The paper draws on previous research on adapting pretrained systems to particular domains and tasks. Don't Stop Pretraining

Instructions give the authors another way to vary the treatment of an unfamiliar input. A prompt can define the labels and explain what the classifier should look for. It can also include demonstrations or ask the system to interpret the comment in another written form before deciding. These choices lead to different kinds of evidence. Additional training tests whether exposure to transliterated writing improves a classifier that learns from BanTH’s labels. Prompting tests what can be achieved with instructions and, in some settings, a small collection of examples supplied alongside the task.

The method, step by step

Collecting comments and deciding what belongs

The authors collected public YouTube comments through the platform’s API. The videos came from 26 channels across News & Politics, People & Blogs, and Entertainment. Their subject matter included political discussion, interviews, consumer reviews, and travel, with material relevant to Bangladesh and West Bengal. The data sourcing section gives January 2020 to July 2024 as the collection window. The authors chose material spanning different sorts of discussion, including activity around significant events, so the comments would contain more than one kind of social exchange.

The first filtering question was whether a comment used Latin script. That narrowed the pool but could not establish that a given sentence was Bangla. The authors used dictionary-based language identification and removed comments in other languages encountered during annotation, such as Hindi written in Latin letters. A minimum-length filter was also applied. Bangla mixed with English is part of the problem the paper considers, so the presence of an English word and the identification of an entire comment as another language are different judgments.

Cleaning removed URLs and verbatim duplicate comments. Annotators also removed personal information such as addresses and contact numbers. These operations have distinct purposes. Removing a link leaves the words of the comment as the material for classification. Removing an exact duplicate prevents the same string from being retained repeatedly. Removing personal information reduces what the finished dataset discloses about individuals. The paper describes these operations alongside its effort to retain the informal text itself, including the spelling variation that the classifiers are being tested on.

From YouTube comments to BanTH classification

The steps in order.

From YouTube comments to BanTH classificationStep 1: Collect comments from public YouTube videos1. Collect comments from public YouTube videosStep 2: Filter for transliterated Bangla and clean comments2. Filter for transliterated Bangla and clean commentsStep 3: Assign binary labels and overlapping hate categories3. Assign binary labels and overlapping hate categoriesStep 4: Verify labels and stratify the dataset splits4. Verify labels and stratify the dataset splitsStep 5: Adapt and train encoders or prepare prompts5. Adapt and train encoders or prepare promptsStep 6: Predict hate and assign applicable categories6. Predict hate and assign applicable categoriesStep 7: Score predictions against the annotated test split7. Score predictions against the annotated test split

Turning a reading of a comment into labels

The authors hired four native Bangla-speaking annotators and two domain experts. The annotators were high school graduates who used transliterated Bangla and were accustomed to social media. Each comment went to three annotators. The experts supervised the work, helped clarify the guidelines, and resolved problems when annotators had difficulty reaching agreement or interpreting a comment. The annotators and experts received monetary compensation for this linguistic annotation.

The first read produced either Hate or Non-Hate. The guidelines direct annotators to consider abusive, harmful, or offensive content aimed at individuals or groups in relation to their identity, characteristics, or affiliations. Once a comment receives Non-Hate, the category decision is finished. For a comment marked Hate, the annotator considers all the categories and records every applicable one. This order distinguishes the judgment that a comment is hateful from the subsequent account of how it is hateful.

The Political label concerns attacks tied to political affiliations or beliefs. The detailed definition covers such behavior as dehumanizing political opponents and encouraging harm against them. The broader annotation guidance also refers to criticism, which leaves annotators with a judgment about when an expression about politics becomes an attack of the kind the benchmark is meant to capture. A negative view of a party and a derogatory attack on someone for backing it can use much of the same vocabulary.

Religious covers attacks or discrimination on grounds of belief, religious practice, or lack of belief. Origin concerns nationality, race, or ethnicity. The two can overlap in discourse about a community, yet they identify different grounds for targeting. Mentioning a country or religion can help a reader work out the subject of a comment. The annotator must additionally determine what the writer is doing with that reference.

Gender includes harmful stereotypes, abuse related to gender identity or expression, and advocacy of gender-based harm. Body Shaming covers ridicule of physical appearance or traits, including disability or visible conditions, under the authors’ definition. When an insult about appearance also relies on a stereotype about gender, the protocol allows both observations to be recorded. The parallel labels preserve the content of the judgment without forcing an annotator to select a dominant motive.

Personal Offense captures severe individual-directed insults, including derogatory name-calling. Abusive/Violence covers explicit threats and language encouraging or glorifying violence. An insult can receive a Personal Offense label by itself. If it also threatens the person, the threat can receive its own label. These categories explain why the dataset’s Hate decision extends beyond attacks on a demographic group.

The paper gives demonstrations that illustrate the boundary between a category mention and an attack. A writer can say they disagree with a political opinion without attacking the person who holds it. In another example, the writer argues that women leaders should stay at home and questions their presence in politics. The latter can receive both Gender and Political. The difference is in the claim about who should participate and the stereotyped grounds for excluding them, even though each example concerns politics.

After annotation, the team checked for omitted and incorrect labels, confirmed that the retained comments were in the intended language variety, and looked for contradictions between the binary and category assignments. A Hate comment should have an associated category, and a Non-Hate comment should have none. The splits were stratified, which means they were constructed with attention to the distribution of labels so that training, validation, and test material would have comparable representation. The validation split also gives the training procedure a place to monitor performance before the test evaluation.

Preparing an encoder to read transliterated Bangla

The supervised branch begins with an encoder that already has experience processing text. The authors compare using that encoder directly with using an encoder given an additional training stage on transliterated material. The extra stage uses BanglaTLit-PT, an unlabeled corpus containing 243k transliterated Bangla texts. The paper calls systems adapted in this way TB-Encoders. Their extra practice consists of recovering hidden tokens from context. It uses no category judgments from the authors of the unlabeled texts. BanglaTLit

A token is a unit of text as represented by the encoder. Its identity may be a word or part of a word, depending on the system’s tokenization. The paper represents the ordered token sequence for a sentence as follows.

X = (x₁, x₂, …, xₙ)

Here X is the full token sequence for the sentence S. Each xᵢ is the token at position i, with x₁ and x₂ denoting the first and second tokens. The ellipsis stands for the intervening entries and xₙ is the last token. The sequence contains n tokens.

The authors randomly replace 15% of the tokens with a special [MASK] token. The altered sequence is X̃. The positions selected for masking are recorded as a set.

M ⊆ {1, 2, …, n}

Here M is the set of masked positions. The subset symbol ⊆ means that each member of M belongs to the set inside braces. That set lists the possible positions in the sentence, beginning at 1 and ending at n. The ellipsis represents the intervening positions.

The encoder processes the altered sequence. At each hidden position it assigns probabilities to possible original tokens. Training rewards it for giving higher probability to the token that actually occupied that position. The loss for an individual masked position is the negative logarithm of that probability.

Lᵢ = −log P(xᵢ | X̃)

Here Lᵢ is the loss at masked position i. The P expression is the encoder’s probability for the original token xᵢ given X̃, the sentence containing masks. The vertical bar means “given.” The log operation takes the logarithm of that probability, and the minus sign makes the loss larger as the probability assigned to the correct token falls.

The masked language training objective averages this loss across the chosen positions.

Lₘₗₘ = −(1 / |M|) Σᵢ∈ₘ log P(xᵢ | X̃)

Here Lₘₗₘ is the masked language loss. The vertical bars around M indicate the number of masked positions. The factor 1 / |M| divides by that count. The summation Σᵢ∈ₘ runs over each position i belonging to the set M, shown in the subscript as ₘ. Each term is the log probability of the original token xᵢ conditioned on the masked sequence X̃, and the leading minus sign turns the mean log probability into a loss. Only the selected positions contribute terms.

Recovering a missing token is practice in reading the variety that BanTH contains. The encoder has to use nearby words and fragments to determine which original token could fit. Recurring spellings and combinations of Bangla and English become part of that experience. The objective supplies no direct answer about whether a recovered phrase insults someone, and no division of texts into hate categories. Those decisions come during supervised training. For further pretraining, the paper specifies 5 epochs with batches of 32 and a learning rate of 1e-5. The learning rate scales parameter updates, the batch size describes how many training examples are processed together for an update, and an epoch is a pass through the training material.

Training the classifier on BanTH

For fine-tuning, the input is a comment and the training signal comes from its BanTH annotations. The encoder produces a contextual vector at each token position in each layer. A vector is a collection of numerical values, and contextual here means that the vector can reflect other parts of the input sequence. The paper names the collection of layer representations for a comment as follows.

H = fₗₘ(S)

Here S is the input sentence or comment, fₗₘ is the pretrained encoder, and H is the set of contextual outputs it produces. The paper denotes an individual output by hᶫᵢ, where l is a layer and i is a token position. It uses L for the last layer, which is also the number of layers.

The classifier takes the final-layer vector at the special [CLS] position as its representation of the comment. That vector feeds a small neural network called a multilayer perceptron. The network transforms the vector, applies a nonlinear function, and transforms it again to produce scores for classification.

z = W₂ · ReLU(W₁ · hᴸ꜀ₗₛ + b₁) + b₂

Here z is the output vector used in calculating the training loss. The input hᴸ꜀ₗₛ is the [CLS] vector h from layer L. The subscripts ₁ and ₂ identify the first and second transformations. W₁ and W₂ are learned weight matrices, b₁ and b₂ are learned bias vectors, and · indicates multiplication of a matrix by a vector. The + signs add the indicated biases. ReLU acts on each component of the first transformation, retaining positive values and setting negative values to zero. The resulting intermediate vector feeds the second transformation.

The same classifier design is used with the original encoders and their TB counterparts. The supervised setup uses Adam to update the trainable parameters, a learning rate of 2e-5, a maximum sequence length of 512 tokens, a batch size of 32, and training specified for 5 epochs. The authors apply early stopping based on validation loss. This allows the held-out validation data to guide when to stop updating the classifier, without using test results to make that decision.

The paper describes the prediction procedure as a binary stage followed by multi-label classification of comments predicted to be hateful. This creates a dependency between stages. A comment screened out as Non-Hate offers no opportunity for the category stage to recover a missed label if the stages are applied in that order. The article’s experimental table gives separate scores for binary detection and category assignment. Those columns answer different questions about a system even when the paper discusses the tasks as parts of one procedure.

Giving the task to a prompted system

For the prompt experiments, the authors send comments and instructions to GPT-3.5 and GPT-4o through the OpenAI API. They design separate base instructions for the binary and multi-label tasks. The binary version asks for a true or false judgment about hate. The multi-label version asks for all relevant categories and allows an empty category list. Both describe indicators such as dehumanization, harmful stereotyping, and encouragement of violence. The instructions draw attention to local context, mixed-language phrasing, and differences in spelling.

A zero-shot prompt supplies the task definition without worked cases. A few-shot prompt includes examples of comments with decisions and reasons. In BanTH’s demonstrations, the examples also include English renderings. The multi-label demonstrations show when several categories can apply as well as when the output should be empty. Providing those examples changes more than the amount of text in the prompt. It gives the system concrete boundaries and illustrates the connection between the language of the comment and the requested answer. Few-shot learning

The authors extend the base prompts in several ways. The plain version requests the label decision. An explanation variant asks for a reason, while HARE asks for a reason developed in steps. The Why Positive and Why Negative variants direct attention toward a particular side of a binary decision. The chain-of-thought variant requests deliberate analysis, with the paper’s example moving from possible cues through context and category selection. Depending on the instructions, the system is asked to focus on or return different things as it responds. Chain-of-Thought Prompting Elicits Reasoning

The authors’ conversion prompt explicitly puts a language task before the decision. In its Bangla form, it asks for a rendering of the Latin-script input in standard Bangla. In its English form, it asks for a translation into standard English. The classification then follows within the prompting procedure. The authors combine each destination with a plain classification instruction, a request for an explanation, or a chain-of-thought instruction. This design lets them compare the destination and the kind of prompting used after conversion while keeping the basic label task in place.

Experiments and results

The split and what the scores measure

BanTH has 29,879 comments in training, 3736 in validation, and 3735 in the test split. The paper describes the stratified partition as using an 80:10:10 ratio. Within the test split, Personal Offense occurs 696 times and Abusive/Violence 289 times. Political occurs 122 times, while the counts are 22 for Origin, 20 for Gender, 14 for Religious, and 10 for Body Shaming. These are label counts, so a comment with several assignments contributes to several categories. They describe the range of examples supporting each label’s evaluation.

The paper reports binary macro-F1 and accuracy. Precision measures how often predictions of a class are correct, while recall measures how many of the reference examples for that class a system finds. F1 combines precision and recall using their harmonic mean, which penalizes a large imbalance between them. Macro-F1 averages F1 across the classes, giving each class equal influence. The paper’s metrics appendix also describes macro-accuracy as averaging the accuracy for the positive and negative classes. The main benchmark calls its accuracy column “Acc.” The values below follow the labels of the benchmark columns.

For multi-label classification, macro-F1 applies the same logic to the separate hate categories. A strong result on a common category alone cannot dominate the average. The metric can therefore bring out a classifier’s ability to retrieve examples of less frequent categories. The individual category scores depend on how many examples are available and what kinds of comments those examples contain.

Subset accuracy looks at the output for each comment as a whole. It counts the prediction as correct when the predicted set and the reference set match in full. If a comment is labeled for both gender and politics, predicting Gender alone is insufficient. The two sets also fail to match if the classifier adds a category that the annotators did not assign. The metric captures whether the complete answer can be accepted as it stands.

Hamming loss counts individual label decisions that disagree with the annotation. In the comment with Gender and Political labels, omitting Political contributes a missed assignment while the correct decisions on other categories still count in the system’s favor. Assigning an extra category contributes a false positive. Lower is better. The contrast between this measure and subset accuracy makes it possible to see when a system gets many category decisions right while often making at least one error per comment.

Comparing the trained classifiers

The supervised comparison covers systems with different pretraining backgrounds. The Bangla group includes BanglaBERT, BanglishBERT, BanglaHateBERT, and VAC-BERT. IndicBERT and MuRIL supply comparisons with pretraining for Indian languages. Multilingual mBERT and XLM-R bring wider language coverage, and CharBERT gives the authors a comparison that uses character-level information. The TB group tests whether extra exposure to transliterated Bangla changes the scores of several such encoders.

TB-mBERT leads the test split’s binary classification table with macro-F1 of 77.36 and accuracy of 82.57. XLM-R without the additional transliterated training is close on macro-F1 at 77.35 and has accuracy of 81.37. TB-BanglaBERT and TB-BanglishBERT both reach 77.12 in binary macro-F1. Their binary accuracies are 81.61 and 81.39, respectively. The best scores thus come from a TB encoder, with a multilingual baseline close behind on the class-averaged F1 measure.

Binary classification accuracy on the BanTH test split

TB-mBERT leads the comparison, with XLM-R ahead of the original BanglaBERT and mBERT.

Binary classification accuracy on the BanTH test splitmBERT: 80.37mBERT80.37BanglaBERT: 81.04BanglaBERT81.04XLM-R: 81.37XLM-R81.37TB-BanglaBERT: 81.61TB-BanglaBERT81.61TB-mBERT (this paper): 82.57TB-mBERT (this paper)82.57
The numbers
System or settingAccuracy %
mBERT80.37
BanglaBERT81.04
XLM-R81.37
TB-BanglaBERT81.61
TB-mBERT (this paper)82.57

Category assignment has different leaders. TB-BERT achieves the best macro-F1 among the trained classifiers, 30.17, and the lowest Hamming loss in the full comparison, 7.18. TB-mBERT has the highest subset accuracy, 54.71. Its multi-label macro-F1 is 27.07 and its Hamming loss is 7.28. The strongest trained system for recovering categories as measured by macro-F1 is therefore different from the trained system that most often returns the complete set.

XLM-R illustrates the same distinction within the original pretrained group. Its test macro-F1 for category assignment is 29.29 and its Hamming loss is 7.23. Its subset accuracy is 53.28. BanglaBERT reaches 54.08 in subset accuracy, with 20.82 in macro-F1 and 7.26 in Hamming loss. The ranking of the two depends on whether the unit of interest is success across the categories, complete sets for comments, or the frequency of individual label mistakes. The benchmark reports all three so that success on one of these units does not stand in for the others.

Comparing prompts with and without examples

GPT-4o generally scores higher than GPT-3.5 in the comparable prompt settings. With the direct zero-shot prompt, GPT-4o records binary macro-F1 of 70.05 and accuracy of 74.30 on the test split. GPT-3.5 records 61.44 and 64.02 in the same columns. In direct zero-shot multi-label classification, the two systems reach 36.07 and 24.12 in macro-F1, respectively. Their subset accuracies are 22.60 and 18.27. Both the choice of system and the choice of evaluation measure matter when reading the prompt results.

The best reported binary macro-F1 among the prompted systems is 70.70%, from GPT-4o with explanation instructions and few-shot examples. That setting has test accuracy of 75.15. The direct few-shot GPT-4o prompt has a binary macro-F1 of 68.77, compared with 70.05 for the direct zero-shot prompt. The gain from examples in the explanation setting therefore does not describe what happens when examples are added to the direct prompt. It also does not close the gap to the leading supervised binary result.

The direct few-shot GPT-4o prompt produces the best prompting scores in the multi-label table. It achieves 39.53% macro-F1, 26.76% subset accuracy, and 14.16% Hamming loss. The macro-F1 result leads the trained classifiers as well. On the other two measures, the best trained scores are stronger. TB-mBERT gets exact label sets more often, and TB-BERT incurs fewer individual label errors. High category-averaged F1 can coexist with many incorrect sets, since a system can identify some labels across many comments and still miss or overpredict other labels along the way.

Multi-label subset accuracy on the BanTH test split

The trained TB encoders recover complete label sets more often than the selected GPT-4o prompts.

Multi-label subset accuracy on the BanTH test splitGPT-4o direct zero-shot: 22.60GPT-4o direct zero-shot22.60GPT-4o English translation and explanation: 23.92GPT-4o English translation andexplanation23.92GPT-4o direct few-shot: 26.76GPT-4o direct few-shot26.76TB-BERT: 54.19TB-BERT54.19TB-mBERT (this paper): 54.71TB-mBERT (this paper)54.71
The numbers
System or settingSubset accuracy %
GPT-4o direct zero-shot22.60
GPT-4o English translation and explanation23.92
GPT-4o direct few-shot26.76
TB-BERT54.19
TB-mBERT (this paper)54.71

The direct few-shot result is also a reminder of what examples supply in these experiments. They show where a comment receives several labels and where the expected set is empty. The comparison measures the effect of supplying those demonstrations as a package. It leaves room for several reasons for the improvement, including clearer boundaries between labels, better use of the expected output format, and the presence of English renderings in the demonstrations.

Where conversion helps in zero-shot classification

GPT-4o with a request to convert the comment into standard Bangla and explain its decision reaches binary macro-F1 of 70.34 in the main test table. This is the highest binary macro-F1 among the zero-shot rows in that table. The English translation prompt paired with chain of thought achieves binary accuracy of 74.87, the highest zero-shot accuracy in the same table, with a macro-F1 of 69.74. The strongest destination therefore depends on the binary measure as well as on the instruction used with it.

For multi-label classification, the English translation prompt with an explanation scores 23.92 on subset accuracy and 16.23 on Hamming loss. Those are the best zero-shot results for those columns in the main table. The same setting scores 36.25 in macro-F1. GPT-4o with HARE and no examples, at 36.67, has the highest zero-shot multi-label macro-F1 in that table. The English translation and explanation combination is also behind the direct few-shot configuration on each multi-label measure.

Zero-shot multi-label Hamming loss on the BanTH test split

English translation with an explanation yields the fewest individual label errors among these prompts.

Zero-shot multi-label Hamming loss on the BanTH test splitGPT-4o direct: 16.91GPT-4o direct16.91GPT-4o HARE: 17.10GPT-4o HARE17.10GPT-4o Bangla conversion: 16.73GPT-4o Bangla conversion16.73GPT-4o Bangla conversion and explanation: 16.46GPT-4o Bangla conversion and explanation16.46GPT-4o English translation and explanation (this paper): 16.23GPT-4o English translation andexplanation (this paper)16.23
The numbers
System or settingHamming loss %
GPT-4o direct16.91
GPT-4o HARE17.10
GPT-4o Bangla conversion16.73
GPT-4o Bangla conversion and explanation16.46
GPT-4o English translation and explanation (this paper)16.23

Results for conversion without an explanation make the pattern clearer. Standard Bangla conversion with the plain classification prompt reaches 23.28 in subset accuracy, whereas the corresponding English setting reaches 20.72. The direct GPT-4o prompt reaches 22.60. The better score for the English explanation combination therefore cannot be attributed to a uniform advantage of translating into English. Its effect changes when the surrounding instructions change.

The prose of the paper describes the proposed prompting strategy as leading across the zero-shot measures and gives an approximate improvement over vanilla prompting. The test rows support a more specific reading. They show the leading zero-shot binary macro-F1 and accuracy in the main table, and the leading zero-shot multi-label subset accuracy and Hamming loss, across different conversion variants. They show a higher zero-shot multi-label macro-F1 for HARE. These settings give evidence that conversion can improve certain outcomes without an example in the prompt, with the size and direction of the effect depending on the condition.

The Why prompts appear in a separate binary test comparison. GPT-4o with Why Negative records 69.98 macro-F1 and 75.29 accuracy, while its Why Positive counterpart records 63.33 and 74.91. GPT-3.5 with Why Negative records 62.71 and 66.77, compared with 62.48 and 69.03 for Why Positive. The table presents these as Why variants without spelling out a shot condition alongside each row. The results are informative about how the focus of an explanation changes the binary scores, and the accuracy of 75.29 is higher than any of the zero-shot binary accuracies in the main benchmark table.

What the ablations show

Additional pretraining helps some starting points more than others

The paper reports comparisons among pretrained encoders and matched prompt variants, alongside analyses of category errors and translations. The closest comparison for further pretraining pairs an original encoder with its TB version and then uses the same BanTH classification setup. Because the starting architecture remains the same within a pair, that comparison gives a clearer view of what changes after extra exposure to transliterated Bangla than a comparison between unrelated encoders.

For mBERT, binary macro-F1 rises from 74.97 to 77.36 and accuracy goes from 80.37 to 82.57. For multi-label classification, subset accuracy improves from 52.19 to 54.71 and Hamming loss drops from 7.78 to 7.28. Macro-F1 moves in the other direction, from 28.24 to 27.07. The added training gives a marked improvement in how frequently this encoder returns the full label set, while the class-averaged category score declines. The observations come from the same pair on the same test split, so a change in ranking follows from what the metrics count.

The BanglaBERT pair changes in a similar way on some measures. Its binary macro-F1 goes from 76.50 to 77.12, and its multi-label macro-F1 goes from 20.82 to 22.52. Subset accuracy goes from 54.08 to 53.97, and Hamming loss from 7.26 to 7.37. Additional exposure to transliterated writing can improve the balance of precision and recall across hate labels in this encoder, even as this particular comparison records small declines on complete matches and individual error frequency.

The XLM-R pair is a counterexample to a uniform pretraining benefit. The original has binary macro-F1 of 77.35 and the TB version reaches 77.04. In multi-label classification, macro-F1 goes from 29.29 to 29.04 and subset accuracy from 53.28 to 52.86. The best trained configurations in the benchmark include TB encoders, but changing an already competitive XLM-R into its TB counterpart does not reproduce the gains seen for mBERT. The paper’s results establish how the paired systems scored under the chosen training settings. They leave open why the starting points respond differently.

An explanation can redirect a decision

The prompt comparisons test several demands that sound similar in everyday language. A request for an explanation asks the system to give reasons. A step-by-step instruction changes how the requested analysis is organized. Why Positive and Why Negative direct attention toward evidence for a particular side of the decision. The resulting classification can change even when the comment and the general definition of hate stay the same.

For GPT-4o in the zero-shot category task, the base prompt gets 36.07 in macro-F1. A direct request for an explanation gets 32.58, and the HARE variant gets 36.67. On subset accuracy, these settings receive 22.60, 19.12, and 20.80, respectively. The HARE comparison illustrates how a prompt can improve the average F1 across categories while producing fewer exact label sets. The general explanation request lowers both measures here. This is evidence about the output behavior elicited by each instruction.

Adding examples introduces another interaction. GPT-4o with chain of thought has multi-label macro-F1 of 35.97 without examples and 36.49 with them, while subset accuracy moves from 22.60 to 21.10. With the plain prompt, the example-based condition reaches 39.53 macro-F1 and 26.76 subset accuracy, compared with 36.07 and 22.60 in zero-shot classification. Even for the same underlying system, worked cases can complement one kind of instruction better than another.

The Why comparison gives a binary counterpart. Asking GPT-4o to consider why a comment is negative yields higher macro-F1 than asking why it is positive, and the same direction appears for GPT-3.5. In GPT-3.5’s case, accuracy is higher under Why Positive. Framing the request changes the trade between class-specific precision and recall and the behavior captured by the accuracy column. The scores give evidence that wording matters, while the reasons generated in individual cases show what that wording led the system to emphasize.

Inspecting the language produced before the decision

The paper shows comments with renderings and reasons from GPT-4o under an explanation prompt and under a prompt that also calls for explicit translation. The examples concern binary classification. A direct explanation sometimes shows that the system has already interpreted the Bangla without being asked to display a translation. The explicit instruction makes a rendering visible and sometimes moves the reason towards a more context-sensitive distinction.

A comment about young people’s participation in government, for example, criticizes political figures for their conduct. The direct explanation reads the criticism as derogatory toward a broader political group. With translation and explanation, the system treats the complaint as criticism of what leaders are doing about youth participation and reaches the annotated Non-Hate decision. Similarly, the reason for a comment calling for someone to be brought under the law can focus on legal process. A discussion of arrest or punishment can contain vocabulary associated with harm while describing a demand for legal action.

Translation can also change which words the system appears to have read. In a comment concerning Indians, the translation with instructions adds the idea of infiltration, which is absent from the comparison rendering. The classification then aligns with the annotated Hate judgment, but the additional word matters to the reasoning. It makes the claim look more explicitly hostile about national origin. Agreement with the reference label in this case tells the reader little about whether the translation faithfully represented the source.

Another comment is annotated Hate and contains a disparaging description of a girl from India in the paper’s reference rendering. The prompted translation turns the phrase into a geographic identification associated with Calcutta. The explanation then reads it as a statement about where someone is from. Here a detail lost in the conversion is also the detail that supports a hate category. The paper connects this kind of error to regional expressions and to words without straightforward English equivalents.

The errors also go toward excessive detection. An example simply favors a political organization over other named parties. A translation-based explanation treats that preference as political supremacy. The original choice among parties supplies political subject matter, while the interpretation of a superiority claim supplies a reason for classifying it as hate. The distinction shows how a classifier can overread a label indicator after it has produced a plausible rendering of the sentence.

These examples help explain why improvements from conversion depend on the task and the surrounding prompt. Rewriting into a familiar written variety can clarify whether a comment criticizes conduct or attacks a group. A rewrite can also soften a derogatory expression or add an implication. Since the prompt asks the same system to perform the conversion and make the decision, the examples offer a way to inspect where errors may enter. They do not isolate the effect of translation quality from the effect of changing the classification instructions.

Why Personal Offense remains difficult

The paper’s category analysis draws attention to Personal Offense. It is the most common label in BanTH, at 6964 assignments overall, yet the authors describe it as the hardest category for the system shown in their per-category analysis. They point to varied transliterated expressions and to frequent co-occurrence with other labels. An individual insult can appear under many subjects and can follow very different sentence patterns. Its surface vocabulary may say little about the kind of offense without the rest of the sentence.

The word clouds support that interpretation by showing what appears frequently in the categories. Words referring to Muslims occur frequently in the Religious examples. Terms meaning woman or girl are prominent in the Gender examples. Those words can indicate the subject of a comment, which may help narrow its applicable categories once there is evidence of an attack. Personal Offense contains common addresses and references such as tui, a form of “you,” alongside words such as dalal, meaning broker, and references to police. A classifier has to establish how these words are used to tell whether they are part of an individual insult.

The overlap is visible in the dataset’s co-occurrence analysis. Personal and Political labels frequently accompany other categories. Religious and Body Shaming occur less often in combination with others in the authors’ discussion. A comment containing a political insult directed at a specific person can give several plausible cues, and a category system has to decide whether each of those cues supports an additional label. These descriptive analyses make the authors’ explanation plausible. They do not test how much the category score changes if co-occurrences or spelling variants are controlled.

Limitations

Limits the authors identify

The binary label distribution favors Non-Hate. The authors report 27167 Non-Hate comments out of 37,350 and give 72.73% as the accuracy of always predicting Non-Hate on that full dataset. They point out that GPT-3.5 can fall below this reference. The number is an ordinary majority-class accuracy for the corpus. It comes from the overall class count, whereas the reported system results concern the test split and the metrics appendix also describes macro-accuracy. Keeping those conventions visible is important when comparing a constant prediction rule with the paper’s individual systems.

Label coverage is a separate issue. The authors identify hate based on socioeconomic conditions as an example the taxonomy may not represent adequately. They found too few suitable examples in the YouTube material they used, and adding very sparse categories would introduce further imbalance. This defines a practical boundary on what a successful prediction means. A system that reproduces the categories in BanTH has learned to recover distinctions in that inventory, while other kinds of targeting may be absent, folded into an existing category, or difficult to score under it.

The authors also emphasize disagreement in annotation. They report an overall inter-annotator agreement value of 0.53 and interpret it as moderate. Their agreement table separately gives inter-annotator Fleiss’ kappa of 0.71 for binary labeling and 0.75 for Personal Offense. Fleiss’ kappa is a measure of agreement among raters that accounts for agreement expected by chance. The aggregate and the per-task or per-label values are presented separately, and the paper does not detail how to derive the aggregate from the table. They give different views of how consistently annotators applied the task.

The authors attribute disagreement to the subjectivity of the judgments and the variability of transliterated text. Someone can understand the literal content and still differ from another reader about whether an expression crosses the threshold into hate. The paper suggests that experts may give more weight to gray areas because of their experience. The expert-to-annotator figures vary by category. For Political the table gives 0.62 for expert-to-annotator agreement and 0.72 for inter-annotator agreement, whereas for Religious the figures are 0.68 and 0.66. An explanation based on expertise is the authors’ interpretation of the disagreement pattern, with the comparisons themselves differing by label.

In the translation analysis, the authors acknowledge failures involving dialect and terms whose meaning is difficult to transfer. A more literal translation can preserve some features closely while losing pragmatic force. The paper envisages applying its approach to other languages typed in an unfamiliar script. That prospect remains distinct from the empirical result, which concerns BanTH and the prompted systems tested on it.

Limits that follow from the design

The dataset comes from comments on selected YouTube channels. Its topics and vocabulary bear the imprint of the events and discussions that made those comments available. News & Politics contributes 1005 of the Political assignments, and political names and affiliations appear prominently in the paper’s word clouds. The paper notes that the common words could look different with another source. A classifier can benefit on this benchmark from familiarity with those names and their surrounding discourse. Performance on a later political episode or on a platform with other conventions would require a separate evaluation.

Stratification supports comparisons across the BanTH splits by preserving the distribution of labels. The paper does not describe a test held out by event, channel, or period. Removing verbatim duplicates addresses identical comments. Comments about the same person or incident can still resemble one another in topic, stance, or phrasing. The split therefore measures generalization to held-out comments from the corpus as constructed. The event and per-category counts describe how that corpus was assembled, without showing performance on an entirely unfamiliar community or event.

The collection chronology also deserves care. The data sourcing section gives January 2020 to July 2024, while the event table includes a row for August written as Aug’24 and a period ending in Aug’24. The paper does not reconcile these descriptions. The split counts and scores identify the evaluation reported in the benchmark, while the precise relationship of the event table to the stated collection window is unclear.

There is a smaller difference between the corpus inventory and the multi-label prompt. The BanTH table shows how entries are distributed among Body Shaming, Origin, Abusive/Violence, Personal Offense, Gender, Religious, and Political categories. The prompt appendix additionally offers a miscellaneous category for other hate. The paper does not specify in its benchmark discussion how a miscellaneous response is treated in the scored output. This creates an interpretation issue at the boundary between asking an open-ended system for categories and evaluating against a fixed set of reference labels.

The treatment of the two prediction stages also affects how the scores should be read. The method says that the category task is applied to predicted hate. A mistake in the screen can then change which comments are available to the second classifier. The reported results give binary and multi-label columns, but they do not break down category errors according to whether they arose from the initial screen, from choosing the wrong category, or from omitting an additional category on a correctly screened comment. The aggregate scores compare the tested setups, while a diagnosis of where the errors enter would need that breakdown.

The metrics reveal broad patterns more clearly than close rankings. Binary macro-F1 values of 77.36 for TB-mBERT and 77.35 for XLM-R are point estimates. The benchmark does not report uncertainty intervals or repeated-run variability next to them. Multi-label macro-F1 also assigns equal weight to categories with quite different test support. The 10 Body Shaming assignments, for example, give a much narrower set of cases than the 696 Personal Offense assignments. A small gap in the reported ordering has less evidential weight than the much clearer differences across some of the task and metric combinations.

Finally, the proposed conversion prompts test a bundled procedure. The same system receives the original and the instruction to produce a standard Bangla or English version, then returns a decision. The test results do not separately quantify fidelity over the full range of translations, and the reason examples are selected cases. This limits claims about mechanism. The paper shows conditions in which a conversion instruction improves the scored prediction and gives examples of how the output changes. How much improvement comes from the rewritten text, from the extra interpretive step, or from the interaction between the two remains unresolved.

What came after

BANMIME cites BanTH and studies misogyny detection in Bangla memes together with metaphor explanation. BanTH includes Gender among several labels for written comments, while BANMIME focuses on a particular kind of gendered harm in a different medium. Its emphasis on metaphor makes the interpretation of figurative expression part of the task. The citation establishes a connection between the studies. It does not establish that BANMIME adopts BanTH’s comments, categories, or conversion prompts.

BanHADEX also cites BanTH. It addresses explainable hate speech detection in Bangla using human-annotated explanations. In BanTH, human annotation supplies the hate judgments and categories, while some prompting experiments ask the system to generate reasons. BanHADEX puts human explanation into the annotated material itself. This places a different object under evaluation: the account of why a text is hateful, alongside the judgment that it is hateful. The citation alone does not specify whether BanHADEX reuses BanTH data or tests its prompting strategy.

Cite

Cite as Fabiha Haider, Fariha Tanjim Shifat, Md Farhan Ishmam, Md Sakib Ul Rahman Sourove, Deeparghya Dutta Barua, Md Fahim and Md Farhad Alam Bhuiyan. 2025. BanTH: A Multi-label Hate Speech Detection Dataset for Transliterated Bangla. Findings of the Association for Computational Linguistics: NAACL 2025.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/2025.findings-naacl.403

@inproceedings{haider2025banth,
  title = {{BanTH: A Multi-label Hate Speech Detection Dataset for Transliterated Bangla}},
  author = {Fabiha Haider, Fariha Tanjim Shifat, Md Farhan Ishmam, Md Sakib Ul Rahman Sourove, Deeparghya Dutta Barua, Md Fahim and Md Farhad Alam Bhuiyan},
  booktitle = {Findings of the Association for Computational Linguistics: NAACL 2025},
  year = {2025},
  doi = {10.18653/v1/2025.findings-naacl.403},
  url = {https://doi.org/10.18653/v1/2025.findings-naacl.403}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/haider-2025-banth-multi-label-hate-speech/