<!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>Adapting Transformers for Multi-Label Text Classification</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Haytame Fallah</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Patrice Bellot</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Emmanuel Bruno</string-name>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Elisabeth Murisasco</string-name>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Aix-Marseille Univ, University of Toulon</institution>
          ,
          <addr-line>CNRS, LIS, Marseille</addr-line>
          ,
          <country country="FR">France</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Hyperbios</institution>
          ,
          <addr-line>Toulon</addr-line>
          ,
          <country country="FR">France</country>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>University of Toulon</institution>
          ,
          <addr-line>Aix-Marseille Univ, CNRS, LIS, Toulon</addr-line>
          ,
          <country country="FR">France</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>Pre-trained language models have proven to be efective in multi-class text classification. Our goal is to study and improve this approach for multi-label text classification, a task that has been surprisingly little explored in the last few years despite its many real world applications. In this paper, our originality is to propose architectures for the classification layers that are used on top of transformers to improve their performance for multi-label classification. Our contribution involves the evaluation of thresholding methods on several transformers, either by computing an individual threshold for each label (IT ) or a global one (GCT ). We also propose two approaches for multi-label text classification. The first consists in adding a parameter for learning the number of labels present for a given example (NHA). The second approach consists in adding a layer to the classicfiation layers in order to learn the features for selecting the relevant labels while avoiding the use of thresholds (TL). We evaluate these approaches on two English corpora of newspaper articles and scientific papers and then on a new multi-label dataset of French scientific article abstracts publicly available. The evaluations show that the performance of our proposals exceeds that of state-of-the-art multi-label text classification methods for the evaluated datasets, and are transposable to any multi-label classification problem.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;Multi-label classification</kwd>
        <kwd>Transformers</kwd>
        <kwd>BERT</kwd>
        <kwd>French Transformers</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>Multi-label classification is a generalization of the multi-class classification problem, where
each instance is associated with exactly one label. In multi-label text classification, the goal is
to associate one or more labels to the input text sample. It is an important natural language
processing task that has many applications in other NLP tasks such as question answering or
entity recognition, but also real-world applications such as information retrieval (e.g. metadata
enrichment and analysis in digital libraries) or content recommendation, and so on.</p>
      <p>Multi-label text classification is a challenging task due to the fact that several factors must be
taken into account such as the dependencies that can exist between the labels, the complexity of
extracting semantic features from the noisy input text that can contain redundant information,
and mapping those features to multiple targets, while also finding the discriminative information
that allows the identification of each label of the document.</p>
      <p>
        Several methods have been proposed to tackle the multi-label classification problem, whether
it’s traditional methods such as Binary Relevance [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ], or deep learning-based approaches such
as CNN, RNN (and a combination of both approaches [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]) or the attention mechanism. These
methods manage to capture the semantic features of the document but fail to consider the
dependencies that can exist between labels. Hierarchical models [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] and graph neural networks
[
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] as well as other architectures [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] have been introduced to better capture those dependencies.
But with the emergence of attention-based transformers [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] and their ability to better extract
the semantic representations of text documents, and adaptation of these models for multi-label
text classification, that has the potential of achieving overall better results, is yet to be explored.
      </p>
      <p>
        Few multi-label text datasets are popular among the papers treating the multi-label problem.
AAPD [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] and Reuters [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] seem to be the most used datasets in the literature. This is even more
true for the french language, only a few studies have involved french datasets in multi-label
text classification [
        <xref ref-type="bibr" rid="ref8 ref9">8, 9</xref>
        ]. We, therefore, introduce in this paper a new french multi-label dataset.
      </p>
      <p>In this article, our main contributions are :
