Fake News Detection Using TF-IDF Features and Classical Machine Learning: A Comparative Study

Uncategorized

Authors: Anmol Gupta, Suryansh Mittal, Vineet Mohan

Abstract: The rapid circulation of misleading news on digital platforms has made automated veracity assessment an urgent practical requirement. This paper presents a content-based fake news detector that classifies a news article as real or fabricated using only its text. Articles are normalised through a deterministic cleaning pipeline, represented as TF-IDF vectors over unigram and bigram features, and classified by three classical models: Logistic Regression, Multinomial Naive Bayes and a calibrated Linear Support Vector Machine. Experiments on a public corpus of 6,335 balanced news articles show that the Linear SVM achieves the highest test accuracy of 93.69%, followed by Logistic Regression at 91.79% and Multinomial Naive Bayes at 86.35%, with five-fold cross-validation confirming the same ordering at 93.05%, 91.67% and 87.26% respectively. An inspection of model coefficients shows that although attributional reporting vocabulary marks the real class, the fabricated class is separated partly by corpus-specific entity vocabulary and by website boilerplate. That finding is reported as a limitation rather than a feature: it warns that in-domain accuracy overstates real-world transfer. The study concludes that a TF-IDF pipeline of this kind remains a strong, interpretable and inexpensive baseline against which heavier transformer models should be measured.

DOI: https://doi.org/10.5281/zenodo.24553192

× How can I help you?