Elamur Research

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

Summary

A system that screens YouTube comments can agree with most of the labels in an evaluation and still miss many of the comments the screening is meant to find. UMUTeam studies this problem in a shared task on homophobic and transphobic language. The system assigns each comment a category from a fixed set: homophobic, transphobic, or safe. The organizers evaluate English, Tamil, and Tamil-English separately. The last collection includes Tamil written in Roman script alongside English. Safe is the largest category throughout, and the English collection offers particularly few examples of transphobic comments.

The authors give their classifier several representations of the same comment. One records properties of writing style, grammar, and social media usage. FastText supplies pretrained word embeddings, which are numerical representations of words. The system uses them both as an ordered sequence and as an average that represents the whole comment. A BERT representation gives the classifier a further view of the text in which surrounding words can affect how an expression is encoded. The team trains a classifier for each input separately, explores ensembles of predictors, and builds a network with a branch for each input. A shared layer in that network learns from the outputs of the branches.

UMUTeam placed 7th on the English test leaderboard with 45% macro F1, 3rd on Tamil with 82%, and 2nd on Tamil-English with 58%. Macro F1 gives each category equal influence in an average of scores that account for both the reliability and the coverage of predictions. Tamil yielded the team's highest test score, and Tamil-English yielded its highest placement. The combined network also performed best on Tamil in validation, with 85.06% macro F1 and stronger results for both abuse categories than on the other collections. In English validation, the difference between categories was particularly pronounced. The safe category reached 96.84% F1, and the transphobic category reached 33.33%.

The authors attribute the weaker abuse detection in English and Tamil-English to the scarcity of abuse examples relative to safe ones. They also identify handling mixed-language text as a weakness of their approach. The validation report shows where the combined classifier performed well and where it struggled. The separate feature classifiers and ensembles have no corresponding scores in the paper, so how much each input helped remains an open question.

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

UMUTeam tests how linguistic features and text embeddings detect homophobic and transphobic YouTube comments in Tamil, English, and mixed-language text. · about 34 minutes to read

The problem and its context

What a comment label asks the system to decide

The authors motivate the shared task through the harm that homophobic and transphobic messages can do to individuals and communities. They discuss restrictions on individual and collective freedom and draw attention to consequences for children, citing work on homophobic bullying in schools. Their experiment addresses one part of that wider concern. Given the text of a YouTube comment and a set of categories already defined for the task, can a classifier reproduce the category assigned to the comment in the dataset?

This is a problem of text classification. The comment is the input, and the predicted label is the output. The distinction between homophobic and transphobic comments is part of what the system is asked to learn. A detector that recognizes a comment as abusive can still make a classification error by choosing the wrong abuse category. Similarly, a detector can avoid confusing the abuse categories with one another simply by assigning very few comments to either. The evaluation needs to distinguish those patterns to tell a reader what the system has accomplished.

Each decision can be viewed from the perspective of any of the categories. For instance, if a comment labelled transphobic in the data receives a homophobic prediction, the transphobic category has lost a case it should have recovered. The homophobic category has gained a prediction that the dataset regards as incorrect. The same decision affects both assessments. If the classifier assigns safe instead, the transphobic category still loses that case, but the incorrect prediction now belongs to a different category. This is why a report on error types can reveal more than a count of the comments classified correctly.

The word safe has a specific role in the experiment. It names the category available alongside homophobic and transphobic. The system learns to assign it using the labelled examples, and the evaluation checks that decision against the reference label. The classification target is thus bounded by the categories established for the shared task. Questions about the effects of a particular comment, a writer's intentions, or the appropriate response to the message would involve evidence beyond the assigned label. The paper studies agreement with the shared task's distinctions at the level of individual comments.

How language, script, and label distribution enter the task

English and Tamil are evaluated on separate collections, with a further collection for Tamil-English. The paper describes English as having greater availability of resources for machine learning and Tamil as having fewer. That difference matters to an approach that starts with existing resources for representing words or comments. A team can draw on different inputs in different language settings, even when it uses a similar classifier design throughout.

Tamil-English introduces an additional issue. The paper describes Tamil written in Roman script in combination with English sentences. An alphabet gives a system information about the written form of a comment, while the words written in that alphabet may belong to different languages. In this collection, recognizing Roman characters therefore leaves a crucial question unanswered. The classifier still needs a representation that can make sense of Tamil written that way and of English material appearing alongside it.

For a feature extractor, this creates several distinct demands. A resource intended for Tamil has to be applicable to the form of Tamil it receives. An English resource has to operate on an input that can also include Tamil. A multilingual resource can offer a common framework for representing material from different languages, but useful coverage of the specific forms in the comments remains a question for the experiment. The paper's separate mixed-language subtask gives the team a way to evaluate a system facing those demands together.

