Retrieval-Augmented Generation for Medical Question Answering on a Heart Failure Dataset: Performance Analysis

Shiran Zhang1, Evelyn Phan2, Pedro Velmovitsky3,4

  • 1Department of Mechanical & Industrial Engineering, Faculty of Applied Science & Engineering, University of Toronto, 27 King's College Circle, Toronto, ON, M5S 1A1, Canada, 1 416-978-2011.

JMIR Formative Research
|February 26, 2026
PubMed
Summary

Retrieval-augmented generation (RAG) with large language model (LLM) classifiers improves medical question-answering accuracy. This system effectively identifies nonanswerable queries and enhances response alignment with ground truth for heart failure information.

Related Concept Videos

Heart Failure V: Medical Management01:30

Heart Failure V: Medical Management

Medical Management of Acute Decompensated Heart Failure (ADHF)The primary goals of therapy for patients hospitalized with acute decompensated heart failure (ADHF) include:Relieving symptomsOptimizing volume statusSupporting oxygenation and ventilationMaintaining cardiac output (CO) and end-organ perfusionIdentifying and addressing the cause of ADHFPreventing complicationsProviding patient education on factors precipitating HF exacerbationPlanning for dischargeOngoing monitoring and assessment...
419
Heart Failure IV: Classification and Diagnostic Evaluation01:30

Heart Failure IV: Classification and Diagnostic Evaluation

Heart failure can be classified in various ways, with the most common classifications based on physical activity limitations, disease progression, severity, and treatment strategies.The Functional Classification of Heart Failure divides patients into four categories based on physical activity limitation due to symptom burden.Class I: Patients in this class have cardiac disease but no physical activity limitations. Ordinary activities like walking, climbing stairs, or routine tasks do not cause...
482
Heart Failure VI: Adjunct Therapies01:22

Heart Failure VI: Adjunct Therapies

Additional therapies for treating patients with heart failure (HF) may include procedural interventions, supplemental oxygen, the management of sleep disorders, and nutritional therapy.Procedural InterventionsImplantable Cardioverter-Defibrillator: For patients at risk of life-threatening arrhythmias due to severe left ventricular dysfunction, an Implantable Cardioverter-Defibrillator (ICD) can detect and terminate these arrhythmias, preventing sudden cardiac death and improving survival rates.
466
Pathophysiology of Heart Failure01:17

Pathophysiology of Heart Failure

Heart failure (HF) is a progressive syndrome involving ventricles that leads to inadequate cardiac output. It can be classified based on location and output or ejection fraction. Ejection fraction (EF) is an essential measurement in the diagnosis and surveillance of HF. Reduced EF corresponds to systolic heart failure (HFrEF). However, HF with preserved ejection fraction (HFpEF) is becoming increasingly prevalent. Also known as diastolic HF, this form of HF is related to aging. The...
4.2K
Heart Failure Drugs: Inhibitors of Renin-Angiotensin System01:26

Heart Failure Drugs: Inhibitors of Renin-Angiotensin System

The activation of the sympathetic nervous system and the renin-angiotensin-aldosterone system (RAAS) contributes to cardiac remodeling, and inhibiting the RAAS is a pharmacological target in heart failure management. As a result, neurohumoral modulation is a crucial treatment principle for managing heart failure. This approach involves using medications like ACE inhibitors (ACEIs), angiotensin receptor blockers (ARBs), β-blockers, mineralocorticoid receptor antagonists (MRAs), and neutral...
1.3K
Heart Failure Drugs: β-Blockers01:22

Heart Failure Drugs: β-Blockers

β-adrenergic antagonists, commonly known as β-blockers, block the effects of sympathetic neurotransmitters such as noradrenaline (NA) and adrenaline (ADR). They have several beneficial effects in heart failure treatment. They reduce heart rate, the force of contraction, and cardiac muscle relaxation. They also slow the atrial-ventricular conduction rate and raise the threshold for arrhythmias. The concentration of β-blockers determines their effects on bronchodilation,...
1.0K