<!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>News Detection using TF-IDF Features and TextCNN</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Muhammad Abdullah Ilyas</string-name>
          <email>abdullah.ilyas@pucit.edu.pk</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Khurram Shahzad</string-name>
          <email>khurram@pucit.edu.pk</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Network (CNN)</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>TextCNN</string-name>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Department of Computer Science, University of the Punjab</institution>
          ,
          <addr-line>Lahore</addr-line>
          ,
          <country country="PK">Pakistan</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Department of Data Science, University of the Punjab</institution>
          ,
          <addr-line>New Campus, Lahore</addr-line>
          ,
          <country country="PK">Pakistan</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>Social media platforms are widely to exchange ideas and sharing news with each other. Consequently, any idea, post, or new posted on social media is likely to become viral in a short span of time. However, if a fake news becomes viral it can have consequences for the society. Therefore, the detection and eradication of fake news is desired. Recognizing the need for fake news detection, several studies have been conducted for this task in English and Western languages. However, the research in Urdu fake news detection has merely commenced. To promote research and development in this area, the second time in two years, Forum for Information Retrieval Evaluation 2021 has dedicated a track for fake news detection task for Urdu, called UrduFake'21. In this study, we have used three deep learning techniques for Urdu fake news detection, including the state-of-the-art Text CNN with three types of word embeddings, as well as TF-IDF features. The results of the experiments has shown that TextCNN with TF-IDF is the most efective technique that achieved an accuracy of 0.716 and macro average F1 score of 0.663. Furthermore, according to the results released by the organizers of UrduFake'21 our approach is ranked 2 among the 19 submissions.</p>
      </abstract>
      <kwd-group>
        <kwd>Fake news</kwd>
        <kwd>Urdu fake news</kwd>
        <kwd>News classification</kwd>
        <kwd>Machine learning</kwd>
        <kwd>Deep learning</kwd>
        <kwd>Convolutional Neural</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>
        Entertainment and media market is recognized as a 2.1 trillion US dollars market [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ].
