SegMem-RAG: Adaptive Memory for Retrieval-Augmented Generation in Open-Ended Knowledge Environments

Authors

  • Xuanbo Fan School of Intelligence Science and Technology, Peking University, Beijing, China State Key Laboratory of General Artificial Intelligence, Peking University, Beijing, China Microsoft Corporation, Beijing, China
  • Tianqi Zhao Microsoft Corporation, Beijing, China
  • Yi Cheng Microsoft Corporation, Beijing, China
  • Chi Xiu Microsoft Corporation, Beijing, China
  • Jiaxin Guo School of Intelligence Science and Technology, Peking University, Beijing, China State Key Laboratory of General Artificial Intelligence, Peking University, Beijing, China
  • Boci Peng School of Intelligence Science and Technology, Peking University, Beijing, China State Key Laboratory of General Artificial Intelligence, Peking University, Beijing, China
  • Bingjing Xu Microsoft Corporation, Beijing, China
  • Jessica Zhang Microsoft Corporation, Beijing, China
  • Feng Sun Microsoft Corporation, Beijing, China
  • Yan Zhang School of Intelligence Science and Technology, Peking University, Beijing, China State Key Laboratory of General Artificial Intelligence, Peking University, Beijing, China

DOI:

https://doi.org/10.1609/aaai.v40i36.40320

Abstract

Retrieval-Augmented Generation (RAG) improves the factual accuracy of large language models by grounding responses in external content. However, most RAG systems assume access to static and well-organized corpora with fixed retrieval logic. In practice, real-world sources are heterogeneous and unlabeled, including user-uploaded documents, manuals, and datasets. Effective access in such settings requires adaptive and self-directed retrieval behavior. We present SegMem‑RAG, a memory-augmented RAG framework that learns to route queries across multiple unlabeled corpora based on experience. It incrementally updates a structured memory and uses self-reflection to guide retrieval over time without supervision. Experimental results demonstrate that SegMem‑RAG significantly outperforms recent baselines in generation quality on multi-corpus QA tasks.

Downloads

Published

2026-03-14

How to Cite

Fan, X., Zhao, T., Cheng, Y., Xiu, C., Guo, J., Peng, B., … Zhang, Y. (2026). SegMem-RAG: Adaptive Memory for Retrieval-Augmented Generation in Open-Ended Knowledge Environments. Proceedings of the AAAI Conference on Artificial Intelligence, 40(36), 30647–30655. https://doi.org/10.1609/aaai.v40i36.40320

Issue

Section

AAAI Technical Track on Natural Language Processing I