CUET_Binary_Hackers@DravidianLangTech EACL2024: Hate and Offensive Language Detection in Telugu Code-Mixed Text Using Sentence Similarity BERT
Paper · 2024 · Salman Farsi, Asrarul Eusha, Jawad Hossain et al.
Summary
The words that make a comment offensive can depend on a phrase written in another language. That presents a problem for automated detection in Telugu social media, where a post or comment can draw on more than one language. Farsi and colleagues investigate this kind of writing in a shared task. The organizers give each text a single label. Hate speech and offensive language belong to the same category, and the other category covers texts judged to fall outside it. The team asks how well different ways of representing a comment support that decision.
The experiments begin with classifiers that learn from weighted terms. Neural sequence classifiers take a different input, using word embeddings that express words as vectors, then looking for patterns in their sequence. The team also adapts pretrained transformers to the task by fine-tuning them on the labeled examples. The team's chosen encoder, L3Cube Indic-SBERT, was developed to represent semantic similarity across Indian languages. The Telugu experiment gives it a new job. It uses the representation of an individual text to help decide which category the text belongs to.
Indic-SBERT and XLM-R share the highest displayed test macro F1 of 0.70. Macro F1 gives each class equal weight by averaging their individual F1 scores, which combine precision and recall. The authors choose Indic-SBERT because its reported test recall is 0.70, ahead of XLM-R at 0.69. In the shared-task ranking, their submission earns 0.7013 macro F1 and places sixth. A support vector machine reaches 0.65 test macro F1, leading the conventional baselines. FastText improves on Word2Vec in every matched sequence architecture, and the strongest sequence run, a bidirectional recurrent classifier using fastText, reaches 0.60 test macro F1.
The selected classifier makes errors in both directions. The authors report error rates of 28.4% for the hate class and 31.2% for the non-hate class in their confusion-matrix analysis. They suggest that similar mixed-language vocabulary may occur under both labels, leaving the intended meaning dependent on context. The experiments establish a ranking among the systems as trained for this benchmark. The particular benefit of sentence-similarity training remains unresolved, since Indic-SBERT also differs from the alternatives in how it was adapted for Indian languages and in its broader training history. Performance on a different collection of comments remains an open question.
Deep dive: CUET_Binary_Hackers@DravidianLangTech EACL2024: Hate and Offensive Language Detection in Telugu Code-Mixed Text Using Sentence Similarity BERT
Farsi and colleagues compare Indic-SBERT with other classifiers for detecting hate and offensive language in Telugu social media text that mixes languages. · about 34 minutes to read
The problem and its context
A decision about the whole comment
The paper starts from the practical difficulty of reviewing a large volume of public writing. Social platforms make it easy to post remarks that target other people or groups. The authors mention attacks or marginalization tied to religion, appearance, and sexual orientation. A person reading a comment can consider whom it addresses and how its words work together. An automated system has to recover enough of that evidence from its input to make a useful decision. The authors study whether systems trained on a common set of examples can do this for Telugu mixed-language writing.
HOLD-Telugu turns the problem into text classification. The input is a post or comment and the output is a class. A labeled example tells the learner which class the benchmark assigns to the input. During evaluation, that label supplies the answer against which a prediction is judged. This setup makes it possible to compare systems that turn the same kind of text into very different numerical inputs. A classifier can work with evidence from individual terms, from sequences, or from larger contextual representations, while the meaning of a correct prediction stays the same.
The organizers use a binary distinction. The positive category covers hate or offensive content. The negative category covers content assigned to neither. The paper frequently calls these labels hate and non-hate, and those names refer to the benchmark categories when used for the results. A decision in favor of the positive category gives the system credit whenever it matches the reference label. The label itself carries no separate judgment about whether hate, offensiveness, or both motivated the annotation. It also supplies no identification of the particular target or the span that prompted the judgment.
That definition matters when placing the task among other studies. The paper's introduction mentions cyberbullying, aggression, toxicity, and abuse as related detection problems. Each term can be the basis for a different labeling scheme, and an evaluation inherits the scope of the scheme it uses. A result for the combined positive category here provides evidence about recognizing that category. It leaves the distribution of performance within the category open. An earlier study cited by the authors examines the distinctions between such labels across hate-speech datasets. Toxic, Hateful, Offensive or Abusive?
The same scope applies to the relation between the benchmark and the authors' practical motivation. The experimental input is a written item. The method describes no separate fields for the author, the intended target, or the preceding exchange. The question is how much information about the category can be learned from the item and the labeled training examples. Any evidence that would require reading around the comment lies outside that reported input. This makes the benchmark a defined test of classification from text, with a much larger moderation problem as its motivation.
Where the language mixture matters
Code-mixing means that material from different languages can appear inside the same text. In a comment, the words that identify a target and the words that express what is being said about it can come from different languages. The interpretation of the whole comment can therefore depend on relationships across the language switch. This is a question for Multilingual & cross-lingual NLP at the scale of a single input. A method that works with documents in several languages still has to make use of the particular mixture found inside an individual comment.
The authors also discuss Telugu in the context of low-resource languages. They contrast the available resources with those for languages that have received more attention in hate and offensive language detection, including Spanish and Arabic. For this task, the organizer-supplied labels give participants a common basis for learning and evaluation. Work on the earlier shared task on abusive comments in Tamil and Telugu is cited as the source for the data used in the Telugu benchmark. Overview of Shared-task on Abusive Comment Detection in Tamil and Telugu
A limited collection of labeled examples affects the information a classifier can learn about a word. When a word regularly occurs under the same label, its presence can be useful evidence. When it appears under both, its relationship to the surrounding words may matter more. A method based on term counts can give the same feature weight to a word regardless of its position. A method that processes a sequence can learn a different response when the surroundings change. The paper's comparison gives each of these approaches a way to use the available training examples.
Pretraining adds another possibility. A system can begin with parameters learned before it sees the Telugu labels. Its task training then has to connect the distinctions expressed by those parameters to the categories in the shared task. That division of labor is especially pertinent when the labeled collection offers limited occasions to learn how the mixture works. The value of the starting representation still depends on what the task asks. Recognizing that two sentences convey related meanings and recognizing that a particular comment belongs to the offensive category are decisions with different training signals.
What the authors take from earlier detection studies
The related work shows why a conventional baseline is worth taking seriously. The authors describe a Bengali abusive-text study that compared a support vector machine, a random forest, and Naive Bayes. They report approximately 95% accuracy for that earlier framework on its own task. Accuracy is the share of predictions that match the reference labels. That result belongs to a different dataset and a different evaluation measure. Its relevance here is that useful abusive-language decisions had already been obtained from conventional supervised methods, making them a substantive part of the Telugu comparison.
The review also describes a study that investigated code-mixed Tamil and Malayalam, as well as a Malayalam setting involving mixed scripts. That work used n-gram features, which represent consecutive units, weighted with TF-IDF, which takes account of how often a feature occurs both within an item and across a collection. In the Tamil code-mixed setting, multinomial Naive Bayes reached 0.90 weighted F1. For the Malayalam code-mixed setting, the reported leader was logistic regression at 0.78 weighted F1. A vanilla neural network reached 0.95 weighted F1 in the Malayalam script-mixed setting. Weighted F1 combines class F1 scores with weights related to class frequency. Each figure describes a setting in that earlier study.
These earlier comparisons give context for the range of methods Farsi and colleagues try. A classifier can learn useful signals from the identity of terms or short expressions. A sequence architecture can also learn to combine evidence across positions in ways that a fixed inventory of term features leaves implicit. The best-performing approach can change with the writing under study, as the earlier Tamil and Malayalam examples illustrate. For Telugu, the authors test these possibilities against the labels and language mixture they actually have.
Another line of prior work compares architectures for learning from ordered text. The paper describes an Arabic hate-speech study in which a recurrent neural network reached 98.7% accuracy and scored above a convolutional network. Recurrence passes information along a sequence. Convolution applies a learned operation to successive local portions of it. Earlier use of both mechanisms gives the authors a reason to compare them on Telugu, where an informative cue could be a short expression or a relationship that extends across a larger stretch of a comment.
The paper also describes work by Mazari and colleagues that allowed multiple hate-speech labels for an item and combined pretrained BERT with recurrent ensemble components. That study reported a ROC-AUC of 98.63%. ROC-AUC evaluates discrimination across decision thresholds, and the reported figure belongs to that earlier multi-label experiment. Its methodological relevance is the use of pretrained contextual representations alongside recurrent architectures. BERT itself supplies the basis for several of the systems discussed in the Telugu paper. BERT
Prior Dravidian shared tasks brought the input and methods closer to the present study. The authors describe offensive-language work on Tamil, Kannada, and Malayalam that evaluated multilingual encoders such as XLM-R and multilingual BERT. Other participants in the same task investigated alternatives that included MuRIL and Distil-BERT. The paper also mentions a weighted ensemble of BERT variants for Bengali aggression detection. Those examples make the choice of a pretrained starting point, and the choice of whether to combine several starting points, concrete experimental questions.
The nearest precedent for the team's eventual submission comes from Joshi and Joshi. The paper describes their work on offensive-language detection in Indian languages using sentence encoders, including L3Cube Indic-SBERT and systems developed for particular languages. A sentence encoder is trained to represent a stretch of text as a unit, which gives it a potential use when the meaning of a phrase depends on expressions elsewhere in the input. The Telugu authors take that existing encoder and test it alongside other approaches to the new benchmark. The prior work motivates the candidate. The labels in HOLD-Telugu determine what the candidate has to learn.
The method, step by step
Cleaning the input and choosing a representation
The procedure begins with the shared-task text and, for training examples, its reference category. The authors clean the writing before describing how they extract features. Their preprocessing removes emojis, numbers, symbols, signs, and selected punctuation. They regard this material as extraneous for their experiments. The operation changes the text from which the classifier can draw evidence, while the reference category attached to the example stays the same.
Next, the method branches. In the conventional branch, the system converts the cleaned comment into a profile of weighted terms. In the sequence branch, it represents the words as vectors arranged in their original order. In the pretrained branch, it presents the text to an existing encoder and adapts that encoder for the label decision. A feature is a numerical input used by a learner, and each branch supplies features with a different relationship to the original writing. A coordinate tied to a term is directly connected to that term. A sequence of vectors gives later layers information at successive positions. A pretrained representation can change with the context of each input.
The branches yield their own classifiers. The conventional ensemble is a combination within one branch. The other comparisons are between separately trained systems, each of which makes the shared task's binary prediction. Indic-SBERT follows the pretrained route from prepared text through task training and then to a decision on an evaluation item.
From Telugu social media text to a class decision
The steps in order.
Learning from the terms in a comment
The conventional systems use TF-IDF features for unigrams, which are individual terms. The term-frequency part gives the representation information about how much the term appears in an item. The inverse-document-frequency part discounts terms that appear in many items. A term can therefore make a prominent contribution to the representation when it is characteristic of the text and comparatively selective across the collection. This weighting concerns the distribution of the term. The training labels are what allow the classifier to learn whether the resulting feature tends to support a particular class.
A unigram representation treats the terms as a collection inside each text. The vector gives each retained term a coordinate, so words with separate identities can contribute separate pieces of evidence. A combination of several words can affect a prediction through those coordinates. Their positions, however, are absent from this description. A change in the ordering of terms that preserves their weights gives the classifier the same input. That property explains both the economy of the representation and the kind of evidence it leaves for the sequence branches to explore.
The paper tests logistic regression with the liblinear solver and a setting of 1 for C. The solver is the procedure used to fit the classifier to the training data. C governs the tradeoff between fitting the examples and constraining the fitted classifier. Logistic regression combines the input features into a score that supports a binary decision. In this application, that gives the training procedure a way to learn how individual terms contribute when considered together.
The support vector machine, abbreviated SVM, learns a boundary in the feature representation. The side of that boundary on which a comment lies determines its predicted category. The authors give this classifier a C setting of 1 as well. They also report a setting called sigmoid, which the method describes as an optimizer. The wording leaves its role in the implementation unclear. This is a case where the paper identifies the setting and the input features, while the exact fitting configuration would require more detail.
The ensemble draws on logistic regression, a decision tree, a random forest, and a support vector machine. A decision tree uses successive feature tests to reach an output. A random forest obtains a decision from a collection of trees. Together with the other learners, these components offer different ways to use the weighted terms. The ensemble produces a single classification for each text. The paper specifies its membership and leaves the rule for turning the members' predictions into one label unspecified.
Representing the inputs as ordered vectors
The sequence classifiers begin with word vectors supplied by either Word2Vec or fastText. In both cases each vector has 300 dimensions. A dimension is a numerical component of the vector, and the components together represent a word in a form the network can process. The word vectors are supplied in sequence, giving the layers access to how the words are arranged in a comment. A vector's role in the classifier can consequently depend on what the architecture extracts from the vectors near it or from features farther along in the input.
Word2Vec represents words as units. FastText draws on information about pieces of words in forming its word representations. Word-part information offers a basis for linking forms that share some of their written material. This is relevant to the authors' interest in whether the available embeddings express useful relationships in mixed writing. Their experiment compares the embeddings as complete alternatives. It gives each of them the same vector dimensionality and uses each with every sequence architecture. Word2Vec and fastText
The representation and the sequence layers solve different parts of the problem. The embedding turns a word into numerical input. The layers determine which patterns in that input are associated with the expected label. Good numerical descriptions of individual words would still leave the system with the job of finding useful arrangements of those descriptions. Conversely, an architecture capable of combining information over a large part of the input depends on what the embeddings give it to combine. Testing both embeddings with each architecture lets the study observe whether the choice of vectors matters across different ways of processing the sequence.
Local patterns, recurrence, and the hybrid
The convolutional neural network, or CNN, reads the sequence through a one-dimensional convolution. As reported, the layer has a kernel size of 5 and uses 128 filters. Each filter computes a learned response across a local window of the input. It applies the same operation as the window advances, so a filter can detect a configuration wherever that configuration happens to appear. The kernel size specifies how wide a portion of the sequence contributes to each local response.
After convolution, the stand-alone CNN applies global max pooling. For each filter it keeps the strongest response along the sequence. A useful cue can thus survive the reduction of the entire comment to a shorter representation. The output of global pooling preserves how strongly a filter responded, while discarding the location of that response. This design makes sense when the presence of a pattern matters to classification and it could occur anywhere in the comment. Relationships between the locations of separate pooled responses are unavailable at that point.
The recurrent classifier uses a bidirectional long short-term memory network, abbreviated BiLSTM. A recurrent layer processes successive positions while carrying a state onward. That state can encode information acquired earlier in the traversal. Bidirectional processing uses a traversal in each direction, so the resulting representation can take information from the preceding and the following portions of the input. This provides a way to learn dependencies that extend beyond the window used for a single convolution operation. The paper identifies the stand-alone BiLSTM and gives its most detailed account of recurrent processing for the hybrid system.
In the hybrid, the first learned operation is again a convolution with 128 filters. The next step uses max pooling with a window size of 2. Pooling is local here, so the output still consists of a sequence of responses from different parts of the original input. The result is a sequence of detected features for the recurrent layer to read. A response in this sequence can already reflect a pattern in neighboring word vectors, and the recurrent layer can learn relationships among such patterns across a broader span.
The paper describes the hybrid's recurrent layer as using 200 bidirectional cells. A cell is the unit that updates the internal representation as information moves along the sequence. That layer uses dropout of 0.2. Dropout temporarily suppresses some activations during training to reduce dependence on any particular set of internal signals. After the bidirectional outputs are joined, a sigmoid layer supplies the output for the binary prediction. The joining gives the final layer access to information learned from both traversals.
The sequence training configuration lists ReLU for hidden activation and sigmoid for output activation. Activations transform the numerical signals passed from a layer. ReLU preserves positive inputs and suppresses negative ones. A sigmoid maps its input to a bounded output suitable for a binary training objective. The detailed architectural description specifies the sigmoid readout in the hybrid. The configuration table describes the training settings shared at the level of the sequence family.
Training the sequence classifiers
The objective for the sequence runs is binary crossentropy. A training objective gives the system a numerical penalty for how its output relates to the expected category. With binary crossentropy, confidence in an incorrect answer adds to the penalty, so the training signal depends on the output score as well as the reference label. The optimizer uses that signal to adjust the network's parameters. For these runs the optimizer is Adam, with a learning rate of 1e −3. The learning rate is the setting that governs the scale of the adjustments made in training.
The paper reports a batch size of 32 for this family. A batch groups the examples that contribute to a parameter update. The training schedule lists 30 epochs, with an epoch corresponding to a pass through the training examples. It also gives a maximum length setting of 80, which sets the input length budget, and a dropout setting of 0.2. These settings specify the conditions under which the authors compare the sequence systems. The unit and handling of the maximum length are left implicit in the configuration.
The paper describes these procedures through prose, architecture details, and named settings. It supplies no explicit equations for the feature weights, the loss, or the final decision rule. In particular, identifying TF-IDF and binary crossentropy specifies familiar families of operations without fixing every choice a software implementation might make. For the study's comparison, the reported choices distinguish the branches and document the training schedules applied within them.
Adapting the pretrained encoders
The pretrained branch begins with encoders whose parameters were learned before the Telugu task. A transformer can use relationships among parts of the input in forming their representations. The resulting numerical description can depend on the expression surrounding a word. Training on the shared-task categories then adjusts the system so that its representations support the desired output. At prediction time it assigns a category to an individual text from that task.
The authors compare cased and uncased multilingual BERT. These variants differ in their treatment of letter case and arrive with their own pretrained parameters. They also include Distil-BERT, a compressed derivative of BERT. MuRIL is another candidate, developed with Indian-language representation in view. Each is tested as an available starting point for the same supervised task. DistilBERT and MuRIL
XLM-R provides a multilingual alternative rooted in cross-lingual representation learning. A cross-lingual representation is intended to make linguistic information useful across languages. This aim makes XLM-R a relevant candidate for texts whose interpretation draws on multiple languages. Its test score measures how the checkpoint as a whole responds to task adaptation. XLM-R
Indic-SBERT has a different training history. The authors describe it as a multilingual Sentence-BERT encoder produced by adapting BERT with a synthetic corpus for Indian languages. Here synthetic means that the corpus was created for use in training. In sentence-similarity work, the desired representation helps distinguish sentences whose meanings are close from sentences whose meanings are farther apart. The paper describes Indic-SBERT as performing favorably against LaBSE and LASER in earlier similarity evaluations across Indian languages. Those alternatives are discussed as background to the encoder's development. LaBSE and LASER
The Telugu study uses that sentence-level training as a starting point. The supervision in the shared task is the category of the post or comment. The new training gives the system a reason to preserve distinctions useful for offensive-language classification, regardless of how the original similarity task treated them. The reported prediction procedure takes an individual item and returns a label. The method gives no role to a paired reference sentence, a nearest-example lookup, or a similarity cutoff. This distinction between earlier training and present use explains why a sentence-similarity encoder appears in a classification experiment.
The authors import the encoders from Hugging Face and train them through ktrain. They report using a random seed to help make the training reproducible. A seed sets the initial state for random choices used by the training software. The paper also identifies a GitHub repository for the team's implementation. Hugging Face Transformers
The common transformer schedule uses AdamW with a learning rate of 3e −5. The batch size is 16, the maximum length setting is 100, and the schedule specifies 10 epochs. The authors arrived at their settings through repeated trials and describe the common schedule as a way to compare architectures under consistent training conditions. Sharing the schedule holds those reported task-training choices fixed within the pretrained group. Across the sequence and pretrained groups, the systems have separate schedules and input length settings. The broad experiment consequently compares the systems as trained with the settings reported for their respective families.
Experiments and results
The labeled data and how scores are read
The organizers supplied a training split and a test split for HOLD-Telugu. The paper describes the items as code-mixed posts and comments from social media. Its prose gives 4,000 items for training, with 1,939 carrying the hate label and 2,061 carrying the non-hate label. Both categories thus account for substantial portions of the training data. There was no organizer-supplied validation split. A validation split would provide a separate set of labeled examples for choosing settings during development. The paper gives the final configurations and says the choices were made through repeated trials.
The dataset statistics include vocabulary size, maximum and average lengths, and out-of-vocabulary words. An out-of-vocabulary word is a form absent from the vocabulary against which it is checked. These quantities are relevant to the methods because length budgets and lexical coverage can affect what reaches the classifier. The paper's description leaves the correspondence between its test-count entries and the pool discussed in its error analysis unclear. The system comparison explicitly identifies its split as test data. The confusion counts are presented separately for the selected classifier.
Three quantities appear in the internal comparison. For a particular class, precision asks how many of the predictions of that class are correct as a share of all predictions of that class. Recall asks how many items carrying the class label are correctly identified as a share of all items carrying it. Consider the hate class. A non-hate comment mistakenly predicted as hate adds an incorrect prediction of hate and reduces precision for that category. A hate comment missed by the classifier reduces recall for that category. For the non-hate class, the roles of the labels reverse.
F1 uses the harmonic mean of precision and recall, giving a low value on either measure substantial influence. The paper's main score is macro F1. The macro calculation first takes an F1 score for each class and then averages the class scores with equal weight. This gives performance on the negative label the same influence on the average as performance on the positive label. The paper names F1 as macro-averaged in the comparison table. It leaves the averaging convention of the precision and recall columns unspecified, so their values are best read as the reported test precision and recall for the system.
The paper uses its results for two comparisons. One asks how the team's candidate systems performed under the reported training setups. The other locates the submitted run among participating teams. The first is informative about the choices available to the authors when they selected an entry. The second reports the outcome of that entry in the shared task. These comparisons have different reporting precision, and the team ranking tells much less about how the competing systems made their decisions.
How far weighted terms go
The strongest conventional baseline is the support vector machine. Its test macro F1 is 0.65, and the reported precision and recall are each 0.65. Logistic regression has a test macro F1 of 0.63, with precision and recall both at 0.63. These two runs establish that the unigram representation contains considerable evidence for learning the labels. The classifier can recover that evidence directly through weighted term features, without an explicit representation of the order in which the terms occur.
The conventional ensemble records 0.59 test macro F1. Its precision is 0.60 and its recall is 0.60. Both of the learners also reported as individual baselines, logistic regression and the SVM, score higher on macro F1 than the ensemble. The other members have no separate result in the main comparison. The ensemble result demonstrates how the implemented combination performed on the same task. The score alone leaves open whether the contributing classifiers tended to succeed on the same comments or whether their outputs could have been combined more effectively.
This baseline also helps interpret the sequence results. The support vector machine has a simple lexical input and still scores above every sequence classifier on macro F1. The ability to process the words in order is a meaningful difference between the methods, but it does not guarantee that the trained sequence network can make better use of the evidence. That depends on the vectors the architecture receives and on the patterns it learns from the examples. The lexical classifier has direct access to term identity, which can be valuable whenever the words themselves are predictive.
What changes with fastText
Each use of fastText produces a higher test macro F1 than the corresponding use of Word2Vec. The paired pattern holds for the convolutional network, the recurrent network, and their hybrid. With Word2Vec, the hybrid leads the sequence runs using that embedding at 0.42. With fastText, the BiLSTM leads at 0.60. The score ordering therefore changes with the input representation. Combining convolution and recurrence gives the strongest Word2Vec result, while recurrence on its own gives the strongest result with fastText.
Macro F1 by sequence architecture and embedding on the HOLD-Telugu test set
FastText improves every matched architecture, and its BiLSTM run leads the sequence group.
The numbers
| System or setting | macro F1 |
|---|---|
| CNN with Word2Vec | 0.40 |
| CNN with fastText | 0.57 |
| BiLSTM with Word2Vec | 0.41 |
| BiLSTM with fastText (this paper) | 0.60 |
| Hybrid with Word2Vec | 0.42 |
| Hybrid with fastText | 0.55 |
The reported precision and recall show the same ordering between embeddings within each architecture. For the CNN with Word2Vec, they are 0.54 and 0.51, respectively. With fastText the CNN records precision of 0.64 and recall of 0.60. For the BiLSTM, Word2Vec gives precision of 0.58 and recall of 0.52, while fastText gives precision of 0.68 and recall of 0.63. The hybrid records precision of 0.56 and recall of 0.52 with Word2Vec. With fastText, the hybrid's precision is 0.65 and its recall is 0.60.
The recurrent fastText system illustrates how the choice of metric matters to the overall comparison. Its precision of 0.68 is higher than that of the conventional SVM, while its recall of 0.63 is lower. The SVM still leads on macro F1, the criterion that gives the class-level balances between precision and recall equal influence. Within the sequence group, the fastText BiLSTM has the best reported values for all three metrics. Its macro F1 also exceeds the conventional ensemble score, while both individual conventional baselines remain ahead on that criterion.
How the pretrained systems compare
The cased version of multilingual BERT reaches a test macro F1 of 0.69, and the uncased version reaches 0.65. MuRIL also reaches 0.69, and Distil-BERT reaches 0.67. The highest displayed value, 0.70, belongs to both XLM-R and Indic-SBERT. The uncased multilingual BERT run shares the SVM's displayed score. The other pretrained candidates rank above the SVM on the reported macro F1, so the stronger results extend beyond the team's preferred encoder.
Test macro F1 for conventional baselines and pretrained classifiers on HOLD-Telugu
Indic-SBERT and XLM-R share the highest displayed score, ahead of the leading term-weighted baseline.
The numbers
| System or setting | macro F1 |
|---|---|
| Conventional ensemble | 0.59 |
| Logistic regression | 0.63 |
| Support vector machine | 0.65 |
| Uncased multilingual BERT | 0.65 |
| Distil-BERT | 0.67 |
| Cased multilingual BERT | 0.69 |
| MuRIL | 0.69 |
| XLM-R | 0.70 |
| Indic-SBERT (this paper) | 0.70 |
The precision and recall columns supply additional detail about scores that coincide on macro F1. Cased multilingual BERT has precision and recall of 0.69. MuRIL reaches the same recall, 0.69, with precision of 0.68. Uncased multilingual BERT gives 0.65 for each, and Distil-BERT has precision and recall of 0.67. Those rows show that macro F1 can place systems together while their reported precision differs. They also establish the strength of the alternatives immediately below the leading pair.
For the pair at the top, both systems have precision of 0.70. The authors select Indic-SBERT on the basis of its recall of 0.70, compared with XLM-R's 0.69. The recall comparison is the specific evidence given for selection. The macro F1 tie is at the precision displayed in the internal comparison, and the paper gives no corresponding higher-precision score for XLM-R. The exact submission score in the ranking consequently cannot settle a higher-precision comparison between the two encoders.
Similar aggregate scores also leave room for differences on individual texts. Two classifiers can reach similar results through successes on largely the same examples or through different sets of correct predictions. That question matters when considering why an encoder works and whether a combination of systems might help. The paper gives a confusion matrix for Indic-SBERT, which describes how that system's mistakes are distributed across the classes. The comparison table supplies no item-level overlap with XLM-R.
The shared-task outcome
The ranking table identifies the team's submission as run 2 and gives it 0.7013 F1 at rank 6. The paper reports this as macro F1. The same table lists Sandalphon at rank 1 and Selam at rank 2, with a displayed score of 0.7711 for each. MUCS appears at rank 15 with 0.6501. These are selected entries from the ranking. The table leaves the ordering of the leading entries with equal displayed scores unexplained.
Macro F1 for selected runs in the HOLD-Telugu shared-task ranking
CUET_Binary_Hackers finishes below the leading entries shown and above MUCS.
The numbers
| System or setting | macro F1 |
|---|---|
| Sandalphon | 0.7711 |
| Selam | 0.7711 |
| CUET_Binary_Hackers with Indic-SBERT (this paper) | 0.7013 |
| MUCS | 0.6501 |
The leaderboard shows both the team's placing and the fact that higher-scoring submissions existed on the benchmark. The paper supplies no account of the configurations those teams used in the runs shown. Their scores give the submitted result a common evaluation context, while explanations for differences between the teams lie outside the ranking evidence. The internal results are the basis for comparing the CUET team's choices of representation and classifier.
What the ablations show
The paper reports no formal component-removal ablation and instead offers matched embedding comparisons, comparisons of complete pretrained systems, and a confusion-matrix analysis of Indic-SBERT.
What the matched runs can isolate
The embedding comparison gives the clearest evidence from varying a specific part of the setup. Every sequence architecture appears with both embedding methods, and both methods use vectors with the same dimensionality. The comparison therefore holds the named architecture constant while changing the vector source. The fact that fastText leads under each architecture makes its advantage broader than an outcome for a single network. The recurrent classifier supplies the best fastText result, but the convolutional and hybrid comparisons show that the ordering does not depend on choosing that recurrent architecture.
The authors suggest that Word2Vec had difficulty representing semantic information in the mixed text. FastText's use of word parts provides a possible way to preserve useful relationships among forms. The matched runs establish that changing the embeddings in these systems changes the results. They leave the source of the advantage unresolved. The paper offers no comparison within fastText in which information from word parts is disabled. It also gives no analysis linking gains to particular forms, vocabulary gaps, or positions where a comment switches languages. The evidence supports the embedding choice for these runs while leaving the explanation at the level of a hypothesis.
Changing the sequence architecture within an embedding choice shows a second interaction. With Word2Vec, the added convolutional processing in the hybrid accompanies the strongest score among the sequence candidates using those vectors. With fastText, the plain BiLSTM scores higher than the hybrid, and the CNN also scores higher than the hybrid. The common conceptual appeal of the hybrid is that recurrence can work on detected local features. The measured result depends on the representations feeding those layers. The paper has no intermediate configuration that changes pooling alone or that tests which detected features are responsible for the score ordering.
The conventional result adds another comparison at the system level. Its SVM outperforms the tested sequence approaches even with unigram features. That establishes the strength of a direct term representation against the particular neural alternatives in this study. The authors suggest the sequence networks may have lacked sufficiently useful mappings among cross-lingual words to learn their dependencies. The scores are compatible with that account. The comparison changes the classifier and the form of its input together, which leaves open whether different embeddings or other training choices would change the ordering.
What the encoder comparisons can explain
The comparison between multilingual BERT variants is relatively close within the pretrained group. Cased multilingual BERT scores higher than its uncased counterpart on all the reported test metrics. The experiment establishes which variant worked better as an available starting point under the task training. A comparison that isolated the effect of letter case would have to hold other aspects of the representation and training history fixed. The paper supplies no breakdown identifying case information as the evidence used on particular texts.
For Indic-SBERT, the proposed explanation is that useful semantic and contextual information survives the mixing of languages. Its earlier training aimed to represent sentences for similarity across Indian languages, which gives the authors a reason to expect such information to be available. The comparison with XLM-R shows that another multilingual starting point can reach the same displayed macro F1. The paper gives no matched version of Indic-SBERT that shares the rest of its training history and omits the similarity training. This leaves the separate contributions of sentence similarity, Indian-language adaptation, and other aspects of pretraining undetermined.
The conventional ensemble likewise tests a complete configuration. It scores below the two individual baselines that also appear among its constituent learners. The comparison shows how this ensemble performed. It has no corresponding runs that remove one member at a time, and the paper gives no per-item account of agreement among the members. The result gives no estimate of what a different combination rule could achieve. It also leaves a separate question, whether the pretrained systems make complementary enough errors to benefit from an ensemble, outside the measurements.
What the matrix reveals about errors
A confusion matrix counts predictions according to both the reference category and the assigned category. Its correct entries tell how many examples of each class receive their own label. The other entries identify the direction of the mistake. For Indic-SBERT, the paper reports 179 correct decisions for hate examples and 71 hate examples assigned to the other class. It reports 172 correct decisions for non-hate examples and 78 assignments of those examples to hate. The discussion also mentions 250 samples, with wording that leaves the scope of that count ambiguous.
The class-specific error rates reported in the analysis are 28.4% for hate and 31.2% for non-hate. For a hate example, a mistake is a missed positive. For a non-hate example, a mistake is an incorrect positive flag. The latter rate is higher in the matrix, and both account for substantial shares of their reference classes. This gives more information than the overall macro F1 because it identifies what kind of error the classifier makes for each starting label. It leaves the content of the errors open.
The authors suggest that variations in the training examples may play a role in the difference between error rates. They also propose that the same code-mixed words can occur in the two classes, making their contributions depend on how the rest of the text is interpreted. These are explanations the matrix motivates but cannot test. It supplies no examples showing which words a classifier relied on, and no separate counts for errors associated with particular words or language mixtures.
As a possible next analysis, the authors propose named entity recognition, which identifies text spans that refer to entities. They suggest examining the misclassified texts in detail and using that process to investigate material they consider redundant. The paper records the proposal without a corresponding experiment. A matrix can point to the class in which to inspect a mistake. Deciding which expression contributed to that error, and whether removing it would help, would require evidence about the text and the prediction beyond the matrix counts.
Limitations
Limits identified by the authors
The authors caution that pretrained systems may struggle when new inputs differ substantially in context from their training material. The issue applies at both stages of the method. Earlier training gives the encoder a representation to start with, and the Telugu training examples teach the connection between that representation and the benchmark labels. The evaluation shows how well the resulting classifier makes that connection on the shared task. It leaves changes in performance under other kinds of social media writing, topics, or language mixtures unmeasured.
The authors also identify the weaker sequence results as a limit of the approaches they investigated. Their study evaluates Word2Vec and fastText with convolution, recurrence, and a hybrid. They call for further work on embeddings and sequence designs. Among the possibilities mentioned are contextualized representations, BERT-derived vectors, and GloVe. These proposals identify ways to change the information entering the sequence networks. The reported sequence results apply to the vectors and architectures the authors actually use.
Computational resources limited the comparison among pretrained systems. The authors say that GPU constraints prevented a transformer ensemble experiment. They discuss combining or fusing representations in future work. The best individual systems have similar aggregate scores, but an ensemble's potential depends on whether their decisions provide useful complementary information and on how that information is combined. The paper's conventional ensemble addresses a different set of learners. It supplies no measured result for combining the pretrained candidates.
Limits visible in the study design
The tuning protocol leaves an important practical question open. The organizers supply training and test data without a validation set, and the authors describe selecting hyper-parameters through repeated trials. They give the chosen schedules without identifying the data or criterion used to evaluate the trials. A reader can see which settings were reported for the final configurations, while the separation between trial decisions and final evaluation cannot be reconstructed. This is an omission in the method description and gives no basis for attributing a particular tuning procedure to the team.
The shared training schedule is a useful condition for comparing pretrained starting points. It also measures how each candidate responds to that particular schedule. A learning rate or training duration can suit one set of starting parameters differently from another. The paper identifies use of a seed and reports single score entries. It gives no distribution over repeated runs or estimate of uncertainty around the scores. That matters particularly for close comparisons such as the reported recall ordering between Indic-SBERT and XLM-R.
Across the broader system families, more than the representation changes. The pretrained systems bring learned parameters, follow a different optimization schedule, and have a different maximum length setting from the sequence networks. The conventional baselines supply weighted terms to different kinds of decision functions. The results are comparisons of complete configurations. They cannot assign the observed differences to an individual factor such as contextual representation, input length, or the optimization schedule. Within-family comparisons offer more control over some choices, but pretrained systems still arrive with distinct histories.
The paper's explanation of preprocessing likewise specifies choices without an estimate of their effects. It reports removal of emojis and other selected signs from the text. In a social media comment, such material could carry information relevant to tone or interpretation. A comparison with decisions made on the original input would help establish whether removal helped, hurt, or had little effect in this setting. The reported numbers characterize systems trained and evaluated with the preparation described by the authors.
Maximum input lengths impose another condition on the comparisons. The paper supplies the length settings for sequence and pretrained runs. It gives no analysis of how frequently these limits affect the input or how errors vary with comment length. Whenever useful information falls outside the text a classifier receives, the classifier has to decide from the remainder. The results leave open how often that circumstance arises and what effect it has across architectures, whose ways of turning the text into units may differ.
Several implementation details are also needed for a fully specified reproduction from the paper alone. The descriptions give the embeddings' dimensionality, but leave the treatment of missing vocabulary and details of how the vectors are supplied unresolved. The conventional ensemble membership is explicit, while its combination rule is unspecified. The pretrained section identifies the software and training schedule, but leaves the pooling and classifier readout undescribed. These gaps have different consequences. Some affect reproduction of a configuration, and others make it harder to test an explanation for why one configuration scored higher.
Limits of the error evidence and the labels
The sample population for the confusion-matrix analysis is less clear than the reported directions of error. The paper gives the training counts by class in its prose, supplies a dataset statistics table, and then presents a sample count and separate correct and incorrect counts in the error discussion. It does not explain how the sample count in that discussion relates to the dataset table. The class-specific rates can be reported as the authors' error-analysis figures. The paper leaves their precise coverage of the test population unclear.
The benchmark's categories also limit what can be learned from those rates. The positive category encompasses hate and offensive language. The reported evaluation does not break it down by the grounds for the judgment or by the group or person targeted. It does not give results grouped by different forms of code-mixing. The paper also provides little detail about difficult annotation cases or agreement about their labels. The results therefore describe agreement with the benchmark categories, while finer questions about the classifier's behavior within those categories remain open.
The error analysis helps connect the result to the original motivation by identifying both missed positives and incorrect flags. An operational review process would also need to know how those errors change when the system's decision threshold changes, and how its confidence corresponds to the frequency of correct decisions. The paper evaluates assigned labels and provides no threshold analysis or test of confidence calibration. It also evaluates no workflow in which reviewers act on the predictions. The reported experiment establishes benchmark performance under the team's configurations, leaving the performance of such a review process unmeasured.
What came after
A later shared-task paper, published in 2025, cites the Telugu study and investigates transformer-based detection of abusive comments in Tamil. It continues the line of research on adapting pretrained encoders for harmful-language classification in a Dravidian language. Its title identifies the language, the task, and the broad method. The connection that can be established here is at that level. The citation gives no basis for saying that the Tamil study reused Indic-SBERT, adopted the Telugu preprocessing, or evaluated transfer from the Telugu corpus. CUET_Ignite at DravidianLangTech 2025
The follow-up questions posed by the Telugu experiments therefore remain distinct from that documented connection. The authors' proposals concern richer inputs for the sequence classifiers and combinations of pretrained systems. The closest internal comparison leaves Indic-SBERT and XLM-R tied on displayed macro F1, with recall deciding the submission. Establishing what sentence-similarity training contributes would require a comparison that isolates it. Establishing whether the strongest systems complement each other would require comparing their decisions on the same items. The later Tamil paper addresses a related classification problem, while those specific Telugu questions remain open in the reported evidence.
Cite
Cite as Salman Farsi, Asrarul Eusha, Jawad Hossain, Shawly Ahsan, Avishek Das and Mohammed Moshiul Hoque. 2024. CUET_Binary_Hackers@DravidianLangTech EACL2024: Hate and Offensive Language Detection in Telugu Code-Mixed Text Using Sentence Similarity BERT. Proceedings of the Fourth Workshop on Speech, Vision, and Language Technologies for Dravidian Languages.
@inproceedings{farsi2024cuet,
title = {{CUET\_Binary\_Hackers@DravidianLangTech EACL2024: Hate and Offensive Language Detection in Telugu Code-Mixed Text Using Sentence Similarity BERT}},
author = {Salman Farsi, Asrarul Eusha, Jawad Hossain, Shawly Ahsan, Avishek Das and Mohammed Moshiul Hoque},
booktitle = {Proceedings of the Fourth Workshop on Speech, Vision, and Language Technologies for Dravidian Languages},
year = {2024},
doi = {10.18653/v1/2024.dravidianlangtech-1.32},
url = {https://doi.org/10.18653/v1/2024.dravidianlangtech-1.32}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/farsi-2024-cuet-binary-hackers-dravidianlangtech-eacl2024-2024-dravidianlangtech-1-32/