Cross-Domain Fake News Classification via RoBERTa Fine-Tuning on Hybrid LIAR-FakeNewsNet Corpus with Deployable Web Inference

Authors

  • J. Balaraju Department of Computer Science and Engineering, School of Engineering, Anurag University, Hyderabad, Telangana, India
  • Karthik Jilla Department of Computer Science and Engineering, School of Engineering, Anurag University, Hyderabad, Telangana, India

DOI:

https://doi.org/10.13052/jwe1540-9589.2572

Keywords:

Fake news detection, transformer models, RoBERTa, deep learning, cross-domain classification, misinformation, natural language processing

Abstract

The rapid spread of misinformation on social media platforms escalates a serious threat to world socio-political stability, health and financial security. While current automated fake news detection models boast impressive accuracy scores, these are often due to memorisation of the training domain rather than genuine generalisation to unseen examples. This study tackles the pressing need for domain-robust misinformation and disinformation detection through the creation of a highly adaptive and deployable classification system. The challenge stems from the severe drop in performance when exposed to the domain shift, especially with the emergence of generative language models that can perform style-based attacks. The proposed solution employs a RoBERTa-base transformer model, fine-tuned on a large, multi-domain corpus of 37,143 instances. This dataset mixes the short, politically focused statements of the LIAR dataset with the long, multi-topic articles from the FakeNewsNet dataset and ensures cross-domain generalisation. Using full-parameter fine-tuning and evaluation across different domains, the model attained 86.7% accuracy, 87.3% macro precision and 86.4% macro F1-score on a diverse test corpus, surpassing traditional baselines. Importantly, the assessment unveiled a conservative labelling tendency with a 90.4% precision in detecting fake news and a 93.1% recall in detecting genuine news which prevents the severe consequences of mistakenly accusing legitimate news. Moreover, the design breaks out of research-only models with its integration into a real-time web service (based on Flask), providing sub-second inferences with confidence scores. This approach simultaneously addresses the problem of cross-domain vulnerability of state-of-the-art natural language processing models and demands deployable interpretability, setting a new benchmark for the implementation of natural language processing models in the fight against advanced, online misinformation.

Downloads

Download data is not yet available.

Author Biographies

J. Balaraju, Department of Computer Science and Engineering, School of Engineering, Anurag University, Hyderabad, Telangana, India

J. Balaraju is an Associate Professor in the Department of Computer Science and Engineering (CSE) at Anurag University, Hyderabad, Telangana, India. He holds a master’s degree in Computer Science & Engineering from JNT University, Anathapuramu (2012), and earned his Ph.D. in CSE from Koneru Lakshmaiah Education Foundation, Vijayawada (2022). His areas of expertise include Data Science, Information Security, Cloud Computing, Machine Learning, Deep Learning, and Intelligent Engineering. Since 2022, he has been serving as an Associate Professor at Anurag University. Dr. J. Balaraju has published 18 academic papers, completed one research project, and contributed to five scientific publications.

Karthik Jilla, Department of Computer Science and Engineering, School of Engineering, Anurag University, Hyderabad, Telangana, India

Karthik Jilla is an academician and cybersecurity professional with over 14 years of combined experience in academia and industry. He is currently pursuing a Ph.D. in Computer Science and Engineering and serves as an Assistant Professor at Anurag University, Hyderabad. His areas of expertise include cybersecurity, computer networks, cloud computing, information security, and security operations. He has published research papers in reputed journals and conferences and actively contributes to innovation through research, patent development, and student mentoring. His academic and industry experience provides a strong foundation for research and interdisciplinary collaboration in emerging computing technologies.

References

Bashaddadh, O., Omar, N., Mohd, M., and Khalid, M. N. A. (2025). Machine learning and deep learning approaches for fake news detection: A systematic review of techniques, challenges, and advancements. IEEE Access, 13, 90433–90466. https://doi.org/10.1109/ACCESS.2025.3572051.

