TAdaRAG: Task Adaptive Retrieval-Augmented Generation via On-the-Fly Knowledge Graph Construction

Authors

  • Jie Zhang College of Computer and Data Science, Fuzhou University
  • Bo Tang AIDS and SIAR, University of Science and Technology of China MemTensor (Shanghai) Technology Co., Ltd.
  • Wanzi Shao College of Computer and Data Science, Fuzhou University
  • Wenqiang Wei MemTensor (Shanghai) Technology Co., Ltd.
  • Jihao Zhao MemTensor (Shanghai) Technology Co., Ltd. School of Information, Renmin University of China
  • Jianqing Zhu China Haisum Engineering CO., LTD.
  • Zhiyu Li MemTensor (Shanghai) Technology Co., Ltd.
  • Wen Xi China Haisum Engineering CO., LTD.
  • Zehao Lin MemTensor (Shanghai) Technology Co., Ltd.
  • Feiyu Xiong MemTensor (Shanghai) Technology Co., Ltd.
  • Yanchao Tan College of Computer and Data Science, Fuzhou University

DOI:

https://doi.org/10.1609/aaai.v40i41.40774

Abstract

Retrieval-Augmented Generation (RAG) improves large language models by retrieving external knowledge, often truncated into smaller chunks due to the input context window, which leads to information loss, resulting in response hallucinations and broken reasoning chains. Moreover, traditional RAG retrieves unstructured knowledge, introducing irrelevant details that hinder accurate reasoning. To address these issues, we propose TAdaRAG, a novel RAG framework for on-the-fly task-adaptive knowledge graph construction from external sources. Specifically, we design an intent-driven routing mechanism to a domain-specific extraction template, followed by supervised fine-tuning and a reinforcement learning-based implicit extraction mechanism, ensuring concise, coherent, and non-redundant knowledge integration. Evaluations on six public benchmarks and a real-world business benchmark (NowNewsQA) across three backbone models demonstrate that TAdaRAG outperforms existing methods across diverse domains and long-text tasks, highlighting its strong generalization and practical effectiveness.

Downloads

Published

2026-03-14

How to Cite

Zhang, J., Tang, B., Shao, W., Wei, W., Zhao, J., Zhu, J., … Tan, Y. (2026). TAdaRAG: Task Adaptive Retrieval-Augmented Generation via On-the-Fly Knowledge Graph Construction. Proceedings of the AAAI Conference on Artificial Intelligence, 40(41), 34728–34736. https://doi.org/10.1609/aaai.v40i41.40774

Issue

Section

AAAI Technical Track on Natural Language Processing VI