CLI-RAG: A Retrieval-Augmented Framework for Clinically Structured and Context Aware Text Generation with LLMs
On the map: Retrieval-augmented generation → Medical and biomedical RAG
Abstract (arXiv)
Large language models (LLMs), including zero-shot and few-shot paradigms, have shown promising capabilities in clinical text generation. However, real-world applications face two key challenges: (1) patient data is highly unstructured, heterogeneous, and scattered across multiple note types and (2) clinical notes are often long and semantically dense, making naive prompting infeasible due to context length constraints and the risk of omitting clinically relevant information. We introduce CLI-RAG (Clinically Informed Retrieval-Augmented Generation), a domain-specific framework for structured and clinically grounded text generation using LLMs. It incorporates a novel hierarchical chunking strategy that respects clinical document structure and introduces a task-specific dual-stage retrieval mechanism. The global stage identifies relevant note types using evidence-based queries, while the local stage extracts high-value content within those notes creating relevance at both document and section levels. We apply the system to generate structured progress notes for individual hospital visits using 15 clinical note types from the MIMIC-III dataset. Experiments show that it preserves temporal and semantic alignment across visits, achieving an average alignment score of 87.7%, surpassing the 80.7% baseline from real clinician-authored notes. The generated outputs also demonstrate high consistency across LLMs, reinforcing deterministic behavior essential for reproducibility, reliability, and clinical trust.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Placed in Medical and biomedical RAG, one of 15 directions in Retrieval-augmented generation. Builds on 12 of its 30 references that are in the map. First posted on arXiv 9 Jul 2025.
Builds on
12 of 30 references.
Closest ancestors · 1
Same direction, newest first
Other references · 11
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
- 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,141
- 2024Qwen2 Technical Reportcited by 2,120
- 2023Adapted Large Language Models Can Outperform Medical Experts in Clinical Text Summarizationcited by 246
- 2022Large Language Models are Few-Shot Clinical Information Extractorscited by 207
- 2019The Dynamic Embedded Topic Modelcited by 41
- 2024Intelligent Clinical Documentation: Harnessing Generative AI for Patient-Centric Clinical Note Generationcited by 20
- 2022A Survey on Medical Document Summarizationcited by 14
- 2023GersteinLab at MEDIQA-Chat 2023: Clinical Note Summarization from Doctor-Patient Conversations through Fine-tuning and In-context Learningcited by 9
- 2024Toward Relieving Clinician Burden by Automatically Generating Progress Notes using Interim Hospital Datacited by 4
Built on by
Citing papers per year: 2025: 2; 2026: 2.
4 papers.
- 2026When Reasoning Hurts: Source-Aware Evaluation of Frontier LLMs for Clinical SOAP Note Generationcited by 2
- 2025DENSE: Longitudinal Progress Note Generation with Temporal Modeling of Heterogeneous Clinical Notes Across Hospital Visitscited by 0
- 2025Clinical Document Metadata Extraction: A Scoping Reviewcited by 0
- 2026Clinical Communication Processing with Models Trained on LLM-Generated Synthetic Data: A Structured Survey and Novel Application Case Studiescited by 0
- 2026Clinical Communication Processing with Models Trained on LLM-Generated Synthetic Data: A Structured Survey and Novel Application Case Studies6 Aug 2026
- 2026When Reasoning Hurts: Source-Aware Evaluation of Frontier LLMs for Clinical SOAP Note Generation24 May 2026
- 2025Clinical Document Metadata Extraction: A Scoping Review28 Dec 2025
- 2025DENSE: Longitudinal Progress Note Generation with Temporal Modeling of Heterogeneous Clinical Notes Across Hospital Visits18 Jul 2025
Similar, not cited
Close in wording, no citation either way
- 2025Leaps Beyond the Seen: Reinforced Reasoning Augmented Generation for Clinical Notes
- 2025Less Context, Same Performance: A RAG Framework for Resource-Efficient LLM-Based Clinical NLP
- 2025Retrieval-Augmented Generation in Medicine: A Scoping Review of Technical Implementations, Clinical Applications, and Ethical Considerations
- 2025Evaluating Retrieval-Augmented Generation vs. Long-Context Input for Clinical Reasoning over EHRs
- 2025Large Language Models with Temporal Reasoning for Longitudinal Clinical Summarization and Prediction
- 2025Grounding Large Language Models in Clinical Evidence: A Retrieval-Augmented Generation System for Querying UK NICE Clinical Guidelines
- 2024Development and Testing of Retrieval Augmented Generation in Large Language Models -- A Case Study Report
- 2026Harnessing Large Language Models for Precision Querying and Retrieval-Augmented Knowledge Extraction in Clinical Data Science