Elamur Research

LLM-Based Multi-Task Bangla Hate Speech Detection: Type, Severity, and Target

Paper · 2026 · Md Arid Hasan, Firoj Alam, Md Fahad Hossain et al.

Summary

A system that flags a Bangla comment as hateful leaves several questions unanswered. The comment might insult a person, attack a religious community, or express hostility towards a political party. Its language might range from a put-down to an explicit threat. Hasan and colleagues built BanglaMultiHate so that a classifier could be assessed on each of these judgments. The dataset contains 50,746 public YouTube comments, drawn chiefly from videos on the Bangla news channel Somoy TV. Each comment has a label for the kind of hate it expresses, the intensity of the expression, and the target. These judgments are related. A comment judged free of hate receives the least severe label and no hate target by design. Among comments assigned a hate type, however, the same type can occur at different intensities and be directed at different targets.

The authors compare several ways of learning those distinctions. One classifier uses recurring words and phrases, another adapts BanglaBERT, a system pretrained on Bangla, and several generative systems receive instructions describing which labels to return. Some receive examples in the prompt. Others undergo task-specific fine-tuning, which adjusts a pretrained system using labeled examples. On the BanglaMultiHate test set, BanglaBERT reaches micro-F1 of 0.712 for type, 0.722 for severity, and 0.715 for target. Micro-F1 here pools decisions across classes, giving frequent labels more influence over the overall score. Fine-tuned BanglaLLM matches BanglaBERT at 0.722 on severity. The best target score among the fine-tuned generative systems is 0.631, close to the lexical classifier’s 0.629.

Prompting alone produces uneven results. Gemini-2.5-pro scores above the most-frequent-label baseline on type and severity without worked examples, then scores lower when examples are added. GPT-5 improves on type and target with examples. The target task is particularly revealing because every system prompted without examples falls below the most-frequent-label baseline. Overall scores also conceal errors on rare labels. The authors report that BanglaBERT, despite leading on hate type overall, fails to classify any of the Sexism examples correctly in their error analysis. The authors release BanglaMultiHate and the experimental scripts. The benchmark shows the value of supervised adaptation on this collection of Bangla comments, while its class imbalance and a weaker result on a separate Bangla dataset limit what the scores establish about moderation elsewhere.

Deep dive: LLM-Based Multi-Task Bangla Hate Speech Detection: Type, Severity, and Target

BanglaMultiHate labels the type, severity, and target of hate in Bangla YouTube comments and tests how well classifiers distinguish them. · about 32 minutes to read

The problem and its context

What a hate label leaves open

The paper begins from a practical problem. Social platforms receive more comments than people can review consistently by hand. Some of that material harasses individuals or contributes to hostility against communities. A classifier can help identify material for review, but the output it produces depends on the distinctions it was trained to make. A broad offensive-content label can cover a personal insult, an attack on a group, or swearing without an identifiable victim. Those cases call for different descriptions even when they all meet the conditions for the broad label.

BanglaMultiHate approaches this as a problem in text classification. A classifier assigns labels from a pre-defined set to a piece of text. Here the unit is a comment, and each annotation dimension poses a separate question about it. The type label describes the form of hostility. Severity describes how far the expression goes. Target identifies the kind of person or group it is directed at, when one can be identified. A statement aimed at a political figure, for example, may require the reader to decide both whether its hostility is political in character and whether it addresses a specific person. The type and the target record those judgments separately.

The distinctions matter for research as well as for possible moderation uses. A system could learn to identify that something is wrong with a comment by recognizing a familiar insult. The same evidence may be insufficient to tell whether it is aimed at an individual or whether that individual is being attacked on account of a group identity. An aggregate hate score would hide the difference between success at recognizing an insulting tone and success at resolving who is being attacked. Separate labels make it possible to examine where a system’s decisions start to diverge from the annotators’.

Why Bangla presents its own difficulties

The authors place Bangla among low-resource languages for this area of research. Their concern is the limited supply of annotated examples and pretrained systems suitable for the task. A large collection of raw comments supplies instances of the language people use. The examples become a benchmark only after someone decides what distinctions to make and applies those distinctions consistently enough for evaluation. A shortage of labeled examples is especially consequential for rare forms of abuse. A collection can be large overall while still giving a learner few demonstrations of a particular class.

Several properties of Bangla discourse contribute to the difficulty described in the paper. Rich morphology allows words to appear in different forms. Relatively flexible word order means a relationship can be expressed through different arrangements of words. Speakers can also switch between Bangla and English or use regional varieties. These properties complicate the use of recurring surface phrases as dependable cues. A pattern familiar from one kind of writing may appear in a different form in another, and a system adapted from another language may respond to the wrong cues altogether.

The authors give a further reason that better lexical coverage alone would leave work to do. Insults can be metaphorical, slurs can depend on the situation, and an idiom can carry an interpretation familiar within a region. When the meaning turns on whom a phrase refers to or how it is used in a particular exchange, seeing the component words is only part of the judgment. The paper therefore frames culturally relevant pretraining as an empirical question. It asks whether a system with substantial prior exposure to Bangla works better on the benchmark, and whether task-specific examples can make broadly trained systems competitive.

What earlier datasets already captured

