English

Knowledge-Aware Self-Correction in Language Models via Structured Memory Graphs

Computation and Language 2025-07-08 v1 Artificial Intelligence

Abstract

Large Language Models (LLMs) are powerful yet prone to generating factual errors, commonly referred to as hallucinations. We present a lightweight, interpretable framework for knowledge-aware self-correction of LLM outputs using structured memory graphs based on RDF triples. Without retraining or fine-tuning, our method post-processes model outputs and corrects factual inconsistencies via external semantic memory. We demonstrate the approach using DistilGPT-2 and show promising results on simple factual prompts.

Keywords

Cite

@article{arxiv.2507.04625,
  title  = {Knowledge-Aware Self-Correction in Language Models via Structured Memory Graphs},
  author = {Swayamjit Saha},
  journal= {arXiv preprint arXiv:2507.04625},
  year   = {2025}
}

Comments

8 pages, 4 figures

R2 v1 2026-07-01T03:48:46.177Z