<!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>
      <journal-title-group>
        <journal-title>FIRE</journal-title>
      </journal-title-group>
    </journal-meta>
    <article-meta>
      <title-group>
        <article-title>Arabic Author Profiling and Deception Detection using Traditional Learning Methodologies with Word Embedding</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Haritha Ananthakrishnan</string-name>
          <email>haritha16038@cse.ssn.edu.in</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Akshaya Ranganathan</string-name>
          <email>akshaya16009@cse.ssn.edu.in</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Thenmozhi D</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Chandrabose Aravindan</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Department of CSE, SSN College of Engineering</institution>
          ,
          <addr-line>Chennai</addr-line>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2019</year>
      </pub-date>
      <volume>12</volume>
      <fpage>12</fpage>
      <lpage>15</lpage>
      <abstract>
        <p>With the ubiquity of social media, although one's thoughts and opinions can be expressed through virtual platforms effortlessly, there have been numerous cases of posts that threaten the security of a certain community, caste, or religion or spread false propaganda against a certain group of people. Developments in the fields of Natural Language Processing and Machine Learning have paved the way to the concept of author profiling, which helps identify an author's age, demographics, and gender details. The Author Profiling in Arabic Tweets task of FIRE 2019 aims to monitor Arabic Twitter posts and profile their authors concerning their age, gender, and language variety using learning concepts. The task of Deception Detection in Arabic texts focuses on monitoring Twitter and News headlines and detect deceptive texts: Posts that are drafted to seem authentic but suggest other ulterior motives. We have adopted the concept of SGD Optimized Support Vector Machine classification with AraVec word embedding for both the tasks and have achieved a joint F-1 score of 0.3403 for Author Profiling and an average score of 0.7598 for the Deception detection task.</p>
      </abstract>
      <kwd-group>
        <kwd>Author profiling</kwd>
        <kwd>Deception Detection</kwd>
        <kwd>Natural Language</kwd>
        <kwd>Processing</kwd>
        <kwd>Machine Learning</kwd>
        <kwd>Arabic Tweets</kwd>
        <kwd>News</kwd>
        <kwd>Support Vector</kwd>
        <kwd>Machines</kwd>
        <kwd>Stochaistic gradient descent</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction and Related works</title>
      <p>
        The APDA task of FIRE 2019 funded by ARAP Qatar aims to enhance