• The creation of a French corpus of multi-label text classification, MFHAD (for Multilabel
French HAL Abstracts Dataset), containing the abstracts of scientific articles obtained
from the open archive HAL (https://hal.archives-ouvertes.fr) that contains more than one
million papers,
• The adaptation of available transformer models for multi-label classification,
• The study of threshold selection methods for more eficient exploitation of the results
of the transformer models, in particular, the choice of a global threshold , or a threshold
specific to each label for the individual optimization of the labels,
• The proposal of two alternative approaches to thresholding for the selection of relevant
labels. The first one consists in introducing a parameter at the last layer of the transformer
which will be trained for the calculation of the number of labels present in an example, the
value of this parameter will be used to select the labels having the strongest activations;
The second one consists in adding a final layer to the model, which will have the same
number of parameters as the second last layer (equal to the number of labels), in order to
obtain more discriminating activation values for the given example, i.e. high activation if
labels are present, low activation in the opposite case.</p>
      <p>The article is organized as follows: the section 2 presents the approaches that address the
multi-label classification problem, the sections 3 and 4 describe the proposed approaches and
the section 5 is dedicated to experiments.</p>
    </sec>
    <sec id="sec-2">
      <title>2. Related Work</title>
      <p>In multi-class classification, each example (instance)  in the dataset is associated with a single
label. Multi-label classification is furthermore about being able to associate each entry with
multiple Y labels, rather than just one.</p>
      <sec id="sec-2-1">
        <title>2.1. Multi-label Classification Strategies</title>
        <p>Multi-label classification methods can be classified into three categories: problem transformation,
adaptation, and ensemble methods.</p>
        <sec id="sec-2-1-1">
          <title>2.1.1. Problem Transformation (PT)</title>
          <p>
            Problem transformation consists in ’transforming’ the dataset to change the problem into
a single-label multi-class classification. One such method is to consider all possible unique
combinations of labels, label powerset [
            <xref ref-type="bibr" rid="ref10">10</xref>
            ], and train a multi-class classifier  :  →  ( ),
where  ( ) is the powerset of Y, the set of unique and distinct subsets of labels. In addition
to the high number of possible labels that can reach 2| |, the challenge lies in finding enough
examples for each combination of labels. For a large |Y|, the training and inference time of
the models is high. It is important to note, that by transforming the problem into a
multiclass classification, the dependencies that may exist between the diferent labels are no longer
considered [
            <xref ref-type="bibr" rid="ref11">11</xref>
            ].
          </p>
        </sec>
        <sec id="sec-2-1-2">
          <title>2.1.2. Ensemble Methods</title>
          <p>
            A set of multi-class classifiers can be combined to create a multi-label classifier. For a given
instance, each classifier will predict a single label and all outputs of these classifiers are then
combined via an ensemble method. One of these methods consists in considering a label as
present if a percentage of classifiers having predicted this label is reached, also called the
discriminative threshold. The  algorithm [
            <xref ref-type="bibr" rid="ref12">12</xref>
            ] is another variation of this method.
Classifiers trained on random subsets of the labels powersets are used for the creation of a
multi-label classifier, the predictions of these classifiers go through a voting system for the final
prediction. The use of multiple classifiers imposes strong constraints in terms of memory use,
as well as the need to optimize a number of models that increase linearly with the number of
labels in the dataset.
          </p>
        </sec>
        <sec id="sec-2-1-3">
          <title>2.1.3. Problem Adaptation (PA)</title>
          <p>
            Problem adaptation methods do not require a transformation of the dataset but an adaptation of
classification algorithms, such as ML-kNN [
            <xref ref-type="bibr" rid="ref13">13</xref>
            ] which extends the kNN algorithm for multi-label
data, or BP-MLL [
            <xref ref-type="bibr" rid="ref14">14</xref>
            ] an adaptation of the backpropagation algorithm for neural networks.
          </p>
          <p>The adaptation of deep learning algorithms for multi-labels remains in general an avenue with
few contributions. An adaptation of these approaches could contribute to a significant increase
in performance. The use of a single model without the need for prior data transformation is an
eficient method to try to address the multi-label problem.</p>
        </sec>
      </sec>
      <sec id="sec-2-2">
        <title>2.2. Thresholding Methods</title>
        <p>Thresholding methods directly impact the choice of a label for the multi-label problem. The
threshold can be adjusted in several ways, either to optimize all the labels (a global threshold),
or to optimize each label individually (number of thresholds equal to the number of labels). Let
 be the number of examples in the test dataset (or validation) and  the number of labels.
The four most commonly used strategies for choosing the threshold(s) are:</p>
        <p>
          - SCut: Labels are optimized individually, thresholds are chosen based on the validation set,
measured either by maximizing a score or minimizing a cost function and without guaranteeing
a global optimum. This method can also be used to obtain a global threshold;
- RCut (Rank Cut) : Labels are ordered according to their score, the  first labels are chosen
as relevant labels. The  parameter is either predefined or set from the validation dataset [
          <xref ref-type="bibr" rid="ref15">15</xref>
          ];
- PCut (Proportion Cut): for each label , the instances of the test data set are ordered
according to the score obtained for this label. The first  instances are chosen for the label
 where  =  () ×  ×  is the number of instances assigned to this label.  () is the
probability an instance belonging to the label  (computed from the training set), and  the
average number of instances to be assigned for any label previously set. If  =  all instances
are taken, for  = 0 no instance is considered to be part of the evaluated label [
          <xref ref-type="bibr" rid="ref16 ref17">16, 17</xref>
          ];
- MCut (Maximum Cut): the labels are ordered from the scores obtained for an instance of
the dataset, the threshold is equal to the average of the two contiguous labels for which the
score diference is the most important [
          <xref ref-type="bibr" rid="ref18">18</xref>
          ].
        </p>
        <p>
          Variations of these methods aiming to overcome the constraints they may impose have been
proposed [
          <xref ref-type="bibr" rid="ref15">15</xref>
          ]. The classification score-based methods are the best among the thresholding
approaches [
          <xref ref-type="bibr" rid="ref19">19</xref>
          ]. In this paper, the proposed approaches are similar in nature to the Scut and
RCut methods, but with diferent implementations.
        </p>
        <p>…</p>
        <p>…</p>
        <p>C (1)
C (0) = [CLS] pooler</p>
        <p>…</p>
        <p>C (L)
Transformer Layer-12
Transformer Layer-2
Transformer Layer-1
ny activations : al(L)</p>
        <p>Transformer
embeddings</p>
      </sec>
      <sec id="sec-2-3">
        <title>2.3. Deep learning based approaches</title>
        <p>
          [
          <xref ref-type="bibr" rid="ref20">20</xref>
          ] uses a neural network for multi-label classification in spectroscopic multi-composition
analysis, a network composed of a classifier to which a parameter is added for learning an
activation threshold. This parameter will be optimized according to the threshold computed by
applying the model on the training set, the target value of the threshold will thus be diferent
for each iteration of the training phase, rendering the training process much more dificult.
        </p>
        <p>
          On the other hand, MAGNET [
          <xref ref-type="bibr" rid="ref4">4</xref>
          ], a graph network implementing the attention mechanism to
capture the dependency structure between labels that uses BERT’s embeddings, explicitly tries
to tackle the Multi-label text classification problem and manages to have good performances in
F1 for the AAPD and Reuters datasets (cf. section 5.2). DocBERT [
          <xref ref-type="bibr" rid="ref21">21</xref>
          ], which is now the state of
the art reference, adds a linear network to the head of BERT, but without subsequent processing
of the model outputs that can enhance the performance of the transformer (e.g. thresholding
techniques to better choose the correct present labels).
        </p>
        <p>Transformers have been used for the ’extreme’ multi-label classification of text where very
large corpora of texts with a number of labels that can reach tens of thousands are processed.
Such architectures are not well suited for short texts.</p>
        <p>Attempts to use neural networks for text classification do not focus on multi-label
classification. Those that do deal with this problem generally do not give importance to how the output
layer activations are exploited (e.g. use of thresholds).</p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>3. BERT Adaptation</title>
      <p>BERT introduces bi-directionality in the prediction of masked tokens, where both the left and
right semantic contexts of the word to be predicted are considered. In addition to masked
language modeling, BERT is trained for next-sentence prediction, a task where the model
receives a pair of sentences and tries to predict whether the second sentence follows the first.
BERT introduces a special classification token [CLS] (also having an identifier and an embedding
vector) containing a hidden state of the sentence, updated in each layer of the model.</p>
      <p>
        A feed-forward neural network (FFNN) of  dense layers (usually =2) is added on top of the
last transformer layers of the model. This is done to fine-tune the pre-trained transformer for
the desired NLP task (text classification in our case). The token [CLS] is the input of this FFNN,
and  outputs corresponding to the labels of the dataset (similar approach to [
        <xref ref-type="bibr" rid="ref21">21</xref>
        ]. Figure 1
shows the architecture of the model.
      </p>
      <p>For multi-label classification, the values of the [] activations of the [] output layer can
be used to determine the presence of a label. Each activation can be a value between 0 and
1 representing a probability of the presence of the corresponding label. A threshold is then
used for the label selection process, the trivial value of 0.5 is usually used for this purpose. The
Sigmoid  function is the activation function that is suited for this case, alongside the Binary
Cross Entropy as a loss function.</p>
      <p>This approach cannot be considered completely as a problem transformation, it does not
require a transformation of the dataset or the creation of multiple binary classifiers. It also does
not a complete adaptation of neural networks for multi-label classification, the results must be
processed later on for the final classifications.</p>
      <p>#of Labels</p>
      <p>Parameter
…
…</p>
      <p>… activatinoyns :al(n)
C (0) ([CLS]) C (1)</p>
      <p>C (n)
Transformer</p>
      <p>MAE / MSE
BCE
…
…
…</p>
      <p>…
C (0) ([CLS]) C (1)</p>
      <p>C (2) C (n)
ny activations ny activations</p>
    </sec>
    <sec id="sec-4">
      <title>4. Thresholding methods</title>
      <p>Thresholding approaches can be applied to the transformer if we consider each activation in the
ifnal layer to be a representation of a binary classifier of the label it represents. If the activation
is high, the label is considered to be a valid label, and vice-versa.</p>
      <p>We propose two alternative methods to thresholding in an attempt for more eficient use of
the [] activation values of the output layer. These approaches aim to avoid thresholding by
learning text-specific features for a better label selection.</p>
      <sec id="sec-4-1">
        <title>4.1. Global Classification Threshold (GCT)</title>
        <p>The classification threshold  can be chosen to maximize the classification scores. During the
training of the model and after each iteration, the value of  is varied from 0 to 1, with a step
defined beforehand ( 10− 2). The micro-F1 score is then computed for each threshold . We
ifnally obtain the global optimal threshold  which provides the best performance on the
training dataset. This threshold is then used for the validation and test datasets. The set of
labels  present for an example  can be expressed as:
∈ = ∪∈ {} :  ([])) ≥ 
(1)
[] being the activation corresponding to label  among the activations []. A variant of
the SCut method (with a global threshold) consists in fine-tuning the optimal threshold from
the validation dataset and then applying it to the test dataset. Only the first approach has been
studied in this article.</p>
      </sec>
      <sec id="sec-4-2">
        <title>4.2. Individual Thresholds (IT)</title>
        <p>The use of a shared threshold  for all labels assumes that the features associated with the
activations [] are the same for each label, which is not the case, the activation intensity of a
[], when the label  is present, varies from label to label, an efect
neuron in the last layer 
that is accentuated if the dataset is unbalanced.</p>
        <p>We, therefore, propose to evaluate the SCut method (with individual thresholds) by setting a
threshold  for each label  in the dataset, assigned to the [] activations of []. The values
of  are the values that maximize the classification scores for a label . These thresholds are
computed as for  during the training phase of the model, and on the training dataset, by
varying each threshold to maximize the F1 score for each label.</p>
        <p>∈ = ∪∈ {} :  ([]) ≥ 
(2)</p>
      </sec>
      <sec id="sec-4-3">
        <title>4.3. N Highest Activations (NHA)</title>
        <p>Using a threshold to determine the presence of a label leads in several cases to an
underclassification (respectively over-classification) of an instance when the predicted number of
labels is lower (respectively higher) than the actual number of labels. The first proposed
alternative consists in introducing a neuron at the last layer which will be used only for
computing the number of labels  present for an instance. Let ′[] be the list of the  highest
activations, and  being the actual number of labels present for a given instance:
∈ = ∪∈ {} :  ∈ ′[])
[])
(3)
The number of labels present for an instance is the target value, the mean absolute error
MAE is used as a loss function for this regression problem. We use a single optimizer in the
backpropagation, therefore, the error of the regression must be scaled to match the classification
error, done by reducing the regression error by a factor of 5. The value of this neuron will be
used to recover the  highest activations that will be considered as predicted labels, similarly
to the RCut method. Figure 2a shows the model architecture for this approach.</p>
        <p>The objective of this architecture is to extract from the [CLS] token, criteria or features about