The paper places BanglaMultiHate alongside resources that had already made several kinds of harmful speech measurable. Work by Das and colleagues studied hate and offense in Bangla social media text, including Romanized Bengali tweets. That line of work makes spelling and script variation central to the classification problem. The new dataset, by design, removes comments written in Romanized Bangla. Each collection therefore emphasizes a different part of the language encountered online. Hate Speech and Offensive Language Detection in Bengali

The comparison in the paper also makes clear that earlier resources went beyond binary hate detection. BD-SHS contains 50,281 comments and includes distinctions concerning hate type and targets. TB-OLID addresses transliterated and code-mixed Facebook text and distinguishes individual, group, and untargeted offense. BanTH provides multi-label information about targets in transliterated Bangla, and BIDWESH emphasizes regional language and covers several kinds of hate and targets. The addition in BanglaMultiHate is the joint annotation of type, graded severity, and target on the same comment collection. Having those labels together lets the authors compare their relationships directly. BanTH

The new dataset also has a hierarchy of news topics and subtopics. These classifications of the source material answer a different question from the hate labels. A comment under a sports video can receive an abusive type label. A politics video can attract comments whose hate type is None. The topical hierarchy makes it possible to ask whether a system’s performance varies with the surrounding domain, while the annotation describes what is in the comment. Preserving both kinds of information is what makes a topic analysis possible without treating topic names as synonyms for hate classes.

The paper’s annotation scheme also has precedents outside Bangla. Its guidelines use a distinction between directed abuse and untargeted profanity associated with earlier work on offensive language. Its target classes adapt a broader division among individuals, groups, and other targets. The severity guidance draws on work distinguishing degrees of aggression and gives explicit threats or incitement a clear place at the most severe end. These precedents explain why the scheme combines particular decisions that could have been organized differently. OffensEval

How earlier classifiers approached the task

In its account of prior methods, the paper traces a progression from word lists to supervised classifiers, contextual systems built on the Transformer and attention architecture, and instruction-following large language models. A lexicon gives a detector words to look for. A supervised lexical classifier learns from labeled examples which words and phrases are associated with particular decisions. A contextual classifier can represent the same word differently depending on the surrounding text. An instruction-following system can be told which distinctions to make at inference time, when it is asked to classify a new example.

The literature reviewed by the authors supplies reasons to keep the simpler methods in the comparison. Earlier work on Bangla social comments compared a support vector machine with recurrent approaches and found that the support vector machine could perform better in that setting. Other work combined contextual representations with recurrent architectures. The paper also describes evidence favoring pretrained transformers over classical approaches on code-mixed offensive-language tasks. These are results from different collections and procedures. Together they motivate testing lexical and contextual approaches on the same data instead of assigning them a ranking in advance.

There were also precedents for sharing a system across related labels and for applying a system across languages. The authors discuss Arabic work using AraBERT for offensive-language and hate-speech classification. They describe investigations of cross-lingual transfer in which systems were tested on languages without task training in the destination language, and cross-cultural transfer studies that drew attention to how cultural biases affect performance. BanglaMultiHate brings a related question into a single-language benchmark. It compares approaches with different degrees of prior exposure to Bangla and different amounts of supervision on the task itself. Multi-Task Learning using AraBert for Offensive Language Detection

The method, step by step

From news videos to labeled comments

The authors used the YouTube API to collect public comments on Bangla news videos, primarily from Somoy TV. The collection spans 19 categories and 120 subcategories. The main categories include national and international affairs, politics, and entertainment, alongside areas such as health, science, and sports. The topical range describes where comments were collected. Five categories still account for more than 90% of all comments, so the distribution remains concentrated.

The initial collection was approximately 55,000 comments. The authors removed duplicate entries, entries consisting only of emojis or URLs, and Banglish comments, which they define here as Bangla written with the English alphabet. The filtered corpus contains 50,746 comments. Removing duplicates limits the influence of repeated entries, while excluding Romanized Bangla narrows the kind of input covered by the benchmark. The data selection places useful boundaries around every result that follows. A prediction on this benchmark concerns comments drawn from this source and preserved by these filters.

From Bangla news comments to benchmark scores

The steps in order.

From Bangla news comments to benchmark scoresStep 1: Collect public comments on Bangla news videos1. Collect public comments on Bangla news videosStep 2: Remove duplicates and out-of-scope entries2. Remove duplicates and out-of-scope entriesStep 3: Annotate hate type, severity, and target3. Annotate hate type, severity, and targetStep 4: Resolve disagreements and stratify the splits4. Resolve disagreements and stratify the splitsStep 5: Train classifiers or prompt instruction-following systems5. Train classifiers or prompt instruction-following systemsStep 6: Score each prediction against its task label6. Score each prediction against its task label

How the labels are assigned

Linguistic annotation turns a judgment about a text into a label that can be recorded and compared. The guidelines for the type task tell annotators to select one of six labels: Abusive, Profane, Sexism, Religious Hate, Political Hate, or None. Abusive covers direct insults intended to demean. Sexism covers derogation or discrimination on the basis of gender, including expressions of stereotypes. Religious Hate concerns hostility based on religion or belief. Political Hate concerns hostility directed at political positions, parties, or figures. Profane captures vulgar or swearing language whose relevant feature is its use to offend or shock without a specific target. None covers comments without hate under the scheme, including neutral or positive comments.

The task records one choice from that list. Everyday comments can combine features from several categories, such as a vulgar expression embedded in a political attack. The benchmark requires the annotator to decide which label best describes the type. It therefore records multiple aspects of a comment while keeping the classification within any one aspect single-label. A system that returns several competing type labels has changed the task the authors set up, even if those labels describe recognizable features of the comment.

