ComoRAG: A Cognitive-Inspired Memory-Organized RAG for Stateful Long Narrative Reasoning

Authors

  • Juyuan Wang South China University of Technology
  • Rongchen Zhao South China University of Technology
  • Wei Wei Independent Researcher
  • Yufeng Wang South China University of Technology
  • Mo Yu WeChat AI, Tencent Inc.
  • Jie Zhou WeChat AI, Tencent Inc.
  • Jin Xu South China University of Technology Pazhou Lab, Guangzhou
  • Liyan Xu WeChat AI, Tencent Inc.

DOI:

https://doi.org/10.1609/aaai.v40i39.40644

Abstract

Narrative comprehension on long stories and novels has been a challenging domain attributed to their intricate plotlines and entangled, often evolving relations among characters and entities. Given the LLM's diminished reasoning over extended context and its high computational cost, retrieval-based approaches remain a pivotal role in practice. However, traditional RAG methods could fall short due to their stateless, single-step retrieval process, which often overlooks the dynamic nature of capturing interconnected relations within long-range context. In this work, we propose ComoRAG, holding the principle that narrative reasoning is not a one-shot process, but a dynamic, evolving interplay between new evidence acquisition and past knowledge consolidation, analogous to human cognition on reasoning with memory-related signals in the brain. Specifically, when encountering a reasoning impasse, ComoRAG undergoes iterative reasoning cycles while interacting with a dynamic memory workspace. In each cycle, it generates probing queries to devise new exploratory paths, then integrates the retrieved evidence of new aspects into a global memory pool, thereby supporting the emergence of a coherent context for the query resolution. Across four challenging long-context narrative benchmarks (200K+ tokens), ComoRAG outperforms strong RAG baselines with consistent relative gains up to 11% compared to the strongest baseline. Further analysis reveals that ComoRAG is particularly advantageous for complex queries requiring global comprehension, offering a principled, cognitively motivated paradigm for retrieval-based stateful reasoning.

Downloads

Published

2026-03-14

How to Cite

Wang, J., Zhao, R., Wei, W., Wang, Y., Yu, M., Zhou, J., … Xu, L. (2026). ComoRAG: A Cognitive-Inspired Memory-Organized RAG for Stateful Long Narrative Reasoning. Proceedings of the AAAI Conference on Artificial Intelligence, 40(39), 33557–33565. https://doi.org/10.1609/aaai.v40i39.40644

Issue

Section

AAAI Technical Track on Natural Language Processing IV