A Machine Learning-based Approach for Detecting Fake News in Online Media

Main Article Content

Hussain Basha Pathan
Babak Alipanahi
Andrea Hanke


The proliferation of fake news in online media poses a significant challenge to information credibility, necessitating robust detection mechanisms. This study addresses the growing concern by proposing a machine learning-based approach, aiming to discern genuine news from fabricated stories effectively. We identify the deficiencies in existing systems, particularly their failure to adapt to the sophisticated and evolving nature of misinformation and their limited ability to process the subtleties of deceptive content. To bridge this gap, we explore the efficacy of three distinguished machine learning algorithms: Naive Bayes, Support Vector Machine (SVM), and Decision Trees, each with its unique strengths in text classification. Our methodology encompasses a comprehensive feature engineering process to capture the stylistic and semantic nuances of textual data, followed by rigorous model development and validation. We assess model performance through an array of metrics, including accuracy, precision, recall, and F1 score, to ensure a multifaceted evaluation of each algorithm's capabilities. The empirical analysis demonstrates that the SVM model achieves the highest accuracy, at 36.5%, marking it as the most proficient in our comparative study. The study's significant contribution lies in its detailed analytical approach, providing insights into the models' performance and laying the groundwork for future advancements in the field. Our findings not only enhance the current understanding of fake news detection but also pave the way for the development of more sophisticated and reliable detection systems. The overarching achievement of this research is the advancement toward a more trustworthy online information ecosystem, where the veracity of content can be ascertained with greater confidence.

Article Details

How to Cite
Hussain Basha Pathan, M.Bhavsingh, Babak Alipanahi, and Andrea Hanke, “A Machine Learning-based Approach for Detecting Fake News in Online Media ”, Int. J. Comput. Eng. Res. Trends, vol. 10, no. 11, pp. 27–36, Nov. 2023.
Research Articles


] Probierz, B., Stefański, P., & Kozak, J. (2021). Rapid detection of fake news based on machine learning methods. Procedia Computer Science, 192, 2893-2902. https://doi.org/10.1016/j.procs.2021.09.060

] Sahoo, S. R., & Gupta, B. B. (2021). Multiple features based approach for automatic fake news detection on social networks using deep learning. Applied Soft Computing, 100, 106983. https://doi.org/10.1016/j.asoc.2020.106983

] Choudhary, A., & Arora, A. (2021). Linguistic feature-based learning model for fake news detection and classification. Expert Systems with Applications, 169, 114171. https://doi.org/10.1016/j.eswa.2020.114171

] Hakak, S., Alazab, M., Khan, S., Gadekallu, T. R., Maddikunta, P. K. R., & Khan, W. Z. (2021). An ensemble machine learning approach through effective feature extraction to classify fake news. Future Generation Computer Systems, 117, 47-58. https://doi.org/10.1016/j.future.2020.11.022

] Kaliyar, R. K., Goswami, A., & Narang, P. (2021). FakeBERT: Fake news detection in social media with a BERT-based deep learning approach. Multimedia Tools and Applications, 80, 11765-11788. https://doi.org/10.1007/s11042-020-10183-2

] Seddari, N., Derhab, A., Belaoued, M., Halboob, W., Al-Muhtadi, J., & Bouras, A. (2022). A Hybrid Linguistic and Knowledge-Based Analysis Approach for Fake News Detection on Social Media. IEEE Access, 10, 62097-62109. https://doi.org/10.1109/ACCESS.2022.3181184

] Choudhury, D., & Acharjee, T. (2023). A novel approach to fake news detection in social networks using genetic algorithm applying machine learning classifiers. Multimedia Tools and Applications, 82, 9029-9045. https://doi.org/10.1007/s11042-022-12788-1

] Abdullah-All-Tanvir, E. M., Mahir, S., Akhter, S., & Huq, M. R. (2019). Detecting Fake News using Machine Learning and Deep Learning Algorithms. In 2019 7th International Conference on Smart Computing & Communications (ICSCC) (pp. 1-5). https://doi.org/10.1109/ICSCC.2019.8843612

] Kumar Jain, M., Gopalani, D., Meena, Y. K., & Kumar, R. (2020). Machine Learning based Fake News Detection using linguistic features and word vector features. In 2020 IEEE 7th Uttar Pradesh Section International Conference on Electrical, Electronics and Computer Engineering (UPCON) (pp. 1-6). https://doi.org/10.1109/UPCON50219.2020.9376576

] Liu, H. (2019). A Location Independent Machine Learning Approach for Early Fake News Detection. In 2019 IEEE International Conference on Big Data (Big Data) (pp. 4740-4746). https://doi.org/10.1109/BigData47090.2019.9005962

] Varma, R., Verma, Y., Vijayvargiya, P., & Churi, P. P. (2021). A systematic survey on deep learning and machine learning approaches of fake news detection in the pre- and post-COVID-19 pandemic. International Journal of Intelligent Computing and Cybernetics, 14(4), 617-646. https://doi.org/10.1108/IJICC-04-2021-0069

] Lahby, M., Aqil, S., Yafooz, W. M. S., & Abakarim, Y. (2022). Online Fake News Detection Using Machine Learning Techniques: A Systematic Mapping Study. In Combating Fake News with Computational Intelligence Techniques (pp. 1-18). Springer. https://doi.org/10.1007/978-3-030-90087-8_1

] Girgis, S., Amer, E., & Gadallah, M. (2018). Deep Learning Algorithms for Detecting Fake News in Online Text. In 2018 13th International Conference on Computer Engineering and Systems (ICCES) (pp. 93-97). https://doi.org/10.1109/ICCES.2018.8639198

] Khan, J. Y., Khondaker, M. T. I., Afroz, S., Uddin, G., & Iqbal, A. (2021). A benchmark study of machine learning models for online fake news detection. Machine Learning with Applications, 4, 100032. https://doi.org/10.1016/j.mlwa.2021.100032

] Choudhary, M., Jha, S., Prashant, Saxena, D., & Singh, A. K. (2021). A Review of Fake News Detection Methods using Machine Learning. In 2021 2nd International Conference for Emerging Technology (INCET) (pp. 1-5). https://doi.org/10.1109/INCET51464.2021.9456299

] Siddikk, A. B., Lia, R. J., Muntasir, M. F., Rahman, S. S. M. M., Arman, M. S., & Jahan, M. R. (2022). FakeTouch: Machine Learning Based Framework for Detecting Fake News. In Big Data Intelligence for Smart Applications (pp. 1-15). Springer. https://doi.org/10.1007/978-3-030-87954-9_15

] Torgheh, F., Keyvanpour, M. R., Masoumi, B., & Shojaedini, S. V. (2021). A Novel Method for Detecting Fake News: Deep Learning Based on Propagation Path Concept. In 2021 26th International Computer Conference, Computer Society of Iran (CSICC) (pp. 1-5). https://doi.org/10.1109/CSICC52343.2021.9420601