<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>MT-GAN-BERT: Multi-Task and Generative Adversarial Learning for sustainable Language Processing</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Claudia Breazzano</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Danilo Croce</string-name>
          <email>croce@info.uniroma2.it</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Roberto Basili</string-name>
          <email>basili@info.uniroma2.it</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Department of Enterprise Engineering University of Roma</institution>
          ,
          <addr-line>Tor Vergata</addr-line>
        </aff>
      </contrib-group>
      <abstract>
        <p>In this paper, we present MT-GAN-BERT, i.e., a BERT-based architecture for faceted classification tasks. It aims to reduce the requirements of Transformers both in terms of the amount of annotated data and the computational cost required at classification time. First, MT-GAN-BERT enables semi-supervised learning in BERT-based architectures based on Generative Adversarial Learning. Second, it implements a Multi-task Learning approach to solve multiple tasks simultaneously. A single BERTbased model is used to encode the input examples, while multiple linear layers are used to implement the classification steps, with a significant reduction of the computational costs. Experimental evaluations against six classification tasks involved in detecting abusive languages in Italian suggest that MT-GAN-BERT represents a sustainable solution that generally improves the raw adoption of multiple BERT-based models with lighter requirements in terms of annotated data and computational costs.</p>
      </abstract>
      <kwd-group>
        <kwd>Sustainable NLP</kwd>
        <kwd>Generative Adversarial Learning</kwd>
        <kwd>BERT</kwd>
        <kwd>Semi Supervised Learning</kwd>
        <kwd>Multi-task Learning</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        In recent years, Deep Learning methods have become very popular in Natural
Language Processing (NLP), e.g., they reach high performances by relying on
very simple input representations (for example, in [
        <xref ref-type="bibr" rid="ref10 ref11 ref7">10, 7, 11</xref>
        ]). In particular,
Transformer-based architectures, e.g., BERT [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ], provide representations of their
inputs as a result of a pre-training stage. These are, in fact, trained over large scale
corpora and then effectively fine-tuned over a targeted task achieving
state-ofthe-art results in different and heterogeneous NLP tasks. However, several critical
aspects tend to critically limit the impact of such Transformer-based architectures
on sustainable real-word applications. First of all, they have been generally shown
to achieve state-of-the-art results when trained using very large-scale datasets
Copyright c 2021 for this paper by its authors. Use permitted under Creative
Commons License Attribution 4.0 International (CC BY 4.0).
but significant performance drops have been observed when annotated material
of limited size is adopted [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ].
      </p>
      <p>
        Unfortunately, obtaining annotated data is a time-consuming and costly
process. In addition, Transformer-based solutions are characterized by complex
architectures, with a large number of parameters and therefore have an onerous
computational cost [
        <xref ref-type="bibr" rid="ref24">24</xref>
        ]. Several works proposed solutions devoted to the reduction
of such computational complexity [
        <xref ref-type="bibr" rid="ref23 ref25 ref27">23, 27, 25</xref>
        ]. However, whenever the problem
at hand requires decomposing the decision process into a (possibly large) set of
decision steps, the overall computational cost is likely to grow rapidly. In fact,
the cost of the entire workflow generally increases as the sum of the (millions)
of parameters of the individual architectures. Let us consider the adoption
of Language Technologies against Offensive Language on the Web and Social
Networks. Offensive language (also called “abusive language”) refers to any insult
or vulgarity that demeans a target [
        <xref ref-type="bibr" rid="ref17 ref26">26, 17</xref>
        ].
      </p>
      <p>
        The NLP community has worked on methods to mitigate this phenomenon
by developing technologies to automatically detect abuse in texts. However, some
of these methods largely focused on a limited definition of abuse, i.e. detecting
hateful comments against only certain communities, such as comments referring
to ethnic minorities, and marginalizing other types of communities, such as
hateful comments towards women [
        <xref ref-type="bibr" rid="ref20">20</xref>
        ]. In fact, the notion of abuse is proved
elusive and difficult to formalize. Different norms in communities can influence
what is considered abusive. In the context of natural language, abuse is a term
that encompasses many different types of fine-grained negative expressions. For
example, in [
        <xref ref-type="bibr" rid="ref18">18</xref>
        ] it is used to collectively refer to hate speech, derogatory language
and insults, while others [
        <xref ref-type="bibr" rid="ref16">16</xref>
        ] use it to discuss racism and sexism. The definitions
for the different types of abuse tend to be overlapping and ambiguous. For
this reason, abusive behavior is considered a problem with many “faces”, as it
involves cases of hate speech, offensive language, sexism and racism, aggression,
cyberbullying, harassment and trolling. Each form of abusive behavior has its own
characteristics and manifests itself differently [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. As a result, several datasets
exist [
        <xref ref-type="bibr" rid="ref26">26</xref>
        ] but they are focused on specific aspects of abusive language. We
speculate here that a solution consisting of several classifiers (each specialized on
a dataset) is not completely sustainable, especially when the cost of adopting
multiple architectures to classify large amounts of data may not be sustainable.
Furthermore, we hypothesize that training each classifier separately on a different
dataset might lead to sub-optimal quality compared to a classifier trained on
a dataset where each instance is labeled with respect to each phenomenon of
interest. Unfortunately, accessing datasets where individual instances are labeled
for all the different aspects of the abusive language is not always possible.
      </p>
      <p>
        In this paper, we propose a methodology to handle multifaceted problems, in
this case, language abuse recognition, but keeping the final solution sustainable
in terms of both: i ) the amount of annotated data required to train the final
model an ii ) the computational cost required at classification time. In order to
address the issue i ) we propose the adoption of semi-supervised methods, such as
in [
        <xref ref-type="bibr" rid="ref12 ref2 ref28 ref30">28, 2, 30, 12</xref>
        ] to improve the generalization capability when few annotated data
