Recent Update
A new notebook (BanFake.ipynb
) has been added to the repository to make it easier to use Huggingface’s Transformer package and experiment with new language models.
Abstract
Observing the damages that can be done by the rapid propagation of fake news in various sectors like politics and finance, automatic identification of fake news using linguistic analysis has drawn the attention of the research community. However, such methods are largely being developed for English where low resource languages remain out of the focus. But the risks spawned by fake and manipulative news are not confined by languages. In this work, we propose an annotated dataset of ~50K news that can be used for building automated fake news detection systems for a low resource language like Bangla. Additionally, we provide an analysis of the dataset and develop a benchmark system with state of the art NLP techniques to identify Bangla fake news. To create this system, we explore traditional linguistic features and neural network based methods. We expect this dataset will be a valuable resource for building technologies to prevent the spreading of fake news and contribute in research with low resource languages.
Authors
1 Shahjalal University of Science and Technology
2 University of Houston
File Format Authentic-48K.csv and Fake-1K.csv
Column Title | Description |
---|---|
articleID | ID of the news |
domain | News publisher's site name |
date | Published Date |
category | Category of the news |
headline | Headline of the news |
content | Article or body of the news |
label | 1 or 0 . '1' for authentic '0' for fake |
LabeledAuthentic-7K.csv, LabeledFake-1K.csv
Column Title | Description |
---|---|
articleID | ID of the news |
domain | News publisher's site name |
date | Published Date |
category | Category of the news |
source | Source of the news. (One who can verify the claim of the news) |
relation | Related or Unrelated. Related if headline matches with content's claim otherwise it is labeled as Unrelated |
headline | Headline of the news |
content | Article or body of the news |
label | 1 or 0 . '1' for authentic '0' for fake |
F-type | Type of fake news (Clickbait, Satire, Fake(Misleading or False Context)) |
F-type is only present in LabeledFake-1K.csv
Requires the following packages:
It is recommended to use virtual environment packages such as virtualenv or conda Follow the steps below to setup project:
git clone https://github.com/Rowan1224/FakeNews.git
pip install -r requirements.txt
Basic Experiments
python n-gram.py Emb_F SVM -s
will run the Emb_F experiment using SVM Model. Use -s to Save the results. NN Experiments
python main.py CNN -g
will run the experiment using CNN model. Use -g to run in GPU.BERT
python bert.py 3
will run an experiment with 3 epochs@InProceedings{Hossain20.1084,
author = {Md Zobaer Hossain, Md Ashraful Rahman, Md Saiful Islam, Sudipta Kar},
title = "{BanFakeNews: A Dataset for Detecting Fake News in Bangla}",
booktitle = {Proceedings of the Twelfth International Conference on Language Resources and Evaluation (LREC 2020)},
year = {2020},
publisher = {European Language Resources Association (ELRA)},
language = {english}
}