HATE-ITA: Hate Speech Detection in Italian Social Media Text
Paper · 2022 · Debora Nozza, Federico Bianchi and Giuseppe Attanasio
Summary
An Italian post can contain a slur without attacking anyone, and an attack can use a word that also belongs in a recipe. A useful hate speech detector needs examples of such distinctions, but the Italian training collections examined in HATE-ITA mainly cover misogyny and hostility toward immigrants. English collections offer many more examples and a wider range of targets. The authors ask whether those annotations can improve text classification in Italian. They bring together several English sources, convert their different labels to a common scheme, and pool the resulting examples with labeled Italian posts. The detector makes a binary decision about each post, assigning it to the hate or non-hate class.
The main experiment tries Italian supervision alone, English supervision alone, and a combination of the two, then evaluates each approach on the same Italian test material. For every multilingual encoder in this comparison, the combined training pool gives the highest macro-F1, a measure that gives the hate and non-hate classes equal weight. In the overall results table, the leading joint configuration is XLM-Twitter at 83.34 macro-F1. Multilingual BERT gives the strongest Italian-only result, at 66.93. The English-only condition also falls short of joint training for every encoder tested in both settings. The comparison supports adding English examples while retaining supervision in Italian.
The strongest system varies with the evaluation. Jointly trained XLM-Twitter leads on the AMI18 misogyny test. Jointly trained XLM-Large leads the other reported dataset comparisons and achieves 77.26 macro-F1 on the Italian portion of Multilingual HateCheck, whose published baseline scores 69.60. That suite probes behaviors such as handling altered spellings and recognizing counterspeech, meaning language that challenges hateful remarks. The authors also inspect correct predictions on individual posts. One pair contrasts a direct insult with a conventional profanity, and another contrasts a slur applied to people with a reference to fennel. The examples show successful decisions in those contexts and leave their frequency open.
The authors release HATE-ITA as an open-source Python library so researchers can use its classifiers as benchmarks. The study gives a reference point for the Italian collections it evaluates and a practical comparison of ways to use the available training data. The authors call for further testing on additional targets and leave open whether the precision of hate predictions is consistent and fair across groups.
Deep dive: HATE-ITA: Hate Speech Detection in Italian Social Media Text
HATE-ITA tests whether adding labeled English examples improves Italian hate speech detection and examines how classifiers handle ambiguous wording. · about 31 minutes to read
The problem and its context
A shortage of examples and a shortage of coverage
HATE-ITA addresses a task in which the evidence available for training depends heavily on the language. The authors describe a substantial body of English corpora and detection methods. For Italian, they describe smaller collections and gaps in the range of protected groups those collections cover. They see this imbalance as a constraint on what Italian classifiers can learn and on what researchers can say about their performance. Producing new Italian data would require people to read and judge sensitive texts carefully. That makes the cost of new linguistic annotation part of the research problem.
The distinction between quantity and coverage matters throughout the paper. A collection can provide enough examples to test systems on misogyny and still offer little information about how those systems respond to hostility directed at other groups. A second collection focused on immigrants adds a different kind of evidence. Even when both collections are used together, their test results principally describe the material the task organizers assembled. The authors identify wider target coverage as a reason to look to English data and as an outstanding question for Italian evaluation.
Coverage also concerns the negative examples. A post can mention the same group as a hateful post and express a different attitude towards it. A writer may repeat a hostile term while challenging the sentiment behind it. A profanity may convey anger about an everyday event. A detector needs evidence about where the class boundary falls as well as vocabulary associated with the positive class. This makes the makeup of the non-hate class relevant to the practical task, even though the paper devotes much of its account of data selection to the targets of hateful messages.
The paper treats hate detection as a decision about the text under examination. Its output has a hate class and a non-hate class. The group a message concerns is a different piece of information, which the authors use when selecting and organizing data. For example, an example concerning religion and an example concerning sexual orientation can both support learning the hate class. A correct binary prediction on either text gives no separate observation of whether the system identified the group. That difference becomes important when the authors ask about bias, fairness & safety.
A benchmark supplies another type of coverage. If researchers score their systems on the same held-out texts, they can put the resulting numbers in relation to one another. The authors argue that Italian research would benefit from a stronger common point of comparison across the tasks they examine. The aim is to make an existing line of research easier to evaluate by training classifiers and reporting their behavior on established collections. The test collections therefore matter both as sources of evidence about Italian hate speech and as part of the infrastructure for evaluation & benchmarks.
How the Italian shared tasks shaped the question
The paper credits national evaluation campaigns and shared tasks with making hate speech corpora available in languages other than English. A shared task provides a fixed prediction problem and data on which participating teams can be compared. The authors describe much of the Italian research as revolving around material released through those exercises. One of their own sources comes from the EVALITA Automatic Misogyny Identification task.
The other Italian source is the immigrant-focused Twitter corpus from Sanguinetti and colleagues, which the paper discusses in association with the EVALITA hate speech task. The two sources give the study labeled Italian data with recognizable target emphases. They also provide official test material that can be reused. The paper later distinguishes the test for the immigrant corpus from the complete test of the EVALITA Hate Speech Detection task.
The authors place these efforts alongside campaigns and shared tasks in other languages. One of the examples they cite is a multilingual Twitter task centered on immigrants and women. This illustrates the role shared evaluations played in supplying corpora outside the English-only setting. It also shows how a benchmark can define a tractable problem by specifying the targets it covers. The relevant predecessor is the SemEval multilingual hate speech task.
The paper's concern about limited evidence in Italian thus arises in a field that already has substantial task-specific effort. Researchers had developed systems for the established Italian collections and reported their results within those settings. HATE-ITA builds its training and evaluation around those resources because they offer labels in the language of interest and recognizable splits for comparison. The wider English pool is introduced to supply examples beyond what can be drawn from that starting point.
What transfer between languages offered
A multilingual encoder converts text into internal representations and can process inputs in more than one language. This makes it possible to teach the hate detection task using annotations in one language and examine the resulting decisions in another. The paper calls the English-to-Italian version of that experiment zero-shot transfer. The term describes the absence of labeled Italian examples during task training. The encoder itself may already have encountered multiple languages during its earlier training. This distinction is central to the paper's use of multilingual & cross-lingual NLP.
The authors situate their work in a broader line of research motivated by limited labeled data across languages. They cite Aluru and colleagues for an investigation spanning 16 datasets in 9 languages, with both zero-shot and few-shot conditions. Few-shot learning in this context means adapting to a task with a small set of labeled examples. The earlier work provides a basis for asking how much annotated target-language material a classifier needs. It also supplies HATE-ITA with an existing detector to compare against on eligible Italian tests. Few-shot learning.
The related work describes other ways to exploit multilingual representations. Rodríguez and colleagues use pretrained representations of sentences that aim to retain comparable information across languages. The idea is that a decision procedure can use common properties of the representations even when the sentences have different surface forms. The paper identifies that study as an example of successful use of the approach for hate speech and points to its source of representations, Language-agnostic BERT Sentence Embedding.
The immediate motivation for HATE-ITA is earlier work by Nozza on the limitations of zero-shot hate detection. As HATE-ITA describes it, that work found that combining languages during training can help address some of those limitations. The resulting question is whether Italian examples and a much larger English collection can work together in a classifier intended for Italian. The paper tests that proposal with separate runs that differ in the supervision available to the detector. Exposing the Limits of Zero-shot Cross-lingual Hate Speech Detection.
Translating training material is another route discussed in the related work. The authors describe mixed findings. They cite a comparison in which translation was unhelpful with traditional classifiers, and other work in which more elaborate combinations of translation and pretraining brought improvements on benchmarks. The HATE-ITA experiment uses English and Italian annotations with their respective texts, taking advantage of multilingual encoders that can handle both. This setup addresses a transfer question distinct from the value of machine translation.
The method, step by step
Turning existing annotations into one prediction task
The pipeline begins with datasets whose labels were created for different purposes. The authors first identify the Italian corpora and the English sources they want to use. They then decide which labels can contribute to the hate or non-hate class and which source names refer to target categories they want to retain. Once the data are ready, they adapt an already trained encoder to the specific prediction problem. This supervised adaptation is fine-tuning.
How HATE-ITA prepares and evaluates its classifiers
The steps in order.
There are two kinds of label conversion to keep track of. The first defines the output the detector learns to predict. A source that uses a graded hate score needs a rule that turns some scores into hate and others into non-hate. The second defines the groups used to organize the examples. Names for nationality, race, or regional affiliation can be assigned to a shared origin category even when the source corpora make finer distinctions. The output of the classifier is the binary label. The paper uses group membership to guide the training collection's composition.
The English data table has columns for disability, gender, origin, religion, and sexual orientation. In describing the intended categories, the methods prose uses the terms gender identity and religious affiliation and gives a category count inconsistent with the names it supplies. The table gives a concrete account of the named groups in the reported breakdown. The authors remove target labels named other and none because those labels can stand for categories outside the scheme. This filtering pertains to the target field, and the combined collection includes examples of the binary non-hate class.
Harmonization works at the level of labels and leaves each source's collection procedure in the data. A tweet returned by a search for a particular word still reflects that search. A post drawn from a forum retains the kinds of phrasing present in that setting. A difficult example written to elicit a classification error comes from a different process altogether. The resulting pool gives the classifier access to all these kinds of evidence under a shared output task. The source descriptions explain how the authors determined which evidence could enter.
Setting aside Italian material for testing
The Italian training material comes from AMI18 and the corpus of hate speech concerning immigrants published by Sanguinetti and colleagues. AMI18 supplies labeled texts for identifying misogyny. The second corpus supplies labeled texts for a related Italian hate detection problem with a different emphasis. The description of the experimental setup gives the same breakdown for every dataset: a training set of 2,500 instances, a validation set of 500, and a test set of 1,000.
These partitions correspond to different decisions in the pipeline. Training examples inform updates to the classifier. Validation examples are used to choose which saved state to evaluate. Test examples provide the observations from which scores are reported. The authors use the shared tasks' official test assignments for the main experiment to maintain comparability. For the Sanguinetti dataset, they make the validation split by reserving 500 examples from the training portion.
The official tests associated with the training collections are the common destination for the main training-regime comparison. A classifier adapted with English labels alone receives the same Italian test material as a classifier adapted using Italian labels. The paper also broadens its evaluation beyond the official tests of the particular training sources. It reports the complete HaSpeeDe18 test separately from the Sanguinetti corpus test, and it evaluates on AMI20 and HaSpeeDe20. Those additional tests enter the study as evaluations, while the Italian training sources remain the two collections described above.
This division of labor makes the experiment intelligible when the authors refer to a small amount of Italian supervision. The labeled Italian examples made available for parameter updates are the training portions of the selected corpora. The decision about which checkpoint to keep uses the validation portions, and the analysis then asks about generalization to the labeled Italian test examples. The estimate comes from performance under that allocation of data.
Reconciling the English sources
The authors select English corpora from a public listing of hate speech datasets. Their filter is whether a corpus provides coverage of the targets relevant to the study. The sources vary in where their texts came from, how annotations were obtained, and what an original positive label meant. The methods account therefore deals with them individually.
MlMa supplies tweets from a collection originally built for Arabic, English, and French. Its creators gathered the texts by searching with keywords chosen for each language. HATE-ITA lists MlMa among the sources of the English pool. The paper identifies its multilingual and multi-aspect origin and gives fewer details about how its source labels were converted than it does for the corpora that follow. The collection is described in Multilingual and Multi-Aspect Hate Speech Analysis.
ETHOS consists of English Reddit posts with multiple labels available for an item. Its creators began with automatic annotation, using a trained classifier to generate provisional judgments. The cases in the [.4, .6] probability range were sent to crowd annotators. That range belongs to the source's procedure for choosing items requiring human judgment. HATE-ITA describes a separate rule for converting each label value to a binary value.
y = 1 if v ≥ 0.5, and 0 otherwise
Here v is the ETHOS label value before conversion, and y is the resulting binary value for that label. The symbol = gives its assigned value. The symbol ≥ means greater than or equal to, so a value of 0.5 belongs on the positive side of the threshold. The value 1 represents a positive label, and 0 represents a negative label.
A further selection follows from the structure of ETHOS. In the source, target information is available for hateful posts. The authors retain those posts and drop the non-hateful ones from this particular contribution to the pool. They assign the source labels for national origin and race to origin. Thus ETHOS contributes positive examples to a combined dataset whose negative examples come from elsewhere.
A corpus by Kennedy and colleagues contains comments from YouTube, Twitter, and Reddit. Its annotation procedure gives each comment four ratings and assigns annotators comments drawn from across the hate speech scale. The resulting continuous hate score poses a particular conversion problem. The authors specify a low-score region for the negative class and a high-score region for the positive class.
v < -1 → y = 0
Here v is the comment's continuous hate score, and y is the binary class after conversion. The symbol < means strictly less than. The arrow → indicates the assignment made when the inequality holds, and = gives the assigned value. A score below -1 is assigned 0, the non-hate class.
v > 0.5 → y = 1
Again, v is the source hate score and y is the class assigned from it. The symbol > means strictly greater than. The arrow → leads from the condition to the assignment, and = gives the value assigned. A score above 0.5 receives 1, the hate class.
The rules leave the middle of the scale without a specified binary value, including scores at the two boundaries. This is a different type of conversion from putting all ETHOS values on one side or the other of a threshold. The source's target categories also need to be converted. Here the authors combine race and origin under the origin label.
HateXplain supplies English posts from Twitter and Gab. Its annotators label a post as hateful, offensive, or normal and mark target communities mentioned in the text. The annotations are aggregated by majority vote. When the three annotators each choose a different class, HATE-ITA drops the post. For the examples it keeps, the authors follow a binary grouping that puts offensive and hate speech together as toxic and places normal speech in the non-toxic class.
That grouping enlarges what the positive side means for this source. A post judged offensive by a majority can contribute to the same side of the supervised distinction as a post judged hateful. The original annotations remain useful for understanding where the training signal comes from. For the target mapping, the authors largely follow the source's groupings, with Indigenous and Refugee assigned to origin.
The Gab Hate Corpus supplies another route to a binary class. Its annotators distinguish calls for violence, assaults on human dignity, and non-hateful text. HATE-ITA treats the violence and dignity categories as hateful. For targets, it keeps categories within the study's scope and removes the political category. It also groups race or ethnicity and nationality or regionalism under origin. The positive-class convention follows Contextualizing Hate Speech Classifiers with Post-hoc Explanation.
The dynamically generated collection contributes examples gathered through a procedure that asks annotators to find cases a target classifier would get wrong. Such cases are called adversarial examples in the paper. Here the term concerns the selection of inputs for their difficulty. The collection includes target annotations, which the authors map to their categories while excluding targets outside the scheme. The paper relates that collection procedure to Dynabench.
The size reported for the assembled English dataset is 177,749. The printed totals for origin and gender are 75,327 and 46,829, while disability has a printed total of 4,526. These figures show how uneven the reported coverage is. Some cells and totals in the paper's count table are inconsistent with one another, so the exact distribution should be read as a set of published entries with unresolved discrepancies. The method relies on the assembled English collection, and the training comparison uses the collection as a whole.
The composition of the pool affects how to interpret its size. Different sources can contribute examples for the same broad group label, and some select posts in ways that favor particular forms of expression. The origin category, for instance, encompasses target names of different kinds. At the binary label level, the combined pool brings together graded judgments, categorical judgments, and the outcome of majority voting. It is a practical training resource produced by applying explicit decisions to those sources.
Choosing starting encoders and language pools
The authors begin from pretrained encoders. Pretraining provides the starting parameters before the classifier is shown the labels for this task. Fine-tuning then uses the annotated posts to adapt that starting point to the decision about hate. A multilingual encoder can be fine-tuned with Italian examples alone, so multilingual pretraining and multilingual task supervision are properties of different stages.
The multilingual starting points include mBERT and XLM-Twitter. The former is multilingual BERT. XLM-Twitter was pretrained on Twitter material in multiple languages, making its earlier exposure to social media text a distinguishing feature of that starting point. The authors also use XLM-Base and XLM-Large, variants of XLM-RoBERTa from Unsupervised Cross-lingual Representation Learning at Scale.
To provide Italian-specific alternatives, the authors include ITA-Base and ITA-Base-XXL, both Italian BERT encoders. The paper also evaluates DeHateBert, an existing classifier based on mBERT and previously fine-tuned on the Sanguinetti corpus. DeHateBert plays a separate role from the encoders the authors fine-tune themselves. It is a benchmark comparator where its earlier exposure to data permits a test.
The authors call Italian-only task training MONO. In that condition the update examples are drawn from the selected Italian sources. MULTI pools English and Italian examples for task training. ZERO uses the English training material alone and transfers the resulting classifier to Italian. The multilingual encoders have results for all these settings. The two Italian-specific encoders have results under MONO.
The training pools answer related practical questions. MONO measures what the selected Italian labels support on their own. ZERO measures how far the English labels transfer to Italian through the pretrained encoder. MULTI measures the outcome when examples from both pools inform the same fine-tuning run. A comparison within a given encoder shares a starting point and a test design, while changing the collection of labeled examples encountered during fine-tuning.
Selecting a checkpoint
The English dataset is split by reserving 20% for validation through stratified sampling. In stratified sampling, examples are grouped by selected properties for the purpose of drawing the sample. The paper specifies the proportion and the sampling approach. Its description leaves the exact strata unspecified. The Italian validation material is taken from the partitions described for the shared-task data.
The training settings are shared across the authors' runs. The batch size is 64, which specifies how many examples the training procedure groups together for an update. The optimizer is AdamW, the procedure used to adjust the parameters from the training signal. It uses beta values of 0.9 and 0.999, coefficients governing how it combines recent and earlier update information. The reported learning rate is 1e-3. That setting controls the scale of adjustments, and the run uses 50 warm-up steps at the start. The maximum input length is 100.
An epoch is a pass through the training data. The schedule allows 5 epochs and evaluates the current classifier every 50 steps. During these checks the authors compare validation loss, the training objective evaluated on reserved data. They retain the checkpoint with the best validation loss. A checkpoint is the saved state of the classifier at a point in training. The process allows a state reached during training to be selected on its validation behavior before predictions on the final test are scored.
The fixed schedule makes the procedure consistent across runs. Since the language pools differ in size, an epoch also represents a different amount of training material from one setting to another. The comparison is between the specified training arrangements, each operating over its own pool. The appendix reports that the experiments are performed 5 times and their results averaged.
The authors package the resulting classifiers in HATE-ITA, with a high-level Python interface that gives researchers access to the released systems. The release is part of the benchmark contribution. It supplies concrete classifiers to use on future comparisons, while the paper's scores establish the reference performance for the evaluations carried out by the authors.
Experiments and results
The main comparison on the official Italian tests
The overall evaluation uses the official test material from the two Italian sources on which the authors based their own training splits. All three language conditions are scored on this Italian material. This is what makes the ZERO results measurements of transfer: after seeing English task labels, the classifier has to make predictions about Italian texts. It also makes MONO and MULTI directly comparable as ways to use the available Italian supervision.
The main metric is macro-F1. For either class, precision is the share of predictions of that class that are correct. Recall is the share of actual examples in the class that the detector finds. F1 combines precision and recall so that performance depends on both. A class can be found frequently with poor precision if a system predicts it too freely, or predicted precisely with poor recall if the system uses it only for obvious cases. The macro version gives equal influence to the F1 for hate and the F1 for non-hate.
The paper includes a simple baseline that predicts the most frequent class. It has a macro-F1 of 36.85 in the overall Italian evaluation. Its predictions are constant across texts, providing a reference for what the class distribution alone can yield under the scoring rule. The comparison across language conditions then shows the range of performance obtainable from individual pretrained encoders as the task data change.
XLM-Twitter across training pools on the official Italian tests, macro-F1
The combined training pool yields the strongest overall result for XLM-Twitter.
The numbers
| System or setting | macro-F1 |
|---|---|
| Most frequent class | 36.85 |
| English supervision | 56.45 |
| Italian supervision | 63.52 |
| English and Italian supervision (this paper) | 83.34 |
XLM-Twitter's overall score rises from 63.52 with Italian training to 83.34 with the combined data. Its English-only score is 56.45. These are results for the same starting encoder on the Italian tests, making this row of the overall table a direct illustration of the effect of changing the supervised data. The 83.34 entry is also the highest score anywhere in the overall table.
The other multilingual starting points show the same preference for joint training. XLM-Large has an overall macro-F1 of 81.23 under MULTI, 59.25 under MONO, and 57.27 under ZERO. XLM-Base obtains 80.74 with both languages, 52.36 with Italian, and 54.47 with English. For mBERT, the respective results are 80.48, 66.93, and 51.87. The relationship that holds throughout the table is that each multilingual encoder reaches its highest score with both language pools.
The two single-language conditions have a different ordering for XLM-Base than for the other multilingual encoders. Its 54.47 from English exceeds its 52.36 from Italian. Among the other encoders, the Italian-only result is higher than the English-only result. Thus the evidence for retaining Italian data comes most consistently from the comparison of MULTI with ZERO. A general claim that every Italian-only run outperforms its English-only counterpart would miss the XLM-Base entry.
The best Italian-only classifier in the table is mBERT at 66.93 macro-F1. Both Italian-specific encoders are also evaluated in that training condition. ITA-Base-XXL obtains 61.20, and ITA-Base obtains 40.45. In this comparison, pretraining specifically for Italian and then adapting on the available Italian task data yields lower scores than adapting mBERT on the same language pool. The Italian-specific encoders provide evidence about the MONO setting because that is where their results are reported.
There is a naming discrepancy between the results discussion and the overall table. The discussion names XLM-Large when identifying the strongest joint classifier, whereas the highest overall entry in the table is XLM-Twitter's 83.34. XLM-Large has the leading results in several of the separate evaluations discussed below. The overall ranking here follows the numerical entries for the overall comparison.
Comparing systems on individual datasets
The next analysis gives dataset-level results for the jointly trained XLM configurations and, where the relevant split allows, DeHateBert. The paper includes the original Italian test sets, the complete HaSpeeDe18 test, and the shared-task reruns AMI20 and HaSpeeDe20. These scores are reported as F1 in the paper's discussion of the dataset results. The table gives a single score for each reported system and test. The detailed classwise F1 results belong to the functional evaluation.
Jointly trained classifiers and DeHateBert on the AMI18 test, F1
XLM-Twitter leads the comparison, with the jointly trained classifiers ahead of DeHateBert.
The numbers
| System or setting | F1 |
|---|---|
| DeHateBert | 42.66 |
| XLM-Base with joint training | 79.88 |
| XLM-Large with joint training | 80.37 |
| XLM-Twitter with joint training (this paper) | 82.10 |
On AMI18, the leading score of 82.10 belongs to jointly trained XLM-Twitter. XLM-Large obtains 80.37 and XLM-Base 79.88. The published comparator DeHateBert scores 42.66 on this misogyny test. The authors connect this pattern to the importance of covering relevant targets during training. HATE-ITA draws directly on Italian misogyny supervision, and the English data includes examples associated with gender. The DeHateBert training corpus described in the paper emphasizes hostility towards immigrants.
The other misogyny evaluation, AMI20, gives XLM-Large the highest result, 73.75. XLM-Twitter scores 72.73, XLM-Base scores 66.47, and DeHateBert scores 53.97. These scores make the distinction between the two task versions concrete. XLM-Twitter leads on AMI18 and XLM-Large leads on AMI20. The jointly trained detectors score above DeHateBert on both, with the larger separation visible on AMI18.
For the immigrant-focused Sanguinetti test set, the reported scores are 79.96 for XLM-Large, 79.64 for XLM-Base, and 78.53 for XLM-Twitter. On the full HaSpeeDe18 test, XLM-Large again leads, at 78.13. XLM-Base obtains 76.40 and XLM-Twitter obtains 74.59 on that test. The paper gives separate results because one evaluation refers to the immigrant corpus and the other to the complete shared-task test.
DeHateBert has no entry for either of those comparisons. The authors found that some texts counted as test examples under these evaluation splits had been used to train DeHateBert under its original split. This would give the classifier prior supervised exposure to part of the material on which it would receive a score. The authors omit its scores for the affected tests. The restriction follows the training history of the comparator.
On HaSpeeDe20, DeHateBert is included and scores 70.79. XLM-Large gives the leading result of 75.86. XLM-Twitter and XLM-Base obtain 72.68 and 72.57, respectively. DeHateBert is closer to the jointly trained group on this test than on the misogyny tests. The advantages over that particular comparator thus have different sizes across the Italian benchmarks. The paper concentrates the per-dataset breakdown on its strongest joint configurations, with the Italian-specific encoders represented in the overall results table.
Seen together, these benchmarks give two kinds of evidence. AMI18 and the Sanguinetti test give individual views of performance on the official material associated with the Italian training sources. The complete HaSpeeDe18 test and the reruns extend the comparison to a wider set of Italian evaluations. System ordering within these columns establishes which configuration has the highest reported score on each test. The overall comparison separately establishes how the task-training conditions fare on the original Italian tests.
A functional test beyond the shared tasks
Multilingual HateCheck is a suite of functional tests. Its examples probe defined behaviors relevant to hate detection, including slurs, spelling variations, and counterspeech. The last case is particularly informative about what a classifier is being asked to decide. A post opposing hate may refer to the same group as the original attack or repeat part of the vocabulary used in it. A useful prediction therefore depends on the position the author takes as expressed in the input. The multilingual suite extends the original English HateCheck.
HATE-ITA uses the Italian subset as an external test of the jointly trained detectors. The comparison includes the baseline published by the suite's authors. This evaluates performance on examples chosen to exercise particular behaviors, alongside the study's comparisons on Italian social media collections. The paper gives both class-specific F1 and a macro-F1 result for the suite.
Jointly trained classifiers and the published baseline on Italian Multilingual HateCheck
XLM-Large leads the suite comparison, and XLM-Twitter also exceeds the published baseline.
The numbers
| System or setting | macro-F1 |
|---|---|
| XLM-Base with joint training | 68.90 |
| Published Multilingual HateCheck baseline | 69.60 |
| XLM-Twitter with joint training | 72.96 |
| XLM-Large with joint training (this paper) | 77.26 |
XLM-Large reaches 77.26 macro-F1 and XLM-Twitter reaches 72.96. The baseline achieves 69.60, and XLM-Base scores 68.90. The external result therefore depends on the starting encoder even with the joint training approach in place. The leading configuration is XLM-Large, which also leads the class-specific columns.
For XLM-Large, the hateful-class F1 is 88.63 and the non-hateful-class F1 is 65.88. XLM-Twitter records 84.74 for hate and 61.17 for non-hate. The baseline gets 81.50 on the hateful class and 57.80 on the non-hateful class. Both of the leading HATE-ITA classifiers have higher F1 than the baseline on each class in this suite.
XLM-Base has 82.71 for the hateful class and 55.10 for the non-hateful class. Thus it ranks above the published baseline on hateful-class F1 and below it on non-hateful-class F1. Its macro-F1 reflects both aspects of its performance. Across all the reported systems in this test, F1 is lower for non-hate than for hate. Giving the classes equal weight in the macro measure makes that weaker side of the comparison relevant to the overall score.
The functional setup explains why the authors include the suite, but the results are reported across its Italian cases. The class F1 values summarize different kinds of texts within each label. They leave open whether spelling changes, replies rejecting abuse, or any other specific test function account for differences between systems. They also leave the separate contributions of precision and recall to the reported F1 unresolved.
What the ablations show
The paper reports no formal component ablation, and instead offers controlled comparisons of the supervised language pools, comparisons across benchmarks, and local explanations of selected predictions.
What the training comparison can attribute to the data
Within a multilingual encoder, MONO and MULTI share the starting parameters and the Italian test material. The main change is that MULTI adds the assembled English source pool to the labeled Italian data. Every such comparison favors MULTI on overall macro-F1. This supports the practical claim that supplementing these Italian sources with this English collection improves the reported results under the shared training procedure.
The intervention includes several characteristics of the English pool at once. It adds examples in another language, introduces texts from additional sources, and alters the range and frequency of covered targets. It also brings in new annotation conventions, including the grouping of offensive and hateful posts in one source. A performance increase after adding that pool is evidence for the value of the training change as implemented. Estimating the contribution of any one characteristic would require it to vary independently of the others.
The ZERO-to-MULTI comparison looks at the addition from the other direction. Here the English pool is available in both settings and the combined run also receives labeled Italian data. Every multilingual encoder improves when Italian is added. The English material already contains extensive annotations and multiple target categories. The results show that the Italian sources make a measurable contribution to using that material for Italian prediction under this setup.
The Italian examples bring their language, their collection setting, and their labels together. They can familiarize the classifier with Italian wording used to express abuse and with Italian examples labeled on either side of the task boundary. They also come from sources closely related to the official tests. The comparison demonstrates the value of adding the complete Italian portion. It leaves open how much of the gain comes from exposure to Italian phrasing, from the subject matter of the Italian tasks, or from correspondence between training and test annotation conventions.
The fact that every multilingual encoder benefits from the joint pool gives the result some breadth within the chosen family of systems. The rank order across those encoders varies by test. XLM-Twitter's strong overall and AMI18 results are compatible with an advantage from prior exposure to Twitter text. The comparison changes the full encoder when switching from XLM-Twitter to the other starting points, so the training domain's individual effect remains unresolved. The same reasoning applies to any attribution of XLM-Large's results to its size.
DeHateBert offers a related analysis of target coverage. Its lower scores on the misogyny datasets agree with the authors' expectation that relevant supervision matters. Its performance on HaSpeeDe20 puts the size of the misogyny differences in perspective. The comparator differs from HATE-ITA in its training data and procedure, and the XLM variants also differ from it in their starting encoders. The results motivate the authors' explanation about target coverage, while the effect of a given target category remains unmeasured in isolation.
What the selected predictions show
The authors examine correct decisions from the jointly trained XLM-Large using SHAP. This form of interpretability assigns a contribution to each part of an input for an individual prediction. The parts displayed are tokens, the units the encoder uses to represent the text. The figure colors material toward red for contributions in the hateful direction and blue for contributions in the non-hateful direction. The authors obtain those contributions with an existing interpretation suite and use the explanation method introduced in A Unified Approach to Interpreting Model Predictions.
The examples are organized around two kinds of ambiguity. In the first, the same elements can occur as separate insults or as a conventional expression of frustration. The direct insult addresses a person and joins the terms with a conjunction. The other example concerns a broken washing machine, with the paired words functioning as an exclamation. The literal meanings of the words make their appearance a possible indicator of abuse. In the broken-appliance context the expression functions as profanity without the misogynistic meaning discussed in the paper.
The trained classifier correctly distinguishes the cases chosen for the figure. That is evidence of a successful decision on those inputs. The examples change several things at once, including the positioning of the words, the presence of the conjunction, and the subject of the message. The explanation shows contributions within each full sentence. It leaves open which change would be sufficient on its own to shift the predicted class. The linguistic phenomenon belongs to the study of idioms & multiword expressions.
The second ambiguity concerns finocchi. The word can refer to fennel in a discussion of food or serve as a homophobic slur when applied to people. In one example, the sentence announces the arrival of people described by the term. In the other, the thing arriving is a salad. The same written form contributes to texts with different labels. The successful predictions illustrate the need to connect that form with the entity being described, an instance of word sense disambiguation.
These pairs give substance to the paper's claim that the released detector can handle some language-specific usage. They show what contextual success looks like in ordinary Italian wording. A rule that assigns the same judgment whenever it encounters the ambiguous word would have to give the same labels to the salad reference and the use directed at people. The example makes clear why context can change the appropriate label even when the potentially salient word remains present.
SHAP addresses the prediction made for a particular input, and the authors choose correct predictions for display. The sample can demonstrate that appropriate decisions occur, while leaving the rate of those decisions unknown. The paper supplies neither a set of failure cases involving the same expressions nor explanations for the Italian-only and English-only conditions on those texts. Consequently, the qualitative analysis establishes examples of behavior in the joint classifier. The quantitative language comparison establishes the overall ranking of training regimes, with no separate measurement of how much those regimes differ on the illustrated ambiguities.
Limitations
Limits identified by the authors
The authors present HATE-ITA as a benchmark resource that needs broader testing. They explicitly leave open its ability to identify hate aimed at targets beyond those for which they give clear evaluation evidence. The labels in the English pool diversify the supervision that the classifiers receive. Evidence that a target appears in that pool is different from evidence that the resulting Italian classifier gets examples concerning that target right. The conclusion calls for careful Italian benchmarking to answer the latter question.
The ethical statement also identifies uncertainty about precision across categories and targets. For a group whose mentions are flagged as hateful, precision concerns how many of those flags are correct. A stable score for different target groups would require appropriate examples and measurements for each group. The reported overall macro-F1 balances the scores for the two output classes, and the functional-test breakdown provides F1 for each class. Group-specific precision remains open under both presentations.
The authors describe classifier behavior that may overlook details important to interpreting hate speech. Their own qualitative analysis illustrates why those details matter. The appropriate label can depend on the use of a profanity within a phrase or on whether a noun describes food or people. Correctly resolving examples of this kind is part of the task. The paper's evidence for such resolution is bounded by the tests and examples it reports.
The Italian experiments are also the basis for the paper's broader suggestion about languages with relatively little annotated training material. The approach is pertinent to that problem because it uses an English pool to supplement Italian data. Its performance results concern Italian. Whether a similar collection and training procedure is effective for another language depends on evidence from that language.
Limits visible in the experimental setup
The training comparison changes the size and composition of the data along with the language mix. With the shared epoch schedule, different-sized collections imply different amounts of training material per pass. The experimental design compares complete training arrangements that a researcher could use. It does not estimate the effect of switching the language of a fixed number of otherwise equivalent examples, or show how performance responds as English or Italian examples are added gradually. The results accordingly establish a preference among the reported arrangements.
The pooling process also changes what the common label represents across sources. In one corpus the binary positive group includes posts labeled offensive, and in another it brings together distinct kinds of harmful acts. The continuous-score source supplies very low and high regions for the two classes. ETHOS supplies only positive posts to the pool. A predictor can benefit from this diverse supervision while learning a distinction influenced by the source mix. The paper does not report removals or substitutions of individual English corpora that would show how much any of these conversion choices matters.
Broad target labels conceal variation within categories. Origin, for example, encompasses source labels for different forms of group membership. A total for that category provides some information about the quantity of associated training material. It gives less information about the distribution of language and examples within the category. The inconsistencies in the count table and the methods description further limit exact reconstruction of the training collection from the reported statistics. The paper still documents the categories it uses and many of the source-to-category decisions.
The evaluations give useful coverage through the combination of shared tasks and a functional suite. The misogyny tests provide direct evidence on their labeled examples. The immigrant-focused test provides a corresponding observation for the Sanguinetti corpus. Performance on the broader tests summarizes the examples each test contains. A head-to-head evaluation of precision for the protected groups named in the English data would require aggregate scores broken down in a different way. The paper leaves that comparison unreported.
There are similar limits at the level of specific functions. Italian Multilingual HateCheck includes cases intended to probe difficult behaviors, and the paper reports the combined results and the two class scores. It gives no scores broken down by function. The weaker F1 on non-hateful cases in the suite therefore cannot be assigned to a specific sort of counterspeech, harmless slur use, or other negative input. A class F1 value also allows different combinations of precision and recall, so its relative size alone cannot locate the main kind of error.
The paper reports averages from 5 runs and gives no measure of their spread. For close results, the tables establish which reported mean is higher and leave uncertainty about how much the outcomes vary between runs. The overlap affecting DeHateBert sets another boundary for comparisons. Its AMI and HaSpeeDe20 numbers can be discussed where reported. The Sanguinetti and full HaSpeeDe18 columns provide no comparable score for it under the paper's test protocol.
Finally, the selected explanations show that a classifier can make the desired contextual distinctions on particular texts. They leave open how it responds to different phrasings, speakers, or references involving the same words. The design does not give a coverage estimate for those specific ambiguities. The aggregate results show how the classifiers perform on the benchmark material as a whole, while the examples supply a close view of what successful behavior can look like within that evaluation.
What came after
No subsequent study is documented as extending or independently evaluating HATE-ITA. The Italian Multilingual HateCheck comparison belongs to HATE-ITA's own experiments. The authors' release gives later researchers a classifier to compare against, and their conclusion identifies testing on additional targets and measuring precision across groups as open questions.
Cite
Cite as Debora Nozza, Federico Bianchi and Giuseppe Attanasio. 2022. HATE-ITA: Hate Speech Detection in Italian Social Media Text. Proceedings of the Sixth Workshop on Online Abuse and Harms (WOAH).
@inproceedings{nozza2022hate,
title = {{HATE-ITA: Hate Speech Detection in Italian Social Media Text}},
author = {Debora Nozza, Federico Bianchi and Giuseppe Attanasio},
booktitle = {Proceedings of the Sixth Workshop on Online Abuse and Harms (WOAH)},
year = {2022},
doi = {10.18653/v1/2022.woah-1.24},
url = {https://doi.org/10.18653/v1/2022.woah-1.24}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/nozza-2022-hate-ita-hate-speech-detection/