---
title: "UMUTeam@LT-EDI-ACL2022: Detecting homophobic and"
description: "UMUTeam combines linguistic features and text embeddings to detect homophobic and transphobic YouTube comments in English, Tamil…"
canonical: "https://research.elamur.ai/free/en/papers/diaz-2022-umuteam-lt-edi-acl2022-detecting/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/diaz-2022-umuteam-lt-edi-acl2022-detecting/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2022](https://md.research.elamur.ai/free/en/papers/2022/) / UMUTeam@LT-EDI-ACL2022: Detecting homophobic and transphobic comments in Tamil

# UMUTeam@LT-EDI-ACL2022: Detecting homophobic and transphobic comments in Tamil

Paper · 2022 · José García-Díaz, Camilo Caparros-Laiz and Rafael Valencia-García

**Authors:** [José García-Díaz](https://md.research.elamur.ai/free/en/authors/jose-garcia-diaz/), [Camilo Caparros-Laiz](https://md.research.elamur.ai/free/en/authors/camilo-caparros-laiz/) and [Rafael Valencia-García](https://md.research.elamur.ai/free/en/authors/rafael-valencia-garcia/) · **Year:** 2022 · **Venue:** Proceedings of the Second Workshop on Language Technology for Equality, Diversity and Inclusion · **Licence:** [CC BY 4.0 (ACL Anthology)](https://creativecommons.org/licenses/by/4.0/)

Proceedings of the Second Workshop on Language Technology for Equality, Diversity and Inclusion · [licence](https://creativecommons.org/licenses/by/4.0/)

- [Publisher's page](https://aclanthology.org/2022.ltedi-1.16/)
- [PDF](https://aclanthology.org/2022.ltedi-1.16.pdf)
- [DOI 10.18653/v1/2022.ltedi-1.16](https://doi.org/10.18653/v1/2022.ltedi-1.16)

## Summary

A detector can correctly classify many YouTube comments while still missing much of the abuse it was built to find. That is an important distinction in UMUTeam’s study of homophobic and transphobic comments. The authors entered a shared task in which each comment received one of three labels: homophobic, transphobic or safe. The task had separate datasets for English, Tamil and Tamil-English, where Tamil written in Roman script appeared alongside English. Safe comments were the largest class in every dataset, and the distribution of the other labels varied considerably. English had especially few examples labelled transphobic.

UMUTeam represented each comment in several ways. Its linguistic features described aspects of writing style, grammatical categories and social media usage. FastText supplied pretrained [word embeddings](https://md.research.elamur.ai/free/en/concepts/word-embeddings/) as well as a whole-comment representation formed by averaging word vectors. BERT supplied a contextual representation, in which the words surrounding an expression can influence how the comment is encoded. The authors trained separate neural classifiers for the different inputs and built a combined classifier that processed each input in a separate branch before bringing the branches together. They also built ensemble alternatives. The combined network is the system for which the paper gives a detailed validation report.

On the official leaderboard, UMUTeam ranked 7th for English with a macro F1 of 45%, 3rd for Tamil with 82%, and 2nd for Tamil-English with 58%. Macro F1 gives the safe, homophobic and transphobic classes equal weight, so strong performance on the most common class can carry only part of the score. The Tamil validation results show why this matters. The combined classifier reached a macro F1 of 85.06%, and both abuse labels had substantially stronger scores than their counterparts in English or Tamil-English. In English, the validation F1 for safe comments was 96.84%, while the transphobic class reached 33.33%.

The leaderboard and the class-level scores answer different questions. Tamil-English gave the team its highest placement among submitted systems, while Tamil gave it its strongest measured performance. The authors point to class imbalance as an explanation for the weaker results on the abuse categories and identify mixed-language handling as a limitation of their approach. The scores establish how the system performed on the shared task. The contribution of each input remains an open question because the paper gives detailed results for the combined network without reporting the corresponding scores for its individual components.

## Deep dive: UMUTeam@LT-EDI-ACL2022: Detecting homophobic and transphobic comments in Tamil

UMUTeam combines linguistic features and text embeddings to detect homophobic and transphobic YouTube comments in English, Tamil and Tamil-English. · about 33 minutes to read

**In this deep dive**

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

### The problem and its context

#### What the classifier has to decide

The paper studies abuse directed at sexual orientation and gender identity in comments on YouTube. The authors motivate the shared task by the harm homophobic and transphobic messages can cause and by their consequences for individual and collective freedom. They draw particular attention to the effects on children, citing research on homophobic bullying in schools. Their own study addresses a narrower question that can be tested on labelled data. Given a comment, can a system choose the same category as the shared task?

The task is an instance of [text classification](https://md.research.elamur.ai/free/en/concepts/text-classification/). Each input is one comment, and the output is a choice among homophobic, transphobic and safe. The abuse labels are distinct outcomes. A classifier that recognises that a comment belongs in one of the abuse categories still has to choose which category applies. The benchmark therefore tests both the identification of abusive comments and the distinction between the two kinds of abuse. A prediction of safe has a specific meaning within this setup: it places the comment in the benchmark’s remaining category.

The paper treats the categories as labels supplied with the data. That design focuses the evaluation on whether the classifier can reproduce those distinctions on new comments. A result can tell a reader how frequently the system assigns the expected label and how those errors are distributed. Questions about a commenter’s intent, the impact on the audience or the appropriate moderation decision belong to a wider inquiry than the one the authors measure. The unit of success here is the classified comment.

Separating the abuse labels matters when reading both the data and the scores. A system can be good at assigning the safe label, somewhat useful for homophobic comments and weak on transphobic comments. A single classification decision records exactly one of these outcomes for each comment. A complete evaluation needs to reveal what happens to each category, especially when one of them appears much less often than the others. Otherwise, a reader may get a good picture of how often the system agrees with the dataset while having little information about the distinctions that motivated the task.

#### Why the datasets pose different problems

The shared task separates English, Tamil and Tamil-English. English serves as the language with greater availability of resources for [machine learning](https://md.research.elamur.ai/free/en/concepts/machine-learning/), according to the authors. Tamil has fewer such resources. In the mixed collection, Tamil is written in Roman script and appears in combination with English sentences. That description involves two aspects of an input that are easy to conflate. Roman script describes how Tamil is written. The presence of English describes which languages occur in the text.

Roman-script Tamil makes the mixed collection a different case from an English collection, even though both can contain words written with Roman letters. A preprocessing rule or pretrained vocabulary that fits English can have different coverage when those letters represent Tamil. English words can also be present in the same input. The paper’s separate treatment of the mixed dataset lets the reader see how the submitted approach performed under that condition, rather than folding its results into either of the single-language reports.

Resource availability is part of the motivation for combining representations. Some input features come from pretrained resources for particular languages. Others are selected from a tool on the basis that they can be used across languages. The combination gives the classifier several ways to use the information in a comment. It also raises a question about transfer. A feature can be available for a language while the relationship between that feature and an abuse label differs across collections. The experiments evaluate whole systems on each dataset, where both the comments and the available resources can vary.

Class imbalance presents a different problem from resource coverage. With many safe comments, correct safe predictions account for a large share of overall accuracy. The classifier has comparatively few examples from which to learn the rarer label, and an evaluation set drawn from a similarly skewed collection provides comparatively few opportunities to assess it. The distribution also varies across the language conditions. The paper uses separate class scores and macro averages to make the resulting performance differences visible.

A benchmark can therefore make at least two distinct demands of an approach. It asks whether the available input representations are useful for the language and writing conventions of the comments. It also asks whether the learned decision rule makes good use of evidence for categories that occur infrequently. A resource-rich input language addresses only part of the first demand. A label distribution with few transphobic examples can still make that particular decision difficult. The paper’s setup brings both considerations into view.

#### From existing hate-speech detectors to this study

The authors place the task within earlier research on automatic hate-speech detection. They cite surveys that discuss homophobic and transphobic language in relation to sexism and gender discrimination. One of those surveys describes the broader practice of turning documents into numerical features and then learning a classifier from labelled examples. [A Survey on Automatic Detection of Hate Speech in Text](https://md.research.elamur.ai/free/en/papers/fortuna-2018-survey-automatic-detection-hate-speech/)

The feature choices in the related-work discussion illustrate several ways to represent a comment. A bag-of-words representation records which words appear, usually through counts, while setting aside their sequence. A weighting scheme such as [TF-IDF](https://md.research.elamur.ai/free/en/concepts/tf-idf/) uses both a term’s presence in a document and how common it is across documents. The surveys also discuss [topic modeling](https://md.research.elamur.ai/free/en/concepts/topic-modeling/) and vector representations for words or sentences. These approaches give a classifier different access to the text. Counts describe the words that occur. Embeddings give the learner numerical representations that it can use to relate words or larger passages.

The paper’s review also covers the classifier that consumes those features. It mentions support vector machines, logistic regression and random forests as established alternatives. It then discusses neural approaches that learn from local spans or from a sequence, as well as BERT and the architecture covered by [Transformer and attention](https://md.research.elamur.ai/free/en/concepts/transformer/). This background helps explain why UMUTeam’s approach has several parts. A vector for an entire comment and an ordered sequence of word vectors make different evidence available. The architecture determines which of that evidence the classifier can use.

The group had previously collected and evaluated the Spanish MisoCorpus 2020 for identifying misogyny. That work organised data around abuse directed at prominent women, differences between Spanish usage in Spain and Latin America, and broader characteristics of misogynistic messages such as stereotypes. The earlier corpus gave the group experience with a related classification problem. The categories and linguistic conditions of the YouTube task involve a different target, so the relevance of the Spanish study lies in the feature and evaluation questions it helped motivate.

The authors also describe their earlier study of how to combine linguistic features with embeddings for Spanish hate-speech detection. In the YouTube task, they select a subset of linguistic features intended to be usable across languages. This gives their entry a research question alongside the competition objective. The team wants to classify the comments well, and it wants to see whether combining information about how a comment is written with vector representations of its words and context helps. These objectives call for different evidence. A competitive submission answers the first through the official ranking. The second depends on comparisons among feature sets under conditions that let the effect of the combination be identified.

### The method, step by step

#### From a comment to a classification

The method begins with a comment and ends with a category. Between those points, the system builds several numerical views of the same text. One records properties of its language and style. Another represents a sequence of individual words. A third collects information from those word vectors into a single representation. A fourth encodes the comment using a contextual system. The combined classifier gives each view its own processing before passing all the resulting information to a shared hidden layer.

The authors call this architecture knowledge integration. In this study, the term refers to joining feature streams inside one trained network. The word sequence can pass through layers designed to take advantage of order, while a vector of linguistic measurements can enter through a separate branch. The hidden layer receiving those branches can then use their outputs together to assign a label. The paper also describes separately trained classifiers and ensemble alternatives, which place the combination at a different stage in the process.

From YouTube comments to the shared-task submission The steps in order.

#### Clean the text before extracting features

The preprocessing removes excess spacing, empty lines, selected punctuation and emojis. The English subtask has additional normalization. The authors expand acronyms and convert the text to lower-case. They describe these extra steps for English specifically. The distinction matters because a word sequence presented to a pretrained representation is a sequence after preprocessing. Changes to abbreviations or case can change which forms the feature extractor sees, even though the input still carries the same benchmark label.

Removing blank lines and surplus spaces reduces variation in how the text is laid out. Removing punctuation and emojis can affect what evidence remains available. This matters especially for a system with a branch that measures writing style. In the paper, the list of linguistic feature types includes emoji-related properties, while the preprocessing description includes emoji removal. The relationship between those steps is left unspecified. The feature list by itself therefore gives only part of the information needed to know what the classifier could observe about emojis in the submitted setup.

English-only normalization is a concrete dataset-specific decision. Acronym expansion changes a short form into the expression it represents, while lowercasing changes the surface spelling. The authors do not give a list of the acronyms or punctuation marks affected. The reproducible distinction at the level of the paper is which transformations are described as common and which are described as English-specific. The paper treats these as parts of the pipeline instead of testing their influence separately.

#### Describe writing style with UMUTextStats

The authors call the first feature set LF, short for linguistic features. It comes from UMUTextStats, a tool developed by their research group. They select a subset that they describe as language-independent. The feature families include stylometry, grammatical categories, emoji-related information and social media jargon. Stylometry here concerns measurable properties of a person’s writing. The grammatical features concern categories such as the [part of speech](https://md.research.elamur.ai/free/en/topics/part-of-speech-tagging/) assigned to words.

This branch makes descriptive properties of a comment available directly to the classifier. A downstream network can use those values as inputs without having to derive the same measurements from a sequence of embeddings. What it learns about their relevance depends on the labelled comments. A style characteristic can be common in safe and abusive comments alike. Its presence in a feature vector gives the classifier an opportunity to use it in combination with other evidence, while its diagnostic value remains an empirical question.

The selected subset is important to the group’s research objective. They bring a tool from previous work and choose features intended for use beyond a single language. That choice establishes a practical basis for running the feature extractor under different language conditions. The paper specifies feature families, leaving the inventory of individual measurements and their extraction settings open. This level of detail is enough to understand what role the branch plays alongside the embeddings. It leaves a separate question about which of its signals contributed to any particular prediction.

#### Preserve word order with FastText vectors

The next feature set, WE, uses pretrained FastText word vectors. A word vector is a list of numerical values associated with a word. The values are available before the authors train their classifier on the shared-task labels. The paper identifies pretrained English resources and pretrained Tamil resources. For the Tamil embeddings, it cites research that produced word representations across many languages. [Learning Word Vectors for 157 Languages](https://md.research.elamur.ai/free/en/papers/grave-2018-learning-word-vectors-157-languages/)

The authors describe these embeddings as non-contextual. The relevant distinction is when context enters the computation. In the FastText word-vector input, each word has a representation that can be passed along with the vectors for neighbouring words. A layer downstream can combine those inputs and learn something about the surroundings. The FastText input itself does not assign a new contextual representation to each occurrence based on the full comment.

A sequence of vectors preserves their order. That makes it possible for the classifier to learn patterns that depend on words appearing nearby or in a particular arrangement. The paper evaluates a convolutional route for this input. A convolutional layer can learn a feature from a local span and look for that feature across the sequence. For a short comment, this gives the classifier a way to respond to the joint evidence of neighbouring words rather than relying only on the strength of a signal from each word considered independently.

The authors also evaluate recurrent alternatives. A recurrent layer builds a representation as it moves through an ordered input. The study considers bidirectional versions of the long short-term memory and gated recurrent unit layers, which it calls BiLSTM and BiGRU. Bidirectionality gives the layer a way to use information from both directions in the word sequence. The architectural motivation is that evidence relevant to a label can depend on what comes before or after a word, including material beyond the span considered by a local filter.

These alternatives explain why the method keeps a word-sequence input even though it also produces whole-comment vectors. A convolutional or recurrent branch receives several vectors whose positions still have meaning. The layers can form new features based on their arrangement. A whole-comment vector already compresses those inputs into a single object. Each form therefore exposes a different kind of structure to the network.

#### Reduce words to a single vector with FastText

The third feature set, SE, also uses FastText, but at the sentence level. The authors describe the sentence representation as an average of word embeddings. In this operation, the values at a given position in the word vectors are averaged to produce the value at that same position in the resulting vector. Repeating that operation across the vector gives one fixed-length input for the classifier. The paper calls these sentence embeddings even though the unit to be classified is a comment.

The average carries information about the word vectors present in the text. Word order disappears in the averaging operation. If an input presented the same vectors in a different order, the operation would produce the same average. That property belongs to the representation itself, independent of how the downstream classifier is trained. It helps explain why the method keeps both FastText views. SE offers a compact overall representation, while WE leaves the downstream sequence layers access to the positions that SE has combined.

The paper discusses this calculation in words. The representation is useful for understanding the design because the two FastText inputs share a source of word information without imposing the same structure on the classifier. A comparison of WE and SE, if reported under comparable conditions, could address how useful the ordered representation was relative to the average. What the combined architecture does is give the learning procedure both forms and let it train with them together.

#### Encode each comment in context with BERT

The last feature set is called BF. It uses BERT for contextual sentence embeddings, with BERT specified for English and a distilled multilingual BERT variant also used in the approach. The authors chose the distilled version because the machine available to them could not train large batches with the default BERT setup. A batch is a group of training examples processed together. Their resource constraint thus affected which contextual encoder the system used. [DistilBERT](https://md.research.elamur.ai/free/en/papers/sanh-2019-distilbert-distilled-version-bert-smaller/)

For the whole-comment representation, the authors take the output associated with the special classification token, written `[CLS]`. The token serves as a designated position from which to read a vector after BERT has processed the text. That vector can reflect relationships among tokens in the comment. It consequently differs from the FastText average, where each word’s contribution is combined without regard to its position. The paper cites earlier work on sentence embeddings in connection with this choice of representation. [Sentence-BERT](https://md.research.elamur.ai/free/en/papers/reimers-2019-sentence-bert-sentence-embeddings-siamese/)

The contextual path includes its own search over training settings. The authors evaluate 10 configurations with the Tree of Parzen Estimators procedure, abbreviated TPE. The learning rate, epoch count, warm-up, batch size, and weight decay are all part of the search. Weight decay constrains the growth of learned weights. The batch size determines how many examples are processed as a group. Warm-up concerns the way the learning rate is brought up at the start of training. An epoch is a pass through the training data, and the learning rate controls the size of the updates made during learning.

These settings relate to how the contextual representation is obtained, before the paper moves on to the search over neural classifiers. They have distinct roles. An encoder supplies a vector for the comment. The classifier must then learn how to map that vector, alone or alongside the other inputs, to the benchmark labels. The paper gives the settings explored for the BERT stage, leaving the complete settings of the selected run unspecified.

#### Train the feature branches and bring them together

The authors train a network for each feature set and another network for all the sets together. The separate classifiers test each feature input in its own training setup. The combined classifier first sends each feature set through its own part of the network. It collects the resulting representations in a further hidden layer. A hidden layer performs an intermediate transformation, so the merged values can influence the final decision jointly.

The point at which the branches meet is a substantial part of the design. The sequence route can use layers that operate on ordered words. A branch with a sentence embedding starts from a vector summarising the whole input. The linguistic branch starts with measurements that already describe properties of the comment. The network allocates a suitable stage to each branch before it asks the shared layer to learn from their joint outputs.

This makes a combined network different from a sequence of independent decisions. The branch handling a FastText sequence need not finish by assigning its own comment label before the linguistic branch contributes. The combined classifier can learn from their intermediate representations. For instance, the representation of a local word pattern can reach the same hidden layer as the writing-style measurements. Whether the combination is informative depends on how those values relate to the training labels. The architecture gives the system a place to learn that relationship.

The hyper-parameter search for these classifiers uses RayTune. A hyper-parameter is a setting that governs a training run or an architecture, such as the size of a layer or the learning rate. It is chosen as part of the search, while the network learns its weights from training examples. The authors compare shallow and deep networks. The shallow networks have one or two layers, with a common width across those layers. The deep networks use up to 8 hidden layers and include several profiles for changing the width from layer to layer.

The named profiles include brick, triangle, diamond, rhombus and shorter or longer funnels. They describe how the number of units is distributed through the network. The profile affects where capacity is concentrated and where a representation narrows as it passes between layers. The paper also varies activation functions, which determine how a layer transforms its inputs, as well as learning rates and dropout. Dropout is a regularization technique that temporarily switches off selected units during training. This limits how consistently the network can rely on any particular set of active units.

Training settings and architecture are both part of the search. The search can alter the depth and widths of a network as well as the conditions under which it learns. The resulting combined classifier thus reflects more than a decision to put several features in the same layer. Its performance can depend on the representation learned by each branch, the width of the layer that receives them and the training settings used across the network. The paper describes the range explored, giving the reader the design space rather than a complete configuration for each dataset.

#### Evaluate alternatives before submitting

The authors report building two more systems based on ensemble learning. An ensemble typically combines the outputs of separately trained predictors. In this study, that is an alternative to bringing the feature streams together inside one network. The paper gives the purpose of building the alternatives and says the team evaluated the approaches to choose a final submission. It leaves the ensemble combination rules and their separate scores unspecified.

The procedure consequently separates several decisions. The language and preprocessing determine the text presented to feature extraction. Individual resources and feature definitions determine the representations available. Architecture and training determine how the network uses those representations. Evaluation determines which approach the team chooses for the shared task. The paper provides its most detailed validation account for the network with all the feature sets, followed by the official scores for the team’s entry. Those reports support different parts of the experimental account.

### Experiments and results

#### The three collections and their splits

The comments come from the shared-task data developed by Chakravarthi and colleagues. The paper describes separate training, validation and test splits for the datasets. Training examples supply the labelled cases from which the classifiers learn. Validation examples provide a separate basis for examining performance and choosing among approaches. The test results come from the official shared-task leaderboard. It is important to keep these roles in view because the validation classification report describes the combined network in detail, whereas the leaderboard compares submitted systems on the official evaluation.

The English collection has 276 comments labelled homophobic, 13 labelled transphobic and 4567 labelled safe in the paper’s dataset counts. The Japanese-looking precision of a decimal score is unnecessary for seeing the problem posed by this distribution. The transphobic category has very few examples, while safe is common. The counts describe the dataset in the paper’s label inventory. They are not reported as counts for the English validation split alone, so they cannot be used directly as the denominators for its precision and recall.

The Tamil collection has 723 comments labelled homophobic, 233 labelled transphobic and 3205 labelled safe. Safe is again the largest category, but the abusive categories have more examples than their English counterparts. The Tamil-English collection has 465 homophobic, 184 transphobic and 5385 safe comments. These are dataset counts for the categories as the paper lists them. They show how the relative availability of examples changes across the shared task, even though the same category names apply throughout.

Counts and comparative performance answer separate questions. The counts tell the reader how many comments were assigned each label in the collections described. A validation recall tells the reader how well the classifier covered the actual members of a class in that split. The number of examples in the label inventory helps explain the authors’ attention to imbalance. Estimating the reliability of a split-specific result would require the support for that class in the split, along with an account of how the evaluation varied across runs or samples.

#### How to read the scores

The paper reports accuracy, precision, recall and F1, with class-specific values and different kinds of averaging where appropriate. Accuracy is the share of comments that receive the expected label. For a given label, precision asks how often the classifier is right when it predicts that label. Recall asks how frequently it predicts that label among comments that actually carry it. Each measure uses a different set of cases as its starting point.

For the transphobic class, precision begins with the comments the classifier has flagged as transphobic and asks how many of those predictions agree with the expected category. Recall begins with the comments assigned the transphobic label in the dataset and asks how many the classifier found. A missed transphobic comment lowers recall for that category. A safe or homophobic comment assigned the transphobic label lowers precision for it. These two types of error can affect the other class scores as well because each comment belongs to one category in the task.

F1 balances precision with recall. It is held down by a weak value on either measure. Macro F1 gives each class’s F1 the same influence in the average. The weighted average instead gives more influence to classes with more examples. When safe comments are common and easy for the classifier, a weighted F1 can be high even when macro F1 is much lower. The validation report makes that pattern visible without the reader having to infer it from accuracy.

Macro precision and macro recall likewise average the corresponding class measures. In the official comparisons, they can distinguish entries that receive the same macro F1 at the precision reported on the leaderboard. They are also useful when interpreting a single class report. A high recall and a lower precision describe a different pattern of errors from a high precision and a lower recall. Tracking the separate quantities makes the aggregate F1 easier to understand.

#### Validation in English

On English validation data, the combined network reaches a macro F1 of 55.75% and a weighted F1 of 93.44%. The gap follows the different treatment of the labels by the two averages. The safe class has a validation F1 of 96.84%. The homophobic class has an F1 of 37.09%, and the transphobic class reaches 33.33%. With equal influence for each category, the majority class can raise the macro score only alongside the weaker results for the two abuse labels.

The English validation precision for homophobic comments is 43.08%, and recall is 32.56%. The system therefore has trouble both with the reliability of its homophobic predictions and with coverage of the examples expected to receive that label. For the transphobic class, precision is 50.00% and recall is 25.00%. Recall is particularly weak in that category. The safe class is strong in both respects, with 96.11% precision and 97.59% recall.

The class scores tell a different story from the weighted result considered by itself. A reader interested in whether the system often assigns the correct label across all English comments will see the benefit of reliable safe predictions. A reader particularly interested in recognising transphobic comments will find the most relevant evidence in the precision of 50.00% and recall of 25.00% for that class. The paper’s reporting supports both readings because it keeps the individual label measures available.

#### Validation in Tamil

Tamil gives the combined network its highest validation macro F1, at 85.06%. Its weighted F1 on the same split is 91.06%. The safe class still has the highest F1, at 94.64%, while the homophobic class reaches 78.59% and the transphobic class reaches 81.94%. The Tamil result therefore reflects considerably stronger scores on the labels the task was set up to distinguish, as well as strong performance on safe comments.

For Tamil homophobic comments, validation precision is 82.03% and recall is 75.42%. The transphobic category has 88.06% precision and 76.62% recall. Safe comments reach a precision of 93.33% and a recall of 95.98%. These measures show that the two abuse classes benefit on both sides of the evaluation. A larger share of the comments predicted to belong to each class receives the corresponding reference label, and the classifier finds a larger share of the reference examples than it does for the corresponding English classes.

The tighter clustering of the F1 scores matters for interpreting the aggregate. Macro F1 can rise through improvements distributed across the labels. In Tamil, both abuse classes have scores nearer to the safe class than they do in the other datasets. That is a substantive part of the result. The strong overall figure derives from coverage and precision across categories, so it provides evidence about the main classification objective in a way that the English weighted score alone could not.

#### Validation in Tamil-English

The combined network achieves a macro F1 of 62.60% and a weighted F1 of 87.79% on the Tamil-English validation set. The class-specific F1 scores are 44.50% for homophobic, 50.39% for transphobic and 92.89% for safe. The overall macro score sits between those for English and Tamil, and the class breakdown shows the same ordering for each of the abuse labels.

The relationship between precision and recall is different from the one in English. On Tamil-English validation data, the homophobic class has 35.74% precision and 58.94% recall. The transphobic class has 47.76% precision and 53.33% recall. Here recall exceeds precision for both abuse categories. The classifier retrieves a greater share of the actual cases than it does in English, while a large share of the comments it predicts to be abusive receives a different reference label.

For the safe category, validation precision is 95.91% and recall is 90.06%. The high precision means that predictions of safe typically agree with the dataset. The lower recall relative to its precision means that some safe examples are assigned another label. The class measures together describe the distribution of errors more clearly than the aggregate does. A reader can see that improvements in coverage of the abuse categories coexist with weak precision for those predictions.

#### Official submissions as the comparison

The official leaderboards provide comparisons with entries from other teams under each subtask’s evaluation. They serve as the paper’s main external reference points. A leaderboard comparison is a comparison of complete submitted systems. Each team may make different decisions about what goes into its classifier, how it trains and what it submits. The standings establish the relative performance under the shared evaluation, with the scores giving the scale of the result.

The rankings have to be read within each language condition. A high placement indicates strong performance relative to the other submissions for that dataset. A high score indicates strong performance against that dataset’s reference labels under the metric. The order of UMUTeam’s placements differs from the order of its macro F1 scores. The Tamil-English entry placed highest, while the Tamil entry attained the highest score. Both statements are needed to describe the competitive outcome.

In English, UMUTeam ranked 7th with a test macro F1 of 45%. Ablimet led the leaderboard at 57%. The niksss entry also had a test macro F1 of 45% at the reported precision. UMUTeam had a macro precision of 48% and macro recall of 43%. For niksss, the corresponding scores were 46% and 44%. The similar F1 values thus accompany slightly different balances between the two measures. UMUTeam’s English test accuracy was 93%, another instance where an overall count of correct decisions gives a different impression from a score that weighs the classes equally.

Selected English test submissions by macro F1 UMUTeam matches niksss at the reported precision and trails the leading entries.

**The numbers**

| System or setting | Macro F1 % |
| --- | --- |
| Ablimet | 57 |
| Sammaan | 49 |
| Nozza | 48 |
| niksss | 45 |
| UMUTeam (this paper) | 45 |

In Tamil, UMUTeam ranked 3rd with a test macro F1 of 82%. ARGUABLY led with 87%, followed by NAYEL with 84%. UMUTeam’s test macro precision was 85% and its macro recall was 80%. The leading entry reached 88% macro precision and 85% macro recall. NAYEL reached 86% macro precision and 81% macro recall. The same order therefore appears in the reported Tamil precision and recall as in macro F1 for this group of entries.

Leading Tamil test submissions by macro F1 UMUTeam finishes behind ARGUABLY and NAYEL.

**The numbers**

| System or setting | Macro F1 % |
| --- | --- |
| ARGUABLY | 87 |
| NAYEL | 84 |
| UMUTeam (this paper) | 82 |
| hate-alert | 78 |

On Tamil-English test data, UMUTeam ranked 2nd with a macro F1 of 58%. ARGUABLY led with 61%, and bitsa_nlp also scored 58% at the precision shown. UMUTeam recorded 54% macro precision and 67% macro recall. The bitsa_nlp entry recorded 61% macro precision and 56% macro recall. The two systems achieved the same reported macro F1 with noticeably different balances. UMUTeam found more of the reference cases on average across classes, while a larger share of bitsa_nlp’s predictions agreed with the assigned categories.

Selected Tamil-English test submissions by macro F1 UMUTeam shares its reported score with bitsa_nlp below the leading entry.

**The numbers**

| System or setting | Macro F1 % |
| --- | --- |
| ARGUABLY | 61 |
| UMUTeam (this paper) | 58 |
| bitsa_nlp | 58 |
| hate-alert | 56 |

The three leaderboard comparisons also help put English resource availability in perspective. English is the setting the authors describe as having more learning resources, yet it is where UMUTeam achieves its lowest macro F1 and lowest placement. Tamil, described as having fewer resources, yields the strongest scores for both abusive categories in the team’s detailed validation report. The availability of pretrained resources is one characteristic of the setup. The amount and distribution of labelled data, the form of the input and the behaviour of the submitted classifier help determine what the evaluation measures.

The validation and test reports show the same broad ordering for UMUTeam across languages. Tamil has the highest macro F1, followed by Tamil-English and English. Their figures belong to different splits and should be read in their own settings. A validation report supplies class-by-class evidence for the combined network. An official macro score places the submission against other teams. Together they establish that the pattern spans both evaluations, while questions about which training choices produced it require a different comparison.

### What the ablations show

The paper reports no controlled feature ablation and instead analyses the combined classifier through class-level validation scores, confusion matrices and comparisons across the three shared-task datasets.

#### Where the combined classifier makes errors

The confusion matrices are for English, Tamil and Tamil-English validation data, using the combined network. A confusion matrix counts how predicted categories line up with reference categories. Correct predictions sit at the intersections where the predicted and reference categories agree. Errors occupy the remaining intersections. This view is useful for a task with distinct abuse labels because a missed transphobic comment, for instance, could be classified as safe or as homophobic. Those outcomes represent different failures of the decision rule.

The per-class measures show which categories deserve a closer look in those matrices. English combines very high safe-class recall with weak recall for both abuse labels, particularly transphobic. Tamil has stronger precision and recall for the abuse classes, while the safe category continues to perform well. Tamil-English shows weaker precision than recall for the abuse categories. These contrasts diagnose how the same general approach behaves across the validation settings. A precise account of which wrong labels dominate for a category requires reading the matching cells of its confusion matrix.

The authors use these patterns to argue that the heavier imbalance in English and Tamil-English contributes to their weaker abuse detection. The distribution of labels makes that explanation plausible. Tamil has more examples from each abuse category in the reported counts, and its validation results for those labels are better. The comparison is between datasets that have different input languages, distributions and resources, however. It can establish that the stronger minority-class scores occur in the less skewed condition, with the causal role of imbalance still open.

#### What the candidate architectures establish

The paper describes the training of a classifier for each input and a classifier that joins all the inputs. Those candidates are relevant to the authors’ secondary objective because their scores could help show whether combining representations improved detection. The detailed validation table reports the combined network. It leaves the relative scores of the separate feature classifiers and ensemble alternatives unspecified. Consequently, the demonstrated result concerns what the complete system achieved, with the contribution of any individual input still unresolved.

A controlled comparison could ask whether removing linguistic features changes macro F1 while keeping the other feature streams and training conditions comparable. Another could examine the marginal contribution of the contextual embedding once the two FastText representations are already available. Those comparisons correspond to different questions about the design. The first concerns the value of explicit writing measurements. The second concerns how much contextual information adds when the network already has access to both a word sequence and an average. The paper makes both questions intelligible by describing the architecture, while leaving their answers unmeasured in the reported results.

The same distinction applies to the sequence architectures. The authors considered convolutional layers and bidirectional recurrent layers because these offer different ways to learn from ordered words. Their inclusion in a search tells the reader what the training procedure could try. It gives no ranked evidence about which type of layer was more effective for a particular abuse category or dataset. Rank and macro F1 for the submitted system cannot assign credit to that choice independently of the rest of the training procedure.

#### What the analysis supports about imbalance

The metric comparisons offer the clearest diagnosis of imbalance. In English validation, the weighted F1 is high while the class-specific scores for homophobic and transphobic comments are much lower. This directly shows how an average strongly influenced by safe comments can give a different account of performance from an equal-weight average. It demonstrates a consequence of the label distribution for reporting, alongside the authors’ explanation of how that distribution may have affected learning.

The Tamil-English analysis adds a different observation. Its validation results show stronger recall than precision for both abuse classes. On the official leaderboard, UMUTeam also has higher macro recall and lower macro precision than bitsa_nlp, with equal reported macro F1. The validation and leaderboard statements are distinct because they compare different quantities. The first describes classes within the combined classifier. The second compares complete submissions. Both show what is gained by keeping precision and recall visible alongside F1.

These analyses help locate the problems the classifier still has. They show that an English score derived largely from reliable safe predictions cannot stand in for performance on the abuse labels, and that the Tamil-English entry’s strong placing coexists with an uneven precision and recall balance. Evidence about the mechanisms behind those patterns would require matched experiments. The paper’s observed results are strongest as an account of the distribution of errors across subtasks and labels.

### Limitations

#### Limits the authors identify

The authors identify code-mixed language as a weakness of their approach. The Tamil-English subtask includes Tamil written in Roman characters together with English. The method combines linguistic features, pretrained vectors and a multilingual contextual resource, yet the authors judge the handling of mixed language to be inadequate. They propose examining the reliability of multilingual resources in future work. Their conclusion is consistent with the class-level performance, where both abuse labels show limited precision on the mixed validation split.

The distinction between a competitive result and satisfactory handling of the input is particularly important here. The Tamil-English placement is high relative to other entries on that track. The same submission’s absolute score and the validation report leave considerable room for error. The authors’ assessment addresses the behaviour of the system on mixed language. The leaderboard placement describes where the team landed among competitors under the chosen metric. Both can hold at the same time.

The authors also identify figurative language as a direction for future adaptation to Tamil and English. A direction for subsequent research has a narrower evidential meaning than a result from the current experiment. The class reports combine comments regardless of whether their wording is literal or figurative. The paper gives no separate score for figurative usage, so its effect on the measured errors remains open. The authors’ mention of it indicates an aspect of language they want later work to address.

Class imbalance is the authors’ explanation for much of the weakness on the abuse labels in English and Tamil-English. The validation figures show that the problem is concentrated in those labels, and the dataset counts establish that the safe class dominates. The paper leaves the effect of a targeted change in the training distribution unmeasured. The explanation is therefore best read as an interpretation of the observed relationship, rather than as a result from a separate intervention.

#### Limits of the reported design

The study evaluates the classifier on comments from the shared-task collections and against the categories supplied with them. Its evidence is strongest for that definition of the task. Measuring performance on another collection would require evaluation with comments and labels from that setting. The paper’s results also give no breakdown by individual writing conventions within Tamil-English. A language condition contains a mixture of cases, and its overall score leaves open which kinds of mixed input are easiest or hardest for the detector.

The comparison across datasets changes more than one condition. Tamil differs from English and Tamil-English in the counts of the abuse labels. English has additional normalization. The available pretrained resources and the forms of the text also differ. Those factors are all relevant to the authors’ account of the system. The observed performance is the result of their interaction in each dataset. A calculation of how much any one factor contributes would need comparisons that hold the other conditions steady.

The precision of a reported score and the amount of evidence behind it are distinct. The English dataset counts include 13 examples with the transphobic label. Its class-specific validation scores are informative about the system’s observed predictions, with the evidence limited by the scarcity of that class. The paper reports point estimates. It leaves uncertainty across different samples or training runs unquantified, so small differences between some systems cannot be interpreted as stable advantages from the reported scores alone.

The leaderboard has a related limitation. Equal displayed F1 scores can coexist with an ordering in the official standings. English and Tamil-English both supply examples of teams tied at the precision shown in the paper. The paper gives the official placement and the reported metrics, while leaving the resolution of those apparent ties unspecified. The defensible account preserves both pieces of evidence: the position reported for UMUTeam and the equality of the displayed macro F1 values where it occurs.

Reproduction is possible at the level of the overall design, with several implementation choices left open. The procedure names the feature families, pretrained resources, contextual extraction point, candidate architectures and tuning tools. The final settings for each submission, the exact feature inventory, the detailed preprocessing rules and the ensemble combination procedure remain unspecified in the report. In particular, someone trying to reproduce an emoji-related signal would need to know its relationship to the emoji removal step. These details would matter for reproducing the scores or conducting controlled comparisons.

The distinction between predictive performance and explanation is also important for the linguistic features. Naming stylistic and grammatical signals tells the reader what kinds of measurements were available to the network. It does not show how much weight any signal carried in specific predictions or whether the system learned a stable cue for either abuse category. An interpretation of a decision would need evidence about which parts of the input influenced it. The paper instead evaluates decisions through their agreement with the dataset labels.

Finally, the benchmark scores concern the classification of comments. Evaluating a moderation system would involve a further set of questions about what action follows from a prediction, what happens when an abusive comment is missed and what happens when a safe comment is flagged. The class-specific metrics identify errors relevant to such decisions. The paper’s empirical claims remain at the level of detection accuracy and coverage within the task, where the labels and evaluation are defined.

### What came after

The paper closes with two directions for follow-up. The authors want to adapt their techniques to figurative language in Tamil and English, and they want to examine how reliably multilingual resources handle mixed-language comments. The first direction concerns how an intended meaning is expressed. The second concerns how the system represents the languages and writing conventions present in an input. Both arise from questions left open by the shared-task results.

Later uptake of the method is undocumented here. Whether subsequent studies reused UMUTeam’s feature integration, tested its separate components or improved its handling of Roman-script Tamil remains open.

## Cite

Cite as José García-Díaz, Camilo Caparros-Laiz and Rafael Valencia-García. 2022. UMUTeam@LT-EDI-ACL2022: Detecting homophobic and transphobic comments in Tamil. Proceedings of the Second Workshop on Language Technology for Equality, Diversity and Inclusion.

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

```bibtex
@inproceedings{garciadiaz2022umuteam,
  title = {{UMUTeam@LT-EDI-ACL2022: Detecting homophobic and transphobic comments in Tamil}},
  author = {José García-Díaz, Camilo Caparros-Laiz and Rafael Valencia-García},
  booktitle = {Proceedings of the Second Workshop on Language Technology for Equality, Diversity and Inclusion},
  year = {2022},
  doi = {10.18653/v1/2022.ltedi-1.16},
  url = {https://doi.org/10.18653/v1/2022.ltedi-1.16}
}
```

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