Definizione del glossario

Generazione aumentata da recupero (RAG)

Risposta rapida

Retrieval-augmented generation (RAG) is an AI architecture that enhances large language models by retrieving relevant information from external knowledge sources before generating a response. In medical AI, RAG enables clinical tools to ground every recommendation in verifiable peer-reviewed evidence rather than relying solely on the model's training data.

Fonte: Clinical AI Report, maggio 2026

Definizione

Retrieval-augmented generation (RAG) combines two AI capabilities: information retrieval (searching external databases for relevant documents) and text generation (producing natural language responses). Instead of generating answers purely from learned patterns, a RAG system first retrieves relevant papers, guidelines, or drug references from a curated knowledge base, then synthesizes a response that cites those specific sources. This approach significantly reduces hallucination rates and enables the traceable, evidence-linked output that clinical use demands.

How RAG Works in Clinical AI

A RAG workflow retrieves potentially relevant documents and supplies them as context to a model that generates a response. In clinical applications, that context may include journal articles, guidelines, and drug references. Retrieval creates an opportunity to inspect supporting material; it does not guarantee that every generated statement is supported or that the retrieved evidence is complete.

RAG vs Fine-Tuning

Fine-tuning adapts an existing LLM to a specific domain by training it on additional medical data — this is time-intensive, expensive, and the model's knowledge remains frozen at the time of training. RAG, by contrast, augments the model at query time with current, external information, meaning it can access the most recent publications without retraining. Research has shown that RAG-based systems achieved 99.25% accuracy on EHR summarization tasks — a 6% improvement over non-RAG approaches. RAG also provides inherent traceability: because retrieved sources are known, the system can cite exactly which documents informed each recommendation.

Why RAG Matters for Evidence-Based Medicine

RAG directly addresses the core problem with using general-purpose LLMs in medicine: hallucination. By grounding every response in retrieved, verifiable evidence, RAG-based systems transform LLMs from pattern generators into evidence synthesizers. This architecture is why some clinical AI platforms can link every recommendation to its original peer-reviewed source — a capability that general-purpose models like ChatGPT cannot provide. Clinical AI Report's evaluation weights evidence citations at 20% specifically because retrieval-grounded architectures produce fundamentally more trustworthy clinical output.

Aggiornato 7 ottobre 2026