Chen, H., Yu, Y., Guo, H., Hu, B., Hu, S., Hu, J., Lyu, S., Wu, X., Lin, C. S., and Wang, X. (2025). A self-learning multimodal approach for fake news detection. Frontiers in Artificial Intelligence, 8, 1665798. https://doi.org/10.3389/frai.2025.1665798.

Lu, Z., Chen, L., Wang, Y., and Hu, X. (2025). MegaFake: A theory-driven dataset of fake news generated by large language models. Decision Support Systems, 191, 114442. https://doi.org/10.1016/j.dss.2024.114442.

Raza, N., Abdulkadir, S. J., Abid, Y. A., Albouq, S. S., Alwadain, A., and Rehman, A. U. (2025). Enhancing fake news detection with transformer-based deep learning: A multidisciplinary approach. PLOS ONE, 20(9), e0330954. https://doi.org/10.1371/journal.pone.0330954.

Uddin, R., Basit, A., Khan, Y., and Shazib, M. D. S. J. (2025). BERT-based fake news detection: A transformer-driven approach for misinformation classification on Twitter. International Journal on Semantic Web and Information Systems, 21(1), 1–23. https://doi.org/10.4018/IJSWIS.360892.

Al-Metwally, M. A. S., Alshahrani, M., Alshahrani, S., and Alshehri, A. (2024). Ensemble techniques for robust fake news detection: Integrating transformers, natural language processing, and machine learning. Sensors, 24(24), 8166. https://doi.org/10.3390/s24248166.

Koru, G. K., and Uluyol, Ç. (2024). Detection of Turkish fake news from Tweets with BERT models. IEEE Access, 12, 14918–14933. https://doi.org/10.1109/ACCESS.2024.3354165.

Qad, A., Farooq, M. H., Zafar, A., Akram, B. A., and Zhou, R. (2024). Fake news classification methodology with enhanced BERT. IEEE Access, 12, 177092–177104. https://doi.org/10.1109/ACCESS.2024.3508332.

Shao, Y., Sun, J., Hu, T., Jiang, Y., Ma, J., and Li, J. (2024). Fake news detection based on multi-modal classifier ensemble. Proceedings of the ACM International Conference on Multimedia Retrieval (ICMR), 567–575. https://doi.org/10.1145/3512732.3533583.

Shen, X., Li, J., Hu, Y., Wang, L., and Chen, H. (2024). Multimodal fake news detection with contrastive learning and optimal transport. Frontiers in Computer Science, 6, 1473457. https://doi.org/10.3389/fcomp.2024.1473457.

Tahmasebi, S., Hakimov, S., Ewerth, R., and Müller-Budack, E. (2024). Improving generalization for multimodal fake news detection. Proceedings of the ACM International Conference on Multimedia Retrieval (ICMR), 489–497. https://doi.org/10.1145/3591106.3592230.

Essa, E., Omar, K., and Alqahtani, A. (2023). Fake news detection based on a hybrid BERT and LightGBM models. Complex & Intelligent Systems, 9(6), 6581–6592. https://doi.org/10.1007/s40747-023-01098-0.

Phan, T. H., and Nguyen, H. Q. (2023). Fake news detection: A survey of graph neural network methods. Applied Soft Computing, 139, 110235. https://doi.org/10.1016/j.asoc.2023.110235.

Sharma, P., Nanda, R., and Gupta, D. (2023). Towards COVID-19 fake news detection using transformer-based models. Journal of Medical Internet Research, 25, e45106. https://doi.org/10.2196/45106.

Zhu, Y., Sheng, Q., Cao, J., Nan, Q., Shu, K., Wu, M., Wang, J., and Zhuang, F. (2023). Memory-guided multi-view multi-domain fake news detection. IEEE Transactions on Knowledge and Data Engineering, 35(7), 7178–7191. https://doi.org/10.1109/TKDE.2022.3185151.

