On-Device Retrieval-Augmented Generation over Personal Clinical Records

Ferri, Alice (2026) On-Device Retrieval-Augmented Generation over Personal Clinical Records. [Laurea], Università di Bologna, Corso di Studio in Ingegneria e scienze informatiche [L-DM270] - Cesena, Documento full-text non disponibile
Il full-text non è disponibile per scelta dell'autore. (Contatta l'autore)

Abstract

Personal health assistants aim to answer questions about a patient's own clinical history by grounding responses in personal medical records. Retrieval-augmented generation (RAG) is well suited to this setting, but existing clinical question-answering benchmarks often focus on single documents, use multiple-choice formats that reduce the role of retrieval, or lack evidence annotations needed to distinguish retrieval failures from generation errors. This thesis addresses these limitations through a patient-level benchmark for RAG over personal clinical records. Built from real, de-identified MIMIC-III clinical text, each patient's history is represented as a collection of per-admission PDF documents and paired with open-ended questions, reference answers, and gold evidence chunks. The benchmark includes both single-document and multi-document questions requiring evidence across admissions, including longitudinal questions that capture changes in a patient's clinical history over time. The thesis also evaluates the feasibility of running the complete RAG pipeline directly on a consumer smartphone, where sensitive clinical data can remain on-device but retrieval and generation must share limited memory and computational resources. Lexical, neural, and hybrid retrievers are compared together with quantized generative models from different families and scales. Performance is assessed at both retrieval and generation level, measuring evidence retrieval, ranking quality, and final answer correctness. The results show that patient-level clinical question answering is feasible under mobile constraints and highlight effective evidence retrieval as a key factor for reliable generation, particularly for longitudinal and multi-document questions.

Abstract
Tipologia del documento
Tesi di laurea (Laurea)
Autore della tesi
Ferri, Alice
Relatore della tesi
Correlatore della tesi
Scuola
Corso di studio
Ordinamento Cds
DM270
Parole chiave
Retrieval-Augmented Generation,Question Answering,Clinical Benchmarking,On-Device Large Language Models,Longitudinal Electronic Health Records
Data di discussione della Tesi
1 Ottobre 2026
URI

Altri metadati

Gestione del documento: Visualizza il documento

^