the number of distinct topics present in the text. This token, the final output of the transformer
layers, contains an information-rich representation of the input text.</p>
      </sec>
      <sec id="sec-4-4">
        <title>4.4. Threshold Layer (TL)</title>
        <p>The second proposed approach is based on the addition of a dense layer, after the output of the
classifier, for a total of  = 3 layers, having  neurons to match the last classification layer
of the model. This additional layer aims to make the values of the final activations as close as
possible to 1 in the case of the presence of the label, or to 0 in the opposite case. Therefore, the
trivial threshold of 0.5 can be used for the classification.</p>
        <p>The addition of this layer could result in an increase in the recall of the classifier as many
activations of the non-present labels will no longer exceed the classification threshold since
they will be as close as possible to 0. A gain in precision can also be expected as the activations
of the present labels will be emphasized more than the activations of the irrelevant labels.</p>
        <p>For this approach, we use two optimizers, the first one which includes and optimizes all
the layers of the transformers as well as the first two layers of the classifier, and another one
dedicated to the optimization of the last layer that we added. The error function used is the
same for both parts of the classifier, the BCE in this case. The final architecture of the classifier
is presented in the figure 2b</p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>5. Experiments and Results</title>
      <p>We present in this section the results of the evaluation of non-deep learning baselines as
well as all the previously mentioned methods on three multi-label text datasets, including the
French dataset "MFHAD" that we have designed and made available. We compare the diferent
methods, i.e. the thresholding methods as well as the proposed alternatives coupled with BERT
transformer and its variants, to baseline approaches, all put in perspective with optimal target
results (oracle approaches).</p>
      <sec id="sec-5-1">
        <title>5.1. Evaluated Transformers</title>
        <p>
          For the evaluation of the proposed methods, we use HugginFace’s [
          <xref ref-type="bibr" rid="ref22">22</xref>
          ] implementation of the
