Skip to main content

Automatic Fake News Detector in Social Media Using Machine Learning and Natural Language Processing Approaches

  • Conference paper
  • First Online:
Smart Computing Techniques and Applications

Part of the book series: Smart Innovation, Systems and Technologies ((SIST,volume 224))

Abstract

The definition of fake news is a cooked-up story with an objective to fool or to cheat people. The current research aims to detect fake news in social media like Twitter, Watsapp and Facebook by studying the responses of the proposed model on posts acquired from Reddit online news store. Automatic fake news detection is a complex activity as it involves the model to implement natural language processing concepts in-tandem with machine learning approaches. Two feature extraction algorithms, namely CountVectoriser (CV) and term frequency-inverse document frequency (TFIDF), were employed separately for extracting the most relevant features from the dataset. These features were fed to multinomial naive Bayes (MNB), random forest (RF), support vector classifier (SVC) and logistic regression (LR) classifiers for classifying fake news creating a total of eight classification models. A solitary CV-based model was considered as the baseline model for predicting fake news in r/theonion and r/nottheonion datasets. GridsearchCV was also implemented for finding the testing and training scores for the selected parameters. Out of these models, TFIDF with MNB achieved an accuracy of 79.05% and is considered as the best.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 169.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 219.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 219.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Titcomb, J., Carson, J.: What exactly is it—and how can you spot it? Fake News. www.telegraph.co.uk

  2. Thota, A., Tilak, P., Ahluwalia, S., Lohia, N. Fake news detection: a deep learning approach. SMU Data Science Review 1(3), Article 10 (2018)

    Google Scholar 

  3. Liu, Y.: Early Detection of Fake News on Social Media. PhD Thesis, NJIT, USA (2019)

    Google Scholar 

  4. Allcott, H., Gentzkow, M.: Social Media and Fake News in the 2016 Election. Technical report, National Bureau of Economic Research (2017)

    Google Scholar 

  5. Bourgonje, P., Schneider, J.M., Georg Rehm from clickbait to fake news detection: an approach based on detecting the stance of headlines to articles. In: Proceedings of the 2017 EMNLP Workshop: Natural Language Processing meets Journalism, pp. 84–89 (2017)

    Google Scholar 

  6. http://www.journalism.org/2017/09/07/news-use-across-social-media-platforms-2017/accesed. 10th September 2020

  7. Vosoughi, S., Roy, D., Aral, S.: The spread of true and false news online. Science 359(6380), 1146–1151 (2018)

    Article  Google Scholar 

  8. Conroy, N.K., Rubin, V.L., Chen, Y.: Automatic deception detection: methods for finding fake news. Association for Information Science and Technology 52(1), 1–4 (2015)

    Article  Google Scholar 

  9. Chen, Y., Conroy, N.K., Rubin, V.L.: News in an online world: the need for an “automatic crap detector”. In: Proceedings of ASIST 2015 (2015)

    Google Scholar 

  10. Kim, J., Tabibian, B., Oh, A., Schölkopf, B., Gomez-Rodriguez, M.: Leveraging the crowd to detect and reduce the spread of fake news and misinformation. In: 11th ACM International Conference on Web Search and Data Mining, pp. 324–332 (2018)

    Google Scholar 

  11. Traylor, T., Straub, J., Gurmeet, Snell, N.: Snell classifying fake news articles using natural language processing to identify in-article attribution as a supervised learning estimator. In: IEEE 13th International Conference on Semantic Computing (2019). https://doi.org/10.1109/icsc.2019.00086

  12. Bilal, G., Rosso, P., Rangel, F.: Stance detection in fake news a combined feature representation. In: 1st Workshop on Fact Extraction and Verification (FEVER), pp. 66–71 (2018)

    Google Scholar 

  13. Bessi, A., Ferrara, E.: Social bots distort the 2016 US Presidential election online discussion. First Monday 21(11-7) (2016)

    Google Scholar 

  14. Ferrara, E., Varol, O., Davis, C., Menczer, F., Flammini, A.: The rise of social bots. Commun. ACM 59(7), 96–104 (2016)

    Article  Google Scholar 

  15. Chu, Z., Gianvecchio, S., Wang, H., Jajodia, S.: Detecting automation of twitter accounts: are you a human, bot, or cyborg? IEEE Trans. Dependable Secure Comput. 9(6), 811–824 (2012)

    Article  Google Scholar 

  16. Castillo, C., Mendoza, M., Poblete, B.: Information credibility on twitter. In: 20th International Conference on World Wide Web, pp. 675–684 (2011)

    Google Scholar 

  17. Zhao, Z., Resnick, P., Mei, Q.: Enquiring minds: early detection of rumours in social media from enquiry posts. In: 24th International Conference on World Wide Web, pp. 1395–1405 (2015)

    Google Scholar 

  18. Ma, J., Gao, W., Mitra, P., Kwon, S., Jansen, B.J., Wong, K.F., Cha, M.: Detecting rumors from microblogs with recurrent neural networks. 3818 (2016)

    Google Scholar 

  19. Cheng, J., Adamic, L.A., Kleinberg, J.M., Leskovec, J.: Do cascades recur? In: 25th International Conference on World Wide Web, pp. 671–681 (2016, April)

    Google Scholar 

  20. Hu, X., Tang, J., Liu, H.: Online social spammer detection. In: 28th AAAI Conference on Artificial Intelligence

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Srinivas, J., Venkata Subba Reddy, K., Sunny Deol, G.J., VaraPrasada Rao, P. (2021). Automatic Fake News Detector in Social Media Using Machine Learning and Natural Language Processing Approaches. In: Satapathy, S.C., Bhateja, V., Favorskaya, M.N., Adilakshmi, T. (eds) Smart Computing Techniques and Applications. Smart Innovation, Systems and Technologies, vol 224. Springer, Singapore. https://doi.org/10.1007/978-981-16-1502-3_30

Download citation

Publish with us

Policies and ethics