Cog-RAG: Cognitive-Inspired Dual-Hypergraph with Theme Alignment Retrieval-Augmented Generation

Authors

  • Hao Hu State Key Laboratory of Human-Machine Hybrid Augmented Intelligence, National Engineering Research Center for Visual Information and Applications, and Institute of Artificial Intelligence and Robotics, Xi'an Jiaotong University
  • Yifan Feng BNRist, THUIBCS, BLBCI, School of Software, Tsinghua University
  • Ruoxue Li School of Artificial Intelligence, Xidian University
  • Rundong Xue State Key Laboratory of Human-Machine Hybrid Augmented Intelligence, National Engineering Research Center for Visual Information and Applications, and Institute of Artificial Intelligence and Robotics, Xi'an Jiaotong University
  • Xingliang Hou School of Software Engineering, Xi'an Jiaotong University
  • Zhiqiang Tian School of Software Engineering, Xi'an Jiaotong University
  • Yue Gao BNRist, THUIBCS, BLBCI, School of Software, Tsinghua University
  • Shaoyi Du State Key Laboratory of Human-Machine Hybrid Augmented Intelligence, National Engineering Research Center for Visual Information and Applications, and Institute of Artificial Intelligence and Robotics, Xi'an Jiaotong University

DOI:

https://doi.org/10.1609/aaai.v40i37.40363

Abstract

Retrieval-Augmented Generation (RAG) enhances the response quality and domain-specific performance of large language models (LLMs) by incorporating external knowledge to combat hallucinations. In recent research, graph structures have been integrated into RAG to enhance the capture of semantic relations between entities. However, it primarily focuses on low-order pairwise entity relations, limiting the high-order associations among multiple entities. Hypergraph-enhanced approaches address this limitation by modeling multi-entity interactions via hyperedges, but they are typically constrained to inter-chunk entity-level representations, overlooking the global thematic organization and alignment across chunks. Drawing inspiration from the top-down cognitive process of human reasoning, we propose a theme-aligned dual-hypergraph RAG framework (Cog-RAG) that uses a theme hypergraph to capture inter-chunk thematic structure and an entity hypergraph to model high-order semantic relations. Furthermore, we design a cognitive-inspired two-stage retrieval strategy that first activates query-relevant thematic content from the theme hypergraph, and then guides fine-grained recall and diffusion in the entity hypergraph, achieving semantic alignment and consistent generation from global themes to local details. Our extensive experiments demonstrate that Cog-RAG significantly outperforms existing state-of-the-art baseline approaches.

Downloads

Published

2026-03-14

How to Cite

Hu, H., Feng, Y., Li, R., Xue, R., Hou, X., Tian, Z., … Du, S. (2026). Cog-RAG: Cognitive-Inspired Dual-Hypergraph with Theme Alignment Retrieval-Augmented Generation. Proceedings of the AAAI Conference on Artificial Intelligence, 40(37), 31032–31040. https://doi.org/10.1609/aaai.v40i37.40363

Issue

Section

AAAI Technical Track on Natural Language Processing II