The quantity of labeled material available for a particular decision is a separate issue. The task provides many safe examples and fewer examples from either abuse category. This changes what a learner sees during training. A common class gives it many occasions to encounter different ways that class is expressed, provided those ways appear in the data. A rare class supplies fewer occasions to learn what its examples have in common or to distinguish them from similar-looking comments in the other categories.

The distribution of labels also affects the meaning of an evaluation. Imagine inspecting only whether each prediction is right or wrong and then combining the decisions across comments. The class with the most comments has the most opportunities to influence that aggregate. If the purpose of the task includes detecting scarce forms of abuse, the evaluation also needs to ask how predictions behave within each category. That question applies even when the most frequent label is predicted accurately for good reasons.

The team is thus testing a common classification objective under distinct conditions. An input may be difficult to represent because of the language or the way it is written. A category may be difficult to learn because it supplies few examples. Those conditions can occur together. The design of the shared task allows the team to report what happened in each collection. It leaves questions about individual causes to more focused experiments.

Where the team starts from

The paper situates homophobic and transphobic comments within hate-speech research concerned with sexism and gender discrimination. The surveys it cites describe a general approach in which a document is represented numerically and a classifier learns from those representations. The team enters that line of work with a question about how to combine several kinds of input. The related work provides the basis for treating feature design and classifier design as separate choices. A Survey on Automatic Detection of Hate Speech in Text

Among the feature approaches discussed is the bag of words, which describes a document through the words it contains while setting aside their order. A related option is TF-IDF, which weights terms using their occurrence in a document and their frequency across a collection. The paper also mentions topic modeling and embeddings for words or sentences. These representations change what evidence a classifier starts with. A term-based feature tells it something about the occurrence of a particular form. An embedding supplies a vector whose values can be used to relate words or passages in the learned representation.

The authors describe earlier use of classifiers such as support vector machines, logistic regression, and random forests. They also discuss convolutional and recurrent neural networks and BERT. A convolutional layer can build features from neighboring inputs, and a recurrent layer can build up a representation as it proceeds through a sequence. BERT is an example of a transformer, whose attention mechanism lets positions in a text contribute to one another's representations. These examples matter to the study because its inputs differ in structure. A sequence of word vectors offers positions for a layer to work with. A set of measurements of writing style has a different organization.

The authors' group had previously worked on misogyny in Spanish. The MisoCorpus 2020 project addressed messages about prominent women, differences between Spanish from Spain and Latin America, and more general patterns in misogynistic expression. This gave the team experience with a related categorization problem and with the use of linguistic information in its features. The shift to the YouTube shared task changes the categories and the language conditions, giving the group a reason to consider which parts of its approach can carry over.

A further study by the group examined strategies for combining linguistic features and embeddings in Spanish hate-speech detection. For the shared task, the authors selected a subset of measurements that they considered applicable across languages. Their research objective alongside the competition was to examine whether combining those measurements with embeddings improved classification. The entry therefore has both a practical goal, assigning the expected label to more comments, and a research question about the inputs that make the decision possible. Evaluating feature combination strategies for hate-speech detection in Spanish using linguistic features and transformers

The method, step by step

From the original comment to the classifier

Start with the text of a comment as it appears in the shared-task data. The authors clean that text, then derive several inputs for their classifiers. The linguistic measurements describe how the comment is written. The FastText word vectors describe words in their original order, and a second FastText input summarizes them in a single vector. BERT provides another whole-comment vector using information from across the text. A learner can use one of those views by itself, or it can receive them together through the combined network.

The team calls the latter arrangement knowledge integration. In this architecture, the inputs first go through separate branches suited to their form. An additional hidden layer receives what those branches produce and can learn to use their outputs together. The team also explores separate classifiers and ensemble alternatives before selecting an approach for submission. Those alternatives make the stage at which information is combined part of the design.

How UMUTeam prepares and classifies comments

The steps in order.

How UMUTeam prepares and classifies commentsStep 1: Clean text and normalize English comments1. Clean text and normalize English commentsStep 2: Measure linguistic properties with UMUTextStats2. Measure linguistic properties with UMUTextStatsStep 3: Extract FastText sequences and averaged vectors3. Extract FastText sequences and averaged vectorsStep 4: Obtain contextual representations with BERT4. Obtain contextual representations with BERTStep 5: Tune individual and combined classifiers5. Tune individual and combined classifiersStep 6: Build ensemble alternatives6. Build ensemble alternativesStep 7: Evaluate candidates for submission7. Evaluate candidates for submission

Prepare the text for feature extraction

The common preprocessing removes excess spaces, blank lines, some punctuation, and emojis. The English pipeline adds acronym expansion and lowercasing. These steps happen before the feature extraction described by the authors. Consequently, a representation based on words can receive different forms from those originally visible in the comment. Expanding an acronym changes the expression that reaches the word-vector stage. Lowercasing can make differently capitalized forms enter the system in the same form.

