Privacy-Preserving Local Language Models for Longitudinal Data Retrieval in Chronic Dermatologic Disease: Implementation in Pemphigus Patients

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Yilmaz, Abdurrahim, Aksu, Ayşe Esra Koku, Yamen, Duygu, Erdemir, Vefa Asli, Gurel, Mehmet Salih, Gencoglan, Gulsum, Posma, Joram M., Temelkuran, Burak
Format: Preprint
Veröffentlicht: 2026
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866918520101535744
author Yilmaz, Abdurrahim
Aksu, Ayşe Esra Koku
Yamen, Duygu
Erdemir, Vefa Asli
Gurel, Mehmet Salih
Gencoglan, Gulsum
Posma, Joram M.
Temelkuran, Burak
author_facet Yilmaz, Abdurrahim
Aksu, Ayşe Esra Koku
Yamen, Duygu
Erdemir, Vefa Asli
Gurel, Mehmet Salih
Gencoglan, Gulsum
Posma, Joram M.
Temelkuran, Burak
contents Chronic dermatologic diseases such as pemphigus require long-term follow-up, generating extensive longitudinal clinical documentation that is difficult to review comprehensively during routine visits and increasing clinician workload as well as the risk of missing critical historical information. We evaluated whether a locally deployed, privacy-preserving small language model (SLM) could retrieve structured clinical features and generate longitudinal summaries from long-term dermatology follow-up records. In this retrospective case series, thirty pemphigus patients contributed 541 visit notes that were aggregated into full longitudinal records (89,336 words); 56 clinically relevant features were annotated by two expert dermatologists. The locally deployed SLM (Qwen3 4B Thinking 2507) was queried with each complete record to retrieve 56 features and generate one final report summaries. Across 1,680 feature retrieval tasks, mean accuracy was 82.25%. Dermatologists' ratings of AI-generated summaries were high for overall quality (8.23-8.47), clinical accuracy (7.93-8.20), and usefulness (8.47-8.50), with no significant inter-evaluator differences and an overall preference for AI summaries in 53.3% of evaluations. These findings suggest that privacy-preserving, locally deployed SLMs can outperform medical experts and reliably generate clinically meaningful longitudinal summaries. SLMs may support clinical decision-making when integrated with appropriate oversight.
format Preprint
id arxiv_https___arxiv_org_abs_2605_25020
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Privacy-Preserving Local Language Models for Longitudinal Data Retrieval in Chronic Dermatologic Disease: Implementation in Pemphigus Patients
Yilmaz, Abdurrahim
Aksu, Ayşe Esra Koku
Yamen, Duygu
Erdemir, Vefa Asli
Gurel, Mehmet Salih
Gencoglan, Gulsum
Posma, Joram M.
Temelkuran, Burak
Artificial Intelligence
Computation and Language
Chronic dermatologic diseases such as pemphigus require long-term follow-up, generating extensive longitudinal clinical documentation that is difficult to review comprehensively during routine visits and increasing clinician workload as well as the risk of missing critical historical information. We evaluated whether a locally deployed, privacy-preserving small language model (SLM) could retrieve structured clinical features and generate longitudinal summaries from long-term dermatology follow-up records. In this retrospective case series, thirty pemphigus patients contributed 541 visit notes that were aggregated into full longitudinal records (89,336 words); 56 clinically relevant features were annotated by two expert dermatologists. The locally deployed SLM (Qwen3 4B Thinking 2507) was queried with each complete record to retrieve 56 features and generate one final report summaries. Across 1,680 feature retrieval tasks, mean accuracy was 82.25%. Dermatologists' ratings of AI-generated summaries were high for overall quality (8.23-8.47), clinical accuracy (7.93-8.20), and usefulness (8.47-8.50), with no significant inter-evaluator differences and an overall preference for AI summaries in 53.3% of evaluations. These findings suggest that privacy-preserving, locally deployed SLMs can outperform medical experts and reliably generate clinically meaningful longitudinal summaries. SLMs may support clinical decision-making when integrated with appropriate oversight.
title Privacy-Preserving Local Language Models for Longitudinal Data Retrieval in Chronic Dermatologic Disease: Implementation in Pemphigus Patients
topic Artificial Intelligence
Computation and Language
url https://arxiv.org/abs/2605.25020