Skip to content
Open access

Fake News Detection Using Machine Learning and LLM Embeddings: A Comparative Study of TF-IDF and BERT Representations on the Welfake Dataset

Aug 2026 · International Journal of Innovative Science and Research Technology · 0 citations · 11 references

TL;DR

The proposed framework highlights the potential of integrating transformer-based language models with classical machine learning algorithms to build robust and scalable fake news detection systems.

Abstract

The rapid growth of social media and online news platforms has significantly increased the spread of misinformation and fake news. Fake news can influence public opinion, create social unrest, and negatively impact decision-making processes. Therefore, developing intelligent systems capable of automatically identifying fake news has become an important research area in Artificial Intelligence and Natural Language Processing (NLP). The proposed work presents a Fake News Detection System that combines traditional machine learning techniques with Large Language Model (LLM) embeddings to improve classification performance. The proposed system utilizes textual news data from benchmark datasets such as WELFake and LIAR. Initially, the news articles undergo pre-processing steps including text cleaning, normalization, and removal of irrelevant characters. Two different feature extraction approaches are employed: Term Frequency-Inverse Document Frequency (TF-IDF) and contextual embeddings generated using the pre-trained BERT (Bidirectional Encoder Representations from Transformers) model. The extracted features are used to train and evaluate multiple Machine learning classifiers, including Logistic Regression, Support Vector Machine (SVM), Multi-Layer Perceptron (MLP), and XGBoost. Performance evaluation is carried out using standard metrics such as Accuracy, Precision, Recall, F1-Score, and Area Under the ROC Curve (AUC-ROC). Comparative analysis is performed to assess the effectiveness of traditional TF-IDF features versus BERT-based semantic embeddings. Experimental results demonstrate that BERT embeddings capture contextual and semantic information more effectively than conventional text representations, leading to improved fake news classification accuracy. The system also provides visualization tools such as confusion matrices, ROC curves, and performance comparison charts for comprehensive evaluation. The proposed framework highlights the potential of integrating transformer-based language models with classical machine learning algorithms to build robust and scalable fake news detection systems. Our work contributes to combating misinformation by providing an efficient and automated approach for identifying deceptive news content in digital media environments.

Read PDF

Similar papers

Open access Jul 2026

Fake News Identification Using Hybrid Transformer Ensemble Approach

A hybrid transformer-based ensemble model for automated fake news identification using the FakeNewsNet dataset is proposed and Experimental results show that the ensemble model achieves an accuracy of approximately 93%, outperforming the individual constituent models.

M. E. Babu, G. Sukanya · 0 citations
Jul 2026

AI-Based Fake News Detection Using Natural Language Processing

This research paper presents a comprehensive study of an AI-based fake news detection system leveraging Natural Language Processing techniques and multiple machine learning algorithms to automatically classify news articles as real or fake.

Shahid Khan, Abdul Majid Farooqi · 0 citations
Open access Jul 2026

Explainable Artificial Intelligence for Fake News Detection in Digital Media

An Explainable Artificial Intelligence (XAI) framework for fake news detection that unites the complementary explainability methods: SHapley Additive exPlanations and Local Interpretable Model-agnostic Explanations with the feature extraction technique, Term Frequency-Inverse Document Frequency (TF-IDF) and the Linear Support Vector Machine (Linear SVM) classifier.

Ilyass Mzili, Otmane Houdaif, Zakaria Benlalia · 0 citations
Open access Aug 2026

Multilingual Fake News Detection Using Machine Learning with Contextual-Based Feature Extraction

The proposed approach provides a simple and efficient solution for multilingual fake news detection in data-scarce environments with ensemble-based classifiers such as Random Forest and Gradient Boosting achieving reliable performance across both languages.

Nikita Garg, Pritam Singh Negi · 0 citations
Open access Aug 2026

A Hybrid Semantic–Sentiment Framework for Automatic Fake News Detection Using Doc2Vec and Machine Learning

The spread of misinformation through digital plat-forms such as social media sites and news portals has posed a problem of maintaining information credibility and building trust. Manual approaches alone cannot help cope with the huge volumes of information uploaded on these platforms every day. An automatic approach for fake news detection which utilizes NLP, sentiment analysis, semantic embedding methods and several machine learning algorithms has been developed in this paper. The news headlines collected from FakeNewsNet dataset have been pre-processed via tokenization, stop-word elimination, lemmatization, and n-grams extraction. Doc2Vec approach has been employed to extract semantic vectors whereas sentiment analysis has been done with the help of VADER tool. These semantic vectors have been provided as input to various machine learning algorithms such as Logistic Regression, Linear SVM, Random Forest, Gradient Boosting, XGBoost, LightGBM, Naïve Bayes and K-Nearest Neighbor. Experimental results suggest that ensemble learning models outperform other forms of machine learning techniques. Out of all the tested algorithms, ExtraTrees performed with the highest classification accuracy (77.54%) whereas XGBoost produced the highest macro F1-Score (0.5059).

Sneha Patle, Bhushan Gedam, Sameer Tembhurney et al. · 0 citations
Open access Jul 2026

FakeDiverse a curated multi-source news corpus for context-aware fake news detection using BERT and DeBERTa

This study examines the effectiveness of two transformer-based architectures—BERT and DeBERTa—for identifying fake news using only textual information from headlines and article bodies and achieves strong performance on FakeDiverse corpus, demonstrating the need for enhanced generalization strategies as well as domain adaptation.

Archana Praveen Kumar, A. S, Akshara G. Bhat et al. · 0 citations