cybersecurity using Machine Learning. Social media such as Twitter, Facebook,
Instagram, etc. have gained popularity over the past decade where users can post
images, and text online, no questions asked. Many news magazines and papers
have shifted their base to virtual media as well. Although these practices have
uncovered many societal goods, they have engendered many drawbacks such as
the rapid propagation of offensive posts and unreliable news that threaten the
security of certain communities or individuals. Author profiling is the process of
predicting the chatacterestics an author (gender, age, and location), based on
their stylistic writing features. This not only forms a security layer, but also
provides interesting linguistic information for targeted advertising, and marketing.
The second task, Deception detection aimed at classifying news headlines and
snippets as deceptive or non-deceptive, based on their language and word usage.
This was done in [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ] through the analysis of linguistic cues or leakages such as
frequencies and patterns of word usage. The Text Attribution Tool (TAT) was
developed for author profiling in a variety of languages [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. Arabic poses a
challenge as extensive data pre-processing is required like tokenization, character set
normalization, informal spelling normalization, etc. Buckwalter scheme has been
used for character set normalization. A variety of algorithms have been tried in
the past and Bagging and SVM based SMO algorithms proved to have
considerably better performance. Generally, traditional machine learning algorithms
like SVM had better results [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]. For deception detection, Credibility Analysis of
Arabic Content on Twitter (CAT)[
        <xref ref-type="bibr" rid="ref8">8</xref>
        ] which used user’s timeline features like the
number of retweets, user’s activity, etc.
2
2.1
      </p>
    </sec>
    <sec id="sec-2">
      <title>Dataset Analysis and Data cleaning</title>
      <sec id="sec-2-1">
        <title>Dataset Analysis</title>
        <p>The APDA task of FIRE 2019 was divided into two individual tasks, Author
Profiling of Twitter posts and Deception Detection of news headlines and tweets.
The corpora of the Author Profiling task consisted of a total of 2,250 users
released over five days as groups of 450 users per day, which had even distribution
across all classes. Each user’s posts were collectively classified into three of the
following classes: Gender, Age and language variety.</p>
        <p>– Gender - Male or Female
– Age - Under 25, Between 25 and 34, Above 34
– Language variety - Algeria, Egypt, Iraq, Kuwait, Lebanon-Syria, Lybia,
Morocco, Oman, Palestine-Jordan, Qatar, Saudi Arabia, Sudan, Tunisia,
UAE, Yemen.</p>
        <p>The training dataset of the Deception detection in Arabic texts task was divided
into Twitter headlines and News headlines, each of which had two classifications
based on whether or not the sentence was deceptive – Truth or Lie.
2.2</p>
      </sec>
      <sec id="sec-2-2">
        <title>Data Cleaning</title>
        <p>Data cleaning was a major task for the Arabic data set, as the language was
written from right to left, and had different rules of sentence termination, all
– Links : Twitter posts contain lots of hyperlinks containing “Http://”, “www.”,
“.com”, etc. All of these were adding noise to the textual data and hence were
removed using regular expressions.
– Hashtags: English hashtags were removed in their entirety, whereas Arabic
hashtags were maintained with only the removal of the hashtag to prevent
loss of useful linguistic information.
– Non - Arabic Words: As it was impractical to run language models for
both Arabic and English due to the sparse density of English posts, all
English words were removed from the text.
– Twitter handles: Social Media handles starting with “@” were eliminated
from the text
– Special Characters: To further level the contents of the text, all special
characters, erroneous blank spaces, numbers, and empty strings were
removed
– Emojis: A major challenge for data cleanup for both tasks, was the removal
of emojis, which had characters outside of the basic multilingual plane. These
characters were extracted using Unicode conversion and used regular
expressions to remove them.
– Stop Words: To remove Arabic stopwords, the NLTK platform’s Arabic
stopword list was taken, against which every sentence was filtered.</p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>Methodology and Implementation</title>
      <sec id="sec-3-1">
        <title>Word Embedding</title>
        <p>
          Word embedding [
          <xref ref-type="bibr" rid="ref4">4</xref>
          ] is one of the most recent developments in the field of
Natural Language Processing that facilitates the identification of the context of a
word, where words are represented as vectors in a continuous space, capturing
syntactic and semantic relationships between them. AraVec [
          <xref ref-type="bibr" rid="ref6">6</xref>
          ] is a powerful,
pretrained word embedding tool developed solely for Arabic NLP research, which
is built upon Twitter, World Wide Web, and Wikipedia Arabic pages. The
preprocessing step of AraVec included the removal of tashkeel, an Arabic symbol
added after a word to distinguish it from others, which did not contribute to
the overall meaning of the sentence. AraVec is built over the gensim2 Word2Vec
2 https://radimrehurek.com/gensim/about.html
model[
          <xref ref-type="bibr" rid="ref3">3</xref>
          ] which is a two-layer neural network used to identify the right context of
words using CBOW and Skip-Gram techniques. AraVec was used to pre-process
our text, as the generated word vectors could assign appropriate weights to the
semantics of words.
3.2
        </p>
      </sec>
      <sec id="sec-3-2">
        <title>Machine Learning model</title>
        <p>
          We have implemented an SGD optimized SVM classifier with Aravec word
embedding for our model. In Stochastic Gradient Descent optimization[
          <xref ref-type="bibr" rid="ref1">1</xref>
          ], the
gradient of the loss is estimated one sample at a time, which is randomly shuffled
for performing the iteration. In our model, SGD Classifier of sklearn performs
Stochastic Gradient Descent Optimization on a linear SVM Classification
Model whose training accuracy was 86% for Author profiling and an average of
92% for Deception detection of Twitter And News.
4
        </p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>Results Analysis</title>
      <p>
        The performance of our model for deception detection was remarkably better
than that for author profiling. The F1 scores were 0.34 for author profiling
and 0.76 for deception detection [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ]. SGD optimized SVM worked better
for deception detection. This can be attributed to the comparatively low sizes of
the news datasets, leading to better F1 scores. For author profiling, the model
was able to predict well when predicting the gender and location. F1 scores were
0.76 and 0.83 respectively. The model performed poorly when it came to age
with the F1 score being 0.55. Therefore, the joint performance was lower in
comparison to the best performer who scored 0.4556. The results can be explained
by pondering into the structural differences in Arabic. Research on Language
and Gender Differences in Jordanian Spoken Arabic [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ] shows that there are
significant differences in the Arabic speech of men and women. Similarly, [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ]
aims at exploring the regional variations in Arabic. However, such differences in
written Arabic amongst different age groups are unfathomable. Through word
embedding, vectors are generated by grouping words that belong to similar
contexts. As the differences of Arabic amongst age groups were not remarkable, the
vectoriser could have given similar scores which ultimately led to the poor
performance. The same logic can be used to explain the comparable performances
in deception detection and prediction of gender and location.
5
      </p>
    </sec>
    <sec id="sec-5">
      <title>Conclusion and Future works</title>
      <p>Author profiling and deception detection have numerous applications given the
amount of data exchanges over the internet each day. Although numerous NLP
models are available for the English language, these need to be extended to
languages such as Arabic, which is spoken by a vast majority of the world, which
is what APDA@FIRE aims to achieve. This paper aims to predict the personality
of authors based on their style of word usage and to ensure the credibility of
news by classifying the snippets as true or false. We have used word embedding
and a traditional learning model to implement the same. Future scope includes
comparing the accuracy of different types of traditional models such as Decision
trees, Random Forrest, and Bayesian classifiers, and studying the choice of other
word embedding tools that can capture the minute differences in written Arabic
amongst age groups.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Robbins</surname>
            <given-names>H</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Monro S</surname>
          </string-name>
          .
          <article-title>A stochastic approximation method</article-title>
          .
          <source>The annals of mathematical statistics. 1951 Sep</source>
          <volume>1</volume>
          :
          <fpage>400</fpage>
          -
          <lpage>7</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Estival</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gaustad</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hutchinson</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Pham</surname>
            ,
            <given-names>S.B.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Radford</surname>
            ,
            <given-names>W.</given-names>
          </string-name>
          ,
          <year>2008</year>
          .
          <article-title>Author profiling for English and Arabic emails</article-title>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <given-names>R.</given-names>
            <surname>Rehurek</surname>
          </string-name>
          and
          <string-name>
            <given-names>P.</given-names>
            <surname>Sojka</surname>
          </string-name>
          , “
          <article-title>Software framework for topic modeling with large corpora</article-title>
          ,” in
          <source>In Proceedings of the LREC 2010 Workshop on New Challenges for NLP Frameworks</source>
          ,
          <year>2010</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Mikolov</surname>
          </string-name>
          ,
          <string-name>
            <surname>Tomas</surname>
          </string-name>
          , et al.
          <article-title>"Efficient estimation of word representations in vector space</article-title>
          .
          <source>" arXiv preprint arXiv:1301.3781</source>
          (
          <year>2013</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Conroy</surname>
            <given-names>NJ</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rubin</surname>
            <given-names>VL</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chen</surname>
            <given-names>Y.</given-names>
          </string-name>
          <article-title>Automatic deception detection: Methods for finding fake news</article-title>
          .
          <source>Proceedings of the Association for Information Science and Technology</source>
          .
          <year>2015</year>
          ;
          <volume>52</volume>
          (
          <issue>1</issue>
          ):
          <fpage>1</fpage>
          -
          <lpage>4</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <given-names>Abu</given-names>
            <surname>Bakr</surname>
          </string-name>
          <string-name>
            <given-names>Soliman</given-names>
            , Kareem Eisa, and
            <surname>Samhaa</surname>
          </string-name>
          <string-name>
            <given-names>R.</given-names>
            <surname>El-Beltagy</surname>
          </string-name>
          , “
          <article-title>AraVec: A set of Arabic Word Embedding Models for use in Arabic NLP”</article-title>
          ,
          <source>in proceedings of the 3rd International Conference on Arabic Computational Linguistics (ACLing</source>
          <year>2017</year>
          ), Dubai,
          <string-name>
            <surname>UAE</surname>
          </string-name>
          ,
          <year>2017</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>Rosso</surname>
            <given-names>P</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Montes-</surname>
          </string-name>
          y
          <string-name>
            <surname>-Gómez</surname>
            <given-names>M</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Potthast</surname>
            <given-names>M</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Stein</surname>
            <given-names>B</given-names>
          </string-name>
          .
          <article-title>Overview of the 6th author profiling task at pan 2018: multimodal gender identification in Twitter</article-title>
          .
          <source>Working Notes Papers of the CLEF</source>
          .
          <year>2018</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>Charfi</surname>
            <given-names>A</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rosso</surname>
            <given-names>P</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zaghouani</surname>
            <given-names>W. Detecting</given-names>
          </string-name>
          <article-title>Deceptive Tweets in Arabic for Cyber-Security.</article-title>
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          <article-title>9. Overview of the Track on Author Profiling and Deception Detection in Arabic</article-title>
          . Francisco Rangel, Paolo Rosso, Anis Charfi, Wajdi Zaghouani, Bilal Ghanem, Javier Sánchez-Junquera. In: Mehtha P.,
          <string-name>
            <surname>Rosso</surname>
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Majumder</surname>
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mitra</surname>
            <given-names>M</given-names>
          </string-name>
          . (Eds.)
          <article-title>Working Notes of the Forum for Information Retrieval Evaluation (FIRE 2019)</article-title>
          .
          <source>CEUR Workshop Proceedings. CEUR-WS.org, Kolkata, India, December</source>
          <volume>12</volume>
          -15.
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>10. http://arap.qatar.cmu.edu/</mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>Al-Harahsheh</surname>
            ,
            <given-names>A.M.A.</given-names>
          </string-name>
          ,
          <year>2014</year>
          .
          <article-title>Language and gender differences in Jordanian spoken Arabic: a sociolinguistics perspective</article-title>
          .
          <source>Theory and Practice in Language Studies</source>
          ,
          <volume>4</volume>
          (
          <issue>5</issue>
          ), p.
          <fpage>872</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <surname>Ibrahim</surname>
            ,
            <given-names>Z.</given-names>
          </string-name>
          ,
          <year>2009</year>
          .
          <article-title>Beyond lexical variation in modern standard Arabic: Egypt. Lebanon and</article-title>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>