CDF-RAG: Causal Dynamic Feedback for Adaptive Retrieval-Augmented Generation

Elahe Khatibi, Ziyu Wang, Amir M. Rahmani
4/17/2025
cs.CL

No official code found. Best implementation: elakhatibi/CDF-RAG (31 stars, last commit 2025-05-22).

Abstract

Retrieval-Augmented Generation (RAG) has significantly enhanced large language models (LLMs) in knowledge-intensive tasks by incorporating external knowledge retrieval. However, existing RAG frameworks primarily rely on semantic similarity and correlation-driven retrieval, limiting their ability to distinguish true causal relationships from spurious associations. This results in responses that may be factually grounded but fail to establish cause-and-effect mechanisms, leading to incomplete or misleading insights. To address this issue, we introduce Causal Dynamic Feedback for Adaptive Retrieval-Augmented Generation (CDF-RAG), a framework designed to improve causal consistency, factual accuracy, and explainability in generative reasoning. CDF-RAG iteratively refines queries, retrieves structured causal graphs, and enables multi-hop causal reasoning across interconnected knowledge sources. Additionally, it validates responses against causal pathways, ensuring logically coherent and factually grounded outputs. We evaluate CDF-RAG on four diverse datasets, demonstrating its ability to improve response accuracy and causal correctness over existing RAG-based methods. Our code is publicly available at https://github.com/ elakhatibi/CDF-RAG.

View on arXivView PDF

Code Implementations(1)

elakhatibi/CDF-RAGCommunity100%
315Python, Jupyter NotebookApr 2, 20251 years ago

Similar Papers

Cite this paper

@article{khatibi2025cdfrag,
  title  = {CDF-RAG: Causal Dynamic Feedback for Adaptive Retrieval-Augmented Generation},
  author = {Elahe Khatibi and Ziyu Wang and Amir M. Rahmani},
  year   = {2025},
  eprint = {2504.12560},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2504.12560v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2504.12560.svg)](https://codeofpaper.com/paper/2504.12560)

Discussion