uncased-base version of BERT, with 12 transformer layers and an embedding vector of size 768
dimensions, as well as variants of BERT (uncased-base versions):
        </p>
        <p>
          - RoBERTa [
          <xref ref-type="bibr" rid="ref23">23</xref>
          ] a variant with an optimized training process, where the Next Sentence
Prediction part of BERT is removed. The dataset used is ten times larger than the one used for
BERT. This has led to a performance gain over the original version on the automatic language
processing tasks in the GLUE benchmark;
        </p>
        <p>
          - DistilBERT [
          <xref ref-type="bibr" rid="ref24">24</xref>
          ], an eficient variant of BERT that uses knowledge distillation to shrink
the size of BERT by 40% while keeping 97% of its performance. DistilBERT is based on the fact
that after training a very large model, the output distribution can be approximated by a much
smaller neural network, using the Kulback-Leiber divergence [
          <xref ref-type="bibr" rid="ref25">25</xref>
          ] as the optimization function ;
- DeBERTa [
          <xref ref-type="bibr" rid="ref26">26</xref>
          ], the most recent variant of BERT where words are represented by two vectors
that encode their content and their relative position in the sentence. It is also characterized
by the optimization of the decoding of the prediction of hidden tokens, which contributes to a
significant gain in eficiency in the pre-training phase of the model, but also in the performances
concerning the various natural language processing tasks;
- CamemBERT [
          <xref ref-type="bibr" rid="ref27">27</xref>
          ] is based on RoBERTa, trained on the French part of OSCAR [28];
- FlauBERT [29] trained on various French sub-corpora of diferent writing styles, from
formal writings (e.g. Wikipedia and books), to writings extracted from the internet (e.g. Common
Crawl). For this variant, we use the cased-base version.
        </p>
        <p>The comparison of diferent transformers is important to evaluate the performance of our
approaches as well as their re-usability and applicability on diferent transformer architectures.</p>
      </sec>
      <sec id="sec-5-2">
        <title>5.2. Datasets</title>
        <p>Multi-label text classification is not present in NLP leaderboards, the GLUE benchmark for
example, nor in recent CLEF or Semeval conferences. There are few multi-label corpora
frequently used in the literature that can be used to evaluate and compare models, and this is even
more true for the French language. To remedy this, we have built our own corpus comprised
of abstracts of scientific articles written in French from HAL, a corpus that we make available
to the public. In this section, we provide details about the diferent datasets used 1 for the
evaluation of the diferent models :</p>
        <p>- MFHAD2: Our dataset is comprised of abstracts of french scientific papers collected from
’HAL’, an open academic research archive, distributed over three major scientific domains, i.e.
computer science, physics, and mathematics. Articles published between 1980 and 2021 that
have a french abstract, which represents 15 771 documents distributed over 200 diferent labels;
- Reuter-21578 3 is a collection of articles from the Reuters newswire from the year 1987. It
is a dataset that has been often used to evaluate models for multi-label text classification. An
article can belong to one or more of the 90 domains of the dataset;</p>
        <p>
          - AAPD (or ArXiv Academic Paper Dataset) is, not unlike the "MFHAD", a collection of the
"Abstract" of several scientific publications. An article can have one or more classifications
among 54 labels. We use the same training, validation, and test distribution as [
          <xref ref-type="bibr" rid="ref5">5</xref>
          ].
        </p>
        <p>Table 1) and figure 3 present the diferent characteristics of these datasets in more detail.</p>
      </sec>
      <sec id="sec-5-3">
        <title>5.3. Evaluation Method</title>
        <p>We will compare the two proposed approaches as well as the coupling of thresholding methods
to transformers with methods that are more explicit on the label selection criteria, but also
with other adaptations of deep learning models to multi-label text classification. We will also
compare all these methods to several upper bounds that represent the optimal results that can
be achieved.
1All datasets can be downloaded here: https://zenodo.org/record/6344750#.Yio1YH_MK-r
2The extraction of these abstracts was made using the tool made available by HAL: https://api.archives-ouvertes.fr/
docs/search
3https://archive.ics.uci.edu/ml/datasets/reuters-21578+text+categorization+collection</p>
        <sec id="sec-5-3-1">
          <title>5.3.1. Baselines</title>
          <p>We will first do a comparison with non-neuronal approaches, with interpretable machine
learning classification criteria, using TF-IDF extracted features (with no maximum number of
features for each dataset), as inputs:</p>
          <p>- Decision trees using the "Gini" criterion, without a maximum tree depth, and 2 as the
minimum samples for splitting nodes;</p>
          <p>- Random Forest with 100 estimators (number of trees) and the same parameters used in
the previous method for each tree;
- Bagging using decision trees as main estimator (10 estimators);
- GradientBoosting with logistic regression as error function, a learning rate of 0.1 and 100
estimators;
- Support Vector machine using RBF as the kernel and a regularization parameter of 1.0.</p>
          <p>We also include deep learning approaches as a comparison for the evaluation of our
approaches:</p>
          <p>
            - CNN [30] and CNN-RNN [
            <xref ref-type="bibr" rid="ref2">2</xref>
            ] which use convolutional neural networks to extract
textspecific features;
          </p>
          <p>
            - SGM [
            <xref ref-type="bibr" rid="ref5">5</xref>
            ] which applies a sequence generation model with a new decoder structure for
multi-label classification;
          </p>
          <p>
            - MAGNET [
            <xref ref-type="bibr" rid="ref4">4</xref>
            ] a graph network implementing the attention mechanism to capture
dependencies between labels;
          </p>
          <p>
            - DocBERT [
            <xref ref-type="bibr" rid="ref21">21</xref>
            ]: a fine-tuning of the base and large versions of BERT for document
classification.
          </p>
          <p>To evaluate the performance gain of our approaches, we compare them to an unchanged