Cleaning also has implications for the inputs concerned with writing style. Spaces and punctuation belong to the written form of a comment. Keeping, removing, or normalizing such material determines what an extractor can measure on the resulting text. In this pipeline the authors list emoji removal among the cleaning steps, and they include emoji-related measurements among the families of linguistic features. The paper leaves the relation between these operations unspecified. For instance, the account gives no timing for any emoji measurement relative to removal. A reader can identify both operations without knowing what emoji information ultimately reached the classifier.

The language-specific part of preprocessing is deliberately limited in the description. Acronym expansion and the conversion to lower-case are identified for English. The paper gives the mixed track a different description at the level of the data, where Roman-script Tamil appears alongside English, but supplies no separate sequence of normalization operations for such input. The common cleaning and the additional English operations are the preprocessing decisions that can be traced in the method.

Give the network explicit measurements of writing

The first input, LF, consists of linguistic features computed by the group's UMUTextStats tool. The selected families cover stylometry, part-of-speech tagging, emojis, and social media jargon. Stylometry describes measurable aspects of writing style. Parts of speech identify grammatical categories of words. The social media features concern forms of expression associated with the medium. Together these families describe attributes the system can receive as numerical observations about a comment.

An explicit measurement changes what the classifier needs to learn from the labels. If a property has already been extracted, the network can learn whether that value helps predict a category, alone or with other inputs. A branch operating on word vectors would have to derive any corresponding observation indirectly from the sequence that it receives. The paper's design gives both approaches a place in the same classifier. An extracted property is evidence made available to training. Its actual association with a label depends on the examples.

The paper describes its selection from UMUTextStats as language-independent. The phrase applies to the choice of features the authors intended to carry across language conditions. It leaves open how well a particular measurement works on each collection. For a grammatical signal, for instance, the meaning of the resulting feature depends on how reliably the relevant categories can be identified in the input. The paper names the families included in the branch, and its architecture gives those families a defined route into the classifier. There is no separate evaluation of their extraction quality.

Keep the FastText word vectors in sequence

The input called WE uses pretrained FastText word embeddings. A word embedding is a list of values representing a word in a numerical space. In this study the vectors come from resources built before training the shared-task classifier. The paper specifies pretrained resources for English and Tamil. It cites the work on multilingual word vectors for the Tamil resource. Learning Word Vectors for 157 Languages

These vectors are non-contextual inputs. A given word starts with its vector from the embedding resource, and a layer processing the sequence has access to the vectors of other words as well. If a word appears in different surroundings, the branch can respond differently because the rest of the sequence has changed. That contextual processing takes place downstream from the lookup that supplies the initial vector. The distinction is between how the input is obtained and what the classifier can learn to do with it.

Ordering matters for this branch. A local pattern can depend on which vector comes before another and whether the two are neighbors. Merely knowing that the same words occur somewhere in the comment would leave that information out. With the vectors laid out in sequence, a convolutional layer can apply a learned operation over a local span. It can apply the same operation at different positions, giving the network a way to detect a useful arrangement in different parts of a comment.

The authors also consider recurrent layers. A recurrent layer processes an ordered input while carrying a representation forward between positions. A bidirectional layer builds representations by reading the sequence in both directions. The paper considers a bidirectional long short-term memory layer, or BiLSTM, and a bidirectional gated recurrent unit, or BiGRU. The architectural purpose is to let evidence from different parts of the sequence shape the representation that the branch passes onward.

Convolutional and recurrent processing give the sequence input different ways to use order. The convolutional option can recognize a pattern in neighboring material. The recurrent option can carry information across a succession of positions. Both use the ordered input supplied by the FastText word vectors. The paper describes them as options evaluated during development. Their inclusion explains why preserving the sequence matters even in a system that also computes whole-comment vectors.

Average the FastText vectors for a compact input

SE is the separate FastText input at the sentence level. The authors describe its construction as taking the mean of the word embeddings. For each coordinate of the vectors, FastText averages the values in that coordinate across the words. It carries out the same operation for each coordinate. The result is one vector of the original width, regardless of how many word vectors contributed. The paper calls it a sentence embedding, and it serves as an input for classifying the comment.

The operation gives the classifier an aggregate of the words' vector representations. It also has a specific consequence for word order. Rearranging the same vectors preserves the value obtained at each coordinate, since the averaging operation uses the same values. Any information about their positions has therefore been lost by the time the result reaches the classifier. A layer receiving SE has a compact description that it can use immediately. A layer receiving WE still has the sequence needed to derive features from positions or neighborhoods.

Both inputs start with FastText information, so their relationship is more specific than the fact that both use embeddings. They differ in what has already happened to the word vectors before the classifier receives them. The average provides a ready-made summary. The sequence leaves the work of combining nearby or distant positions to the learned layers. Giving the integrated network both forms allows it to use this summary alongside any sequence features the team learns during training.

Extract a contextual vector with BERT

