Sign inSubmit
computersciencejournal.org is not ours. This journal is published only at thescipub.com/jcs. Report a suspicious emailcomputersciencejournal.org is not ours · Report
ArticleMetrics
Research Article · Open access · Published 7 September 2026

HMA-RAG: A Hierarchical Memory Augmented Retrieval Augmented Generation Framework for Fake News Detection

Afnan Altarjami1 & Sawsan Alshattnawi1

Journal of Computer Science, Volume 22, Issue 9, pp. 2700–2710 · doi.org/10.3844/jcssp.2026.2700.2710

735 accesses319 downloads0 citations (Crossref)Metrics
Cite Check for updates

Abstract

Existing methods for detecting fake news, such as traditional machine learning and transformer-based models, often work as separate classifiers that do not use outside evidence, historical knowledge, or ways to make the results easier to understand. This paper presents a framework that combines retrieval augmentation and hierarchical memory to overcome three primary constraints: Insufficient external evidence, the absence of memory, and restricted explainability in existing methodologies. We present HMA-RAG (Hierarchical Memory-Augmented Retrieval-Augmented Generation), a dual-branch architecture that integrates DistilBERT-based classification with dense retrieval via MiniLM. The framework has a confidence-gated mechanism that only turns on a multi-stage verification pipeline when certain conditions are met. This pipeline includes evidence agreement, memory consistency, and temporal tracking. A single credibility score combines these signals, and a feedback loop keeps long-term memory up to date. Tests on the WELFake dataset (72,134 articles) show that HMA-RAG achieves an F1-score of 98.83%, which exceeds classical baselines and is comparable to a larger transformer model, FakeBERT (98.90% on the ISOT dataset), while using fewer classification parameters (66M vs. approximately 115M). Ablation studies verify the efficacy of the hierarchical memory components. Among the systems compared, only HMA-RAG provides four-layer explainability: Evidence retrieval, dual-stage verification signals, temporal context tracking, and credibility score decomposition. These results indicate that combining retrieval augmentation with hierarchical memory can achieve accuracy comparable to substantially larger models while providing structured, multi-layer transparency intended for deployment in journalism, fact-checking, and content moderation.

Licence and reuse

Open access. This article is licensed under a Creative Commons Attribution 4.0 International Licence (CC BY 4.0), as printed on the article, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original authors and the source. No permission is needed.

How to reuse this article

Responses (0)

Have a comment on this research? Sign in to respond. Responses are moderated and published with your name and affiliation; the authors are invited to reply. How we use your dataWrite a response

About this article

Cite this article

Altarjami, A. & Alshattnawi, S. (2026). HMA-RAG: A Hierarchical Memory Augmented Retrieval Augmented Generation Framework for Fake News Detection. Journal of Computer Science, 22(9), 2700–2710. https://doi.org/10.3844/jcssp.2026.2700.2710

Licence
CC BY 4.0
Issue
Volume 22, Issue 9
Policies
Editorial independenceUse of generative AIData availabilityAppeals and complaints
Version
Version of record
HMA-RAG: A Hierarchical Memory Augmented Retrieval Augmented Generation Framework for Fake News DetectionJournal of Computer Science · Volume 22, Issue 9 · pp. 2700–2710 · CC BY 4.0Download