<!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>Automatic Detection of Fake News Spreaders Using BERT</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Arup Baruah</string-name>
          <email>arup.baruah@gmail.com</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Kaushik Amar Das</string-name>
          <email>kaushikamardas@gmail.com</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Ferdous Ahmed Barbhuiya</string-name>
          <email>ferdous@iiitg.ac.in</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Kuntal Dey</string-name>
          <email>kuntal.dey@accenture.com</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Accenture Technology Labs</institution>
          ,
          <addr-line>Bangalore</addr-line>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>IIIT Guwahati</institution>
          ,
          <country country="IN">India</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2020</year>
      </pub-date>
      <fpage>2</fpage>
      <lpage>7</lpage>
      <abstract>
        <p>This paper discusses the approach we used to detect fake news spreaders. We used the pre-trained large cased BERT model to perform the classification. We experimented by concatenating all the tweets of an author and then performing classification using the vector obtained by max-pooling the 1024dimensional vectors of the sub-strings of the concatenated string. We also experimented by processing each of the tweets of an author separately. It was found that concatenating the tweets yields better performance. This model obtained an accuracy of 0.6900 on the test set.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1 Introduction</title>
      <p>
        The shared task on “Profiling Fake News Spreaders” was held as part of PAN at CLEF
2020. This task is basically a binary classification task where it is required to determine
if a given author has spread some fake news in the past or not. Detecting fake news
spreaders is an important step to prevent fake news from propagating through social
media. This task was held for English and Spanish languages. The details of this shared
task is available in Rangel et al. [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ].
      </p>
      <p>
        In this paper, we describe the work we performed for this shared task. We
participated in this task for the English language only. We used the pre-trained large cased
BERT [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] model to classify authors as fake news spreaders or not. The rest of this paper
is structured as follows: Section 2 discusses the related work that has been performed
for author profiling and fake news detection, Section 3 describes the dataset used for
this shared task, Section 4 presents the methodology we used, and Section 5 discusses
the results we obtained.
The task of detecting fake news spreaders falls in the category of author profiling. As
opposed to author attribution where it is required to determine the identity of the author
of a particular piece of text, author profiling is about categorizing authors into different
classes such as gender, age, occupation, bots, etc. based on a given text as the evidence.
PAN has been conducting shared tasks on author profiling since 2013.
      </p>
      <p>
        Rangel and Rosso in [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] summarizes the author profiling task of PAN 2019. This
