<!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>Profiling Fake News Spreaders using Characters and Words N-grams</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Daniel Yacob Espinosa</string-name>
          <email>espinosagonzalezdaniel@gmail.com</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Helena Gómez-Adorno</string-name>
          <email>helena.gomez@iimas.unam.mx</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Grigori Sidorov</string-name>
          <email>sidorov@cic.ipn.mx</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Instituto Politécnico Nacional, Centro de Investigación en Computación</institution>
          ,
          <addr-line>Mexico City</addr-line>
          ,
          <country country="MX">Mexico</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Universidad Nacional Autónoma de México, Instituto de Investigaciones en Matemáticas Aplicadas y en Sistemas</institution>
          ,
          <addr-line>Mexico City</addr-line>
          ,
          <country country="MX">Mexico</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2020</year>
      </pub-date>
      <abstract>
        <p>With the use of social networks as mass media; The spread of fake news becomes an investigative problem. This article describes our approach to the PAN 2020 task on "Profiling Fake News Spreaders on Twitter" [7]. The objective is to distinguish which users share fake news. Our approach includes a data cleaning part and feature extraction using N-grams of characters and words. The experiments were carried out with different N-gram structures depending on the languages: English and Spanish. We experimented machine learning algorithm Support Vector Machines (libSVM).</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>Currently, social networks are one of the most important means of communication.
Twitter has become an extremely active social network where users can give their
opinion on any topic. With so much data and information exposed, millions of users are
unable to validate the veracity of the information shared in this social network. So users
can be deceived by lies told by word of mouth; in this case from user to user, this type
of information is better known as "fake news".</p>
      <p>
        Fake news aim to disqualify or create controversy about issues important to society