Severity is an ordered scale with the labels Little to None, Mild, and Severe. Little to None can include slight negativity and ambiguity as well as neutral or positive text. Mild covers derogation and lesser offense without threats. Severe covers extreme prejudice, highly offensive expressions, and threats. The guidelines place explicit threats or incitement in Severe. The paper’s examples contrast a demand that a transport service stop operating, which is placed at the low end, with a threat directed at somebody, which illustrates the high end. The examples show that an unfavorable statement and a threat carry different implications even when both express hostility or disapproval.

Ordering the severity labels gives them a meaning beyond the names of categories. A prediction of Mild for an example labeled Severe assigns a different degree of harm. A prediction of Little to None for that example crosses the full scale. The reported classification metrics compare each prediction with the reference label. The paper uses the error analysis to examine the kinds of confusion that those metrics pool together.

The target choices are Community, Individual, Organization, Society, and None. A community can be identified by shared ethnicity, religion, or gender, for example. An individual can be named or referred to indirectly. Organization includes formal groups, such as companies or government bodies. Society covers more general attacks or criticism of social practices, values, and norms within the annotation scheme. None is available when the text supplies no identifiable hate target. The guidelines use a specific person as an illustration of Individual and a broadcaster as an illustration of Organization. What decides the target is the object of the expression, even when those comments occur in a similar topical setting.

The annotation has a conditional rule linking the dimensions. Once the type is assigned None, severity becomes Little to None and target becomes None. Annotators proceed to the ordinary severity and target judgments when they assign any other type. This rule makes the labels internally consistent by construction for comments free of hate under the type scheme. It also means that part of the agreement among dimensions comes from a shared instruction. The remaining comments are where the distinct severity and target judgments add the most information.

Who labeled the data and how disagreements were handled

The annotators were 35 native Bangla-speaking undergraduate volunteers. Expert annotators trained and supervised them. Each comment was assigned independently to three annotators. The team periodically reviewed randomly selected examples and gave feedback. Majority agreement supplied the final labels where it resolved the decision, and the team met to reach consensus on persistent disagreements. This procedure separates the initial readings from the later work of settling a difficult case.

The authors assess initial agreement with Fleiss’ kappa. This coefficient compares observed agreement with the agreement expected from how frequently the annotators use the different labels. That distinction matters in a corpus where many comments receive the most common label. Annotators could agree often by using that label often, even if they differed on the less common choices. The paper reports kappa of 0.71 for hate type, 0.84 for severity, and 0.79 for target. Under the interpretation cited by the authors, the severity value is in the almost-perfect range and the other values are in the substantial range.

The comparison supplies an indication of how consistently the guidelines could be applied by this team. The type inventory includes distinctions such as abusive versus profane and abusive versus politically hostile. Disagreement on those boundaries can reflect different readings of what is most salient in a comment. Severity has fewer available labels and an explicit decision rule for threats and incitement. The authors associate the lower agreement on more fine-grained tasks with the greater number of choices. The agreement figures alone cannot isolate how much comes from inventory size, label frequency, or the difficulty of the distinctions.

How the data are divided

The reported training, development, and test proportions are 70%, 10%, and 20%. The respective counts are 35,522, 5,024, and 10,200 comments. The training portion is used to learn from annotated examples. The development portion supports decisions during training, such as which BanglaBERT run to select. The test portion supplies the held-out comparison. Stratified sampling is used to preserve the class distribution across these parts of the dataset.

Stratification in this setting preserves the presence of rare labels without eliminating the underlying imbalance. In the type task, training has 19,954 comments labeled None and 122 labeled Sexism. The corresponding test counts are 5,751 and 29. A learner thus receives many more demonstrations of the common decision. The smaller test count also means the rare class offers much less evidence about how reliably a classifier will handle the full variety of expressions it covers.

From lexical counts to contextual classifiers

The simplest systems establish reference points for interpreting results. The random baseline assigns classes by chance. The majority baseline always returns the label most frequent in the training portion of a task. It thus uses information about the dataset without using the comment itself. If a classifier falls below that baseline, being responsive to the text has failed to produce more correct decisions overall under that evaluation. Class-specific performance can still differ substantially between those systems.

The support vector machine uses a representation based on TF-IDF, short for term frequency–inverse document frequency. The representation gives weight to a feature based on how often it appears in the comment and how broadly it occurs across the collection. A word or phrase that occurs nearly everywhere conveys less information about a particular comment than one concentrated in a smaller set of examples. The inputs include 1–5 n-grams, which are contiguous sequences of items from the text. This lets the classifier use individual lexical cues and longer local phrases. The support vector machine learns decision boundaries in this feature space.

The paper gives the regularization setting as follows.

C = 1

Here C is the support vector machine parameter governing the penalty for violating the classification margin, and 1 is the value used in the experiments. The setting governs the tradeoff between fitting the training labels and favoring a wider separation between classes.

BanglaBERT starts from contextual pretraining on Bangla. The authors then train it on the benchmark labels, separately for each task, following the procedure associated with BERT. In a contextual representation, the same expression can contribute differently depending on its surroundings. This supplies a way to use clues that are spread across a comment or whose significance changes in context.