The authors call their BERT feature BF. The paper identifies BERT for the English setting and also describes using a distilled multilingual BERT variant. Distillation provides a smaller version of the encoder. The reason given here is a constraint on training: the machine available to the team could not process large batches with default BERT. A batch groups examples for a training operation, so the choice of encoder was tied to the practical settings the team could run. DistilBERT

The authors take the sentence vector from the output associated with the special token [CLS]. This supplies a designated position from which the encoder's output can be read after it has processed the text. The vector can depend on the surrounding tokens because the encoder builds its representations using context. For comparison, the FastText average has contributions fixed by the word vectors that go into the averaging operation. BF gives the classifier a comment-level input whose values can reflect the arrangement and interaction of material in the comment. Sentence-BERT

There is a training search associated with obtaining the contextual representation. The paper says the authors evaluate 10 BERT configurations with Tree of Parzen Estimators, abbreviated TPE. The procedure is used to search over settings chosen for a run. In this part of the method the authors vary the learning rate, the batch size, the number of epochs, the warm-up speed, and weight decay. This is the search associated with the BERT embeddings. The classifiers that consume the embeddings are tuned in a further stage.

The learning rate governs how large the changes to learned parameters can be during training. The batch size sets how many examples are processed together, and the epoch count governs how many passes are made through the training data. Warm-up concerns how the learning rate is brought up during the early part of training. Weight decay restrains the size of the learned weights. Taken together, these settings govern how the encoder arrives at the representation that is subsequently read from [CLS].

The use of a designated output position also clarifies what the next classifier receives. The sequence of BERT outputs contains a vector at each position processed by the encoder. The paper chooses the vector at [CLS] to stand for the input at the comment level. The downstream BF branch therefore starts from one vector. The FastText word branch begins with a succession of vectors and has a separate opportunity to apply convolutional or recurrent processing. The two branches work with context at different stages.

Train the branches and integrate their output

The authors train a classifier for each feature family as an independent input and another classifier that can use the full set. In the combined network, each input has a separate route to a further hidden layer. A hidden layer transforms information passing through the classifier before the final prediction. In this case the shared layer has access to the outputs of the separate routes and can learn a transformation informed by all of them.

This gives the feature combination a particular location in the architecture. A branch can first turn the ordered FastText input into a representation of patterns it detects across the words. Other branches start from either measurements of writing or existing whole-comment vectors. At the point where they join, the combined network can use evidence from the different kinds of input in the same classification decision. For instance, a learned feature indicating a local word arrangement and a measurement of writing style can both reach the layer that builds the joint representation.

The fact that the combination happens at an intermediate stage is central to understanding what the authors built. Each branch supplies a representation, so the shared layer can use information that would be lost if the branch supplied only its preferred category. The network can also learn to make greater use of one representation where the others supply little relevant evidence. These are capabilities of the architecture. Establishing how frequently it makes use of particular interactions would require a separate analysis of its decisions.

The classifier search uses RayTune. The authors consider shallow networks with one or two layers and deep networks with up to 8 hidden layers. The shallow candidates keep the width constant across their layers. The deep candidates include several shapes for varying the width. The paper gives examples such as a brick or a triangle, as well as a diamond, a rhombus, and short or long funnels. The shape specifies how units are distributed through the layers, and thus where the candidate architecture expands or compresses the intermediate representation.

The authors also vary activation functions, the classifier's learning rate, and dropout. An activation function transforms the result of a layer so that subsequent layers can learn from more than a simple linear combination. Dropout temporarily disables selected units during training. This changes which parts of the network are active for a training operation, limiting its reliance on any particular set of units always being available. These choices sit alongside depth and width in the search over how to train the neural classifiers.

The search covers several sources of variation at once. Giving a classifier a new feature set changes its input. Varying the network shape changes how that input can be transformed. Changing the training settings affects how the resulting weights are learned. The candidate space therefore includes different ways of learning from otherwise similar features. The paper describes the range of options, including the sequence layers that are suitable for the WE branch. The account of the final scores can then be read against that wider development procedure.

Build alternatives and select a submission

The authors also build two ensemble systems. An ensemble combines predictors to produce an overall decision. Its point of combination is different from the shared layer in the integrated network, which receives intermediate feature representations. The paper identifies the ensembles as additional candidates and says that the team evaluated its approaches to choose a submission. It gives no rule for how the ensembles combine the predictions they receive.

The development procedure thus goes from parallel representations to several candidate ways of using them. Individually trained classifiers provide a way to explore each input by itself. The integrated classifier learns a common decision from feature-specific branches. Ensemble learning provides further alternatives. The detailed validation report is for the combined network, and the official results are reported by team for each subtask. Keeping track of what each report describes matters when interpreting the experiments.

Experiments and results

The comments and the split roles

The paper uses the multilingual YouTube comment collections prepared for the shared task by Chakravarthi and colleagues. The datasets have training, validation, and test splits. Training supplies the labelled examples used to learn a classifier. Validation provides data on which to assess a trained candidate during development. The official evaluation provides the scores used to compare submissions. The class-level validation report belongs to the network with the integrated features, whereas the test results describe UMUTeam's entry relative to the other participants.