is available, while the acquisition of unlabeled sources is possible. In particular
we will adopt GAN-BERT [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ], a recently proposed method that enables
semisupervised learning in BERT-based architectures based on Generative Adversarial
Learning [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ]. Moreover, we will mitigate the issue ii ) by adopting the
Multitask learning approach proposed in [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ], a specific formulation of BERT-based
architectures that solve multiple tasks simultaneously. Instead of using a different
BERT architecture for each task (each composed of hundreds of millions of
parameters), a single BERT model is used to encode the input examples, but
multiple classifiers (each composed of a negligible number of parameters) are used
to implement the classification steps. This significantly reduces the overall cost
and, in addition, allows the final architecture to be trained using disjoint datasets.
Finally, we will introduce the combination of both of the above approaches in
MT-GAN-BERT , a new architecture that extends BERT-based models with
semisupervised learning while using a single encoder when applied to multiple tasks1.
Experimental evaluations against six classification tasks involved in detecting
abusive languages in Italian suggests: the beneficial impact of GAN-BERT when
trained on a reduced labeled dataset (e.g., 200 labeled vs. thousands of unlabeled
examples); the high accuracy of a unified Multi-task model that achieves results
comparable to those of multiple models, trained on a disjoint datasets; the reduced
requirements posed to the size of annotated data and the computational costs
implied by MT-GAN-BERT that thus represents a sustainable solution with respect
to the raw adoption of multiple BERT-based models.
      </p>
      <p>In the rest of this paper, Section 2 discusses the adopted architectures and
presents MT-GAN-BERT . Section 3 reports the experimental evaluation while
Section 4 derives the conclusions.
2</p>
      <p>
        Multi-task and Generative Adversarial Learning in
MT-GAN-BERT
Multi-task learning in Transformer-based architectures. Multi-task
learning (MTL) is a paradigm useful for multiple (related) tasks to be learned jointly so
that the knowledge learned in one task can support other tasks [
        <xref ref-type="bibr" rid="ref31">31</xref>
        ]. Hard
parameter sharing is the most commonly used approach of MTL with neural networks and
it is generally applied by sharing hidden layers between all tasks, while maintaining
different task-specific output levels. Sharing hard parameters greatly reduces the
risk of over-fitting. Recently, there is a growing interest in applying MTL to
representation learning using deep neural networks (DNNs) for two reasons. First,
supervised learning of DNNs requires large amounts of task-specific labeled data, which
is not always available. MTL provides an effective way of leveraging supervised
data from many related tasks. Second, the use of multi-task learning profits from
a regularization effect via alleviating over-fitting to a specific task, thus making
the learned representations universal across tasks. [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ] proposed Multi-Task Deep
Neural Network (MT-DNN ) to incorporate a single pre-trained BERT model [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] to
1 MT-GAN-BERT is publicly available at: https://github.com/crux82/mt-ganbert
be applied at the same time to several NLI tasks involving single-sentence
classification, pairwise text classification, text similarity scoring, and relevance ranking.
      </p>
      <p>
        The architecture of the MT-DNN
amnoddealdhiesre sthoo wthne aipnprFoaigcuhrepro1- ℇ1 1 claks1ses
posed in [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ] in a scenario
inAvolBvEinRgTo-bnalysedcleanscsoifidceartrioepnretsaesnktss. ℇ2 BERT 2 claks2ses
the shared layers across all T tasks, …
while the output layers D1; : : : ; DT …
implement the specific classifica- ℇT
tion tasks. For each input exam- T claksTses
ple (either a sentence or a pair
of sentences packed together)
composed of n word-pieces, BERT cap- Fig. 1. MT-DNN architecture
tures the contextual information
for each word via self-attention, generating a sequence of contextual embeddings:
these are n + 2 vector representations in Rd, i.e., (hCLS; hw1 ; :::; hwn ; hSEP ). As
suggested in [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ], hCLS corresponds to the d-dimensional representation of the
entire input sequence, while hw1 ; :::; hwn represent the d-dimensional embeddings
for the individual word-pieces. As we are interested in sentence based classification
tasks, only the hCLS is retained2 and it is given as input to the Dt layer to
classify the input sentence w.r.t. the task t = 1; :::; T .
      </p>
      <p>The training procedure of MT-DNN is reported in the Algorithm 1. Input
examples generally belong to datasets E1; : : : ; ET that are specific for each task
and they do not share the same labels. As a consequence, MT-DNN requires that
each dataset is shuttered in mini-batches Bjt, each containing valid examples for
the same task t. In each epoch, a random mini-batch Bjt is selected, all examples
are encoded using the same BERT and the generated hBt
CLS are classified by the
Dt. This allows estimating a loss Lt that is task-specific but used to update the
entire model via back-propagation. In this way, the output layer Dt is fine-tuned
with respect to the t-th task but, most importantly, BERT encodings are at the
same time optimized in all tasks.</p>
      <p>
        In addition to the benefits associated with regularization and the reduction