The BanglaBERT recipe sets the batch size to 16, caps sequence length at 512, and uses a learning rate of 2𝑒 −5. The learning rate controls the size of training updates. Batch size is the number of examples processed together for an update, and the sequence limit caps the amount of input processed for an example. Training lasts for 3 epochs, with an epoch representing a pass through the training data. The paper records the following AdamW optimizer settings.

β₁ = 0.9

Here β₁ controls the decay of the running average of the training gradients, and 0.9 is the reported setting.

β₂ = 0.999

Here β₂ controls the decay of the running average of squared gradients, and 0.999 is the reported setting.

ϵ = 1𝑒 −8

Here ϵ is the small term used for numerical stability, and 1𝑒 −8 is its reported value.

The authors repeat the runs with ten random seeds and select using development performance. Changing the seed changes random choices made during training, which can affect the resulting classifier. The test scores are therefore for a selection procedure that includes repeated runs and a development decision. The distinction matters when comparing the chosen run with training recipes that receive a different amount of selection.

How prompting and adaptation work

The generative experiments turn a classification problem into an instruction-following problem. The input combines a Bangla comment with instructions that identify the tasks and list the permissible answers. In the standard prompt, the system is asked for a JSON response, a structured format whose keys identify the type, severity, and target fields. The prompt also describes the rule coupling the labels when type is None. The intended response is a set of categorical decisions that can be compared with the human labels.

In the zero-shot condition, the input supplies the directions without worked classification examples. The paper describes keeping the prompt and response conventions, the output token limit, and decoding settings consistent across systems. The reported temperature is 0. Temperature controls how much variation is introduced when selecting output text. The shared configuration is meant to make the comparison depend less on differences in the way a response was requested. It leaves open how well the same instructions suit each system.

For few-shot learning, worked examples are included in the prompt before the system is asked to classify a new comment. The evaluated condition uses 3-shot prompting for Gemini-2.5-pro and GPT-5. The examples are part of the input supplied at inference. This tests whether demonstrations help specify the label boundaries or expected output in a way the instructions alone did not. The procedure is distinct from fine-tuning, which uses labeled data to change the system’s trainable parameters.

The authors use a template procedure to vary English instructions. GPT-4.1 and Claude-3.5 Sonnet help generate instruction formulations, and the paper reports 10 task templates per language. The appendix illustrates requests for diverse English formulations for each classification task. A template is randomly selected and paired with the comment during fine-tuning and inference. In this arrangement the English part defines what decision to return, while the Bangla part provides the evidence for making that decision.

The adaptation method is LoRA, short for low-rank adaptation. It trains a smaller set of parameters to modify a pretrained system’s behavior while keeping the original weights fixed. The purpose in this study is to reduce the computational cost of adaptation. The main recipe describes applying LoRA to Llama and Qwen, and the results also include a fine-tuned BanglaLLM condition. The generative zero-shot and adaptation experiments use a multitask setup. In this case, multitask means that the same example and response can carry the decisions for all label dimensions together. The BanglaBERT runs, by comparison, are trained task by task.

The LoRA recipe uses Adam, with FP16 specified for training, a sequence limit of 512, a batch size of 8, and three epochs in the main procedure. The authors report using the recipe without additional hyper-parameter tuning. The learning-rate and adapter settings are given below.

η = 2 × 10⁻⁴

Here η denotes the learning rate, × denotes multiplication, and 10⁻⁴ is the power of 10 by which 2 is multiplied in the reported setting.

α = 16

Here α is LoRA’s scaling parameter, and 16 is its value in the paper.

r = 64

Here r is the rank that determines the size of the low-rank update, and 64 is the setting used.

Adding explanations to the training examples

An additional experiment changes the output the generative systems are trained to produce. In the main setup, supervision supplies the labels. In the chain-of-thought condition, the authors add a synthetic Bangla rationale to the training response. They use Gemini-2.5-pro to write the rationale given the comment, its existing labels, and the relevant annotation definitions. The generation instructions ask for cues from the comment and discourage naming the labels within the explanation itself.

The subsequent LoRA training includes the rationale as well as the structured labels. The generation of the rationale and the prediction of the labels play different roles. The first procedure uses known labels to construct explanatory training material. The second evaluates whether training on that material changes predictions. The paper compares Llama and Qwen under this setup and includes a Qwen run marked as trained for 3 epochs. The reported evaluation concerns the classification scores. The setup gives the authors a way to ask whether the additional text helps the decisions, with the accuracy and reliability of the rationales left as separate questions.

Experiments and results

How to read the scores

The main comparison uses the BanglaMultiHate test split. Accuracy is the share of examples whose predicted label matches the reference. Precision asks how many predictions of a class are correct among the predictions assigned that class. Recall asks how many examples of a reference class the classifier recovers. F1 combines precision and recall so that a low value on either affects the result. Micro-F1 pools decisions across classes before combining precision and recall. Macro-F1 gives each class equal weight by averaging the class-level F1 scores.

The reported accuracy, recall, and micro-F1 repeat the same values across the main single-label comparisons. The other scores answer different questions. Weighted precision weights each class’s precision by its frequency in the reference data. Macro-F1 gives a rare class the same influence as a common one. An aggregate micro-F1 score tells the reader how often the classifier agreed with the reference labels across the whole set. Macro-F1 and the class-level analysis help determine how widely that success was distributed.