In the paper's inventory of English labels, there are 4567 safe comments, 276 homophobic comments, and 13 transphobic comments. The Tamil inventory records 3205 safe, 723 homophobic, and 233 transphobic comments. Tamil-English has 5385 safe comments, 465 with the homophobic label, and 184 with the transphobic label. These are the paper's counts for the collections. The table does not assign these counts to the validation sets alone.

Safe is the most frequent category in each collection. Tamil has more comments carrying each of the abuse labels than either of the other datasets, and a smaller safe category than either. English presents the most striking scarcity for the transphobic label. For training, such a distribution limits the number of examples available for discovering what distinguishes the rare category. For assessment, the relevant support for a precision or recall value is the number of applicable cases in that evaluation split. The overall inventory supplies context for those values and leaves their split-specific denominators to the split itself.

The paper uses the shared-task submissions as its main external comparisons. These entries are practical benchmarks because the teams are evaluated on the same subtask data. The related-work discussion supplies examples of other classification techniques, and the methodology describes separately trained candidates. The results section gives no corresponding scores for a simple reference classifier trained by UMUTeam, or for the individual feature candidates. Accordingly, the leaderboard answers the question of how the entry compares with other entries. It leaves the question of improvement over an internal reference point open.

What the measures tell a reader

Accuracy is the share of evaluated comments whose predicted and reference categories agree. Precision and recall can instead be read for a specific category. To read precision for the homophobic class, start with the predicted homophobic comments and ask how many have that label in the dataset. To read recall, start with the comments the dataset labels homophobic and ask how many the classifier identifies. Precision describes the reliability of the predictions for that label. Recall describes the coverage of its reference cases.

These measures respond to different errors. If the classifier assigns homophobic to a safe comment, that decision counts against homophobic precision. If it assigns safe to a homophobic comment, the decision counts against homophobic recall. A classifier can have high precision for a category by making a small set of reliable predictions, while still having ample room to improve coverage. Conversely, it can recover a larger share of the category's reference examples while making more mistakes among the comments it predicts to belong to that category.

F1 uses the harmonic mean of precision and recall. This way of combining them keeps the score sensitive to a weak value on either side. The validation report gives F1 for the individual categories as well as macro and weighted averages. In macro F1, the F1 of each category has equal influence. For weighted F1, the influence of a category increases with its number of reference examples. Macro precision and macro recall also give equal weight to the classes when averaging their respective measures. The official leaderboard uses these macro measures alongside accuracy.

The averages answer different questions about the predictions. A weighted measure emphasizes the performance experienced across a collection with its observed label distribution. Macro F1 treats the classes as equally important units of assessment, regardless of their prevalence. Neither average by itself describes whether a class score came from reliable but infrequent predictions, or from broad coverage accompanied by more false alarms. The per-class precision and recall provide that additional information.

English validation

On the English validation split, the combined classifier records 55.75% macro F1 and 93.44% weighted F1. The underlying class scores show how the same predictions produce these distinct views. The safe category reaches 96.84% F1, while the homophobic category reaches 37.09% and the transphobic category reaches 33.33%. The weighted score is strongly influenced by the result for safe comments. The macro score gives the weaker class results the same influence as the safe result.

For English homophobic comments, validation precision is 43.08% and recall is 32.56%. The system faces difficulties identifying enough of the reference cases and keeping its predictions for that category reliable. The transphobic category has 50.00% precision and 25.00% recall. This is a particularly weak coverage result: its predictions for the category agree with the reference labels more frequently than its recall figure might suggest, because the two measures start from different sets of comments. The main weakness shown by transphobic recall is how many reference cases lie outside the predictions for that class.

The safe class has 96.11% precision and 97.59% recall in English validation. A predicted safe label is usually consistent with the dataset, and the classifier recovers a high share of the examples carrying that label. These class scores explain the strong weighted F1 while showing its limits as a description of abuse detection. For a reader concerned with missed transphobic comments, the relevant evidence is the low recall for the transphobic class, even though a large share of decisions involving the majority class are successful.

Tamil validation

The integrated network's Tamil validation result is 85.06% macro F1 and 91.06% weighted F1. The F1 scores by category are 94.64% for safe, 78.59% for homophobic, and 81.94% for transphobic. Both abuse categories contribute substantially to the macro result. The pattern is especially informative alongside English, where the safe category performs strongly and the macro score is held down by the other categories.

For homophobic comments in Tamil validation, the classifier reaches 82.03% precision and 75.42% recall. For transphobic comments it has 88.06% precision and 76.62% recall. The stronger scores reflect changes in both aspects of the decision. Tamil has a higher proportion of correct predictions among the comments given each abuse label, and the system also recovers a greater share of the comments assigned those labels in the respective validation data.

