AAAI 2026technical0 citations

Stepwise Contrastive Reasoning for Retrieval-Augmented Generation over Knowledge Graphs

Chenxiao Lin, Ye Luo, KunHong Liu, Qingqiang Wu

Abstract

Retrieval-augmented generation (RAG) enhances the reasoning capabilities of large language models (LLMs) by incorporating external knowledge. Among available sources, knowledge graphs (KGs) offer a structured and reliable foundation for factual information, making them increasingly popular in efforts to improve reasoning faithfulness in RAG. Most existing KG-based RAG methods rely on LLMs to extract knowledge from KGs. However, these approaches often require costly fine-tuning and struggle to navigate deep graph structures, limiting their effectiveness in multi-hop reasoning tasks. To address these challenges, we propose Stepwise Contrastive Reasoning (SCR), a lightweight framework that integrates graph structure and textual context for efficient and interpretable RAG over KGs. SCR combines relational message passing layers to encode KG entities with a Transformer encoder for processing question text. It decomposes reasoning into a series of alignment steps. At each step, SCR compares the current topic entity and its neighbors with the question representation, selecting the most relevant entity as the next topic entity. The question is then updated with this entity

BibTeX
@inproceedings{aaai2026_stepwisecontrast,
  title = {Stepwise Contrastive Reasoning for Retrieval-Augmented Generation over Knowledge Graphs},
  author = {Chenxiao Lin and Ye Luo and KunHong Liu and Qingqiang Wu},
  booktitle = {AAAI 2026},
  year = {2026}
}