The distribution of test examples explains why those views matter. For type, None appears in 5,751 test comments, Abusive in 2,312, and Political Hate in 1,220. The same task has 179 Religious Hate test examples and 29 Sexism examples. For severity, Little to None accounts for 6,737 test items, while Mild has 2,001 and Severe has 1,462. The target label None covers 6,093 test examples. Individual, the largest named target class, has 1,571. These distributions let a baseline earn considerable credit from one repeated answer and make aggregate gains easier to achieve through improvements on common classes.

Type of hate

On the BanglaMultiHate test set, the random type baseline has micro-F1 of 0.164, and the majority baseline reaches 0.564. The support vector machine raises that score to 0.609. A classifier using word and phrase patterns has therefore learned something about the content that is absent from the majority decision. BanglaBERT reaches 0.712. Its macro-F1 is 0.530, against 0.320 for the support vector machine and 0.120 for the majority baseline. The macro results indicate improved performance when classes are given equal influence, while leaving room for important failures within individual classes.

Hate type on the BanglaMultiHate test set by micro-F1

BanglaBERT leads the type comparison, with the adapted BanglaLLM closest among the systems shown.

Hate type on the BanglaMultiHate test set by micro-F1Random baseline: 0.164Random baseline0.164Majority baseline: 0.564Majority baseline0.564SVM: 0.609SVM0.609Gemini-2.5-pro zero-shot: 0.674Gemini-2.5-pro zero-shot0.674GPT-5 few-shot: 0.654GPT-5 few-shot0.654Llama3 fine-tuned: 0.620Llama3 fine-tuned0.620BanglaLLM fine-tuned: 0.693BanglaLLM fine-tuned0.693BanglaBERT (this paper): 0.712BanglaBERT (this paper)0.712
The numbers
System or settingmicro-F1
Random baseline0.164
Majority baseline0.564
SVM0.609
Gemini-2.5-pro zero-shot0.674
GPT-5 few-shot0.654
Llama3 fine-tuned0.620
BanglaLLM fine-tuned0.693
BanglaBERT (this paper)0.712

The zero-shot scores differ markedly within the generative comparison. Llama3 records 0.275 micro-F1 for type, Qwen3 records 0.520, and BanglaLLM records 0.099. Qwen3 approaches the majority result, while BanglaLLM trails even the random score in this condition. Gemini-2.5-pro and GPT-5 score 0.674 and 0.638 respectively, both above the lexical classifier and the two simple baselines. Prompted performance therefore depends strongly on which system receives the instructions. BanglaLLM’s low score under direct prompting also makes its adapted result important to the interpretation.

For the fine-tuned systems, the type micro-F1 results are 0.620 for Llama3, 0.595 for Qwen3, and 0.693 for BanglaLLM. Llama3 moves from below the majority baseline to above the support vector machine. Qwen3 moves above the majority baseline but remains below the lexical classifier. BanglaLLM comes closest to BanglaBERT in this group. All of these are comparisons of matching test labels. They show how effective adaptation was for this prediction task, while the error analysis addresses which kinds of decisions account for that effectiveness.

Severity of hate

The majority baseline is stronger for severity than for type. Its micro-F1 is 0.660, and the support vector machine reaches 0.672. Gemini-2.5-pro reaches 0.698 without demonstrations. GPT-5’s zero-shot score is 0.651, below the majority baseline even though it exceeds the random score of 0.327. Llama3 and Qwen3 score 0.508 and 0.589 respectively under zero-shot prompting. The exact scores matter here because conclusions about whether prompting beat the baseline depend on which system is being discussed.

In the fine-tuned comparison, Llama3 scores 0.685 micro-F1 and Qwen3 scores 0.661. Fine-tuned BanglaLLM and BanglaBERT both score 0.722. This tie concerns micro-F1 on the severity task. Their weighted precision is 0.736 for fine-tuned BanglaLLM and 0.727 for BanglaBERT. The reported macro-F1 scores for severity are 0.626 and 0.608 respectively. Equal shares of correct predictions can accompany different patterns of class performance, including different behavior on the less common labels.

Hate severity on the BanglaMultiHate test set by micro-F1

BanglaBERT and fine-tuned BanglaLLM share the highest score.

Hate severity on the BanglaMultiHate test set by micro-F1Random baseline: 0.327Random baseline0.327Majority baseline: 0.660Majority baseline0.660SVM: 0.672SVM0.672Gemini-2.5-pro zero-shot: 0.698Gemini-2.5-pro zero-shot0.698Llama3 fine-tuned: 0.685Llama3 fine-tuned0.685Qwen3 fine-tuned: 0.661Qwen3 fine-tuned0.661BanglaLLM fine-tuned (this paper): 0.722BanglaLLM fine-tuned (this paper)0.722BanglaBERT: 0.722BanglaBERT0.722
The numbers
System or settingmicro-F1
Random baseline0.327
Majority baseline0.660
SVM0.672
Gemini-2.5-pro zero-shot0.698
Llama3 fine-tuned0.685
Qwen3 fine-tuned0.661
BanglaLLM fine-tuned (this paper)0.722
BanglaBERT0.722

Severity offers a case where the baseline and the ordered scale need to be read together. Predicting Little to None frequently earns credit because that label dominates the split. The task’s usefulness, however, also depends on decisions between Mild and Severe. Two systems could score similarly overall while disagreeing substantially on which severe examples to flag. The class-level analysis is needed to address that question.

Target of hate