For the safe category in Tamil validation, the precision is 93.33% and the recall is 95.98%. Both values remain high. The particularly strong Tamil macro F1 therefore describes relatively strong classification throughout the label set. This point is easy to miss if the languages are ranked by weighted F1 alone. English has the higher weighted score of the pair, whereas Tamil gives the strongest measured results for both abuse categories. The appropriate comparison depends on whether the question concerns the comment population as distributed or each class as a target in its own right.

Tamil-English validation

On Tamil-English validation data, the network reaches 62.60% macro F1 and 87.79% weighted F1. Its homophobic F1 is 44.50%, its transphobic F1 is 50.39%, and its safe F1 is 92.89%. Both abuse scores are higher than their English counterparts and lower than their Tamil counterparts. The safe category again receives the strongest F1 within its collection.

The mixed-language results have a distinct relationship between precision and recall. For the homophobic category, the validation precision of 35.74% accompanies 58.94% recall. For the transphobic category, precision is 47.76% and recall is 53.33%. In both cases the classifier finds a larger share of the reference examples than the reliability of its predictions for that category would suggest when read on its own. In practical terms, the mixed-language classifier achieves greater coverage of the abuse categories than the English classifier does in validation, and a considerable share of its abuse predictions disagrees with the reference category.

Tamil-English safe precision is 95.91%, and safe recall is 90.06%. This means a safe prediction often matches the reference, even though there are reference safe comments that receive another prediction. The per-class precision and recall offer complementary starting points for examining those mistakes. They do not specify which particular wrong category accounts for each missed case. That information is organized in the confusion matrices that the paper presents for the combined classifier.

The English test leaderboard

UMUTeam ranks 7th on the English leaderboard with 45% test macro F1. The leading team, Ablimet, reaches 57%. UMUTeam and niksss have the same displayed macro F1. Their macro precision and recall differ slightly. UMUTeam has 48% test macro precision and 43% test macro recall, compared with 46% macro precision and 44% macro recall for niksss. The reported F1 equality is compatible with those distinct profiles.

Selected submissions on the English test set by macro F1

UMUTeam shares the displayed score of niksss, below the leading entries.

Selected submissions on the English test set by macro F1Ablimet: 57Ablimet57Sammaan: 49Sammaan49Nozza: 48Nozza48niksss: 45niksss45UMUTeam (this paper): 45UMUTeam (this paper)45
The numbers
System or settingMacro F1 %
Ablimet57
Sammaan49
Nozza48
niksss45
UMUTeam (this paper)45

The English submission's test accuracy is 93%. That strong result on the overall count of comments coexists with the weakest test macro F1 among UMUTeam's subtasks. Accuracy rewards the full set of correct decisions as distributed across the examples. Macro F1 makes the score sensitive to results on uncommon labels as well. The more detailed English class scores come from validation, where the report shows severe difficulty with the abuse categories. They provide context for the metric contrast, while the exact class performance of the test submission would require its own breakdown.

The Tamil test leaderboard

On the official Tamil evaluation, UMUTeam finishes 3rd with 82% test macro F1. ARGUABLY leads at 87%, and NAYEL is ahead of UMUTeam with 84%. UMUTeam's test macro precision is 85%, and its macro recall is 80%. ARGUABLY posts 88% macro precision and 85% macro recall. NAYEL reports 86% and 81% for those measures. The ordering of these teams is consistent across the three macro measures.

Selected submissions on the Tamil test set by macro F1

UMUTeam places behind ARGUABLY and NAYEL.

Selected submissions on the Tamil test set by macro F1ARGUABLY: 87ARGUABLY87NAYEL: 84NAYEL84UMUTeam (this paper): 82UMUTeam (this paper)82hate-alert: 78hate-alert78
The numbers
System or settingMacro F1 %
ARGUABLY87
NAYEL84
UMUTeam (this paper)82
hate-alert78

UMUTeam's test accuracy for Tamil is 92%. Its Tamil entry has the strongest macro F1 of its submissions, as well as macro precision and recall closer to one another than in the Tamil-English official results. The validation breakdown adds evidence of how the combined Tamil classifier handles each category. In particular, its strong validation precision and recall for both abuse labels explain why the authors view Tamil as promising. The test table establishes that the submission was competitive by macro F1 among the teams evaluated on Tamil.

The Tamil-English test leaderboard

UMUTeam finishes 2nd on Tamil-English with 58% macro F1 on the test set. ARGUABLY leads with 61%, and bitsa_nlp also has a displayed macro F1 of 58%. The table distinguishes the two entries with the same displayed F1 through their precision and recall. UMUTeam achieves 54% test macro precision and 67% test macro recall. For bitsa_nlp the scores are 61% precision and 56% recall. UMUTeam's relative strength in this comparison is coverage across categories, while bitsa_nlp has the stronger average precision.

Selected submissions on the Tamil-English test set by macro F1