in over-fitting discussed in [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ], MT-DNN shows a significant reduction of the
computational costs at classification time. In fact, each example is encoded only
once by BERT (which is composed of hundreds of millions of parameters [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]) and
then classified by each classifier Dt which is significantly smaller and composed
of about one thousand parameters for each of the kt classes. Moreover, whenever
the tasks are related to each other, such as Sentiment Classification or Hate
Speech Detection, the multi-task training procedure is also expected to improve
the final classification accuracy.
2 The remaining hwk embeddings can be used for other tasks, such as sequence labeling
tasks, not considered in this work.
Algorithm 1 Training of a MT-DNN model
1: Load the BERT parameters acquired during the pre-training stage as in [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]
2: Initialize D1; : : : ; DT randomly
3: for t in 1; : : : ; T do //Prepare the data for T tasks.
4: Divide data of the t-th task into mini-batches so that Et = Sj Bjt
5: end for
6: for epoch in 1; :::; epochmax do
87:: Merge datasets: E = E1 [ [ ET
9: fSohrufflBte iEn E do //Bt is a mini-batch of the task t.
10: 1. Use the shared BERT to encode hBCtLS
11: 2. Classify hBCtLS using Dt against the kt classes
12: 3. Compute Lt loss as the Cross-entropy w.r.t. the kt classes
13: 4. Compute gradient: r( ) using Lt
14: 5. Update the entire model: = r( )
15: end for
16: end for
GAN-BERT and Semi-Supervised Learning. Recent Transformer-based
architectures, e.g., BERT, provide impressive results in many Natural Language
Processing tasks. However, most of the adopted benchmarks are made of
(sometimes hundreds of) thousands of examples. In many real scenarios, obtaining
high-quality annotated data is expensive and time consuming; in contrast,
unlabeled examples characterizing the target task can be, in general, easily collected.
GAN-BERT [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] enables semi-supervised learning in BERT-based architectures, by
implementing a Semi-Supervised Generative Adversarial Learning technique. In
general, SS-GANs [
        <xref ref-type="bibr" rid="ref21">21</xref>
        ] enable semi-supervised learning in a GAN framework.
A discriminator is trained over a (k + 1)-class objective: “true" examples are
classified in one of the target (1; :::; k) classes, while the generated samples are
classified into the k + 1 class. More formally, let D and G denote the discriminator
and generator, and pd and pG denote the real data distribution and the generated
examples, respectively. In order to train a semi-supervised k-class classifier, the
objective of D is extended as follows. Let us define pm(y^ = yjx; y = k + 1) the
probability provided by the model m that a generic example x is associated with
the fake class and pm(y^ = yjx; y 2 (1; :::; k)) that x is considered real, thus
belonging to one of the target classes. The loss function of D is LD = LDsup. + LDunsup.
where:
      </p>
      <p>LDsup.= Ex;y pdlog[pm(y^ = yjx; y 2 (1; :::; k))]
LDunsup.= Ex pd log[1</p>
      <p>pm (y^ = yjx; y = k + 1)]</p>
      <p>Ex G log [pm(y^ = yjx; y = k + 1)]</p>
      <p>LDsup. measures the error in assigning the wrong class to a real example among
the original k categories. LDunsup. measures the error in incorrectly recognizing a
real (unlabeled) example as fake and not recognizing a fake example.</p>
      <p>
        At the same time, G is expected to generate examples that are similar to
the ones sampled from the real distribution pd. As suggested in [
        <xref ref-type="bibr" rid="ref21">21</xref>
        ], G should
generate data approximating the statistics of real data as much as possible. In
other words, the average example generated in a batch by G should be similar
to the real prototypical one. Formally, let’s f (x) denote the activation on an
intermediate layer of D. The feature matching loss of G is then defined as:
L
      </p>
      <p>Gfeature matching= kEx sim pd f(x)</p>
      <p>Ex</p>
      <p>Gf(x)k22
that is, the generator should produce examples whose intermediate representations
provided in input to D are very similar to the real ones. The G loss also considers
the error induced by fake examples correctly identified by D, i.e.,
LGunsup:=</p>
      <p>
        Ex G log[1
pm (y^ = yjx;y = k + 1)]
The G loss is LG = LGfeature matching + LGunsup: . GAN-BERT [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] is based on the
already pre-trained BERT model and adapts the fine-tuning by adding two
components: i) task-specific layers, as in the usual BERT fine-tuning; ii) SS-GAN
layers to enable semi-supervised learning.
      </p>
      <p>Without loss of generality, let
us assume we are facing a
senteegnocreiesc.laAsssi fiincatthioenprteavskiouovseMrTk-DcNatN- noise  F
warechseitleeccttutrhee, hgCivLeSn raenprienspeunttatteixotn, real data  claksses
taasrgaestentatseknsc.e Aemsbsheodwdinnginfofirguthree ℇ BERT real/fake
2, the SS-GAN architecture intro- U
duces on top of BERT two
components: i) a discriminator D for
classifying examples, and ii) a gen- Fig. 2. GAN-BERT architecture
erator G acting adversarially. In
particular, G is a Multi Layer Perceptron (MLP) that takes in input a
100dimensional noise vector drawn from N ( ; 2) and produces in output a vector
hfake of the same dimension of hCLS . The discriminator is another MLP that
receives in input a vector h : this can be either hfake produced by the generator
or hCLS for unlabeled or labeled examples from the real distribution. The last
layer of D is a softmax-activated layer, whose output is a k + 1 vector of logits.</p>
      <p>During the forward step, when real instances are sampled (i.e., h = hCLS ),
D should classify them in one of the k categories; when h = hfake, it should
classify each example in the k + 1 category. The training process of GAN-BERT tries
to optimize two competing losses, i.e., LD and LG. During back-propagation, the
unlabeled examples contribute only to LDunsup: , i.e., they are considered in the
loss computation only if they are erroneously classified into the k + 1 category. In
all other cases, their contribution to the loss is masked out. The labeled examples
thus contribute to the supervised loss LDsup: . Finally, the examples generated by
G contribute to both LD and LG, i.e., D is penalized when not finding examples
generated by G and vice-versa. When updating D, BERT weights are changed
in order to fine-tune its inner representations, so accounting for both labeled
and unlabeled data. After training, G is discarded while retaining the rest of the
original BERT model for inference. This means that there is no additional cost
at inference time with respect to a standard BERT model.</p>
      <p>MT-GAN-BERT: Combining Multi-task and Adversarial Learning. In order
to take advantage of both Multi-task learning and Adversarial learning and also
try to reduce the computational cost, using few labeled data, this paper proposes
the MT-GAN-BERT architecture. The MT-GAN-BERT model combines GAN-BERT and
MT-DNN , by relying on a shared Transformer, i.e. BERT, and applying as many
Generators and Discriminators as the number of the targeted tasks. As shown
in figure 3, BERT represents the shared layers across all tasks as suggested by
MT-DNN and takes labeled and unlabeled data as input, as proposed in GAN-BERT
. In this case, no overall Discriminator and Generator are foreseen, but for each
t-th task that you want to (simultaneously) solve we extend BERT with: i) a
Discriminator Dt for classifying examples, and ii) a Generator Gt acting adversely.</p>
      <p>During the forward step, a