Agrawal, C., Pandey, A., and Goyal, S. (2022). Multimodal fake news detection using hyperparameter-tuned BERT and ResNet110. International Journal of Advanced Computer Science and Applications, 13(3), 200–208. https://doi.org/10.14569/IJACSA.2022.0130301.

Alkhodair, H. A., Alghamdi, A. M., and Alharbi, A. S. (2022). Fake news detection based on news content and social contexts: A transformer-based approach. International Journal of Data Science and Analytics, 13(4), 335–362. https://doi.org/10.1007/s41060-021-00302-z.

Hu, Z., Liu, X., Li, J., and Hu, W. (2022). CHEF: A pilot Chinese dataset for evidence-based fact-checking. Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics (NAACL-HLT), 3456–3467.

Raza, S., and Ding, C. (2022). Fake news detection based on news content and social contexts: A transformer-based approach. International Journal of Data Science and Analytics, 13(4), 335–362. https://doi.org/10.1007/s41060-021-00302-z.

Alam, F., Cresci, S., Chakraborty, T., Silvestri, F., and Imran, M. (2021). Fighting the COVID-19 infodemic in social media: A holistic perspective and a call to arms. Proceedings of the 15th International AAAI Conference on Web and Social Media (ICWSM), 913–922.

Phan, R. K., Goswami, A., Narang, P., and Aswal, S. (2021). FakeBERT: Fake news detection in social media with a BERT-based deep learning approach. Multimedia Tools and Applications, 80(8), 11765–11788. https://doi.org/10.1007/s11042-020-10158-5.

Nan, Y., Qian, J., Sun, J., and Li, G. (2021). MDFEND: Multi-domain fake news detection. Proceedings of the 30th ACM International Conference on Information & Knowledge Management (CIKM), 3341–3345. https://doi.org/10.1145/3459637.3482274.

Shorfuzzaman, M., Hossain, M. S., Nazir, A., and Almogren, A. (2021). A transformer based approach for fighting COVID-19 fake news. https://arxiv.org/abs/2101.00180.

Shu, K., Mahudeswaran, D., Wang, S., Lee, D., and Liu, H. (2020). FakeNewsNet: A data repository with news content, social context, and spatiotemporal information for studying fake news on social media. Big Data, 8(3), 171–188. https://doi.org/10.1089/big.2020.0062.

Zhou, X., and Zafarani, R. (2020). A survey of fake news: Fundamental theories, detection methods, and opportunities. ACM Computing Surveys, 53(5), 1–40. https://doi.org/10.1145/3395046.

Wang, W. Y. (2017). “Liar, Liar Pants on Fire”: A new benchmark dataset for fake news detection. Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (ACL), 422–426. https://doi.org/10.18653/v1/P17-2067.

Kumar, A. and Singh, V. (2023). “Fine-Tuning RoBERTa for Fake News Classification on FakeNewsNet Dataset.” Journal of Ambient Intelligence and Humanized Computing, vol. 557, pp. 126–141.

Chen, S., Liu, Y., and Safavi, R. (2025). “Detecting Fake News Using RoBERTa, BERT, and GPT Models.” IEEE Transactions on Neural Networks and Learning Systems, vol. 238, pp. 45–58, Jan. 2025.

Ding, K., Wu, B., Sun, L., and Zhao, X. (2023). “Hierarchical Multi-Head Attention for Fake News Detection.” IEEE Transactions on Knowledge and Data Engineering, vol. 35, no. 4, pp. 3772–3783.

Downloads

Published

2026-10-16

How to Cite

Balaraju, J. ., & Jilla, K. . (2026). Cross-Domain Fake News Classification via RoBERTa Fine-Tuning on Hybrid LIAR-FakeNewsNet Corpus with Deployable Web Inference. Journal of Web Engineering, 25(07), 1295–1318. https://doi.org/10.13052/jwe1540-9589.2572

Issue

Section

Articles