cs.AIAug 22, 2026

From Association to Causation: Improving Retrieval Precision of Retrieval-Augmented Generation via Causal Relations and an Attention Mechanism

Authors: Jing Liu, Yongxing Qi, Muchen Jiang, Chengnan Hu, Qingqing Peng, Haoming Wang, Yuqing Wang, Yang Yu, 

Organizations: Hangzhou Innovation Institute, Beihang University, Hangzhou, China

Abstract

Retrieval-Augmented Generation (RAG) grounds LLM generation on retrieved documents, but the standard terminal retrieval stage--dense-vector similarity, optionally followed by reranking--often returns documents that share keywords with the query without containing the needed information, a failure mode that grows with the knowledge base. We trace it to a conceptual gap: similarity captures only associational relations, whereas the documents that matter are linked to the query causally. We model the terminal retrieval stage with a causal graph grounded in Reichenbach's common cause principle: the keywords shared by the query and a retrieved document form a latent common cause A, and the document's residual keywords form a latent set B linking the document to the ideal output. Since a retrieved document is a collider (A -> d <- B), retrieval itself opens an associational path between the query and B, which licenses a training-free, attention-style re-scoring rule: the cosine similarity between the query embedding and the weighted centroid embedding of B. Unlike causality-enhanced RAG variants that model causal relations inside the knowledge content, our graph models the causal structure of the retrieval process itself. On a real 471-document enterprise knowledge base, the method promotes a relevant guideline from rank 6 to the top 3; on a controlled diagnostic corpus reproducing the keyword-stuffing regime, it improves the mean target rank from 2.88 to 1.25, while a trained cross-encoder reranker barely helps (2.63). Conversely, on three BEIR benchmarks the score underperforms the similarity baseline, delineating the applicability boundary: the method guards the keyword-stuffing regime of growing proprietary knowledge bases and complements neural rerankers; a corpus-level calibration gate selects the correct regime with >= 95% reliability. A fully local testbed demonstrates deployability.

Figures & tables

Explore similar work

CardsList
  1. CausalRAG2: Hierarchical Causal Knowledge Graph Design for RAG

    Feb 4, 2026Nengbo Wang, Tuo Liang, Vikash Singh +6KG ConstructionRetrieval-Augmented Generation

  2. CAR: Query-Guided Confidence-Aware Reranking for Retrieval-Augmented Generation

    May 6, 2026Zhipeng Song, Yizhi Zhou, Xiangyu Kong +6Retrieval-Augmented GenerationLearning to Rank

  3. Why Retrieval-Augmented Generation Fails: A Graph Perspective

    May 13, 2026Kai Guo, Xinnan Dai, Zhibo Zhang +5Retrieval-Augmented GenerationLLM Grounding