batch Bt belonging to a t-th task is
randomly selected. Therefore, each noise 1 F1
sentence of the selected batch is k
given as input to BERT, which 1 clas1ses
outputs the vector hCLS (for un- real/fake
ltahbeerleedal odrisltarbibeluetdioenx)a.mTphleesvefrcotomr BERT noise 2 F2 k
is given as input to the discrim- 2 clas2ses
inator Dt of the t-th task. Each real data … real/fake
addisdcritimioinnattoorveDcttoisrsa pMroLdPuacendd,biny ℇ1 ℇ2 … ℇ2
BERT over training sentences, it U1 U2 UT noise T FT
ahltfsaokeseppraordautceelyd rbeycetihveesgeinneirnaptuort T claksTses
Gt, of the t-th task. Each Gener- real/fake
ator is also a Multi Layer
Perceptron (MLP), that behaves in the Fig. 3. MT-GAN-BERT architecture
same way as described above: so,
it takes as input a 100-dimensional noise vector drawn from N ( ; 2) and outputs
a vector hfake 2 Rd. The last layer of Dt is a softmax-activated layer and, when
t
real instances are sampled (i.e, h = hCLS ), Dt should classify them in one of the
kt categories specific to the t-th task; when h = htfake, it should classify each
example in the “fake” kt + 1 category. The losses of Dt and Gt are computed as
in GAN-BERT , and the back-propagation applies to the MLP as well as on the
underlying BERT pre-trained model that is also modified. Changing weights in
BERT during the training batch Bt of a particular task t allows to specialize
BERT on that task t. By cycling and alternating forward and back-propagation
steps in the other tasks, BERT is asked to generalize across all tasks and learn
from all of them. Moreover, the capability of individual generators Gt for each
task, that generate task-specific fake examples, further improves the learning
of the individual discriminator Dt for each task t, even when few labeled data
are used. MT-GAN-BERT correspondingly improves the sustainability of the overall
learning approach.
3</p>
    </sec>
    <sec id="sec-2">
      <title>Experimental evaluation</title>
      <p>
        In this section, we assess the impact of the MT-DNN model, the GAN-BERT model
and MT-GAN-BERT over different sentence classification tasks characterized by
different training conditions, i.e., number of examples and number of categories.
In particular, the objectives of this experimentation are three-fold. First, we
aim at demonstrating that the existing MT-DNN model allows to share a single
Transformer (BERT) in the training for multiple classification tasks at the same
time, by preserving or improving performances against a model trained specifically
on one task at a time (a standard BERT model). Second, we show that GAN-BERT
trained over few annotated data, supports more accurate classification against
the standard BERT model. In particular, the results of the BERT and GAN-BERT
models are compared on specific training data of different sizes for each task:
100, 200, 500 annotated examples. Finally, we show that MT-GAN-BERT further
improves performance, compared to applying as many BERT models as there
are tasks involved. Abusive language detection is a complicated task due to
the multifaceted nature of its target [
        <xref ref-type="bibr" rid="ref26">26</xref>
        ]. In fact, detecting abusive language
involves knowledge about specific and heterogeneous bad linguistic behaviors
manifested by Social Web data. For this reason, experiments across different
tasks each involving a specific form of abuse is useful to assess the impact of the
MT-GAN-BERT paradigm on the overall phenomena.
      </p>
      <p>
        We report measures of our approach over the following tasks. First, we
considered Hate Speech Recognition over two datasets, HaSpeeDe and DANKMEMEs.
HaSpeeDe, proposed in the 2018 EVALITA Competition, is a corpus that
includes Twitter posts, in Italian ([
        <xref ref-type="bibr" rid="ref19">19</xref>
        ],[
        <xref ref-type="bibr" rid="ref22">22</xref>
        ]), that do or do not express hate. The