Target identification produces the clearest setback for zero-shot prompting. The random baseline has micro-F1 of 0.204, and the majority baseline reaches 0.597. Gemini-2.5-pro has the strongest zero-shot score at 0.510. GPT-5 and Qwen3 each score 0.434, Llama3 scores 0.340, and BanglaLLM scores 0.149. Every zero-shot result falls below the majority decision. The outcome also qualifies any general description of the zero-shot systems as doing better than random, since BanglaLLM scores below that reference on this task.

The support vector machine reaches 0.629 micro-F1. Fine-tuned Llama3 scores 0.610, and fine-tuned Qwen3 scores 0.598. Fine-tuned BanglaLLM reaches 0.631, the strongest score among the fine-tuned generative systems. GPT-5 with examples in the prompt scores 0.648, and BanglaBERT reaches 0.715. The ranking shows why it helps to keep a learned lexical baseline in the experiment. A method can make substantial progress over its own zero-shot starting point and still face a stronger comparison from a classifier trained with simple features.

Hate target on the BanglaMultiHate test set by micro-F1

BanglaBERT leads target identification, and the lexical baseline remains competitive with adapted generative systems.

Hate target on the BanglaMultiHate test set by micro-F1Random baseline: 0.204Random baseline0.204Majority baseline: 0.597Majority baseline0.597SVM: 0.629SVM0.629Gemini-2.5-pro zero-shot: 0.510Gemini-2.5-pro zero-shot0.510GPT-5 few-shot: 0.648GPT-5 few-shot0.648Llama3 fine-tuned: 0.610Llama3 fine-tuned0.610Qwen3 fine-tuned: 0.598Qwen3 fine-tuned0.598BanglaLLM fine-tuned: 0.631BanglaLLM fine-tuned0.631BanglaBERT (this paper): 0.715BanglaBERT (this paper)0.715
The numbers
System or settingmicro-F1
Random baseline0.204
Majority baseline0.597
SVM0.629
Gemini-2.5-pro zero-shot0.510
GPT-5 few-shot0.648
Llama3 fine-tuned0.610
Qwen3 fine-tuned0.598
BanglaLLM fine-tuned0.631
BanglaBERT (this paper)0.715

The results support a narrower conclusion than the claim that one architecture is inherently best at reading Bangla. A separately trained BanglaBERT classifier is particularly effective at recovering these human target annotations on this test set. The benchmark gives the classifier both examples of no target and examples that distinguish kinds of targets. A system asked to infer those boundaries from a prompt alone has much less task-specific evidence about how the annotators drew them.

Performance on a separate Bangla benchmark

The authors also evaluate BanglaLLM across datasets using BD-SHS. The paper reports micro-F1 values of 0.803 for the Hate task, 0.630 for Type, and 0.482 for Target. The corresponding dataset-trained baseline scores are 0.901, 0.721, and 0.868. These are BD-SHS results and answer a different question from the BanglaMultiHate comparisons. They indicate how one system performs in a transfer experiment, measured against baselines trained on the destination dataset.

Target is again the weakest of the reported BanglaLLM scores. This outcome is consistent with the idea that target distinctions depend on the corpus and its conventions, as well as on competence in Bangla. The comparison changes the dataset and the relationship between training and evaluation, so the numbers do not identify which aspect of transfer causes the decline. They do show that good results within BanglaMultiHate are insufficient evidence for equivalent performance on another Bangla hate-speech resource.

What the ablations show

The paper does not report a systematic ablation of the full pipeline. It offers comparisons of prompting and adaptation conditions, an experiment that adds rationales, and analyses of training behavior, label relationships, and errors.

Adding demonstrations to the prompt

The comparison between zero-shot and 3-shot prompting changes the information the system receives when classifying. The authors evaluate the same tasks on the same benchmark and give the prompted systems worked examples. For Gemini-2.5-pro, test micro-F1 goes from 0.674 to 0.648 on type, from 0.698 to 0.643 on severity, and from 0.510 to 0.452 on target. On these runs the added examples do not improve the classifier’s match with the human labels.

GPT-5 responds differently. Its test micro-F1 goes from 0.638 to 0.654 on type and from 0.651 to 0.658 on severity. On target it goes from 0.434 to 0.648. That last comparison changes the ranking relative to the baseline. The zero-shot score falls below the majority result of 0.597, and the few-shot score exceeds it. Reading demonstrations thus helped GPT-5 establish the benchmark’s target distinctions in this setup, while the same broad intervention was associated with lower scores for Gemini.

These comparisons measure the outcome of the authors’ few-shot setup as a whole. They leave the contributions of example selection, ordering, and phrasing unresolved. An example can demonstrate the requested response format as well as the boundary between neighboring labels. The results cannot tell how much of the change came from either function. They do establish that the success of demonstrations cannot be assumed from the fact that a system performed well with instructions alone.

Changing the supervision through fine-tuning

The zero-shot and fine-tuned runs compare the same named systems under different kinds of task exposure. For Llama3, the test micro-F1 scores rise from 0.275 to 0.620 on type, from 0.508 to 0.685 on severity, and from 0.340 to 0.610 on target. Qwen3 also improves on all tasks under the main fine-tuning setup. Its type score changes from 0.520 to 0.595, its severity score from 0.589 to 0.661, and its target score from 0.434 to 0.598. The task labels supply information that the instructions alone did not make usable to the same extent.

