MediLink: Safer Respiratory Triage Using Retrieval-Augmented Generation and Rule-Based Safety Gates
Abstract
Large language models are increasingly used by patients seeking guidance for acute symptoms, particularly common respiratory complaints. However, unconstrained large language models can generate inaccurate or unsafe recommendations, particularly in triage settings where failure to recognize emergency symptoms may delay urgent care. This paper presents MediLink, a proof-of-concept respiratory triage framework that combines a deterministic Safety Gate with a retrieval-augmented generation pipeline grounded in guidance from the Centers for Disease Control and Prevention. The Safety Gate scans user input for red-flag symptoms and returns an immediate escalation message without invoking the language model, while the retrieval-augmented generation layer retrieves relevant Centers for Disease Control and Prevention guidance and injects it into the prompt for non-emergency cases. MediLink is evaluated on a synthetic dataset of 50 first-person patient cases across four conditions: Baseline, Retrieval-Augmented Generation Only, Safety Gate Only, and the full MediLink system. The evaluation examines emergency interception, false alarms, and response quality using human ratings and weighted Cohen’s kappa. Results show that the Safety Gate consistently intercepts direct emergency descriptions, while indirect phrasing exposes the limitations of lexical rules; the retrieval-augmented generation module improves clarity while maintaining comparable actionability. These findings support the…
Read the paper
Related studies
- Animal models of schizophrenia
- Retrieval Augmented Visual Question Answering with Outside Knowledge
- Fine-grained Late-interaction Multi-modal Retrieval for Retrieval Augmented Visual Question Answering
- Understand What LLM Needs: Dual Preference Alignment for Retrieval-Augmented Generation
- Retrieval-Augmented Embodied Agents
- Retrieving, Rethinking and Revising: The Chain-of-Verification Can Improve Retrieval Augmented Generation
Go deeper in Evidence Hub
Evidence Hub adds a study data sheet (design, sample size, evidence level, key numbers), an AI summary and a chat grounded in the paper's text.