hateful tweets are mainly addressed to minorities and social groups, which are
potential targets of hate speech in Italy, such as immigrants, Muslims and Rom.
DANKMEMES (multimoDal Artefacts recogNition Knowledge for MEMES) [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ]
is the first EVALITA task for the recognition of MEMEs and the identification
of hateful events or hate speech in them. A MEME is a multi-modal artifact,
manipulated by users, which combines textual and visual elements to convey a
message. The DANKMEMES task foresees three subtasks, which involve both
images and sentences. However, in this work, we will focus only on the dataset
used within the Hate Speech Detection task, only referring to the textual parts.
Again, individual instances are annotated to discriminate sentences that are
hateful from those that are not. Second, we considered Misogyny Identification
experimenting over the dataset of the Automatic Misogyny Identification (AMI)
task of the 2018 EVALITA competition [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. AMI consists of two subtasks. In
this work, tweets from the two subtasks are used to create two different datasets,
AMI subtask A and AMI subtask B. In the first subtask, tweets are classified
as misogynous or not; in the second, misogynous tweets are further classified
into specific categories: “stereotype”, tweets that express a widely diffused but
fixed and simplified image of a woman, “sexual harassment”, tweets that contain
sexual advances, but also the intent to physically assert power over women,
through threats of violence and “discredit”, and finally, tweets that are bad at
women with no other specific focus. Finally, we considered Sentiment Analysis
over the dataset of SENTIment POLarity Classification (SENTIPOLC) task
of the 2016 EVALITA competition [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ], whose goal is sentiment analysis (SA).
Although SENTIPOLC is divided into three subtasks, this work only focuses on
the first two tasks: these are the subjectivity classification task and the polarity
recognition task, respectively. In this way, we obtained two independent datasets,
SENTIPOLC subtask 1 and SENTIPOLC subtask 2. In the first binary subtask,
tweets are classified as subjective or objective. In subtask 2, tweets are classified
into positive, negative, neutral ones.
      </p>
      <p>
        The adopted datasets are mostly made up Twitter posts. Opinions and
subjective positions are thus mainly expressed in an immediate and direct style:
a post consists of a few words, exploiting at most 280 bytes. In the case of the
DANKMEMEs dataset, the sentences have a typical structure of MEMEs and
they express concepts in a very direct way, which are sometimes understandable
not only by reading the text, but also by observing the image. For each task,
performances are reported through two metrics: Accuracy and Macro F-measure,
the harmonic mean of the Precision and the Recall. As a comparison, we report
the performances of the basic BERT model that is independently fine-tuned on
the available training material of each task.
Experimental Setup. The MT-DNN and GAN-BERT implementations are based on
the code made available3 in support of [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ] and [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ], respectively. The MT-GAN-BERT
combines the above models and it is entirely written in PyTorch, based on the
HuggingFace framework [
        <xref ref-type="bibr" rid="ref29">29</xref>
        ]. All the models are based on BERT and, in particular,
UmBERTo4, that is a BERT model for the Italian language, based on Roberta
[
        <xref ref-type="bibr" rid="ref14">14</xref>
        ] and trained on large Italian Corpora. While GAN-BERT is trained individually
on each task, MT-DNN and MT-GAN-BERT are trained on all tasks, simultaneously.
In the MT-DNN model, the last layers, those specific to individual tasks, are
single3 The original code repositories are available at https://github.com/namisan/mt-dnn
and https://github.com/crux82/ganbert
4 https://huggingface.co/Musixmatch/umberto-wikipedia-uncased-v1
level linear classifiers. 10 epochs are used to carry out the training, with a batch
size of 16 and a learning rate of 5 10 5. The adopted Loss function is the
Cross Entropy Loss. For the GAN-BERT and MT-GAN-BERT models, the Generator
components are implemented as MLPs, with one hidden layer activated by a
GELU [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ] function and dropout set to 0:1 after a hidden layer. Generator inputs
consist of noise vectors drawn from a normal distribution N (0; 1): they pass
through the MLP and finally result in 768-dimensional vectors, that are used as
fake examples. The Discriminator components are also MLP with only a softmax
layer for the final prediction. In the training phase of GAN-BERT and MT-GAN-BERT
the batch size chosen is 64, the loss function is again the Cross Entropy Loss. The
GAN-BERT model is used in comparison with the basic BERT model: 25 epochs
are used to carry out the training and the adopted learning rate is 10 5. In
MT-GAN-BERT the adopted loss functions are the loss of the discriminator Dt and
of the generator Gt of each t-th task. To overcome the scarcity of data of some
datasets, in the models that apply multi-task learning, a balancing technique
is applied: examples are replicated for smaller training datasets of some tasks,
until the number of samples in the largest training dataset is reached. During the
training of each model, the best model is established, taking the model at the
time when the average Accuracy (or Macro F-Measure) between the Accuracy
(or Macro F-Measure) of each task, is the highest on the Validation set. The best
model is then applied to the Test set to establish the reported Accuracy and
Macro F-Measure. In order to obtain stable results and overcome the variable
performance of model runs caused by the small size of some datasets, more
executions (in particular 3) were carried out for each model: the average of the
resulting measurement is then reported.
      </p>
      <p>BERT-based model vs MT-DNN . This section shows the performance of the
experiments carried out to compare the results obtained with the MT-DNN model,
with the results obtained with the BERT-based model. The MT-DNN model is
trained over all the tasks simultaneously, while the BERT-based model is trained
individually on each task. In particular, Table 2 shows the results of the
BERTbased model with Macro F-measure (second column) and Accuracy (third column),
while the results of the Multi-task Model (MT-DNN ) are reported in the fourth
and fifth column. Finally, the last two columns reports the absolute differences
between MT-DNN and the original BERT. If considering the computational costs,
when applying both solutions on unseen data, the MT-DNN allows reducing about
the 80% of parameters: in fact MT-DNN use only one encoder (made of 125M
millions of parameters, as based on RoBERTa) while the baseline adopts 6
encoders, one per task5. Results show that a monolithic architecture trained on
multiple tasks maintains the same performance as a model trained individually
on the same tasks. In particular, it can be noted how the AMI B task is able
to benefit from the data of the other tasks. In contrast, the polarity dataset
(SENTIPOLC 2) loses performance points, probably because it is one of the
two largest datasets among tasks and benefits less from other sentence polarity
recognition tasks.
5 The number of parameters of D are negligible if compared to the encoder.
BERT-based model vs GAN-BERT . This section shows the performances of the
experiments carried out to compare the results obtained with the BERT-based
model with those obtained with the GAN-BERT model. In particular, three results
are shown in Table 3, as the training procedure was applied to labeled datasets of
increasing sizes, i.e., 100, 200 and 500 labeled examples, respectively. The results
obtained show that GAN-BERT obtains better performances than the BERT-based
model with 100 and 200 labeled data, while with 500 examples in some tasks
the performances are stable compared to those of the BERT-based models. It
is clear that with GAN-BERT there is the possibility to generalize when there are
little data. There are more differences when there are more data and therefore
more contribution. Thus, the more unlabeled data, the more GAN-BERT benefits
from the contribution of adversarial learning.
BERT-based model vs MT-GAN-BERT . This section shows the performances of
the experiments carried out to compare the results obtained with the BERT-based
model with those obtained with the MT-GAN-BERT model. Two results are shown
in Table 4, where the results of the two models are compared, being trained
respectively with 200 and 500 data labeled. From the results, it can be seen that
MT-GAN-BERT model, trained on 200 labeled examples, improves learning, except in
the AMI B and DANKMEMEs tasks. By training the model with 500 examples,
the tasks that suffered a worsening with 200 examples, obtain performance
similar to that of the BERT-based model. In conclusion, from the experiments
can be seen that MT-DNN , trained simultaneously on different tasks, is able to
maintain the performance of the BERT-based model, trained individually on
each task. By introducing Adversarial Semi-Supervised learning, the experiments
obtained notable results and for this reason it was decided to implement a model
(MT-GAN-BERT) that combined the GAN-BERT and MT-DNN model. The resulting
model achieves overall equivalent or better results, although not in all tasks. This
limitation is evident for small datasets, such as in DANKMEMES, where the size
of the labeled dataset almost corresponds to the size of the original material.</p>
    </sec>
    <sec id="sec-3">
      <title>4 Conclusion</title>
      <p>This paper presents MT-GAN-BERT, a Transformer-based architecture for
multifaceted classification problems. The proposed solution represents a sustainable
way that generally improves the adoption of multiple BERT-based models with
less stringent requirements in terms of annotated training data. Results in a
problem involving 6 tasks suggest that an 80% reduction in computational costs
can be achieved without a significant reduction in prediction quality. In contrast,
it shows improvements in datasets where only a few examples are manually
annotated while larger sets of unlabeled material exist. In future, we will study
the adoption of structured losses in order to make stronger dependencies between
classification results in the multi-task setting, to impose consistencies w.r.t. to
outputs in strictly related tasks.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Barbieri</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Basile</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Croce</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Nissim</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Novielli</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Patti</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          :
          <article-title>Overview of the evalita 2016 sentiment polarity classification task</article-title>
          .
          <source>In: Proceedings of Third Italian Conference on Computational Linguistics</source>
          (CLiC-it
          <year>2016</year>
          ) &amp;
          <article-title>Fifth Evaluation Campaign of Natural Language Processing and Speech Tools for Italian</article-title>
          .
          <source>Final Workshop (EVALITA</source>
          <year>2016</year>
          ), Napoli, Italy, December 5-
          <issue>7</issue>
          ,
          <year>2016</year>
          .
          <source>CEUR Workshop Proceedings</source>
          , vol.
          <volume>1749</volume>
          .
          <string-name>
            <surname>CEUR-WS.org</surname>
          </string-name>
          (
          <year>2016</year>
          ), http://ceur-ws.
          <source>org/</source>
          Vol-
          <volume>1749</volume>
          /paper_026.pdf
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Chapelle</surname>
            ,
            <given-names>O.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Schlkopf</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zien</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>Semi-Supervised Learning</article-title>
          . The MIT Press, 1st edn. (
          <year>2010</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Croce</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Castellucci</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Basili</surname>
          </string-name>
          , R.:
          <article-title>GAN-BERT: generative adversarial learning for robust text classification with a bunch of labeled examples</article-title>
          .
          <source>In: Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, ACL 2020, Online, July</source>
          <volume>5</volume>
          -
          <issue>10</issue>
          ,
          <year>2020</year>
          . pp.
          <fpage>2114</fpage>
          -
          <lpage>2119</lpage>
          . Association for Computational Linguistics (
          <year>2020</year>
          ), https://doi.org/10.18653/v1/
          <year>2020</year>
          .acl-main.
          <fpage>191</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Devlin</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chang</surname>
            ,
            <given-names>M.W.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lee</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Toutanova</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          : BERT:
          <article-title>Pre-training of deep bidirectional transformers for language understanding</article-title>
          .
          <source>In: Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies</source>
          , Volume
          <volume>1</volume>
          (Long and Short Papers). pp.
          <fpage>4171</fpage>
          -
          <lpage>4186</lpage>
          . Association for Computational Linguistics, Minneapolis,
          <source>Minnesota (Jun</source>
          <year>2019</year>
          ), https://www.aclweb.org/anthology/N19-1423
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Fersini</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Nozza</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rosso</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          :
          <article-title>Overview of the evalita 2018 task on automatic misogyny identification (AMI)</article-title>
          .
          <source>In: Proceedings of the Sixth Evaluation Campaign of Natural Language Processing and Speech Tools for Italian. Final Workshop (EVALITA</source>
          <year>2018</year>
          )
          <article-title>co-located with the Fifth Italian Conference on Computational Linguistics (CLiC-it</article-title>
          <year>2018</year>
          ), Turin, Italy,
          <source>December 12-13</source>
          ,
          <year>2018</year>
          .
          <source>CEUR Workshop Proceedings</source>
          , vol.
          <volume>2263</volume>
          .
          <string-name>
            <surname>CEUR-WS.org</surname>
          </string-name>
          (
          <year>2018</year>
          ), http://ceur-ws.org/Vol2263/paper009.pdf
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Founta</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chatzakou</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kourtellis</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Blackburn</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Vakali</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Leontiadis</surname>
            ,
            <given-names>I.:</given-names>
          </string-name>
          <article-title>A unified deep learning architecture for abuse detection</article-title>
          . CoRR abs/
          <year>1802</year>
          .00385 (
          <year>2018</year>
          ), http://arxiv.org/abs/
          <year>1802</year>
          .00385
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Goldberg</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          :
          <article-title>A primer on neural network models for natural language processing</article-title>
          .
          <source>J. Artif. Int. Res</source>
          .
          <volume>57</volume>
          (
          <issue>1</issue>
          ),
          <fpage>345</fpage>
          -
          <lpage>420</lpage>
          (
          <year>Sep 2016</year>
          ), http://dl.acm.org/citation.cfm?id=
          <volume>3176748</volume>
          .
          <fpage>3176757</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Goodfellow</surname>
            ,
            <given-names>I.J.:</given-names>
          </string-name>
          <article-title>NIPS 2016 tutorial: Generative adversarial networks</article-title>
          .
          <source>CoRR abs/1701</source>
          .00160 (
          <year>2017</year>
          ), http://arxiv.org/abs/1701.00160
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Hendrycks</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gimpel</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          :
          <article-title>Bridging nonlinearities and stochastic regularizers with gaussian error linear units</article-title>
          .
          <source>CoRR abs/1606</source>
          .08415 (
          <year>2016</year>
          ), http://arxiv.org/abs/1606.08415
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Kim</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          :
          <article-title>Convolutional neural networks for sentence classification</article-title>
          .
          <source>In: Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing, EMNLP 2014, October 25-29</source>
          ,
          <year>2014</year>
          , Doha,
          <string-name>
            <surname>Qatar,</surname>
          </string-name>
          <article-title>A meeting of SIGDAT, a Special Interest Group of the ACL</article-title>
          . pp.
          <fpage>1746</fpage>
          -
          <lpage>1751</lpage>
          (
          <year>2014</year>
          ), http://aclweb.org/anthology/D/D14/D14-1181.pdf
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>Kim</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Jernite</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sontag</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rush</surname>
            ,
            <given-names>A.M.</given-names>
          </string-name>
          :
          <article-title>Character-aware neural language models</article-title>
          .
          <source>In: Proceedings of the Thirtieth AAAI Conference on Artificial Intelligence, February 12-17</source>
          ,
          <year>2016</year>
          , Phoenix, Arizona, USA. pp.
          <fpage>2741</fpage>
          -
          <lpage>2749</lpage>
          (
          <year>2016</year>
          ), http://www.aaai.org/ocs/index.php/AAAI/AAAI16/paper/view/12489
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <surname>Kipf</surname>
            ,
            <given-names>T.N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Welling</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Semi-supervised classification with graph convolutional networks</article-title>
          .
          <source>CoRR abs/1609</source>
          .02907 (
          <year>2016</year>
          ), http://arxiv.org/abs/1609.02907
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <surname>Liu</surname>
            ,
            <given-names>X.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>He</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chen</surname>
            ,
            <given-names>W.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gao</surname>
            ,
            <given-names>J.:</given-names>
          </string-name>
          <article-title>Multi-task deep neural networks for natural language understanding</article-title>
          . CoRR abs/
          <year>1901</year>
          .11504 (
          <year>2019</year>
          ), http://arxiv.org/abs/
          <year>1901</year>
          .11504
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14.
          <string-name>
            <surname>Liu</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ott</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Goyal</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Du</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Joshi</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chen</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Levy</surname>
            ,
            <given-names>O.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lewis</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zettlemoyer</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Stoyanov</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          :
          <article-title>Roberta: A robustly optimized bert pretraining approach</article-title>
          . ArXiv abs/
          <year>1907</year>
          .11692 (
          <year>2019</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          15.
          <string-name>
            <surname>Miliani</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Giorgi</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rama</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Anselmi</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lebani</surname>
            ,
            <given-names>G.E.</given-names>
          </string-name>
          :
          <article-title>Dankmemes @ evalita2020: The memeing of life: memes, multimodality and politics)</article-title>
          . In: Basile,
          <string-name>
            <given-names>V.</given-names>
            ,
            <surname>Croce</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            ,
            <surname>Di</surname>
          </string-name>
          <string-name>
            <surname>Maro</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            ,
            <surname>Passaro</surname>
          </string-name>
          , L.C. (eds.)
          <source>Proceedings of Seventh Evaluation Campaign of Natural Language Processing and Speech Tools for Italian. Final Workshop (EVALITA</source>
          <year>2020</year>
          ). CEUR.org,
          <string-name>
            <surname>Online</surname>
          </string-name>
          (
          <year>2020</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          16.
          <string-name>
            <surname>Mishra</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Tredici</surname>
            ,
            <given-names>M.D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Yannakoudakis</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Shutova</surname>
          </string-name>
          , E.:
          <article-title>Abusive language detection with graph convolutional networks</article-title>
          .
          <source>CoRR abs/1904</source>
          .04073 (
          <year>2019</year>
          ), http://arxiv.org/abs/
          <year>1904</year>
          .04073
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          17.
          <string-name>
            <surname>Mishra</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Yannakoudakis</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Shutova</surname>
          </string-name>
          , E.:
          <article-title>Tackling online abuse: A survey of automated abuse detection methods</article-title>
          . CoRR abs/
          <year>1908</year>
          .06024 (
          <year>2019</year>
          ), http://arxiv.org/abs/
          <year>1908</year>
          .06024
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          18.
          <string-name>
            <surname>Nobata</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Tetreault</surname>
          </string-name>
          , J.,
          <string-name>
            <surname>Thomas</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mehdad</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chang</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          :
          <article-title>Abusive language detection in online user content</article-title>
          .
          <source>In: Proceedings of the 25th International Conference on World Wide Web</source>
          . p.
          <fpage>145</fpage>
          -
          <lpage>153</lpage>
          . WWW '16,
          <string-name>
            <given-names>International</given-names>
            <surname>World Wide Web Conferences Steering Committee</surname>
          </string-name>
          , Republic and Canton of Geneva, CHE (
          <year>2016</year>
          ). https://doi.org/10.1145/2872427.2883062, https://doi.org/10.1145/2872427.2883062
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          19.
          <string-name>
            <surname>Poletto</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Stranisci</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sanguinetti</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Patti</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bosco</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          :
          <article-title>Hate speech annotation: Analysis of an italian twitter corpus</article-title>
          . In: CLiC-it (
          <year>2017</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          20.
          <string-name>
            <surname>Rajamanickam</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mishra</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Yannakoudakis</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Shutova</surname>
          </string-name>
          , E.:
          <article-title>Joint modelling of emotion and abusive language detection</article-title>
          . CoRR abs/
          <year>2005</year>
          .14028 (
          <year>2020</year>
          ), https://arxiv.org/abs/
          <year>2005</year>
          .14028
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          21.
          <string-name>
            <surname>Salimans</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Goodfellow</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zaremba</surname>
            ,
            <given-names>W.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cheung</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Radford</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chen</surname>
            ,
            <given-names>X.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chen</surname>
            ,
            <given-names>X.</given-names>
          </string-name>
          :
          <article-title>Improved techniques for training gans</article-title>
          . In: Lee,
          <string-name>
            <given-names>D.D.</given-names>
            ,
            <surname>Sugiyama</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            ,
            <surname>Luxburg</surname>
          </string-name>
          ,
          <string-name>
            <given-names>U.V.</given-names>
            ,
            <surname>Guyon</surname>
          </string-name>
          ,
          <string-name>
            <given-names>I.</given-names>
            ,
            <surname>Garnett</surname>
          </string-name>
          ,
          <string-name>
            <surname>R</surname>
          </string-name>
          . (eds.)
          <source>Advances in Neural Information Processing Systems</source>
          <volume>29</volume>
          , pp.
          <fpage>2234</fpage>
          -
          <lpage>2242</lpage>
          . Curran Associates, Inc. (
          <year>2016</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          22.
          <string-name>
            <surname>Sanguinetti</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Poletto</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bosco</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Patti</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Stranisci</surname>
            ,
            <given-names>M.:</given-names>
          </string-name>
          <article-title>An italian twitter corpus of hate speech against immigrants</article-title>
          .
          <source>In: LREC</source>
          (
          <year>2018</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref23">
        <mixed-citation>
          23.
          <string-name>
            <surname>Sanh</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Debut</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chaumond</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wolf</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          :
          <article-title>Distilbert, a distilled version of BERT: smaller, faster, cheaper and lighter</article-title>
          . CoRR abs/
          <year>1910</year>
          .01108 (
          <year>2019</year>
          ), http://arxiv.org/abs/
          <year>1910</year>
          .01108
        </mixed-citation>
      </ref>
      <ref id="ref24">
        <mixed-citation>
          24.
          <string-name>
            <surname>Sharir</surname>
            ,
            <given-names>O.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Peleg</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Shoham</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          :
          <article-title>The cost of training NLP models: A concise overview</article-title>
          . CoRR abs/
          <year>2004</year>
          .08900 (
          <year>2020</year>
          ), https://arxiv.org/abs/
          <year>2004</year>
          .08900
        </mixed-citation>
      </ref>
      <ref id="ref25">
        <mixed-citation>
          25.
          <string-name>
            <surname>Shen</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Dong</surname>
            ,
            <given-names>Z.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ye</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ma</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Yao</surname>
            ,
            <given-names>Z.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gholami</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mahoney</surname>
            ,
            <given-names>M.W.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Keutzer</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          :
          <article-title>Q-BERT: hessian based ultra low precision quantization of BERT</article-title>
          . CoRR abs/
          <year>1909</year>
          .05840 (
          <year>2019</year>
          ), http://arxiv.org/abs/
          <year>1909</year>
          .05840
        </mixed-citation>
      </ref>
      <ref id="ref26">
        <mixed-citation>
          26.
          <string-name>
            <surname>Vidgen</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Derczynski</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          :
          <article-title>Directions in abusive language training data, a systematic review: Garbage in, garbage out</article-title>
          .
          <source>PLOS ONE</source>
          <volume>15</volume>
          (
          <issue>12</issue>
          ),
          <fpage>1</fpage>
          -
          <lpage>32</lpage>
          (12
          <year>2021</year>
          ). https://doi.org/10.1371/journal.pone.
          <volume>0243300</volume>
          , https://doi.org/10.1371/journal.pone.0243300
        </mixed-citation>
      </ref>
      <ref id="ref27">
        <mixed-citation>
          27.
          <string-name>
            <surname>Voita</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Talbot</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Moiseev</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sennrich</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Titov</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          :
          <article-title>Analyzing multi-head self-attention: Specialized heads do the heavy lifting, the rest can be pruned</article-title>
          . CoRR abs/
          <year>1905</year>
          .09418 (
          <year>2019</year>
          ), http://arxiv.org/abs/
          <year>1905</year>
          .09418
        </mixed-citation>
      </ref>
      <ref id="ref28">
        <mixed-citation>
          28.
          <string-name>
            <surname>Weston</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ratle</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Collobert</surname>
          </string-name>
          , R.:
          <article-title>Deep learning via semisupervised embedding</article-title>
          .
          <source>In: Proceedings of the 25th International Conference on Machine Learning</source>
          . pp.
          <fpage>1168</fpage>
          -
          <lpage>1175</lpage>
          . ICML '08,
          <string-name>
            <surname>ACM</surname>
          </string-name>
          , New York, NY, USA (
          <year>2008</year>
          ). https://doi.org/10.1145/1390156.1390303, http://doi.acm.
          <source>org/10</source>
          .1145/1390156.1390303
        </mixed-citation>
      </ref>
      <ref id="ref29">
        <mixed-citation>
          29.
          <string-name>
            <surname>Wolf</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Debut</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sanh</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chaumond</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Delangue</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Moi</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cistac</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rault</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Louf</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Funtowicz</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Brew</surname>
          </string-name>
          , J.:
          <article-title>Huggingface's transformers: State-of-the-art natural language processing</article-title>
          . CoRR abs/
          <year>1910</year>
          .03771 (
          <year>2019</year>
          ), http://arxiv.org/abs/
          <year>1910</year>
          .03771
        </mixed-citation>
      </ref>
      <ref id="ref30">
        <mixed-citation>
          30.
          <string-name>
            <surname>Yang</surname>
            ,
            <given-names>Z.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cohen</surname>
            ,
            <given-names>W.W.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Salakhutdinov</surname>
          </string-name>
          , R.:
          <article-title>Revisiting semi-supervised learning with graph embeddings</article-title>
          .
          <source>In: Proceedings of the 33rd International Conference on International Conference on Machine Learning - Volume 48</source>
          . pp.
          <fpage>40</fpage>
          -
          <lpage>48</lpage>
          . ICML'16, JMLR.org (
          <year>2016</year>
          ), http://dl.acm.org/citation.cfm?id=
          <volume>3045390</volume>
          .
          <fpage>3045396</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref31">
        <mixed-citation>
          31.
          <string-name>
            <surname>Zhang</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Yang</surname>
            ,
            <given-names>Q.</given-names>
          </string-name>
          :
          <article-title>A survey on multi-task learning</article-title>
          .
          <source>CoRR abs/1707</source>
          .08114 (
          <year>2017</year>
          ), http://arxiv.org/abs/1707.08114
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>