IIITK@DravidianLangTech-EACL2021: Offensive Language Identification and Meme Classification in Tamil, Malayalam and Kannada
Paper · 2021 · Nikhil Ghanghor, Parameswari Krishnamurthy, Sajeetha Thavareesan et al.
Summary
A system trained to recognize offensive language needs to work with the way people actually write. In the DravidianLangTech shared task, that meant handling Tamil, Malayalam, and Kannada in their native scripts as well as in text that mixed languages. A separate task asked whether a Tamil meme was a troll meme. There, the words were available as an extracted caption, and the image offered another possible source of evidence. The IIITK team used both tasks to test how far it could get by adapting existing systems to these datasets.
For offensive language identification, the authors compared standard versions of multilingual BERT, XLM-RoBERTa, and IndicBERT with customized versions of the first pair. The custom versions kept the pretrained layers fixed, added a new classification head, and used training objectives intended to address the uneven distribution of labels. The standard versions scored higher than their corresponding custom versions on every language and split reported. The team submitted multilingual BERT with letter case preserved, called mBERT-cased. Its test weighted F1 was 0.75 in Tamil, 0.95 in Malayalam, and 0.71 in Kannada. The submissions placed 3 in Tamil, 3 in Malayalam, and 4 in Kannada.
For Tamil troll meme classification, each system received either the extracted caption or the image. Caption-based mBERT-cased had the strongest development result, with a weighted F1 of 0.94, and the strongest test result, with 0.55. The team placed 2 in the shared task. Inception, the stronger image classifier on the test set, reached 0.53. Every system scored lower on the official test set than on the development split the authors made from the training data. The test results therefore give a more modest account of what either source of evidence could support.
The paper records which configurations worked best for the team and makes the implementations available as open-source code. Its comparisons also put limits on the explanations for those results. The offensive-language variants changed the training objective, the classification head, and which layers could learn together, leaving the individual effects unresolved. For memes, the authors argue that the relationship between image and caption matters, but the experiments establish the performance of each input by itself. A classifier that learned from their combination remained to be tested.
Deep dive: IIITK@DravidianLangTech-EACL2021: Offensive Language Identification and Meme Classification in Tamil, Malayalam and Kannada
The IIITK team tests multilingual text classifiers for offensive language and compares captions with images for Tamil troll meme detection. · about 31 minutes to read
The problem and its context
Offensive language in mixed-language writing
Offensive language identification is a text classification problem. The system takes a piece of writing as input and places it in a category defined in advance for the task. The assignment depends on learning how expressions are used in the training examples. The setting in this paper presents a difficulty before any choice of training objective arises. The system needs a useful representation of words and phrases as they appear in Tamil, Malayalam, or Kannada, including when a writer draws on more than one language.
The paper calls this use of more than one language or variety code-mixing. Its description also distinguishes script from language. Native-script writing and the presence of several languages are different properties of an input. A system can face unfamiliar spellings or script conventions even when the content falls within a named language track. Conversely, a sentence associated with one track can include material from another language. The name of the track tells the classifier which dataset it is working on. The actual string still presents the linguistic evidence it must interpret.
The authors frame this as a problem for low-resource languages. Much of the work they discuss had centered on English and other languages with more research resources, and pretrained systems were frequently unavailable for less well-supported languages. A shared task provided labeled data and a common evaluation for the Dravidian languages in question. A multilingual pretrained system offered another part of the solution. Its general representations could be adapted with the labeled examples for an individual track, even where a dedicated pretrained system was unavailable.
Pretraining and adaptation answer different questions about the same system. Pretraining supplies parameters learned before the shared task and from material outside its labeled examples. Adaptation uses the task labels to teach the system what decision to make with those parameters. A pretrained system may have encountered useful patterns for representing a phrase, but exposure to those patterns leaves the shared task's categories to be learned. Conversely, the examples labeled for a particular task may suffice to teach a decision rule while offering limited coverage of the ways people express themselves.
The paper also treats case as an example of why choices about text can have different consequences across languages. It describes case as meaningful in English and gives Malayalam as a language for which the same consideration does not apply. Code-mixed input makes such a decision relevant even when the target track is named for another language. Keeping case gives the system access to distinctions wherever case is present in its input. Whether those distinctions help with the final category is a question for the particular task and checkpoint.
From earlier offensive-language tasks to multilingual transfer
In the paper's account, earlier SemEval tasks had already established offensive content detection as a shared evaluation problem. Some used material written in one language, and some used mixed-language social media text. The concentration of tasks on better-resourced languages still left a reason to hold evaluations specifically for Dravidian data. The authors point to HASOC-Dravidian-CodeMix-FIRE2020 as a precedent with Tamil and Malayalam material.
That earlier competition illustrates the choices open to a team. The paper describes an entry that explored Naive Bayes, support vector machines, and random forests alongside pretrained systems such as XLM-RoBERTa. The traditional approaches can learn from features built from the text directly. A pretrained system brings parameters that have already been learned elsewhere. Another entry used ULMFiT and generated mixed-language text for pretraining before adapting to classification. In that case, generated text was a way to influence the language exposure that preceded learning the downstream labels.
The paper situates these examples within a broader change in how text is represented. A bag of words gives a classifier information about which words occur while discarding their ordering. TF-IDF adjusts the weight of a term using its occurrence in the document and across the collection. N-grams give a representation access to short sequences. Word embeddings represent words as vectors that a neural classifier can use as inputs. Recurrent architectures were another route to processing sequences. The paper recounts these methods to situate its choice of pretrained encoders. Its own offensive-language experiments compare versions of those encoders.
The authors trace the text side of transfer learning through BERT and the transformer architecture introduced in Attention Is All You Need. An encoder of this kind builds a representation of tokens in context, allowing the classifier to use information from the surrounding input. BERT demonstrated the value of adapting a pretrained encoder to downstream language tasks in the authors' account. The question their entry takes up is how a multilingual version of that approach transfers to these specific datasets and how its standard form compares with versions designed to account for label imbalance.
Troll memes as a separate classification problem
The meme task asks for a decision between troll and non-troll on Tamil examples. The organizers supplied each image with its extracted text. This gives rise to a vision and language problem even when a participant chooses to train on just one input. An extracted caption contains the words in a format that a text classifier can read, while the image supplies the visual composition in which the words appeared. Each can carry useful information, and the combination can affect how a reader understands the meme.
A caption-only classifier makes its decision without the picture. That can be adequate when the words themselves convey the relevant tone or message. If the picture supplies the subject of a caption or changes how it reads, the extracted words can leave the decision underdetermined. An image classifier has a different view of the same item. It can use visual patterns and receives whatever lettering is visible in the pixels, but it receives no separate transcription. The shared dataset made it possible for the team to test these ways of presenting the input against the same troll label.
The paper places this task alongside earlier work on memes and related images. It describes a study of Tumblr images and their tags in which the researchers processed the textual and visual information separately to predict sentiment. It also discusses the Memotion shared task. In the paper's account, a leading sentiment entry examined combinations of both modalities, and the team's strongest sentiment approach used BERT on text. That precedent gave the authors a reason to take a caption-only classifier seriously. Meme sentiment and troll status are distinct targets, however, so the direction of the result in the earlier task could only motivate an experiment in the new setting.
Another precedent was the hateful memes challenge, where the approach described in the paper combined several systems designed to represent language and vision jointly. The related MultiOFF dataset also figures in the authors' account of why offensive content in memes presents a different problem from offensive text alone. Together these studies illustrate a variety of approaches to the input. Some predict from one modality, some process the sources separately, and some learn representations that combine them. The IIITK entry takes the first approach for each source and measures the resulting systems individually.
The method, step by step
Turning a pretrained encoder into a task classifier
The workflow begins with labeled examples and a pretrained checkpoint. A checkpoint is a saved set of learned parameters that provides the starting point for a new training run. In fine-tuning, training on the task data adapts this starting point to a new prediction goal. The offensive-language entries use a separate training setup for each language. The Tamil meme entries use the same task label whether the input is the caption or the image, and each run uses a single input type.
For text, the checkpoint's tokenizer first converts a string into the units the encoder expects. Tokenization matters here because the authors use several checkpoints and each comes with its own way of dividing and representing the input. The same mixed-language string can therefore be represented as a different sequence by different classifiers. The encoder processes that sequence, and a classification head maps the encoded information to scores for the task labels. This is the component that makes a general text representation usable for offensive-language or troll-meme classification.
The training objective, or loss, tells the system how costly its predictions are on labeled examples. It is used when updating the trainable parameters. Weighted F1, by comparison, is the measure the authors report on the development and test data. Those roles matter when interpreting the custom experiments. Weighting classes inside the training loss changes how training responds to examples. Weighting classes when reporting F1 changes how the class-level scores contribute to the final evaluation figure.
From labeled inputs to shared task predictions
The steps in order.
Choosing the text checkpoints
For offensive language identification, the authors use mBERT-cased, XLM-RoBERTa, and IndicBERT, with much of the implementation drawing on Hugging Face Transformers. They describe a cased multilingual BERT covering 104 languages and an uncased version covering 100 languages. For this task they choose the cased version, following the recommendation they attribute to BERT's authors. The label cased refers to retaining letter-case distinctions in the text representation. It does not restrict the input to text for which those distinctions exist.
For XLM-RoBERTa, abbreviated XLMR in the results, the authors choose the base checkpoint. The paper describes it as covering 100 languages and cites the work on cross-lingual representation learning at scale. IndicBERT comes from IndicNLPSuite. The authors characterize it as substantially smaller than the other encoders, with greater relative representation for Dravidian languages in its pretraining material. This makes IndicBERT a useful comparison between differently constructed multilingual starting points. Parameter count, training material, and other aspects of pretraining vary together in that comparison.
Each of these checkpoints is used in its standard classification setup. The paper describes this branch of the experiment as fine-tuning the original versions on the task datasets. The training runs for Tamil, Malayalam, and Kannada are separate. Thus, a result for a multilingual checkpoint on Kannada refers to learning the Kannada track's decision from its own training examples. It is not a score from a classifier learned jointly on the three offensive-language datasets. Multilingual pretraining is shared background for the runs, and the subsequent supervised learning is specific to the track.
Building the custom offensive-language classifiers
The custom branch begins with the same pretrained mBERT-cased or XLMR backbone and changes which layers learn. The authors freeze the layers of the starting encoder. A frozen layer continues to process inputs, but its parameters stay fixed during task training. The head can learn to read the information the encoder produces. The encoder itself cannot change that representation in response to the new task labels in these runs. The authors keep IndicBERT in the standard branch and explain that decision by its smaller size.
The final transformer layer is described as supplying 768-dimensional feature vectors. The added fully connected layer has 512 neurons. Each neuron in such a layer reads from the input features through learned weights, so learning in the head can combine information from across the representation. The paper follows the dense layer with a LogSoftmax output over the task classes. There is an output for each class, expressed as a log probability. The description gives the dimensions and the sequence of layers at this level, without a detailed account of how the final representation is selected from the encoder or how the implementation handles every intermediate operation.
The custom head is trained with either negative log likelihood and class weights or Self Adjusting Dice loss, which the paper abbreviates as Sadice. Negative log likelihood charges a large penalty when the system assigns a low probability to the correct label. With class weights, the size of a training penalty also depends on the example's label. This gives the training procedure a way to vary the influence of examples from different classes, a relevant choice when common labels otherwise supply many more training examples. The paper gives the purpose of the weights without specifying their values or how they were obtained.
The second objective is based on Dice loss for imbalanced text tasks. The authors include its self-adjusting variant as another way of addressing the uneven distribution of labels. Both losses are applied using the custom setup for a given backbone. This makes it possible to compare the losses within that setup, as well as to compare each custom system with the corresponding standard checkpoint. The latter comparison changes the head and training procedure along with the loss, an important detail when interpreting the results.
The paper names the loss functions and the evaluation measure in prose. It gives no equations for the objectives, the class weights, or the scoring procedure. At the level it describes, the main training comparison is fully identifiable by the starting checkpoint, the standard or custom configuration, the language, and the custom loss where applicable. The authors also report releasing their implementations for both shared tasks in the OLI-and-Meme-Classification repository.
Training on a caption or an image
For meme captions, the authors adapt standard pretrained text classifiers to predict troll status. They use mBERT-cased, mBERT-uncased, XLMR, and IndicBERT. Including both multilingual BERT checkpoints gives a comparison between the available cased and uncased systems on this task. The authors describe the meme dataset as free of the skew that motivated the custom offensive-language branch. They therefore use the original configurations for the caption experiments. This choice also keeps the meme comparison centered on the pretrained checkpoints and the input modality.
The caption is already available as text when the classifier receives an example. Consequently, the text experiment tests what can be learned from the supplied extraction. It contains no separate stage for recognizing characters in an image. This distinction matters for the scope of the task. A strong caption result can establish that the available words support useful classification. It leaves open how reliably a workflow that starts from image files alone could recover those words.
The image branch uses Inception and ResNet50 with pretrained weights. These are convolutional neural networks, so their visual representation is built by applying learned filters to patterns in the image. The paper situates them in a progression from handcrafted image features through earlier neural architectures such as AlexNet to designs including ResNet. As with text pretraining, the visual checkpoint is the starting point. The weights are then adapted for the troll classification task.
Each image classifier receives the meme image. A meme image may contain lettering, so this branch can in principle respond to visible textual patterns as part of the pixels. Its defining feature is that the extracted caption is unavailable as a separate sequence of words or tokens. This is why the experiment compares an image input with a caption input, rather than establishing a perfectly clean division between linguistic and visual information. The two branches have the same prediction target, but the usable evidence and the methods for representing it differ.
The paper discusses ways of joining modalities, such as combining representations before prediction. Its implementation instead trains the caption and image branches independently. It neither concatenates learned features nor combines the final decisions. A single input therefore determines each recorded result. This makes the branches reasonably easy to interpret as standalone systems and leaves the benefit of joining their evidence outside the comparison.
Selection on development data
The offensive-language task comes with organizer-defined development data for each language. The paper compares the configurations on these sets and then reports their scores on the official tests. The Tamil meme task supplies a training set and a test set. The authors use 20% of the supplied training set as their own development split, which they also call validation data. All meme systems are compared on that split before the team chooses a submission.
The decision to separate development and test serves a practical purpose. The shared task submission needs to be chosen without first comparing scores for that choice on the test labels. Development data supply evidence for the choice. Test data then show how the configuration performs under the official evaluation. The resulting scores are answers to related questions, and for the meme runs they are particularly different answers. The authors describe which configuration they selected on development performance. They supply fewer details about what happened between selection and the fitting of the final submitted system.
Experiments and results
The data and the scoring rule
The offensive-language experiments use the shared task datasets for Tamil, Malayalam, and Kannada. The paper associates the Tamil and Malayalam material with prior corpus work on Tamil–English and Malayalam–English text. For Kannada it cites KanCMD. The organizer-provided developer and test splits are distinct from the training examples. Each row below describes a separate track with its own evaluation.
| Offensive-language dataset | Training examples | Development examples | Test examples |
|---|---|---|---|
| Tamil | 35,139 | 4,388 | 4,392 |
| Malayalam | 16,010 | 1,999 | 2,001 |
| Kannada | 6,217 | 777 | 778 |
The Tamil troll meme task supplies 2,300 training memes and 667 test memes. The dataset is paired. Each example can be used as the image or as the associated extracted text. The 20% development split is taken from the 2,300 training items. The paper gives the fraction used and reports the resulting development scores, without assigning an exact item count to that split. The 667 test examples belong to the official evaluation.
All reported scores use weighted-average F1. For a given class, precision asks how often examples predicted to belong to the class are labeled that way. Recall asks how often examples with that label are recovered. F1 brings precision and recall together for the class. The weighted average then gives classes influence according to their support, meaning the number of examples assigned to them in the evaluation data. A classifier can therefore achieve a high aggregate score with strong recognition of frequent classes even if some smaller classes remain difficult. This property is especially relevant to the offensive-language task because the authors describe its data as skewed.
The paper's baselines are primarily internal comparisons. In the offensive-language experiments, each original checkpoint is a reference for the versions that add a custom head and change the training objective. IndicBERT supplies a further pretrained comparison. For memes, the caption and image classifiers serve as references for each other, with alternatives within each modality. The older traditional classifiers and the multimodal approaches discussed in related work provide background. The paper gives no corresponding runs of those methods on its evaluation splits.
Offensive language identification in Tamil
On the Tamil development set, mBERT-cased and XLMR each score 0.76 weighted F1. IndicBERT follows with 0.74. The custom mBERT-cased scores are 0.58 with weighted negative log likelihood and 0.61 with Sadice. The custom XLMR scores are 0.64 with weighted negative log likelihood and 0.61 with Sadice. The same objective can thus occupy a different place in the ordering for the two custom backbones, even on one language. In contrast, the standard checkpoints occupy the leading positions as a group.
On the Tamil test set, the standard mBERT-cased and XLMR checkpoints both reach 0.75 weighted F1. IndicBERT reaches 0.73. For custom mBERT-cased, the weighted negative log likelihood version obtains 0.59 and the Sadice version obtains 0.61. For custom XLMR, the corresponding scores are 0.64 and 0.61. The Tamil results on each split support the team's choice of mBERT-cased as a competitive entry. At the reported precision, XLMR has an equally strong result on both Tamil splits.
The Tamil run also shows why it helps to report the test performance of alternative configurations. The comparison gives a reader more information than the leaderboard rank alone. The standard mBERT-cased submission placed 3 in the Tamil offensive-language track. Within the team's experiments, the equal weighted F1 for XLMR means there is no measured Tamil advantage for choosing BERT over that checkpoint. The rank is a result for the entry the team submitted. The checkpoint comparison is a result obtained within the team's own experiments.
Offensive language identification in Malayalam
For Malayalam, standard mBERT-cased scores 0.96 weighted F1 on development data, while standard XLMR and IndicBERT each score 0.94. The custom mBERT-cased trained with weighted negative log likelihood obtains 0.82, and its Sadice counterpart obtains 0.87. The two custom XLMR configurations each score 0.84 on that split. Here the choice of loss changes the reported mBERT-cased result and leaves the rounded scores of the XLMR alternatives equal.
The Malayalam test result for standard mBERT-cased is 0.95 weighted F1. Standard XLMR and IndicBERT both give 0.93. The custom mBERT-cased variants again score 0.82 with weighted negative log likelihood and 0.87 with Sadice. The two custom XLMR variants each obtain 0.83. As on development data, each standard backbone leads its own custom variants. The official submission placed 3 in Malayalam.
Malayalam has the highest test weighted F1 of the team's offensive-language submissions. Each language track has its own input distribution and label frequencies, and the paper gives aggregate scores for each track independently. Consequently, the Malayalam result describes success on that evaluation. An explanation of why it is higher than the Tamil and Kannada values would require evidence that could distinguish differences in the writing, labels, and sample composition. The experiment was designed to compare configurations within each track and provides stronger evidence for that purpose.
Offensive language identification in Kannada
On the Kannada development set, standard mBERT-cased scores 0.68 weighted F1, standard XLMR scores 0.67, and IndicBERT scores 0.63. The custom mBERT-cased version with weighted negative log likelihood gives 0.35, while the one with Sadice gives 0.55. XLMR's corresponding custom results are 0.10 and 0.39. Kannada gives a clear example of the dependence of the custom scores on the loss used, alongside a consistent lead for the standard configurations.
Offensive language classifiers on Kannada test weighted F1
The submitted cased mBERT ties standard XLMR, and both lead their customized counterparts.
The numbers
| System or setting | Weighted F1 |
|---|---|
| Standard mBERT-cased (this paper) | 0.71 |
| Standard XLMR | 0.71 |
| Standard IndicBERT | 0.67 |
| Custom mBERT-cased with Sadice | 0.53 |
| Custom XLMR with Sadice | 0.39 |
| Custom mBERT-cased with weighted NLL | 0.34 |
| Custom XLMR with weighted NLL | 0.09 |
The Kannada test results preserve the general development ordering. Standard mBERT-cased leads on development data and shares the top quoted test score with standard XLMR. IndicBERT remains close to those standard systems. The custom variants finish below the corresponding standard checkpoints, with particularly low aggregate scores for the weighted negative log likelihood runs. The chart conveys the spread among the configurations without identifying which kinds of examples each one misclassified. The team's Kannada submission placed 4.
Across the offensive-language tracks, the authors choose mBERT-cased as the submission because it gives the strongest overall development showing among the configurations they tried. It ties XLMR on Tamil development data and leads the alternatives in Malayalam and Kannada. The official tests preserve a tie at the reported precision in Tamil and Kannada and give mBERT-cased the stronger result in Malayalam. That is a consistent basis for choosing the same checkpoint across tracks even though fine-tuning is done separately for each language.
Tamil troll meme classification
On the meme development split, mBERT-cased gives the highest weighted F1, with XLMR close behind. The uncased multilingual BERT also precedes both image classifiers on this split. ResNet50 is the stronger of the image classifiers and scores higher than IndicBERT. This is a useful qualification to the general observation that captions did well. A visual classifier can outperform a text classifier when the text checkpoint is the less successful of the alternatives on this development sample.
Tamil troll meme classifiers on development weighted F1
The cased multilingual BERT caption classifier leads development, with XLMR close behind.
The numbers
| System or setting | Weighted F1 |
|---|---|
| Caption mBERT-cased (this paper) | 0.94 |
| Caption XLMR | 0.93 |
| Caption mBERT-uncased | 0.90 |
| Image ResNet50 | 0.89 |
| Caption IndicBERT | 0.85 |
| Image Inception | 0.78 |
The team chooses mBERT-cased for its submission on the strength of that development result. It remains the leading configuration on the test set, where it scores 0.55 weighted F1. XLMR comes next at 0.54. Inception rises from the lowest development score to the strongest image result on test data, with 0.53. It scores higher there than IndicBERT or mBERT-uncased, each of which obtains 0.50. ResNet50, the stronger image classifier on the development split, reaches 0.46 on the official test. The mBERT-cased submission places 2.
Tamil troll meme classifiers on official test weighted F1
The submitted caption classifier leads the test comparison, while Inception moves ahead of the other image classifier.
The numbers
| System or setting | Weighted F1 |
|---|---|
| Caption mBERT-cased (this paper) | 0.55 |
| Caption XLMR | 0.54 |
| Image Inception | 0.53 |
| Caption mBERT-uncased | 0.50 |
| Caption IndicBERT | 0.50 |
| Image ResNet50 | 0.46 |
The two evaluations support different levels of confidence. Development ranks the submitted caption classifier first, and the test agrees with that choice. The absolute development score nevertheless gives an optimistic impression of how often the system makes the right types of decisions on official test data. The decrease occurs across caption and image runs, and the relative ordering of the image systems changes. For a reader deciding what the submission established, the selection procedure worked in the limited sense that the chosen system remained first among the team's runs. The test figures reveal how difficult the resulting classification still was.
The task rank and the weighted F1 put the result in different contexts. Rank describes the entry's position among submissions to a shared evaluation. Weighted F1 summarizes its predictions against the task labels. The position of 2 gives the competitive context for 0.55. The test scores for the other IIITK configurations show how nearby alternatives did under the same evaluation and help distinguish the overall difficulty of the data from the choice among the team's caption classifiers.
What the ablations show
The paper contains no component-by-component ablation study. It does provide comparisons between standard and custom training, between losses within the custom setup, between multilingual checkpoints, and between approaches that receive a single meme input. Some of these comparisons isolate a meaningful design choice. Others change several properties at once. Reading them at the right level is what makes the experimental evidence informative.
The custom loss comparison depends on the backbone and language
The nearest comparison to an ablation of the training objective occurs within a custom backbone. For a fixed language and a fixed backbone, the paper describes the same frozen encoder and added head with alternative losses. Under that setup, Sadice scores higher than weighted negative log likelihood for custom mBERT-cased on every reported offensive-language split. The Kannada and Malayalam results show that pattern as well as the Tamil results. A reader evaluating the custom mBERT-cased branch can therefore say which of its training objectives was associated with the stronger aggregate score in these runs.
The relationship is different for XLMR. In Tamil, weighted negative log likelihood scores higher than Sadice on both splits. In Malayalam, the underlying comparison yields equal reported values on each split. In Kannada, Sadice leads by the ordering shown in the test chart and by the corresponding development scores. These outcomes support a claim about a particular pairing of language and encoder. They give little basis for a general ordering of the losses outside the custom configurations. Equal printed scores also leave open smaller differences and differences in which examples were correctly classified.
The paper's broader observation is that the standard versions lead the custom versions. This holds for both backbones in all the reported language and split comparisons. A direct explanation based only on the objective would require matching the other parts of the training setup. In this study, the custom design also freezes the encoder and places a particular dense layer above it. Its deficit could be related to the loss, the inability of the encoder to adapt, the way the head uses the encoded input, or an interaction among these choices. The experiment makes the performance ordering clear while leaving the explanation at the level of complete configurations.
One consequence concerns the question the losses were meant to address. Class imbalance is a property of how the labels are represented in the data. Weighted F1 is one way of summarizing a system's performance under that distribution. A method could alter the tradeoff among classes and still have a lower weighted aggregate. For instance, better recovery of some minority labels could coexist with worse recovery of a frequent label, with the frequent label having more influence on the reported score. The paper gives no class-level outcomes that would let a reader tell whether this happened. The measured result is lower weighted F1 for the custom systems.
What the checkpoint comparisons help explain
IndicBERT provides a useful counterweight to a simple reading based on model size. It is described as substantially smaller, yet its original configuration is close to the leading standard checkpoints on the offensive-language data. In Malayalam it ties standard XLMR at the reported precision on development and test. In Tamil and Kannada it falls below the leading configurations while remaining ahead of the listed custom variants. The relevant observation is that a smaller pretrained system can be competitive on these datasets in its standard setup.
The authors suggest that IndicBERT benefits from having Dravidian languages make up more of its training material. That is a plausible account of a smaller system performing well on these tracks. They also connect the competitiveness of the larger multilingual checkpoints to their capacity and pretraining and discuss XNLI as a relevant benchmark for cross-lingual sentence representations. These proposals explain what the authors think may matter. The experiment never varies language composition, parameter count, or pretraining independently. Any causal account based on those properties has to go beyond the reported comparison.
The meme experiments also include a comparison of cased and uncased multilingual BERT. The cased checkpoint obtains the higher weighted F1 on both development and test. The paper identifies differences in language coverage between the multilingual BERT variants, so the comparison concerns the available checkpoints as packages. It does not identify an effect caused by preserving case alone. For that claim, an experiment would have to hold the starting representation and other training choices sufficiently steady while controlling the treatment of letter case. The actual result is directly relevant to the team's practical decision of which checkpoint to submit.
How much the caption and image comparisons establish
The meme experiment shows the strength of the separately trained caption and image approaches on the same classification task. The best caption classifier leads the best image classifier on each split. But the ranking is interleaved. On development, ResNet50 surpasses the weakest caption system. On test, Inception surpasses some caption systems and is close to the strongest. Even within a single input modality, the identity of the checkpoint matters to the result. The experiments give a more specific account than an overall preference for text.
An ablation of a paired meme classifier would begin with a system that uses image and caption together and then disable or remove one input to see how the decision changes. The paper's caption and image systems are trained independently with architectures designed for their respective inputs. Their scores show what those complete systems can accomplish when one input is available. Because there is no joint run, they supply no direct measure of what the second input adds to a common classifier, whether through complementary evidence or through easier recognition of patterns available in both inputs.
The development and test discrepancy supplies a separate observation about the reliability of the comparison. Each independent approach scores lower on the official test, and the image systems exchange their relative positions. The authors interpret the lower test performance as a sign of the challenge posed by the memes' multimodal character. The results are compatible with that interpretation. They cannot locate the errors in the relationship between the words and the image, since the study does not report predictions for subsets categorized by what information a reader would need. The more direct result is that success on the internal development split carried over only partly to the official evaluation.
Limitations
Limits the authors identify
The authors identify uneven class frequencies as a major difficulty in offensive language identification. Their custom experiments represent attempts to address it with the training objective. They also discuss generating synthetic text to improve coverage of less frequent classes as a potential extension. In their account, that presents a practical challenge because the classifiers expect textual inputs and come with different tokenizers. The study reports training with the labeled shared task data and does not supply evidence that synthetic examples would improve these submissions.
For Tamil memes, the authors emphasize that linguistic and visual evidence can work together. They regard the unimodal approach as insufficient to solve the task and connect this difficulty to the performance on the official test. The experiment substantiates the limited success of the particular caption and image systems it evaluates. It leaves open the performance of a system that combines them. That distinction matters because the authors are drawing a research conclusion from a shortfall, while the study's direct measurements concern ways of presenting each source separately.
Both concerns reflect limits of the experimental setting. A training objective can change how a classifier uses the examples it receives, while those examples still determine the range of observed language and labels. A classifier given only a caption or only pixels may also lack evidence a person would use from the paired item. The offensive-language study tests responses to the first concern and the meme study documents the performance of partial input views. Further experiments would be needed to measure the specific remedies the authors associate with each limitation.
Limits visible in the evaluation
The use of weighted F1 leaves important performance details unresolved. The paper lists the sizes of the splits and describes skew in the offensive-language task. It does not give the evaluation support and class-level precision or recall needed to work out which labels a particular configuration recognizes. This is most consequential for the custom losses, whose motivation concerns classes that would otherwise receive relatively little influence during training. Even a clear decline in weighted F1 cannot identify the direction of the change for those labels.
The language names offer a convenient way to organize the results, but they leave out variation within each track. The paper describes the presence of native-script and code-mixed text, without a breakdown of weighted F1 by those properties. A result for Tamil therefore covers the Tamil test dataset in aggregate. It cannot show how much the system relies on native-script wording, how it responds to mixing in a particular example, or whether the ranking of checkpoints would be the same for different forms of the writing. The usefulness of multilingual pretraining is demonstrated at the level of the task runs, without a diagnostic specific to code-mixing.
The comparisons also lack uncertainty estimates. The paper gives a score for each configuration on a fixed development or test split and supplies no account of variation over repeated training runs. Exact agreement at the displayed precision establishes a tie in the table. It leaves open whether different training seeds or a different set of examples would yield the same ordering. The close scores among the strongest meme entries and among the standard offensive-language checkpoints should therefore be read as observed outcomes for those splits.
The lower meme test scores present a gap in what can be explained. The development sample was taken from the supplied training pool, whereas the test evaluation used the separate organizer-provided set. The paper's account does not characterize the two splits in enough detail to tell whether they differ in label composition, in the kinds of memes they contain, in how easy their captions are to interpret, or in how often the image supplies decisive evidence. The absence of such a comparison leaves the reasons for the score change open. It also means that the change alone cannot estimate the benefit of combining the modalities.
Limits of the reported configurations
The method identifies the pretrained checkpoints, the custom head dimensions, the losses considered, and the development procedure. Several choices needed to reproduce the training exactly receive less detail. The paper does not specify the class-weight calculation or list its resulting weights. It also does not give a complete account of training schedules, checkpoint selection within a run, or image preprocessing. The release of code provides an additional implementation record. In the paper itself, the named settings and reported scores are the extent of what can be matched directly.
The offensive-language runs vary by language but do not test whether learning from one of these labeled corpora improves performance on another. Each classifier receives the task supervision for its own track. Multilingual starting checkpoints make the approach suitable for adaptation across the datasets in the experiment. They do not establish how well the trained classifier transfers to another language, or to another collection in the same language. Those questions would require an evaluation that changes where the training or test examples come from.
Similarly, the meme classification result concerns Tamil and the organizers' paired dataset. It establishes neither how a caption classifier would extend to memes in the other languages nor how similar the result would be when captions must be extracted as part of the classification pipeline. The authors explicitly start with organizer-supplied text. The image experiments supply a reference for performance from pixels with those particular convolutional classifiers, without comparing a system that first reads the visible text against one that uses the image as a whole.
Finally, the tasks concern specific labels under shared task conditions. Offensive-language categories and troll status are separate targets, and the paper evaluates them separately. The common success of mBERT-cased provides evidence about a transferable starting point for each training problem. It establishes no equivalence between the concepts the classifiers learned to predict. That distinction is especially important when connecting the paper with subsequent work on offensive, abusive, or constructive speech, where the target and the evidence available to the classifier may change.
What came after
The shared tasks and their neighboring work
Some of the citing work belongs to the same shared-task setting as the IIITK entry. The offensive language shared-task findings cover the Tamil, Malayalam, and Kannada evaluation as a whole. The organizer overview and the IIITK entry operate at different scales. The entry explains how a team chose its checkpoints, training setups, and submission. The findings concern the common evaluation in which those choices were tested. The paper itself points to that overview when describing the task. The relationship is contemporaneous, and the common benchmark is the basis for connecting them.
The UVCE-IIITT Tamil troll meme submission is another contribution from the same workshop. Its title emphasizes attention and identifies the same Tamil troll meme classification problem. The IIITK paper cites it when describing the setting of images and extracted captions. The connection gives a reader another entry concerned with the same prediction task. The IIITK paper does not describe the other team's attention mechanism or give a common ablation of the two approaches, leaving the architectural comparison open.
The hope speech shared-task findings connect the paper to an adjacent line of evaluation concerned with language for equality, diversity, and inclusion. Hope speech changes the classification target. The related entry the paper mentions for hope speech concerns Tamil, Malayalam, and English, which supplies a point of contact with its own attention to multilingual text. Citation of the IIITK work places it in that shared research setting. The kind of relation established is between tasks and their language coverage. There is no reported test of whether IIITK's offensive-language classifier could identify hope speech.
Ensembles and lexical evidence in later citing work
The Hate-Alert DravidianLangTech ensembling paper points to ensembling as the organizing method of a later entry. An ensemble combines information from multiple predictors or configurations for a final decision. That makes its stated direction distinct from the decision measured in the IIITK experiments, where the team compares independent systems and selects mBERT-cased for submission. The citation and the name of the work establish the connection to a later exploration of combination. They do not identify which of the IIITK checkpoints, losses, or decisions, if any, entered that ensemble.
The CUET-Ignite DravidianLangTech detection paper is a further citing entry in the same workshop series. Its name establishes a detection focus. The available account gives no method, dataset, or result for this work, so the connection can be traced as a citation within the continued workshop research. It cannot be narrowed to reuse of IIITK's configuration or a test of the earlier conclusions on new data.
The TriVector abusive Tamil text detection paper gives a more specific connection. It applies lexical resources alongside transformers to Tamil social media text. A lexicon supplies explicit information associated with words or expressions, adding a different source of textual evidence to what the transformer learns from its input. The IIITK paper's Tamil offensive-language submission also starts from a pretrained transformer, with its experiments focused on selecting the checkpoint and changing the classifier's training setup. TriVector's stated direction is to augment the text representation with lexical information for abusive-text detection. The title establishes that direction and the use of Tamil, while the citation links it back to the earlier work. Whether they share evaluation data or comparable labels and scores remains unspecified.
Cite
Cite as Nikhil Ghanghor, Parameswari Krishnamurthy, Sajeetha Thavareesan, Ruba Priyadharshini and Bharathi Raja Chakravarthi. 2021. IIITK@DravidianLangTech-EACL2021: Offensive Language Identification and Meme Classification in Tamil, Malayalam and Kannada. Proceedings of the First Workshop on Speech and Language Technologies for Dravidian Languages.
@inproceedings{ghanghor2021iiitk,
title = {{IIITK@DravidianLangTech-EACL2021: Offensive Language Identification and Meme Classification in Tamil, Malayalam and Kannada}},
author = {Nikhil Ghanghor, Parameswari Krishnamurthy, Sajeetha Thavareesan, Ruba Priyadharshini and Bharathi Raja Chakravarthi},
booktitle = {Proceedings of the First Workshop on Speech and Language Technologies for Dravidian Languages},
year = {2021},
url = {https://aclanthology.org/2021.dravidianlangtech-1.30/}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/ghanghor-2021-iiitk-dravidianlangtech-eacl2021-offensive-language/