Skip to main navigation Skip to search Skip to main content

TC-RAG: Turing-Complete RAG's Case study on Medical LLM Systems

  • Xinke Jiang (Co-first Author)
  • , Yue Fang (Co-first Author)
  • , Rihong Qiu (Co-first Author)
  • , Haoyu Zhang
  • , Yongxin Xu
  • , Hao Chen
  • , Wentao Zhang
  • , Ruizhe Zhang
  • , Yuchen Fang
  • , Xinyu Ma
  • , Xu Chu
  • , Junfeng Zhao*
  • , Yasha Wang*
  • *Corresponding author for this work

Research output: Chapters, Conference Papers, Creative and Literary WorksRGC 32 - Refereed conference paper (with host publication)peer-review

43 Downloads (CityUHK Scholars)

Abstract

In the pursuit of enhancing domain-specific Large Language Models (LLMs), Retrieval-Augmented Generation (RAG) emerges as a promising solution to mitigate issues such as hallucinations, outdated knowledge, and limited expertise in highly specialized queries. However, existing approaches to RAG fall short by neglecting system state variables, which are crucial for ensuring adaptive control, retrieval halting, and system convergence. In this paper, we introduce the Turing-Complete-RAG (TC-RAG) through rigorous proof, a novel framework that addresses these challenges by incorporating a Turing Complete System to manage state variables, thereby enabling more efficient and accurate knowledge retrieval. By leveraging a memory stack system with adaptive retrieval, reasoning, and planning capabilities, TC-RAG not only ensures the controlled halting of retrieval processes but also mitigates the accumulation of erroneous knowledge via Push and Pop actions. In the case study of the medical and general domain, our extensive experiments on seven real-world healthcare and general-domain datasets demonstrate the superiority of TC-RAG over existing methods in accuracy by over 7.20%. Our code, datasets and RAG resources have been available at https://github.com/Artessay/TC-RAG. © 2025 Association for Computational Linguistics.
Original languageEnglish
Title of host publicationProceedings of the 63rd Annual Meeting of the Association for Computational Linguistics
EditorsWanxiang Che, Joyce Nabende, Ekaterina Shutova, Mohammad Taher Pilehvar
PublisherAssociation for Computational Linguistics
Pages11400-11426
Number of pages27
Volume1 (Long Papers)
ISBN (Print)9798891762510
DOIs
Publication statusPublished - Jul 2025
Event63rd Annual Meeting of the Association for Computational Linguistics (ACL 2025) - Austria Center Vienna, Vienna, Austria
Duration: 27 Jul 20251 Aug 2025
https://2025.aclweb.org/
https://aclanthology.org/2025.acl-long/
https://aclanthology.org/volumes/2025.findings-acl/

Publication series

NameProceedings of the Annual Meeting of the Association for Computational Linguistics
Volume1
ISSN (Print)0736-587X

Conference

Conference63rd Annual Meeting of the Association for Computational Linguistics (ACL 2025)
PlaceAustria
CityVienna
Period27/07/251/08/25
Internet address

Funding

This work is supported by the National Natural Science Foundation of China (No.U23A20468).

Publisher's Copyright Statement

  • This full text is made available under CC-BY 4.0. https://creativecommons.org/licenses/by/4.0/

Fingerprint

Dive into the research topics of 'TC-RAG: Turing-Complete RAG's Case study on Medical LLM Systems'. Together they form a unique fingerprint.

Cite this