subtask required determining if the author of a particular piece of text is a human or a
bot. If the author is a human, the task also required determining the gender of the author.
The best performing system for detecting bots in the English language obtained an
accuracy of 0.96 using a random forest classifier [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. Features used include tweet length,
number of capital and lowercase letters, mentions, retweets, edit distance between
consecutive tweets, and tf-idf of unigrams and bigrams. For gender classification, the best
performance was obtained by a logistic regression classifier [10]. The features used
includes word n-grams (1 to 3) and character n-grams (3 to 5). Instead of removing emoji
and special characters, they were converted to text. The system obtained an accuracy
of 84% in detecting gender. Polignano et al. [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] used a deep learning approach to
detect bots and gender. A combination of convolutional neural networks and dense neural
networks were used to perform the classification. GloVe, word2vec, and FastText word
embeddings were used in the study. Their system obtained accuracy scores of 0.9182
and 0.7973 in detecting bots and gender respectively.
      </p>
      <p>
        With regard to fake news detection in social media texts, Shu et al. in [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ] discuss
knowledge-based, style-based, stance-based, and propagation-based approaches for
detecting fake news. They also list the different types of features that can be used for fake
news detection which include content-based features (source, headline, lexical features,
syntactic features, and visual features), and social context features (user-based,
postbased, and network-based).
3
      </p>
    </sec>
    <sec id="sec-2">
      <title>Dataset</title>
      <p>The shared task “Profiling Fake News Spreaders on Twitter” was conducted for English
and Spanish languages. The training data provided for the English language consisted
of tweets for 300 different authors and 100 tweets were provided for each author. The
dataset was balanced with 150 positive and 150 negative instances. The number of
tokens in each tweet varied from 6 to 30.
4</p>
    </sec>
    <sec id="sec-3">
      <title>Methodology</title>
      <p>In our work, we used the pre-trained large cased BERT model. This version of BERT
has 24 layers and 16 attention heads. It produces 1024-dimensional vectors to
represent the words. BERT generates contextualized word embeddings as opposed to static
embeddings produced by word2vec or GloVe.</p>
      <p>The details of our approach are depicted in Figure 1. As mentioned in Section 3,
for each author, a list of 100 tweets is provided in the dataset. The tweets for each
author were first concatenated. The concatenated string was then tokenized using BERT’s
WordPiece tokenizer. The tokens were then split into chunks of length 500 tokens. If the
last chunk had less than 500 tokens, it was padded with zeroes to make the length equal
to 500 tokens. Each of the token sub-list was then provided as input to the pre-trained</p>
      <p>....
BERT model. The 1024-dimensional vector from the Extract layer of the BERT model
was used as the representation of the sub-string. Max-pooling was then performed on
the 1024-dimensional vectors of the token sub-lists. The resultant 1024-dimensional
vector was then provided as input to the classification layer. The classification layer
consisted of a single Dense layer having a single unit. The sigmoid activation function
was used for the layer. The Adam optimizer was used for training and the loss function
that was used was is Binary Crossentropy.</p>
      <p>We also performed another experiment, whereby, instead of concatenating all the
100 tweets of an author, a 1024-dimensional vector was generated for each tweet using
the pre-trained BERT model. Max pooling was performed on the 100 vectors that thus
obtained. The classification was performed using the resultant vector. Max sequence
length of 40 was used for the experiment.
5</p>
    </sec>
    <sec id="sec-4">
      <title>Results</title>
      <p>In this section, we discuss the results obtained on the development and the test set. The
development set was created from the dataset by doing a stratified split. 80% of the
dataset was used for training and 20% of the dataset was used as the development set.
Table 1 shows the results obtained on the development set. As mentioned in section 4,
experiment 1 in the table refers to the experiment where the tweets of each author were
concatenated and then split in sub-lists of 500 tokens each (after tokenization).
Experiment 2 in the table refers to the experiment where each tweet was processed separately.
As can be seen from the table, concatenating the tweets resulted in better performance
than processing each tweet separately. Based on this observation, the model from
experiment 1 was used to make the submission for the shared task.</p>
      <p>Table 2 shows the confusion matrices for Experiment 1 and Experiment 2 on the
development set. As can be seen, Experiment 1 performed better than Experiment 2 in
detecting the fake news spreaders category.</p>
      <p>
        Our model obtained an accuracy score of 0.6900 on the test set for English
language. The evaluation on the test set was performed on the TIRA platform [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. Table 3
shows the performance of our system in comparison to the best performing system of
the shared task and other baseline systems. As can be seen, our system performed better
than the random, LSTM, emotionally infused LSTM [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ], and character n-gram based
SVM baseline systems. Our system had the same accuracy as the word n-gram based
NN baseline and performed worse than the baseline system that used the low
dimensionality representation technique [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]. The final rank in the shared task was determined
by averaging the accuracy scores obtained for both English and Spanish languages. As
we did not make any submission for Spanish language, our system obtained a rank of 58
out of 66 participants. However, when considering the scores for only English language,
we obtained a rank of 29 out of 66 participants.
      </p>
    </sec>
    <sec id="sec-5">
      <title>Conclusion</title>
      <p>Detecting fake news spreaders in an important step to control the spread of fake news
through social media. In our work, we used a classifier based on the pre-trained large
cased BERT model to detect fake news spreaders. It was found that concatenating all the
tweets of an author yielded a better performance than processing each tweet separately.
Our model obtained accuracy score of 0.6900 in the test data. It performed better than
the character n-gram based SVM, LSTM, emotionally infused LSTM and the random
baseline systems.
10. Valencia-Valencia, A.I., Gómez-Adorno, H., Rhodes, C.S., Pineda, G.F.: Bots and gender
identification based on stylometry of tweet minimal structure and n-grams model. In:
Cappellato, L., Ferro, N., Losada, D.E., Müller, H. (eds.) Working Notes of CLEF 2019
Conference and Labs of the Evaluation Forum, Lugano, Switzerland, September 9-12,
2019. CEUR Workshop Proceedings, vol. 2380. CEUR-WS.org (2019),
http://ceur-ws.org/Vol-2380/paper_216.pdf</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <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</source>
          . pp.
          <fpage>4171</fpage>
          -
          <lpage>4186</lpage>
          . Association for Computational Linguistics, Minneapolis,
          <source>Minnesota (Jun</source>
          <year>2019</year>
          ). https://doi.org/10.18653/v1/
          <fpage>N19</fpage>
          -1423, https://www.aclweb.org/anthology/N19-1423
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Ghanem</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rosso</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rangel</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          :
          <article-title>An Emotional Analysis of False Information in Social Media and News Articles</article-title>
          .
          <source>ACM Transactions on Internet Technology (TOIT) 20(2)</source>
          ,
          <fpage>1</fpage>
          -
          <lpage>18</lpage>
          (
          <year>2020</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Johansson</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          :
          <article-title>Supervised classification of twitter accounts based on textual content of tweets</article-title>
          . In: Cappellato,
          <string-name>
            <given-names>L.</given-names>
            ,
            <surname>Ferro</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            ,
            <surname>Losada</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.E.</given-names>
            ,
            <surname>Müller</surname>
          </string-name>
          , H. (eds.) Working Notes of CLEF 2019 -
          <article-title>Conference and Labs of the Evaluation Forum</article-title>
          , Lugano, Switzerland, September 9-
          <issue>12</issue>
          ,
          <year>2019</year>
          .
          <source>CEUR Workshop Proceedings</source>
          , vol.
          <volume>2380</volume>
          .
          <string-name>
            <surname>CEUR-WS.org</surname>
          </string-name>
          (
          <year>2019</year>
          ), http://ceur-ws.
          <source>org/</source>
          Vol-
          <volume>2380</volume>
          /paper_154.pdf
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Pardo</surname>
            ,
            <given-names>F.M.R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rosso</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          :
          <article-title>Overview of the 7th author profiling task at PAN 2019: Bots and gender profiling in twitter</article-title>
          . In: Cappellato,
          <string-name>
            <given-names>L.</given-names>
            ,
            <surname>Ferro</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            ,
            <surname>Losada</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.E.</given-names>
            ,
            <surname>Müller</surname>
          </string-name>
          , H. (eds.) Working Notes of CLEF 2019 -
          <article-title>Conference and Labs of the Evaluation Forum</article-title>
          , Lugano, Switzerland, September 9-
          <issue>12</issue>
          ,
          <year>2019</year>
          .
          <source>CEUR Workshop Proceedings</source>
          , vol.
          <volume>2380</volume>
          .
          <string-name>
            <surname>CEUR-WS.org</surname>
          </string-name>
          (
          <year>2019</year>
          ), http://ceur-ws.
          <source>org/</source>
          Vol-
          <volume>2380</volume>
          /paper_263.pdf
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Polignano</surname>
          </string-name>
          , M.,
          <string-name>
            <surname>de Pinto</surname>
            ,
            <given-names>M.G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lops</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Semeraro</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          :
          <article-title>Identification of bot accounts in twitter using 2d cnns on user-generated contents</article-title>
          . In: Cappellato,
          <string-name>
            <given-names>L.</given-names>
            ,
            <surname>Ferro</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            ,
            <surname>Losada</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.E.</given-names>
            ,
            <surname>Müller</surname>
          </string-name>
          , H. (eds.) Working Notes of CLEF 2019 -
          <article-title>Conference and Labs of the Evaluation Forum</article-title>
          , Lugano, Switzerland, September 9-
          <issue>12</issue>
          ,
          <year>2019</year>
          .
          <source>CEUR Workshop Proceedings</source>
          , vol.
          <volume>2380</volume>
          .
          <string-name>
            <surname>CEUR-WS.org</surname>
          </string-name>
          (
          <year>2019</year>
          ), http://ceur-ws.
          <source>org/</source>
          Vol-
          <volume>2380</volume>
          /paper_95.pdf
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Potthast</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gollub</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wiegmann</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Stein</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          :
          <article-title>TIRA Integrated Research Architecture</article-title>
          . In: Ferro,
          <string-name>
            <given-names>N.</given-names>
            ,
            <surname>Peters</surname>
          </string-name>
          ,
          <string-name>
            <surname>C</surname>
          </string-name>
          . (eds.)
          <article-title>Information Retrieval Evaluation in a Changing World</article-title>
          . Springer (Sep
          <year>2019</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Rangel</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Franco-Salvador</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rosso</surname>
            ,
            <given-names>P.:</given-names>
          </string-name>
          <article-title>A Low Dimensionality Representation for Language Variety Identification</article-title>
          .
          <source>In: International Conference on Intelligent Text Processing and Computational Linguistics</source>
          . pp.
          <fpage>156</fpage>
          -
          <lpage>169</lpage>
          . Springer (
          <year>2016</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Rangel</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Giachanou</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ghanem</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rosso</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          :
          <article-title>Overview of the 8th Author Profiling Task at PAN 2020: Profiling Fake News Spreaders on Twitter</article-title>
          . In: Cappellato,
          <string-name>
            <given-names>L.</given-names>
            ,
            <surname>Eickhoff</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            ,
            <surname>Ferro</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            ,
            <surname>Névéol</surname>
          </string-name>
          ,
          <string-name>
            <surname>A</surname>
          </string-name>
          . (eds.)
          <article-title>CLEF 2020 Labs and Workshops, Notebook Papers</article-title>
          .
          <source>CEUR-WS.org (Sep</source>
          <year>2020</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Shu</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sliva</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wang</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Tang</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          , Liu, H.:
          <article-title>Fake news detection on social media: A data mining perspective</article-title>
          .
          <source>SIGKDD Explorations</source>
          <volume>19</volume>
          (
          <issue>1</issue>
          ),
          <fpage>22</fpage>
          -
          <lpage>36</lpage>
          (
          <year>2017</year>
          ), https://doi.org/10.1145/3137597.3137600
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>