[
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. Fake news are currently difficult to detect due to the use of bots for their replication
and distribution. Bots are the main source of distribution of these type of messages. Bots
are programs that pretend to have human behavior within social networks [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. Through
bots, the fake news has a wide distribution and reach to real users, which damages the
real news ecosystem on social networks. Bots can distribute fake news with a wide user
reach which becomes a serious problem on many daily activities [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ].
      </p>
      <p>
        What makes it a problem is that this type of news is not filtered or fully verified
that it is true. It is simply posted and with the interactions of users, it becomes a widely
mentioned fake news that many people believe to be true [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. Currently this problem is
still under investigation due to the complexity of the issue. A possible solution to this
problem is to identify the users’ profiles which are propagators of false notifications
and not to trust their replicated information. In order to address this kind of solutions,
PAN organizes the "Profiling Fake News Spreaders on Twitter" task, which aims to find
users who share fake news using only a sample of their shared tweets [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ].
      </p>
      <p>
        Previously we participated in PAN 19 [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ], with the task "Bots and Gender Profiling"
where we showed a solution formed by N-gram structures, in particular we used
character bi-grams; so for this task we decided to use the same methodology; using N.grams;
but increasing the number of characters and adding the n-grams of words.
2
      </p>
    </sec>
    <sec id="sec-2">
      <title>Corpus</title>
      <p>
        For the assigned task, the corpus given by PAN 20 [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] consists of 600 files (300 in
Spanish and 300 in English) where each file represents a user; so that each user contains 100
tweets, in Table 1 shows the corpus configuration in detail.
      </p>
      <p>A particularity of all the tweets in this corpus is that they have 140 characters, in
addition; all the urls, links, hashtags and usermentions are masked, this means that one of
these characteristics was assigned a label.
3
3.1</p>
    </sec>
    <sec id="sec-3">
      <title>Methodology</title>
      <p>Pre-processing steps
To perform the experiments, we performed a series of steps to pre-process the data:
Digits On the part of the digits we decided to remove them since we consider them
not important for our methodology.</p>
      <p>Emoticons Many of the tweets contain emoticons and by doing some experiments we
decided to do something interesting with them: each emoticon with the same symbol,
we decided to assign it a unique label; it means that if inside the tweet it contained the
potato chips emoticon then a unique label is assigned for potato chips; with this we
increase a little value of the percentage of accuraccy in the classification.
Punctuation marks The punctuation marks for our methodology were also not
relevant, so we decided to remove them as well.</p>
      <p>Other symbols For the symbols that are not within the reference Standard ASCII
(American Standard Code for Information Interchange) they were not considered
important to be taken as characteristics and therefore were removed.
Since we preprocess the data, we need to find a pattern that helps us differentiate the
users who share fake news. We can find that pattern using N-grams. N-grams are
structures formed from the selected data, which we can organize by the repetition frequency.
With this, it is possible to create a matrix which abstractly describes a representation
form of said file, this is called a vector space model, let’s not forget that each file
represents a user.</p>
      <p>
        Because we have 2 languages to classify, each one has different N-gram
configurations. We selected the configuration of Table 2 where we show the structures of the
N-grams assigned for each language.
Now that we have the characteristics of the tweets represented in a Term-Document
Matrix [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ], it is necessary to order them so that each column is in the same order
for each dimension. When this our ordered matrix is commonly called vector space
model where an abstraction of objects is represented so that they can be classified by a
classification algorithm.
4
      </p>
    </sec>
    <sec id="sec-4">
      <title>Experiments</title>
      <p>
        Mainly the N-gram structures were considered due to our methodology used in the
PAN19 task "Bots and Gender Profiles" [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ], where good results were obtained with a
single characteristic: Character bi-grams [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. Using this same methodology, we
propose the use of word and character N-grams to solve this task.
      </p>
      <p>After these experiments we made the comparisons between two classifiers with the
vector space model. In Table 3 we show the results of the classifiers with which we
carried out the experiments.</p>
      <p>Due to our methodology, it is possible to test various configurations since we have
the vector space model organized and filled with the frequencies of the N-grams of
the tweets. Regarding the experiments, we tested different classifiers, selecting
LinearSVM and which is the one that gives us the best performance. All the results shown
in Table 3 were evaluated with an accuracy score.</p>
      <p>An interesting aspect was assigning a label for each different emoji, when we assign
the labels for the emojis these characteristics are not part of the N-gram structures within
the characteristics matrix; that is, they were assigned directly with the assigned label.
This method gave us an improvement in precision of 6.0% for each language</p>
      <p>
        All these experiments were taken care of by TIRA’s technological resources [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ],
where it is necessary to upload the programs for their execution. Within this virtual
machine, the scores of the researchers who are within the competition are organized,
identifying the best precision of all the experiments.
5
      </p>
    </sec>
    <sec id="sec-5">
      <title>Conclusions</title>
      <p>
        We propose this solution for the task "Profiling Fake News Spreaders on Twitter" [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ],
using class and word N-gram structures, we use LinearSVM like classifier.We decided
to use these functions and methods because we had previously worked with tweets; and
although the task was not the same, the use of this methodology gave very interesting
scores. So we understand the differences between the tasks, but we consider it important
to note if they can be solved in a similar way as the data from the same social network.
      </p>
      <p>Something interesting was previously we used the hashtags and usermentions to
obtain a greater precision in the task which this time could not be used because they
had already been tagged with the corpus; which means that the task solution can be
used in another social network where these characteristics do not exist. Another aspect
that we would like to test is the use of the 280 characters of a tweet; This corpus was
limited with the use of the 140 but we would like to know if we could improve the
performance of our method using the 280 that could has a tweet. We also noticed that
some of the characteristics of social networks such as hashtags or emojis, provide an
improvement in accuracy. We consider that for future experiments they can be included
and see how these converge for the solution of a task.</p>
      <p>This task is really interesting due to the use of social networks nowadays; As long
as social networks have the same or greater interest than today, they will continue to
serve as mass media where it will be essential to create a virtual environment as healthy
as possible.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Bakshy</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hofman</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mason</surname>
            ,
            <given-names>W.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Watts</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          :
          <article-title>Everyone's an influencer: Quantifying influence on twitter</article-title>
          . pp.
          <fpage>65</fpage>
          -
          <lpage>74</lpage>
          (01
          <year>2011</year>
          ). https://doi.org/10.1145/1935826.1935845
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Cai</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>li</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zengi</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          :
          <article-title>Behavior enhanced deep bot detection in social media</article-title>
          . pp.
          <fpage>128</fpage>
          -
          <lpage>130</lpage>
          (07
          <year>2017</year>
          ). https://doi.org/10.1109/ISI.
          <year>2017</year>
          .8004887
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Espinosa</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gómez-Adorno</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sidorov</surname>
          </string-name>
          , G.:
          <article-title>Bots and Gender Profiling using Character Bigrams</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.</given-names>
            ,
            <surname>Müller</surname>
          </string-name>
          , H. (eds.)
          <article-title>CLEF 2019 Labs and Workshops, Notebook Papers</article-title>
          .
          <source>CEUR-WS.org (Sep</source>
          <year>2019</year>
          ), http://ceur-ws.
          <source>org/</source>
          Vol-
          <volume>2380</volume>
          /
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <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="ref5">
        <mixed-citation>
          5.
          <string-name>
            <given-names>Popat</given-names>
            <surname>Kashyap</surname>
          </string-name>
          , Mukherjee Subhabrata,
          <string-name>
            <given-names>Y.A.</given-names>
            ,
            <surname>Gerhard</surname>
          </string-name>
          ,
          <string-name>
            <surname>W.</surname>
          </string-name>
          :
          <article-title>Declare: Debunking fake news and false claims using evidence-aware deep learning</article-title>
          .
          <source>In: Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing. Association for Computational Linguistics</source>
          , Brussels, Belgium (
          <year>2018</year>
          ). https://doi.org/10.18653/v1/
          <fpage>D18</fpage>
          -1003, https://www.aclweb.org/anthology/D18-1003
        </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>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="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Rangel</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>R.P.</surname>
          </string-name>
          :
          <article-title>CLEF 2019 Labs and Workshops, Notebook Papers</article-title>
          . In: Cappellato L.,
          <string-name>
            <surname>Ferro</surname>
            <given-names>N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>M.H.L.D.</surname>
          </string-name>
          (ed.)
          <source>Overview of the 7th Author Profiling Task at PAN</source>
          <year>2019</year>
          :
          <article-title>Bots and Gender Profiling</article-title>
          .
          <source>CEUR Workshop Proceedings</source>
          (
          <year>2019</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Sidorov</surname>
          </string-name>
          , G.:
          <article-title>Formalization in computational linguistics</article-title>
          . In:
          <article-title>Syntactic n-grams in Computational Linguistics</article-title>
          . SpringerBriefs in Computer Science, Springer (
          <year>2016</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>