MeddeX: A Retrieval-Augmented LLaMA-3 System with Gemini Vision for Evidence-Backed Medical Report Analysis
Rajdeep Pandhare, Rohit Kundaikar, Yakub Kojar, Shreyansh Tiwari
Abstract
Modern healthcare generates increasingly complex medical reports that challenge clinical professionals in terms of time and interpretive burden. Manual review processes are slow, error-prone, and difficult to scale. This paper presents MeddeX, a Medical Report Analyzer that combines a QLoRA fine-tuned LLaMA-3 (8B) model with Retrieval-Augmented Gen eration (RAG) and a multimodal Gemini Vision layer to deliver accurate, concise, and evidence-backed summaries of medical documents. The system handles text-native PDFs, scanned image based PDFs, and direct radiological images through an intelligent hybrid extraction pipeline that includes a novel garbage-text detection mechanism for corrupted and UTF-16-encoded doc uments. Beyond single-report Q&A, MeddeX introduces report scoped retrieval for precise contextual grounding, an automated longitudinal report comparison engine, and a self-healing backfill pipeline that lazily processes legacy documents on demand. A FastAPI backend, Supabase vector store, and Next.js fron tend complete the end-to-end architecture. Evaluation against the base LLaMA3-Med42-8B model demonstrates consistent improvements across ROUGE-1 (+9.2%), ROUGE-2 (+10.0%), ROUGE-L (+11.8%), BLEU (+71.4%), and BERTScore (+0.8%), validating the benefit of domain-specific fine-tuning. MeddeX represents a practical and robust step toward AI-assisted clinical decision support.
Create a lesson
Metadata
- Categories
- cs.CL, cs.CV
- Journal
- IJSREM, International Journal of Scientific Research in Engineering and Management Volume 10 | 4| April 2026
- Comments
- 6 pages , 3 figures, published in ijsrem
Related papers
AGO AI Quality Gate: Evidence-First Release Decisions for Retrieval-Augmented Generation
Shared title terminologycs.CLGiulio Zeloni, Enrico Lo Conte, Salvatore Rionero et al.
Investigating the Role of Reasoning-Language Alignment in Monolingual Retrieval-Augmented Generation
Shared title terminologycs.CLOliver Hauck, Mario Sanz-Guerrero, Katharina von der Wense
Evidence First, Arithmetic Second: A System Report and Failure Analysis for DocSem
Shared title terminologycs.CLDivya Godara, Sachin Gupta
From Retrieval to Typed Decisions: Calibrated System One Models from Biomedical Sentence Encoders
Shared title terminologycs.CLPritam Deka
LEAP: Learned Block-wise Evidence Retrieval for Long Audio-Video Perception
Shared title terminologycs.CLJuyi Lin, Zhiqiang Lao, Jiali Cui et al.
TRACE: Target-Aware Retrieval, Attributed Evidence, and Contract-Constrained Extraction for LitTraceQA
Shared title terminologycs.CLSachin Gupta, Divya Godara