mlsanityData to 14 Oct 2026

Less Context, Same Performance: A RAG Framework for Resource-Efficient LLM-Based Clinical NLP

arXiv 2505.20320 ↗First posted 23 May 2025cs.CL cs.AIcited by 1

On the map: Retrieval-augmented generation → Medical and biomedical RAG

Abstract (arXiv)

Long text classification is challenging for Large Language Models (LLMs) due to token limits and high computational costs. This study explores whether a Retrieval Augmented Generation (RAG) approach using only the most relevant text segments can match the performance of processing entire clinical notes with large context LLMs. We begin by splitting clinical documents into smaller chunks, converting them into vector embeddings, and storing these in a FAISS index. We then retrieve the top 4,000 words most pertinent to the classification query and feed these consolidated segments into an LLM. We evaluated three LLMs (GPT4o, LLaMA, and Mistral) on a surgical complication identification task. Metrics such as AUC ROC, precision, recall, and F1 showed no statistically significant differences between the RAG based approach and whole-text processing (p > 0.05p > 0.05). These findings indicate that RAG can significantly reduce token usage without sacrificing classification accuracy, providing a scalable and cost effective solution for analyzing lengthy clinical documents.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Placed in Medical and biomedical RAG, one of 15 directions in Retrieval-augmented generation. Builds on 13 of its 16 references that are in the map. First posted on arXiv 23 May 2025.

Builds on

13 of 16 references.

Closest ancestors · 1

Same direction, newest first

  1. 2023Almanac: Retrieval-Augmented Language Models for Clinical Medicine1 Mar

Other references · 12

  1. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
  2. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
  3. 2020Longformer: The Long-Document Transformercited by 3,413
  4. 2017Billion-scale similarity search with GPUscited by 2,497
  5. 2020Big Bird: Transformers for Longer Sequencescited by 1,684
  6. 2024A Comprehensive Survey of Retrieval-Augmented Generation (RAG): Evolution, Current Landscape and Future Directionscited by 70
  7. 2024Is Semantic Chunking Worth the Computational Cost?cited by 43
  8. 2018Clinical Concept Embeddings Learned from Massive Sources of Multimodal Medical Datacited by 35
  9. 2018A Comparison of Word Embeddings for the Biomedical Natural Language Processingcited by 29
  10. 2024Early Exit Strategies for Approximate k-NN Search in Dense Retrievalcited by 4
  11. 2025Large Language Models for Healthcare Text Classification: A Systematic Reviewcited by 3
  12. 2017Improving average ranking precision in user searches for biomedical research datasetscited by 1

Built on by

Cited by year

Citing papers per year: 2025: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2024Development and Testing of Retrieval Augmented Generation in Large Language Models -- A Case Study Report
  2. 2025Retrieval-Augmented Generation in Medicine: A Scoping Review of Technical Implementations, Clinical Applications, and Ethical Considerations
  3. 2025CLI-RAG: A Retrieval-Augmented Framework for Clinically Structured and Context Aware Text Generation with LLMs
  4. 2025Evaluating Retrieval-Augmented Generation vs. Long-Context Input for Clinical Reasoning over EHRs
  5. 2026Harnessing Large Language Models for Precision Querying and Retrieval-Augmented Knowledge Extraction in Clinical Data Science
  6. 2025Leveraging LLMs for Structured Data Extraction from Unstructured Patient Records
  7. 2025Large Language Models with Temporal Reasoning for Longitudinal Clinical Summarization and Prediction
  8. 2025Grounding Large Language Models in Clinical Evidence: A Retrieval-Augmented Generation System for Querying UK NICE Clinical Guidelines