Furthermore, it is estimated that more than 50% of the adult population read news papers. Among
these, over 2.5 billion read in-print and more than 600 million read news in the digital form [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ].
Given the increased use of social media services, people around the world use these services as
a source of news. According to the 2021 survey of Statista, more than 70% respondents from
diferent countries, such as South Africa and Malaysia, accepted the use of social media as a
source of news [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ].
      </p>
      <p>
        Fake news refers to the news articles that are intentionally and verifiably false [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. Fake news
is considered as a remarkable issue as the propagation of disinformation which may undermine
the peace and stability of a society. Given the importance of the task, several studies have been
nEvelop-O
LGOBE
conducted for fake news detection, which have been categorized into four types of methods,
style-based, propagation-based, knowledge based and source-based methods [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. However,
there is a scarcity of studies that focus on fake news detection in Urdu language despite the
fact that there are millions of Urdu speakers across the globe [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. In the quest for promoting
research in this area, a track of the International Forum for Information Retrieval (FIRE’20) was
dedicated to Urdu fake news detection [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]. This year again, a track of the FIRE’21 is dedicate to
Urdu fake news detection https://www.urdufake2021.cicling.org/.
      </p>
      <p>In this study, we have performed experiments using three deep learning techniques and
multiple features. In particular, we have used Convolutional Neural Network (CNN), Recurrent
Neural Network (RNN) and TextCNN with the classical features, as well as word embeddings.
The classical features used in this study are:Term Frequency Inverse Document Frequency
(TF-IDF), whereas, the three types of embeddings fed to the deep learning techniques are:
Word2Vec, fastText and GloVe.</p>
      <p>The rest of the paper is organized into six sections. Section 2 presents the related work
about fake news detection in the Urdu language. Section 3 provides an overview of the dataset
released as a part of UrduFake’21 task. An overview of the proposed approach is presented in
Section 4, whereas the results of the experiments are presented in Section 5. Finally, conclusions
are presented in Section 6.</p>
    </sec>
    <sec id="sec-2">
      <title>2. Related Work</title>
      <p>
        As discussed in the preceding section, numerous studies have been conducted for fake news
detection in Western languages, where as the contemporary Urdu language task has received
little attention of researchers. The initial work on fake news detection in Urdu developed the
ifrst-ever dataset of Urdu fake news detection [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ]. The researchers generated another datasets
by automatically translating fake news from the English fake news into Urdu [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. The developed
dataset developed is completely balanced as it is composed of 200 fake news and 200 real
news. The study used word and character n-gram with Support Vector Machine (SVM) for
the development of an automatic system for fake news detection which achieved accuracy
scores ranging from 0.83 to 0.87. However, a key limitation of the approach is that dataset is
composed of a small number of news which may not be suitable for learning and prediction of
deep learning techniques.
      </p>
      <p>
        A notable study [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ] presented a comparison of linguistic features of fake news with real news.
Whereas, [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ] contend that fake news detection in English news can be done using semantic,
syntactic and lexical features. Besides English, studies have also been done for all the major
Western languages, including Spanish, German and French. These studies have used lexical
features which includes bag of words, n-grams and parts of speech, for fake news detection [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ].
      </p>
      <p>As deep leaning has achieved groundbreaking results for several natural language processing
tasks, some studies have proposed the us of Long Short Term Memory (LSTM) to distinguish
between real and fake news [12] [13]. Similarly, another study [14] used Recurrent Neural
Network (RNN) for fake news detection, whereas, [15] have used ensemble learning and label
smoothing with CharCNN and RoBERTa model for the same task. In contrast, [16] proposed the
use dense neural network for the classification of fake news detection on Urdu dataset which</p>
    </sec>
    <sec id="sec-3">
      <title>3. Urdu Fake News Dataset</title>
      <p>This section provides an overview of the UrduFake’21 corpus released for the Urdu fake news
detection task. As per the standard procedure, initially a training dataset and a sample testing
dataset was released for developing and tuning techniques. The specifications of the dataset of
UrduFake’21 are presented in Table 1. It can be observed from the table that the released dataset
is composed of 1300 Urdu news articles, including 750 real and 550 fake news articles. Another
notable observation is that the news articles are are collected from five categories: showbiz,
health, sports, business and technology, which shows the diversity of the dataset. The presence
of news from diverse domains makes it a more challenging as these domains have diferent
vocabulary which limits the learning capabilities of machine learning techniques. That is, the
vocabulary used in the news from the healthcare domain substantially difers from that of the
sports domain.</p>
      <p>In the second phase of UrduFake’21, an unseen test dataset was released which is used for
the final evaluation of the techniques. That is, the testing dataset released in the second phase
included a corpus of news, whereas, the labels of the news articles, either real or fake, were not
provided. The participants were asked to submit their code and predictions against the unseen
dataset.</p>
      <p>This study has divided the dataset into three parts, training, development and testing dataset.
The training dataset and the sample testing dataset released in the first step is referred to as
training and development dataset, whereas, the unseen dataset released in the second round is
referred to as testing dataset. The detailed specifications of the dataset from the two rounds are
presented in Table 2. It can be observed from the table that the dataset is composed of 1600
news articles including 950 real and 650 fake news articles.</p>
    </sec>
    <sec id="sec-4">
      <title>4. Using TextCNN with TF-DF</title>
      <p>This study has used Text Convolutional Neural Network (TextCNN) which builds upon
Convolutional Neural Network (CNN) as it has achieved a remarkable accuracy on the key sentence
classification task. The approach was originally proposed by [ 19] which applied diferent
number of convolutional layers. In this study, we have applied three convolutional layers which
uses 512 filters in each convolutional layer, wheresa the kernal size for three layers is set to 3, 4
and 5, respectively.</p>
      <p>An overall architecture is presented in Figure 1. It can be observed from the figure that the
ifrst step extracts feature values from a news article. The proposed approach used used Term
Frequency - Inverse Document Frequency (TF-IDF) which computes the importance of a word
in the news corpus. Once the feature values are computed and the convolutional layer with
the kernel size 16 is used. Finally, the relu activation function is used in order to distinguish
between fake and real new.</p>
      <p>The choice of the TF-IDF stems from the experiments on the training and development dataset.
In particular, for the choice of features, experiments were performed using Word2Vec, GloVe and
fastText embeddings as features. The results of the experiments established that TF-IDF features
are more efective than the three types of word embedding. A further examination of the
embeddings and news vocabulary revealed the underlying reasons for the higher performance
of TF-IDF over word embeddings. The first reason is that there are several words in the
development dataset whose embeddings were not available due to the absence of these words
from the training dataset. And the second reason is that there were some words that were more
frequently used in one type of technique than the other technique.</p>
    </sec>
    <sec id="sec-5">
      <title>5. Results</title>
      <p>Experiments are performed using the TextCNN approach discussed in the preceding section. In
addition to that, experiments are also performed using two other types of neutral networks,
Convolutional Neural Network (CNN) and Recurrent Neural Network (RNN). The choice of
these techniques stems from the fact that techniques have achieved groundbreaking results
for various NLP tasks. Recall from the preceding section, this study has used three types of
word embeddings, Word2Vec, GloVe and fastText. The reason for choosing word embeddings is
that the use of embeddings have achieved a very high F1 score for another NLP tasks in Urdu
language [20].</p>
      <p>For the experiments, the training dataset provided by UrduFake’21 organizers has been used.
The initially released testing dataset has been used for development, whereas the finally released
unseen dataset that is used for the competition has been used for testing and results generation.
The code used for the experiments can be downloaded from GitHub1 Accordingly, the generated
results are presented in Table 3. That is, the table contains precision, recall and F1 score for the
two classes, real news and fake news. Also, macro average F1 scores and Accuracy scores of the
deep learning techniques are presented in the table.</p>
      <p>It can be observed from the table that the proposed TextCNN achieved the highest accuracy
score of 0.716 and macro average F1 score of 0.663 with TF-IDF features. Furthermore, it can
be observed from the table that the F1 score achieved the proposed techniques for the fake
news class is 0.530 and 0.797 for the real news class. These results represent that the proposed
approach is more efective for the identification of real news than for the fake news. One
possible reason for the diference in the F1 scores of the two classes stems form the smaller
number of fake news in the training dataset.</p>
    </sec>
    <sec id="sec-6">
      <title>6. Conclusion</title>
      <p>A plethora of studies have been conducted for fake news detection in English and other Western
languages. However, fake news detection in Urdu language is yet to receive the attention of
1https://github.com/mabdullahilyas934/URDU_FAKE_2021
researchers. To promote research and development in Urdu fake news detection, a track of FIRE
2021, named UrduFake’21, is dedicated to this remarkable task. Given that the state-of-the-art
deep learning techniques has achieved groundbreaking results for various NLP tasks. Therefore,
this study has focused on the use of several deep learning techniques for fake news detection in
Urdu. The techniques used in this study are, Convolutional Neural Networks and Recurrent
Neural Networks. These techniques are fed with classical features, TF-IDF, as well as word
embeddings, Word2Vec, GloVe and fastText embeddings. The results show TextCNN achieved
a macro F1 score of 0.663 and an accuracy of 0.716 using TF-IDF features. According to the
ranking released by the organizers, our is ranked 2 in among the 19 submissions.
news in a new corpus for the Spanish language, Journal of Intelligent &amp; Fuzzy Systems 36
(2019) 4869–4876.
[12] A. Giachanou, P. Rosso, F. Crestani, Leveraging emotional signals for credibility
detection, in: Proceedings of the 42nd International ACM SIGIR Conference on Research and
Development in Information Retrieval, ACM, 2019, pp. 877–880.
[13] B. Ghanem, P. Rosso, F. Rangel, An emotional analysis of false information in social media
and news articles, ACM Transactions on Internet Technology (TOIT) 20 (2020) 1–18.
[14] Y. Liu, Y.-F. B. Wu, Early detection of fake news on social media through propagation
path classification with Recurrent and Convolutional Networks, in: Proceedings of the
Thirty-second AAAI conference on Artificial Intelligence, 2018, pp. 354–361.
[15] N. Lina, S. Fua, S. Jianga, Fake news detection in the Urdu language using
CharCNNRoBERTa, in: Proceedings of the Forum for Information Retrieval Evaluation, volume
2826, CEUR-WS, 2020, pp. 447–451.
[16] A. Kumar, S. Saumya, J. P. Singh, NITP-AI-NLP@UrduFake-FIRE2020: Multi-layer Dense
Neural Network for fake news detection in Urdu news articles., in: Proceedings of the
Forum for Information Retrieval Evaluation, volume 2826, CEUR-WS, 2020, pp. 458–463.
[17] A. F. U. R. Khiljia, S. R. Laskara, P. Pakraya, S. Bandyopadhyaya, Urdu fake news detection
using generalized autoregressors, in: Proceedings of the Forum for Information Retrieval
Evaluation, volume 2826, CEUR-WS, 2020, pp. 452–457.
[18] N. N. A. Balaji, B. Bharathi, SSNCSE_NLP@Fake news detection in the Urdu language
(UrduFake) 2020, in: Proceedings of the Forum for Information Retrieval Evaluation,
volume 2826, CEUR-WS, 2020, pp. 469–473.
[19] Y. Zhang, B. Wallace, A sensitivity analysis of (and practitioners’ guide to) Convolutional
Neural Networks for sentence classification, in: Proceedings of the 8 ℎ International Joint
Conference on Natural Language Processing, ACL, 2017, pp. 253–263.
[20] S. Kanwal, K. Malik, K. Shahzad, F. Aslam, Z. Nawaz, Urdu named entity recognition:
Corpus generation and deep learning applications, ACM Transactions on Asian and
Low-Resource Language Information Processing (TALLIP) 19 (2019) 1–13.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>A.</given-names>
            <surname>Guttmann</surname>
          </string-name>
          ,
          <source>Value of the global entertainment and media market 2011-2024</source>
          ,
          <year>2021</year>
          . URL: https://www.statista.com/statistics/237749/ value
          <article-title>-of-the-global-entertainment-and-media-market/</article-title>
          ,
          <source>last accessed 4 October</source>
          <year>2021</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>D.</given-names>
            <surname>Ponsford</surname>
          </string-name>
          ,
          <article-title>More people read newspapers worldwide than use web</article-title>
          ,
          <year>2021</year>
          . URL: http: //www.ifabc.org/news/More-People-
          <article-title>Read-Newspapers-Worldwide-</article-title>
          <string-name>
            <surname>Than-</surname>
          </string-name>
          Use-Web,
          <source>last accessed 4 October</source>
          <year>2021</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>A.</given-names>
            <surname>Watson</surname>
          </string-name>
          ,
          <article-title>Social media as a news source worldwide</article-title>
          <year>2021</year>
          ,
          <year>2021</year>
          . URL: https://www.statista. com/statistics/718019/social-media
          <string-name>
            <surname>-</surname>
          </string-name>
          news-source/,
          <source>last accessed 4 October</source>
          <year>2021</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>M.</given-names>
            <surname>Amjad</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G.</given-names>
            <surname>Sidorov</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Zhila</surname>
          </string-name>
          ,
          <article-title>Data augmentation using machine translation for fake news detection in the Urdu language</article-title>
          ,
          <source>in: Proceedings of The 12ℎ Language Resources and Evaluation Conference</source>
          ,
          <year>2020</year>
          , pp.
          <fpage>2537</fpage>
          -
          <lpage>2542</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>X.</given-names>
            <surname>Zhou</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Zafarani</surname>
          </string-name>
          ,
          <article-title>A survey of fake news: Fundamental theories, detection methods, and opportunities</article-title>
          ,
          <source>ACM Computing Surveys (CSUR) 53</source>
          (
          <year>2020</year>
          )
          <fpage>1</fpage>
          -
          <lpage>40</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>M.</given-names>
            <surname>Amjad</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G.</given-names>
            <surname>Sidorov</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Zhila</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Gelbukh</surname>
          </string-name>
          , P. Rosso, UrduFake@FIRE2020:
          <article-title>Shared track on fake news identification in Urdu</article-title>
          ,
          <source>in: Proceedings of the Forum for Information Retrieval Evaluation</source>
          , volume
          <volume>2826</volume>
          ,
          <string-name>
            <surname>CEUR-WS</surname>
          </string-name>
          ,
          <year>2020</year>
          , pp.
          <fpage>37</fpage>
          -
          <lpage>40</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>M.</given-names>
            <surname>Amjad</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G.</given-names>
            <surname>Sidorov</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Zhila</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A. F.</given-names>
            <surname>Gelbukh</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Rosso</surname>
          </string-name>
          ,
          <article-title>Overview of the shared task on fake news detection in Urdu at FIRE</article-title>
          <year>2020</year>
          .,
          <source>in: Proceedings of the Forum for Information Retrieval Evaluation</source>
          , volume
          <volume>2826</volume>
          ,
          <string-name>
            <surname>CEUR-WS</surname>
          </string-name>
          ,
          <year>2020</year>
          , pp.
          <fpage>434</fpage>
          -
          <lpage>446</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>M.</given-names>
            <surname>Amjad</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G.</given-names>
            <surname>Sidorov</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Zhila</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Gómez-Adorno</surname>
          </string-name>
          ,
          <string-name>
            <surname>I. Voronkov</surname>
          </string-name>
          ,
          <string-name>
            <surname>A</surname>
          </string-name>
          . Gelbukh, “
          <article-title>Bend the truth”: Benchmark dataset for fake news detection in Urdu language and its evaluation</article-title>
          ,
          <source>Journal of Intelligent &amp; Fuzzy Systems</source>
          <volume>39</volume>
          (
          <year>2020</year>
          )
          <fpage>2457</fpage>
          -
          <lpage>2469</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>H.</given-names>
            <surname>Rashkin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            <surname>Choi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J. Y.</given-names>
            <surname>Jang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Volkova</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Choi</surname>
          </string-name>
          ,
          <article-title>Truth of varying shades: Analyzing language in fake news and political fact-checking</article-title>
          ,
          <source>in: Proceedings of the 2017 conference on Empirical Methods in Natural Language Processing</source>
          ,
          <year>2017</year>
          , pp.
          <fpage>2931</fpage>
          -
          <lpage>2937</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>V.</given-names>
            <surname>Pérez-Rosas</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Kleinberg</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Lefevre</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Mihalcea</surname>
          </string-name>
          ,
          <article-title>Automatic detection of fake news</article-title>
          ,
          <source>in: Proceedings of the 27ℎ International Conference on Computational Linguistics</source>
          ,
          <string-name>
            <surname>ACL</surname>
          </string-name>
          ,
          <year>2017</year>
          , p.
          <fpage>3391</fpage>
          -
          <lpage>3401</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>J.-P.</given-names>
            <surname>Posadas-Durán</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Gómez-Adorno</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G.</given-names>
            <surname>Sidorov</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J. J. M.</given-names>
            <surname>Escobar</surname>
          </string-name>
          , Detection of fake
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>