version of each transformer model, where no architecture modification is applied, and the
classification threshold is the trivial value of 0.5.</p>
        </sec>
      </sec>
      <sec id="sec-5-4">
        <title>5.4. Oracle Approaches</title>
        <p>The target theoretical optimums (oracle approaches) are represented by the following two
approaches:</p>
        <p>- The oracle approach for the N highest activation, where we consider the number of labels
present for an instance as a given and then take the  highest activations as the present labels;
- The oracle approach for both SCut thresholding methods, where the calculation of the
global threshold and the individual thresholds is done from the test dataset. Considered as the
optimal results towards which these methods should come as close as possible.</p>
      </sec>
      <sec id="sec-5-5">
        <title>5.5. Results</title>
        <p>In this section, we present the performances of all the approaches mentioned in the previous
sections, tested on the diferent transformers presented in section 3. We propose the following
notations for these approaches:
- "GCT": The Global Optimal Threshold method (see section 4.1);
- "IT": The Individual Threshold method (see section 4.2);
- "NHA": The N largest activations approach (see section 4.3);
- "TL": Denotes the "thresholding layer" approach (see section 4.4). As for the oracle
approaches, they will be designated by adding  after the corresponding approaches.</p>
        <p>The maximum length of the sequences used is 512 tokens for all datasets. Tables 2 and 4
show the micro-F1 (with precision and recall) and Accuracy scores for the English and French
corpus test datasets respectively. The tables 3 and 5 present the optimum scores for the diferent
approaches. The results of the thresholding methods as well as the proposed architectures were
obtained from the base versions of the transformers used.</p>
        <p>Transformers outperform all other methods, whether it is the classical methods, or other deep
learning methods. Our baseline versions of BERT and its variants achieves a better performance
than the base version of DocBERT (the current state of the art in multi-label text classification
for the AAPD and Reuters corpora), and for Reuters, better than its large version. This is due to
the longer training in the fine-tuning process, 150 epochs for the Reuters dataset vs 30 in the
case of DocBert, and 40 epochs for the AAPD dataset vs 20. For transformers, a longer training
process generally yields better performance with a low risk of over-fitting.</p>
        <p>We also note that SVMs and decision trees obtain the highest micro-precision scores, at the
expense of recall rate, thus lowering the micro F1 score. But precision is not a reliable factor
for performance measurement in multi-label classification. SVM can be considered as the best
performing non-neural approach due to its high accuracy score, but it falls short of the other
methods tested.</p>
        <p>The GCT thresholding techniques seems to be the best among the evaluated approaches,
it manages to get a better micro-F1 score than its thresholding counterpart, namely the IT
approach, with a score of 91.02 vs 90.70 for the Reuters dataset, and 74.08 vs 74.04 for AAPD
(see table 2). For the Reuters Dataset, the thresholding techniques and the proposed alternatives
do not manage to achieve a gain in micro-F1 scores compared to the baseline versions, except
for the RoBERTa model. This does not apply to the AAPD dataset, gains in performance can be
perceived in using thresholding techniques or the TL approach. Especially for the RoBERTa
model where the gain is the highest. The large version of DocBERT remains the best performing</p>
        <p>Thresholding without any specific architecture (GCT and IT)</p>
        <p>Transformer Architecture Adaptation (NHA et TL)
Models
model for AAPD. The complex nature of the scientific vocabulary of this corpus underlines the
possible benefits of increasing the size of the transforming models (adding several layers and
increasing the embedding dimension).</p>
        <p>The diference in performance gains between the datasets can be due to their complexity
level. The proportion of shared tokens/words between the dictionary of the transformers and
the Reuters corpus is much higher than AAPD due to its scientifical nature, which makes the
training process much more dificult on the latter, therefore rendering the thresholding and
alternative approaches more useful to gain performance on the multi-label classification task.
Those techniques won’t be as useful if the learning process yields a good overall semantic
understanding of the dataset, in that case, a threshold of 0.5 is generally more than enough.</p>
        <p>The RoBERTa model is the lowest performing variant of BERT. But the performance gain on
RoBERTa is more perceivable for all the evaluated datasets. This can be explained by the fact that
for this variant of BERT, the Next-Sentence Prediction objective is removed in the pre-training
process. The goal of NSP is to learn long dependencies that can exist across sentences, whereas
Masked Language Modeling is more focused on understanding relationships on the word level.
For multi-label text classification, distinguishing the diference between domains across multiple
sentences is vital, and NSP is certainly a good contributing factor for this purpose.</p>
        <p>The same conclusions can be drawn from the performance data on the MFHAD dataset,
where the baseline version of FlauBERT outperforms its CamemBERT counterpart (65.92 vs
64.47 in the F1-score). This comes as no surprise knowing that the latter is a variant based on
RoBERTa that also lacks the NSP objective, but also the fact that FlauBERT is pre-trained, in
addition to text crawled from the internet (Common-Crawl), on wikipedia article and books,
thus getting more vocabulary coverage of MFHAD than CamemBERT that is pre-trained on
a corpus derived from Common-Crawl. The evaluated approaches fail in obtaining a gain in
performance for FlauBERT that achieved good performance with its baseline version but allow
CamemBERT to get closer to FlauBERT ’s performance.</p>
        <p>The TL architecture performs better than the base version of the DocBERT and MAGNET
models, and matches the large version of the former with a score of 90.70 for the DeBERTa
model on the Reuters dataset. The NHA approach does not succeed in reaching its theoretical
optimal, even though it manages to obtain a score exceeding the base version of DocBERT for the
same dataset (see Transformer Architecture Adaptation part of table 2). These two architectures
require less training time than the two thresholding methods (1.5× faster), but have a higher
inference cost, especially for TL where it’s almost twice that of the other approaches, due to
the presence of the extra layer that this architecture requires.</p>
        <p>As shown in tables 2 and 4, an increase in the recall is observed for almost every model and
every dataset for the two thresholding methods. This is due to the fact that modifying the
classification thresholds (especially by lowering them) can lead to more labels being predicted
as present, but can also lead to a decrease in precision. The same can be said for the TL
alternative method where adding an additional layer contributed in some cases to an increase
in the final activations’ values, thus using a threshold of 0.5 might include some labels that
couldn’t otherwise be predicted. The opposite efect is observed for the NHA method, where
the model predicts the most frequent number of labels present in the unbalanced dataset which
is always the smallest. This leads to an increase in precision (fewer labels are being predicted
thus fewer false positives) but this comes at the cost of the recall.</p>
        <p>The IT approach is the best performing among the evaluated oracle approaches.