The comparison with BanglaLLM illustrates how prior language exposure and the training protocol can interact. Under direct prompting it is weak on this benchmark. After fine-tuning it posts the strongest micro-F1 results among the fine-tuned generative systems on each task in the main comparison. The benchmark demonstrates the behavior of these systems under the stated recipes. The comparisons vary system family, pretraining, and training procedure, so the observed gains do not independently quantify how much culturally specific pretraining contributed. In particular, the BanglaBERT comparison also changes whether a dedicated classifier is trained for each task.

Training with explanations

When rationale supervision is added, Llama3 reaches test micro-F1 of 0.570 for type, 0.624 for severity, and 0.586 for target. The corresponding label-only fine-tuning scores are 0.620, 0.685, and 0.610. The added explanation text therefore coincides with lower classification scores for Llama3 across the tasks tested.

The Qwen run marked as trained for 3 epochs reaches 0.634, 0.665, and 0.630 across type, severity, and target. Compared with the main fine-tuned Qwen3 results of 0.595, 0.661, and 0.598, the longer rationale run scores higher on each task. The other Qwen rationale run records 0.601 on type, 0.647 on severity, and 0.616 on target. It is higher than the label-only result on type and target and lower on severity. The direction of the effect depends on which run and task are compared.

The rationales were generated with the correct labels available to the system composing them. That allows the authors to construct explanations of annotated decisions. An explanation generated under those conditions is not independent evidence that those cues were how the annotations were reached. The evaluation measures whether this extra supervision changes the ability to predict labels. It associates one Qwen recipe with better classification and a Llama recipe with worse classification. It does not test whether the explanations are faithful to the actual basis for a later decision.

The paper also tracks Qwen3’s training and validation loss. Loss is the quantity optimized during training, and the validation curve measures it on examples reserved for monitoring. Both decrease over the observed epochs and remain close. In this run, the curves give no evidence of the usual divergence in which training loss keeps falling while validation loss worsens. The figure addresses the behavior of the objective during training. Comparable curves can coexist with poor performance on rare classes or a different dataset.

How much the labels overlap

The authors compare the annotation dimensions with Cramér’s V and normalized mutual information. Cramér’s V measures association between categorical variables by examining how the observed combinations differ from those expected under independence. Normalized mutual information measures how much information about one variable is available from the other, with the result scaled for comparison. The statistics describe the annotation distribution. They do not measure classifier accuracy or agreement between annotators.

For type and severity, the paper reports Cramér’s V of 0.63 and normalized mutual information of 0.43. For type and target the values are 0.50 and 0.49, respectively. For severity and target they are 0.56 and 0.33. The values indicate that there is information shared between the dimensions. Some of that association is expected from the coding rule for None. The statistics also motivate looking at actual combinations among the comments with a hate type, where the independent descriptive value of the labels is easier to see.

In the test set, Abusive comments include 1,075 Mild cases and 591 Severe cases. Profane comments include 116 Mild cases and 552 Severe cases. The concentration of profanity in Severe describes the annotated comments in this collection, while the Mild cases show that profanity does not determine the severity label on its own. The target combinations show a similar pattern. Test comments labeled Abusive include 891 with Individual targets, and the most frequent named target in the Political Hate row is Organization, with 541. Both types also occur with other targets. This is direct evidence for labeling the dimensions separately even though many of their values are associated.

What the mistakes reveal

The paper examines performance by video topic and by annotation class. These are different analyses. A topic such as national news describes the context in which comments were collected. A class such as Religious Hate describes the content of an annotated comment. A system could perform similarly across the major topics while still being poor at recognizing a rare hate type present in several of them.

For the type task, a plot compares BanglaBERT’s accuracy within topics to its overall accuracy of approximately 71%. Topics with fewer than 10 examples are excluded. The plot includes 95% binomial control limits whose width depends on the number of examples. A small group is expected to show greater apparent variation in accuracy because a few classifications can change its score substantially. Most displayed topics lie within the limits. National news is slightly above the overall figure, while international news and politics are somewhat below. Higher apparent scores in small categories such as religion or disaster carry wider uncertainty. The plot therefore supports a limited reading of the major topical differences in this sample.

The appendix compares BanglaBERT and Gemini-2.5-pro by topic. The authors describe Gemini as more variable, with relatively competitive results in entertainment and sports and weaker results in areas such as national news and politics. They report weak performance for both systems in the history category. This analysis identifies where the benchmark results vary. The plots cannot establish whether low scores arise from a lack of historical or cultural knowledge, a different class distribution within a topic, or the limited number and difficulty of examples in that topic.

The class-level accounting gives a clearer view of what the overall score can hide. The authors report that BanglaBERT does not correctly identify any Sexism instances in its type error analysis. They report that GPT-5 identifies 18 out of 19 Sexism examples in its comparison, while its results are weaker on frequent types such as Abusive and Profane. The main split table lists 29 Sexism cases in the type test set, so the appendix count should be read as the authors’ reported analysis instead of a directly comparable recall result for the full split. The practical finding is that the strong overall BanglaBERT score coexists with a severe failure on a rare class, and apparent strength on a rare class can coexist with much weaker performance elsewhere.

The qualitative errors illustrate why the category boundaries matter. Some politically charged statements are interpreted as general abuse. In other cases, the presence of a sensitive geopolitical actor is associated with an incorrect inference that a comment expresses hate. The first pattern blurs alternatives within the hate-type inventory. The second concerns whether the comment should receive a hate label in the first place. Both can produce the same contribution to overall error while pointing to different problems in the classification.