UMUTeam and bitsa_nlp share a displayed score below ARGUABLY.

Selected submissions on the Tamil-English test set by macro F1ARGUABLY: 61ARGUABLY61UMUTeam (this paper): 58UMUTeam (this paper)58bitsa_nlp: 58bitsa_nlp58hate-alert: 56hate-alert56
The numbers
System or settingMacro F1 %
ARGUABLY61
UMUTeam (this paper)58
bitsa_nlp58
hate-alert56

UMUTeam's Tamil-English test accuracy is 85%. Its official placement is the team's highest across the subtasks, with its macro F1 below the score it earned on Tamil. Placement compares the entry with competitors on the same dataset. Macro F1 measures the quality of its decisions on that dataset against the assigned labels. A team can rank high in one field of submissions and still make more errors of interest there than in another track. In this study the distinction matters because the mixed-language validation report shows weakness on both abuse categories despite the strong competitive position on the test leaderboard.

Across validation and official evaluation, the team's macro F1 is highest on Tamil, followed by Tamil-English and English. The order recurs across the two reports, which serve different purposes and give different levels of detail. The validation report locates strengths and weaknesses by category for the combined architecture. The leaderboard compares complete entries under the official evaluation. The recurrence describes a consistent performance pattern across the reported splits. An explanation for that pattern needs to account for the language conditions, the training examples available for each label, and the way the pipeline represents the comments.

What the ablations show

The paper reports no controlled ablation, and its analyses instead examine validation performance by class, errors in confusion matrices, and comparisons among the language collections and official submissions.

What the comparisons reveal about errors

The confusion matrices show how the validation predictions of the combined network are distributed against the expected labels in English, Tamil, and Tamil-English. Each matrix cross-tabulates a reference category and a predicted category. Agreement falls along the diagonal, with all other pairings representing errors. In a task with separate abuse categories, this layout matters because an expected abuse label can be missed through a safe prediction or through an incorrect choice of abuse category. A class recall value includes both ways of missing the category. The matrix gives them separate cells.

The precision and recall results help explain what to look for in those matrices. In English, the weakness of recall for the abuse labels means that a substantial part of their reference examples lies outside the agreeing cells for those classes. In Tamil, both abuse categories have stronger recall and precision, so the gains concern recovering their reference examples and keeping their predictions reliable. In Tamil-English, recall is stronger than precision for both abuse labels. The relevant counterpart to the successes is the set of incorrect predictions assigned to those categories. The matrices organize this evidence by the particular pairs of labels involved.

The different views are also helpful when interpreting the authors' explanation for the results. They attribute the weaker scores to the higher imbalance in English and Tamil-English. The label inventory and validation performance are consistent with that explanation. Tamil has more examples for the two abuse categories and stronger measured recognition of them. At the same time, a comparison of the collections changes language, text form, and aspects of the representation pipeline. The observed association supports a hypothesis about training data scarcity. Its causal effect remains unmeasured.

What the development comparisons leave open

Training independent classifiers for the feature sets gives the authors candidates relevant to their question about feature combination. Each candidate could establish what a representation achieves with a classifier trained for it. The published validation report describes the classifier with all the representations, and the separate candidate scores are absent. A reader can see that the combination works to the extent indicated by the reported metrics. There is insufficient evidence to determine the gain, if any, over the strongest feature used by itself.

An ablation would address a related question about a component's contribution in the presence of the other inputs. Suppose the linguistic branch were removed while the remaining representation and evaluation choices were kept comparable. The resulting comparison would bear on whether the explicit writing measurements help once embeddings are already available. A comparison removing the FastText average would answer another question, about the contribution of the compact summary when the sequence and contextual inputs remain. The full network accommodates both ideas. The paper gives no measured separation of their contributions.

The architecture search involves choices about sequence processing as well. Convolutional and bidirectional recurrent layers have different ways of using words in order. The paper explains why they were candidates for the FastText sequence. It does not report their scores under matched conditions or specify which yields a particular pattern of errors. Similarly, the description of several depth and width profiles establishes the range explored. The leaderboard placement of the resulting entry cannot assign a particular share of the result to one profile.

The ensemble alternatives bear on where to combine evidence. An ensemble can join predictions from separately trained classifiers. In the integrated network, a shared layer receives the transformed inputs before the final prediction is made. A direct comparison would help establish whether the latter use of intermediate representations was advantageous on these datasets. The paper's account identifies the alternatives and the authors' selection procedure. It establishes the performance of the combined classifier in validation without quantifying its advantage over ensemble learning.

Finally, the leaderboard provides a useful comparison of complete submissions. Matching scores at the reported precision in English and Tamil-English coexist with different macro precision and recall. This establishes that similar headline results can correspond to different prediction behavior. Because other teams' entries vary as whole systems, the official table has little power to reveal the effect of any particular UMUTeam design decision. Its value for the analysis lies in placing the coverage and reliability of the submission in the context of other entries on the same test data.

