Interpretable Fake News Detection Using BERT with LIME and SHAP Explanations

The rapid spread of misinformation on social mediahas made manual fact-checking insufficient, and many automaticdetectors return only a “Real” or “Fake” label without justification. Such labels are difficult to trust, debug, and defend. Thispaper presents an interpretable fake news detection frameworkin which the explanation is a primary output of the system. Theframework combines two classical baselines, Logistic Regressionand Linear Support Vector Classification (LinearSVC), trainedon TF-IDF features, with a BERT-base-uncased model fine-tunedfor binary classification. Each prediction is explained with LIME,which gives instance-level word weights, and SHAP, which givesglobal and instance-level feature attributions. The frameworktargets two public benchmarks with different characteristics:LIAR, a collection of short political statements, and the ISOTFake and Real News dataset, a collection of full-length articles.A FastAPI backend with predict and explain endpoints, togetherwith a web frontend, supports live demonstration. The completepipeline has been implemented, and all components except theGPU-dependent BERT trainer have been verified end to end on asample dataset. This paper does not report final accuracy figures. Instead, it specifies the evaluation protocol, which uses accuracy,precision, recall, F1-score, and confusion matrices on held-outtest sets, together with a qualitative audit of explanations forshortcut learning. Index Terms—Fake news detection, natural language processing, BERT, TF-IDF, LIME, SHAP, explainable AI, FastAPI.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-12-01
DOI
https://doi.org/10.5281/zenodo.24707121
Primary Topic
Misinformation and Its Impacts
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Interpretable Fake News Detection Using BERT with LIME and SHAP Explanations

Katre Harshal
Zenodo (CERN European Organization for Nuclear Research)
Misinformation and Its Impacts
preprint

Interpretable Fake News Detection Using BERT with LIME and SHAP Explanations

Katre Harshal
preprint en

Abstract

The rapid spread of misinformation on social mediahas made manual fact-checking insufficient, and many automaticdetectors return only a “Real” or “Fake” label without justification. Such labels are difficult to trust, debug, and defend. Thispaper presents an interpretable fake news detection frameworkin which the explanation is a primary output of the system. Theframework combines two classical baselines, Logistic Regressionand Linear Support Vector Classification (LinearSVC), trainedon TF-IDF features, with a BERT-base-uncased model fine-tunedfor binary classification. Each prediction is explained with LIME,which gives instance-level word weights, and SHAP, which givesglobal and instance-level feature attributions. The frameworktargets two public benchmarks with different characteristics:LIAR, a collection of short political statements, and the ISOTFake and Real News dataset, a collection of full-length articles.A FastAPI backend with predict and explain endpoints, togetherwith a web frontend, supports live demonstration. The completepipeline has been implemented, and all components except theGPU-dependent BERT trainer have been verified end to end on asample dataset. This paper does not report final accuracy figures. Instead, it specifies the evaluation protocol, which uses accuracy,precision, recall, F1-score, and confusion matrices on held-outtest sets, together with a qualitative audit of explanations forshortcut learning. Index Terms—Fake news detection, natural language processing, BERT, TF-IDF, LIME, SHAP, explainable AI, FastAPI.

Zenodo (CERN European Organization for Nuclear Research)
Misinformation and Its Impacts
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon