Evaluating locally hosted large language models for structured information extraction from Polish-language hypertension clinic notes
Clinical notes are usually recorded as free text, which hinders reuse of patient information. Because patient data are subject to strict privacy regulations like GDPR, extraction tools often need to rely on smaller, locally hosted large language models (LLMs). We evaluated six open LLMs, the Polish PLLuM-v2-12B and Bielik-v3-11B, the multilingual Qwen3-14B, Ministral-3-14B and Gemma3-12B, and the larger Qwen3.8-27B as a reference, in zero-shot, schema-constrained extraction of seven categories of clinical information from 504 Polish notes of 100 hypertension clinical patients (3391 annotated entities). The best models reached a micro-F1 of 68–71\% (Gemma3-12B: 71.0\%) and a macro-F1 of 65–68\%. The Polish models achieved the highest recall but were not more accurate overall than multilingual models of comparable size. For all models except Qwen3.8-27B, recall exceeded precision: the main limitation was over-reporting of hallucinated entities rather than missed information. Performance was highest for ambulatory blood pressure measurements (F1 > 91\%) and lowest for therapy adherence, diagnoses and well-being. Some models copied example medications from the prompt into their output; this accounted for 15.1\% of the false positives of PLLuM-v2-12B. Smaller local LLMs reliably locate clinical information in Polish notes, but over-reporting must be controlled before clinical deployment.
Authors
- Beata Graff (ORCID: https://orcid.org/0000-0002-9181-9884)
- Anna Szyndler (ORCID: https://orcid.org/0000-0002-5720-128X)
- Franciszek Górski (ORCID: https://orcid.org/0009-0008-3555-1669)
- Andrzej Czyżewski
Institutions
- Gdańsk University of Technology (PL)
- Gdańsk Medical University (PL)
Publication Details
- Journal
- Research Square
- Published
- 2026-12-01
- DOI
- https://doi.org/10.21203/rs.3.rs-11746138/v1
- Primary Topic
- Machine Learning in Healthcare
- Type
- preprint