Limitations

Limits identified by the authors

The authors identify mixed-language handling as a weakness of their approach. Tamil-English brings Roman-script Tamil and English together, and its validation results show limited precision for either abuse label. The team sees a need to examine how reliably multilingual resources work in this setting. The official ranking supplies evidence that the entry was competitive among submissions to this track. The class-level results supply a basis for the authors' assessment that the handling of the input still needs work.

The authors also identify the imbalance of the collections as a reason for weak recognition of abuse in English and Tamil-English. They draw on the contrast with Tamil, where the abuse categories are more strongly represented and their measured performance is higher. The evidence directly establishes the skew in the datasets and the difference in performance. The authors' explanation concerns how the skew affects the learner. A controlled change in the availability of examples for the scarce categories would be needed to estimate that effect independently of the differences between the collections.

The paper names figurative language as a direction for adaptation to Tamil and English. Figurative expressions pose a question about how intended meaning can be recovered from the words used. The existing evaluation reports outcomes by abuse category and by collection. It does not identify a subset of comments in which figurative expressions account for mistakes, or measure how much a feature aimed at such expressions would help. The discussion of future adaptation records the authors' research interest, with the current results offering no separate estimate for that phenomenon.

A practical constraint also enters the method. The authors chose the distilled multilingual BERT variant because of what their machine could train with large batches. That accounts for the choice of resource in the system. The paper does not give a comparison isolating the effect of this decision on the abuse categories. The reported performance belongs to an approach developed within that constraint, and the possible effect of another encoder or training arrangement remains open.

Limits visible in the study design

The scope of the evaluation is a particular set of YouTube comments and reference categories. Success demonstrates agreement within the shared task. The study does not show how the classifier would behave on a different collection, how consistently different people would assign the same labels, or how the predictions would affect decisions in moderation. Those questions require additional outcomes to be measured. A comment missed by the classifier is an error relative to the benchmark. What follows from such a miss in a practical application depends on what happens after classification.

Within the mixed-language collection, the results are reported together. Roman-script Tamil and the combination of languages are both part of how the authors describe the data. The paper gives no performance breakdown by script convention or by which language is used for the expression relevant to the label. Accordingly, the broad diagnosis about code-mixing leaves its more precise source open. A low score on the collection could coexist with good performance on some kinds of mixed comment and much weaker performance on others.

Comparisons between the English and Tamil results have a similar interpretive limit. English has extra normalization steps, and the study draws on pretrained resources suited to different language settings. The abuse categories also differ in how many examples are available. Each collection-level score reflects what happened under that combination of conditions. There is no matched experiment to show how the same pipeline change would affect performance when language, label distribution, and preprocessing are held comparable.

The validation report provides point estimates of performance. The precision with which a score is displayed does not establish how stable it would be under another training run or evaluation sample. Scarcity is particularly relevant to the English transphobic category, which has 13 examples in the paper's collection inventory. The validation table gives the observed class scores, while the inventory describes the broader data. The number of validation cases supporting a class estimate and the variability of that estimate are separate questions. The paper gives no uncertainty estimates across repeated experiments.

The official standings also require care at the precision reported. In English and Tamil-English the table includes other entries with the same displayed macro F1 as UMUTeam. The paper gives the placements, and the displayed figures show equality in those comparisons. It supplies no account of how those entries were ordered within the reported standings. A rank and a displayed score both belong in the description, with fine distinctions in performance left unresolved where the figures agree.

Several details needed for exact reproduction are open. The paper identifies the general cleaning steps, feature families, tuning methods, and candidate architecture types. It gives no complete per-subtask settings for the final networks, no exact inventory of the selected linguistic measurements, and no explanation of how emoji features relate to emoji removal. The ensemble rules are likewise unspecified. These details matter because small differences in what text reaches a feature extractor, or in how a branch is trained, can alter the system that is eventually evaluated.

Explicit linguistic features also leave a distinction between the visibility of an input and the explanation of a prediction. A reader can understand why the authors included grammatical or stylistic measurements and how those measurements enter the network. The study supplies no feature-level account of which values influenced an individual decision. It also does not test whether an apparent cue remains reliable across the language collections. The empirical contribution is a classification evaluation with a clearly described family of inputs. It leaves explanations of individual decisions, and the attribution of performance to particular features, for further work.

What came after

The paper identifies follow-up work on figurative language in Tamil and English and on the reliability of multilingual resources for mixed-language comments. These plans concern different parts of the original problem. Figurative language raises a question about what evidence in a comment carries its meaning. The work proposed on multilingual resources concerns how the system can represent that evidence when words, languages, and writing conventions are mixed.

No subsequent study is identified that traces an extension of UMUTeam's method. Whether later work reused the feature integration, isolated the contribution of its branches, or improved recognition of abuse in 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

@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}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/diaz-2022-umuteam-lt-edi-acl2022-detecting/