Computing an individual threshold for each label from the test set leads to a global optimal score
for all labels, surpassing the optimum for the GCT method. But this is not the case for its
experimental equivalent. GCT remains the method which comes closest to its theoretical
optimum (cf. tables 3 and 2). This can be explained by the fact that for the IT method several
thresholds must be computed for each label, which does not guarantee a global optimal on all
the labels for the test set. This efect is amplified if the number of labels is large.</p>
        <p>For the theoretical optimal of the method NHA, providing the actual number of relevant labels
allows new labels to be considered as present, which increases true positives and decreases
false negatives. But this could lead to an increase in false positives as these new labels are in
some cases non-valid predictions. The instances for which this approach reduces the number
of what would have otherwise been predicted by the model (using 0.5 as a threshold) are rare.
Thus the micro F1 score in some cases may be lower compared to the theoretical optimal of the
thresholding approaches. On the other hand, a considerable increase of the accuracy is observed,
it is in fact the oracle approach that achieves the highest accuracy scores as shown in tables 3
and 5. The actual implementation of this approach did not achieve the same performance as
its theoretical optimum. The hidden state of the sentence contained in the [CLS] token may
not be suficient to estimate the number of existing labels, a task that is made harder by the
unbalanced nature of the datasets (regarding the number of labels per instance). Exploiting the
attention scores obtained in the diferent layers of the model could be a more eficient method
to accomplish this task.</p>
        <p>DeBERTa is the best performing variant of BERT among all the evaluated models, the changes
made by this variant regarding the addition of the relative position of the word to the sentence
as an input, seem to improve the performance of BERT. This performance improvement comes
at the expense of the training speed of the model (18% slower training speed than the other
variants on average, but with similar inference speeds). As for DistilBERT, it achieves results at
the same level as its original version, despite its reduced size. Knowledge distillation seems to
be an eficient method to overcome the major drawback of transformers and neural networks:
the necessity of a long training time.</p>
      </sec>
    </sec>
    <sec id="sec-6">
      <title>6. Conclusion and Future Work</title>
      <p>As far as the application domain is concerned, multi-label classification is a relevant task.
However, multi-label text classification is not a common task and, regrettably, it is not included
in the most prominent benchmarks such as GLUE.</p>
      <p>Transformer-based language models outperform other deep neural architectures and provide
a strong adaptable foundation for a multitude of NLP tasks and text classification, which is the
direction we followed in this study.</p>
      <p>First, we have tested and shown in this paper that thresholding approaches can achieve a
performance gain if the learning process does not yield good results for datasets of a complex
nature. Computing a global threshold achieves higher results than computing an individual
threshold for each class. The optimization done on each class does not guarantee a general
optimal for all labels. We then proposed modifications to the transformer architecture. This is
done by adding an additional layer, with a number of activations equal to the number of classes,
at the bottom of the model to avoid optimizing thresholds. An approach that, on average, is as
efective as thresholding approaches. The analysis of the optimal to be reached showed that the
use of the number of classes for the selection of labels significantly increases the performance.
However, the diference between the optimal and the actual results of our experiments shows
that our proposal needs to be improved in the case of unbalanced data sets. The language of the
text corpora, English for AAPD and Reuters, or French for the MFHAD corpus we have built,
does not seem to be a factor that impacts the performance of the proposed approaches. These
approaches can be used for any multilabel classification problem. Each BERT variant seeks to
improve the constraining aspects of the original model. DistilBERT, despite its reduced size,
obtains results as high as the original version. DeBERTa is the best performing variant, together
with CamemBERT which outperforms FlauBERT.</p>
      <p>We have shown the potential of approaches for adapting the transformer model for