Limitations

Limits stated by the authors

The authors identify class imbalance as a limitation for training and evaluation. Rare classes supply relatively few examples of how a label can be expressed. A learner can become more accurate overall by specializing in common cases, and a held-out rare class can give an unstable picture of performance when its examples are few. Stratification preserves the class distributions across the splits. It cannot create additional rare examples. The authors mention collecting more such instances, resampling, and augmentation as possible directions for addressing the imbalance.

They also note that the comments themselves can be disturbing or offensive. Annotators were cautioned about the material and given warnings before working with it. The paper acknowledges that judging hate is subjective, leaving room for bias even with definitions, training, independent review, and consensus. Agreement measures consistency within the annotation process. A different group of readers or a different policy could draw some boundaries differently. The authors say that the released dataset consists of comments without personally identifiable user information.

The conclusion proposes extending the dataset with reasoning to support interpretation at the task level. That proposed extension is distinct from the additional experiment using synthetic rationales. The release described in the paper supplies the labels and supports the reported comparisons. The rationale experiment investigates whether generated explanatory text can help training. The authors do not establish that those explanations would provide a dependable account of a classifier’s decision in use.

Limits visible in the experimental design

The collection has useful topical breadth but a concentrated source. Most comments come from a small set of topics, and collection is chiefly from videos on one news channel. Differences in platform conventions, audiences, conversation styles, and sources of context can change the evidence available to a classifier. Removing Romanized Bangla also limits the reach of the findings to the kinds of comments retained. The BD-SHS experiment offers some evidence of cross-corpus difficulty. It still leaves transfer across channels, time periods, and varieties of Bangla mostly unmeasured.

A related issue is the information given to the classifier. The evaluated inputs are comments with instructions where appropriate. In a conversation, the target or force of a statement can depend on the preceding exchange, the video it addresses, or the referent of a pronoun. The benchmark tells us how well the labels can be recovered from the chosen input. It cannot establish how a classifier would perform given a full thread, or how often extra context would change a human label. This distinction is especially relevant to the errors involving politics and geopolitical references.

The annotation scheme supplies one label per dimension. That design supports direct comparisons across methods. It also requires a single answer where a comment may combine profanity and abuse or attack people and institutions together. The ordering of severity is another distinction compressed by the main scores. Misclassifying Severe as Mild and misclassifying it as Little to None each count as a label mismatch under accuracy. The benchmark’s overall scores leave the practical consequences of those different errors open.

The conditional rule linking the tasks complicates interpretations of multitask performance. A correct None decision for type carries information about the associated severity and target labels. That is a legitimate feature of the benchmark. It also means a strong overall score on severity or target can partly reflect success in recognizing comments free of hate, instead of a fine distinction among harmful comments. A direct comparison of otherwise matched training procedures with and without joint prediction would be needed to measure the benefit of sharing the tasks. The reported BanglaBERT and generative comparisons vary several other properties at once.

The results also leave some uncertainty about the precise interpretation of class-specific performance. The paper’s appendix includes confusion matrices with extra label names in the GPT-5 analysis, beyond the benchmark’s standard output inventories. Some class counts also differ from the main split table. The paper does not establish how to reconcile those entries with the standard test labels for a fully like-for-like comparison. The main scores can be reported as given, while the appendix is most defensible as evidence of uneven behavior and particular examples of mistakes.

Finally, the experiments compare agreement with human labels on selected datasets. The potential moderation use that motivates the paper would involve other decisions, such as when to refer a comment to a human reviewer and how to handle serious errors on rare classes. The paper provides no evaluation of those outcomes. Its strongest evidence concerns a defined task on the annotated data, where task-specific training helps considerably and a dedicated Bangla classifier remains a strong reference.

What came after

POLAR: A Benchmark for Multilingual, Multicultural, and Multi-Event Online Polarization cites the paper. POLAR’s stated scope is online polarization across languages, cultures, and events. BanglaMultiHate’s scope is the annotation of hate in Bangla comments along several dimensions. The citation establishes a connection between these studies of online discourse, while the available account leaves open whether POLAR adopted any of the Bangla labels, used its comments, or carried over an evaluation procedure.

The BLP Task 1 overview is also listed as citing the paper. The citation establishes that relationship, but the account of the overview gives no details about whether it reused the corpus, its annotation scheme, or a classifier. The strongest evidence of what subsequently traveled from BanglaMultiHate is therefore the recorded citations themselves. Which parts of the benchmark informed either work remains unspecified.

Cite

Cite as Md Arid Hasan, Firoj Alam, Md Fahad Hossain, Usman Naseem and Syed Ishtiaque Ahmed. 2026. LLM-Based Multi-Task Bangla Hate Speech Detection: Type, Severity, and Target. Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers).

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/2026.acl-long.1565

@inproceedings{hasan2026llm,
  title = {{LLM-Based Multi-Task Bangla Hate Speech Detection: Type, Severity, and Target}},
  author = {Md Arid Hasan, Firoj Alam, Md Fahad Hossain, Usman Naseem and Syed Ishtiaque Ahmed},
  booktitle = {Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)},
  year = {2026},
  doi = {10.18653/v1/2026.acl-long.1565},
  url = {https://doi.org/10.18653/v1/2026.acl-long.1565}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/hasan-2026-llm-based-multi-task-bangla/