multi-label text classification. All these approaches are not limited to text classification but
can be used for any other multi-label classification task. Our future work will be focused on
exploring other methods of adapting neural networks for multi-label text classification. The
thresholds can be learned parameters of the model during the training phase. Finding a more
efective method for computing the number of classes present for the NHA method, and finding
a better way to represent the dependencies between the labels for the TL approach, are other
areas we will explore in the future.
[28] P. J. O. Suárez, B. Sagot, L. Romary, Asynchronous Pipeline for Processing Huge Corpora
on Medium to Low Resource Infrastructures, Leibniz-Institut für Deutsche Sprache, 2019.
[29] H. Le, L. Vial, J. Frej, V. Segonne, M. Coavoux, B. Lecouteux, A. Allauzen, B. Crabbe,
L. Besacier, D. Schwab, FlauBERT: Unsupervised Language Model Pre-training for French,
in: LREC, 2020.
[30] Y. Kim, Convolutional Neural Networks for Sentence Classification, in: Proceedings of
the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP),
Association for Computational Linguistics, Doha, Qatar, 2014, pp. 1746–1751.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>M.-L.</given-names>
            <surname>Zhang</surname>
          </string-name>
          , Y.
          <string-name>
            <surname>-K. Li</surname>
            ,
            <given-names>X.-Y.</given-names>
          </string-name>
          <string-name>
            <surname>Liu</surname>
            ,
            <given-names>X.</given-names>
          </string-name>
          <string-name>
            <surname>Geng</surname>
          </string-name>
          ,
          <article-title>Binary relevance for multi-label learning: an overview</article-title>
          ,
          <source>Frontiers of Computer Science</source>
          <volume>12</volume>
          (
          <year>2018</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>G.</given-names>
            <surname>Chen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Ye</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Z.</given-names>
            <surname>Xing</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Chen</surname>
          </string-name>
          , E. Cambria,
          <article-title>Ensemble application of convolutional and recurrent neural networks for multi-label text categorization</article-title>
          , in: 2017
          <source>International Joint Conference on Neural Networks (IJCNN)</source>
          , IEEE, Anchorage,
          <string-name>
            <surname>AK</surname>
          </string-name>
          , USA,
          <year>2017</year>
          , pp.
          <fpage>2377</fpage>
          -
          <lpage>2383</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>Z.</given-names>
            <surname>Yang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Yang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Dyer</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X.</given-names>
            <surname>He</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Smola</surname>
          </string-name>
          , E. Hovy,
          <article-title>Hierarchical Attention Networks for Document Classification, in: Proceedings of the 2016 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Association for Computational Linguistics</article-title>
          , San Diego, California,
          <year>2016</year>
          , pp.
          <fpage>1480</fpage>
          -
          <lpage>1489</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>A.</given-names>
            <surname>Pal</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Selvakumar</surname>
          </string-name>
          ,
          <string-name>
            <surname>M.</surname>
          </string-name>
          <article-title>Sankarasubbu, Multi-Label Text Classification using Attentionbased Graph Neural Network</article-title>
          , in: ICAART,
          <year>2020</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>P.</given-names>
            <surname>Yang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X.</given-names>
            <surname>Sun</surname>
          </string-name>
          ,
          <string-name>
            <given-names>W.</given-names>
            <surname>Li</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Ma</surname>
          </string-name>
          , W. Wu,
          <string-name>
            <given-names>H.</given-names>
            <surname>Wang</surname>
          </string-name>
          ,
          <string-name>
            <surname>SGM</surname>
          </string-name>
          :
          <article-title>Sequence Generation Model for Multilabel Classification</article-title>
          ,
          <source>in: Proceedings of the 27th International Conference on Computational Linguistics</source>
          , Association for Computational Linguistics, Santa Fe, New Mexico, USA,
          <year>2018</year>
          , pp.
          <fpage>3915</fpage>
          -
          <lpage>3926</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>A.</given-names>
            <surname>Vaswani</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Shazeer</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Parmar</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Uszkoreit</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Jones</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A. N.</given-names>
            <surname>Gomez</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Kaiser</surname>
          </string-name>
          ,
          <string-name>
            <surname>I. Polosukhin</surname>
          </string-name>
          , Attention is All you Need,
          <source>in: Advances in Neural Information Processing Systems</source>
          , volume
          <volume>30</volume>
          ,
          <string-name>
            <surname>Curran</surname>
            <given-names>Associates</given-names>
          </string-name>
          , Inc.,
          <year>2017</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>D. D.</given-names>
            <surname>Lewis</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Yang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T. G.</given-names>
            <surname>Rose</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Li</surname>
          </string-name>
          ,
          <article-title>RCV1: A New Benchmark Collection for Text Categorization Research</article-title>
          ,
          <source>Journal of Machine Learning Research</source>
          <volume>5</volume>
          (
          <year>2004</year>
          )
          <fpage>361</fpage>
          -
          <lpage>397</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>A.</given-names>
            <surname>Bailly</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Blanc</surname>
          </string-name>
          , T. Guillotin,
          <article-title>Classification multi-label de cas cliniques avec CamemBERT (Multi-label classification of clinical cases with CamemBERT ), in: Actes de la 28e Conférence sur le Traitement Automatique des Langues Naturelles</article-title>
          .
          <string-name>
            <surname>Atelier DÉfi Fouille de Textes (DEFT),</surname>
            <given-names>ATALA</given-names>
          </string-name>
          , Lille, France,
          <year>2021</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>A.</given-names>
            <surname>Imane</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B. A.</given-names>
            <surname>Mohamed</surname>
          </string-name>
          <article-title>, Multi-label Categorization of French Death Certificates using NLP and Machine Learning</article-title>
          ,
          <source>in: Proceedings of the 2nd international Conference on Big Data, Cloud and Applications</source>
          , BDCA'17,
          <string-name>
            <surname>Association</surname>
          </string-name>
          for Computing Machinery, New York, NY, USA,
          <year>2017</year>
          , pp.
          <fpage>1</fpage>
          -
          <lpage>4</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>G.</given-names>
            <surname>Tsoumakas</surname>
          </string-name>
          ,
          <string-name>
            <surname>I. Katakis</surname>
          </string-name>
          ,
          <string-name>
            <surname>I. Vlahavas</surname>
          </string-name>
          ,
          <article-title>Mining Multi-label Data</article-title>
          , in: O.
          <string-name>
            <surname>Maimon</surname>
          </string-name>
          , L. Rokach (Eds.),
          <source>Data Mining and Knowledge Discovery Handbook</source>
          ,
          <string-name>
            <surname>Springer</surname>
            <given-names>US</given-names>
          </string-name>
          , Boston, MA,
          <year>2010</year>
          , pp.
          <fpage>667</fpage>
          -
          <lpage>685</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>O.</given-names>
            <surname>Luaces</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Díez</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Barranquero</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J. J.</given-names>
            <surname>del Coz</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Bahamonde</surname>
          </string-name>
          ,
          <article-title>Binary relevance eficacy for multilabel classification</article-title>
          ,
          <source>Progress in Artificial Intelligence</source>
          <volume>1</volume>
          (
          <year>2012</year>
          )
          <fpage>303</fpage>
          -
          <lpage>313</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>G.</given-names>
            <surname>Tsoumakas</surname>
          </string-name>
          ,
          <string-name>
            <surname>I. Vlahavas</surname>
          </string-name>
          ,
          <article-title>Random k -Labelsets: An Ensemble Method for Multilabel Classification</article-title>
          , volume
          <volume>4701</volume>
          ,
          <year>2007</year>
          , pp.
          <fpage>406</fpage>
          -
          <lpage>417</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <surname>M.-L. Zhang</surname>
            ,
            <given-names>Z.-H.</given-names>
          </string-name>
          <string-name>
            <surname>Zhou</surname>
          </string-name>
          ,
          <article-title>ML-KNN: A lazy learning approach to multi-label learning</article-title>
          ,
          <source>Pattern Recognit</source>
          . (
          <year>2007</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <surname>Min-Ling</surname>
            <given-names>Zhang</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zhi-Hua</surname>
            <given-names>Zhou</given-names>
          </string-name>
          ,
          <article-title>Multilabel Neural Networks with Applications to Functional Genomics and Text Categorization</article-title>
          ,
          <source>IEEE Transactions on Knowledge and Data Engineering</source>
          <volume>18</volume>
          (
          <year>2006</year>
          )
          <fpage>1338</fpage>
          -
          <lpage>1351</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <given-names>Y.</given-names>
            <surname>Yang</surname>
          </string-name>
          ,
          <article-title>A study of thresholding strategies for text categorization</article-title>
          ,
          <source>in: Proceedings of the 24th annual international ACM SIGIR conference on Research and development in information retrieval</source>
          ,
          <source>SIGIR '01</source>
          ,
          <string-name>
            <surname>Association</surname>
          </string-name>
          for Computing Machinery, New York, NY, USA,
          <year>2001</year>
          , pp.
          <fpage>137</fpage>
          -
          <lpage>145</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [16]
          <string-name>
            <given-names>Y.</given-names>
            <surname>Yang</surname>
          </string-name>
          ,
          <article-title>An evaluation of statistical approach to text categorization</article-title>
          ,
          <source>Technical Report</source>
          ,
          <year>1997</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          [17]
          <string-name>
            <given-names>D.</given-names>
            <surname>Lewis</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Info</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Studies</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Ringuette</surname>
          </string-name>
          ,
          <article-title>A Comparison of Two Learning Algorithms for Text Categorization</article-title>
          ,
          <source>Third Annual Symposium on Document Analysis and Information Retrieval</source>
          (
          <year>1996</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          [18]
          <string-name>
            <given-names>C.</given-names>
            <surname>Largeron</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Moulin</surname>
          </string-name>
          ,
          <string-name>
            <surname>M.</surname>
          </string-name>
          <article-title>Géry, MCut: A Thresholding Strategy for Multi-label Classification</article-title>
          , volume
          <volume>7619</volume>
          ,
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          [19]
          <string-name>
            <given-names>R.</given-names>
            <surname>Al-Otaibi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P. A.</given-names>
            <surname>Flach</surname>
          </string-name>
          ,
          <string-name>
            <surname>M.</surname>
          </string-name>
          <article-title>Kull, Multi-label Classification: A Comparative Study on Threshold Selection Methods (</article-title>
          <year>2014</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          [20]
          <string-name>
            <given-names>L.</given-names>
            <surname>Gan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Yuen</surname>
          </string-name>
          ,
          <string-name>
            <surname>T.</surname>
          </string-name>
          <article-title>Lu, Multi-label Classification with Optimal Thresholding for Multicomposition Spectroscopic Analysis</article-title>
          ,
          <string-name>
            <surname>Mach. Learn. Knowl. Extr.</surname>
          </string-name>
          (
          <year>2019</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          [21]
          <string-name>
            <given-names>A.</given-names>
            <surname>Adhikari</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Ram</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Tang</surname>
          </string-name>
          ,
          <string-name>
            <surname>J. Lin,</surname>
          </string-name>
          <article-title>DocBERT: BERT for Document Classification</article-title>
          , arXiv:
          <year>1904</year>
          .08398 [cs] (
          <year>2019</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          [22]
          <string-name>
            <given-names>T.</given-names>
            <surname>Wolf</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Debut</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Sanh</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Chaumond</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Delangue</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Moi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Cistac</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Rault</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Louf</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Funtowicz</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Davison</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Shleifer</surname>
          </string-name>
          , P. von Platen, C. Ma,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Jernite</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Plu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Xu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T. L.</given-names>
            <surname>Scao</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Gugger</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Drame</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Q.</given-names>
            <surname>Lhoest</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A. M.</given-names>
            <surname>Rush</surname>
          </string-name>
          ,
          <article-title>HuggingFace's Transformers: State-of-the-art Natural Language Processing</article-title>
          ,
          <source>Technical Report arXiv:1910</source>
          .
          <volume>03771</volume>
          , arXiv,
          <year>2020</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref23">
        <mixed-citation>
          [23]
          <string-name>
            <given-names>Y.</given-names>
            <surname>Liu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Ott</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Goyal</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Du</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Joshi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Chen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>O.</given-names>
            <surname>Levy</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Lewis</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Zettlemoyer</surname>
          </string-name>
          , V. Stoyanov,
          <article-title>RoBERTa: A Robustly Optimized BERT Pretraining Approach</article-title>
          , arXiv:
          <year>1907</year>
          .11692 [cs] (
          <year>2019</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref24">
        <mixed-citation>
          [24]
          <string-name>
            <given-names>V.</given-names>
            <surname>Sanh</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Debut</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Chaumond</surname>
          </string-name>
          , T. Wolf,
          <article-title>DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lighter</article-title>
          , arXiv:
          <year>1910</year>
          .01108 [cs] (
          <year>2020</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref25">
        <mixed-citation>
          [25]
          <string-name>
            <given-names>S.</given-names>
            <surname>Kullback</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R. A.</given-names>
            <surname>Leibler</surname>
          </string-name>
          ,
          <source>On Information and Suficiency</source>
          ,
          <source>The Annals of Mathematical Statistics</source>
          <volume>22</volume>
          (
          <year>1951</year>
          )
          <fpage>79</fpage>
          -
          <lpage>86</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref26">
        <mixed-citation>
          [26]
          <string-name>
            <given-names>P.</given-names>
            <surname>He</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X.</given-names>
            <surname>Liu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Gao</surname>
          </string-name>
          , W. Chen,
          <article-title>DeBERTa: Decoding-enhanced BERT with Disentangled Attention</article-title>
          , arXiv:
          <year>2006</year>
          .03654 [cs] (
          <year>2021</year>
          ). URL: http://arxiv.org/abs/
          <year>2006</year>
          .03654.
        </mixed-citation>
      </ref>
      <ref id="ref27">
        <mixed-citation>
          [27]
          <string-name>
            <given-names>L.</given-names>
            <surname>Martin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Muller</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P. J. O.</given-names>
            <surname>Suárez</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Dupont</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Romary</surname>
          </string-name>
          , E. V. d. l. Clergerie,
          <string-name>
            <given-names>D.</given-names>
            <surname>Seddah</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Sagot</surname>
          </string-name>
          ,
          <source>CamemBERT: a Tasty French Language Model</source>
          ,
          <year>2020</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>