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

Institutions

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
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Evaluating locally hosted large language models for structured information extraction from Polish-language hypertension clinic notes

Beata Graff, Anna Szyndler, Franciszek Górski, Andrzej Czyżewski
Research Square
Machine Learning in Healthcare
preprint

Evaluating locally hosted large language models for structured information extraction from Polish-language hypertension clinic notes

Beata Graff, Anna Szyndler, Franciszek Górski, Andrzej Czyżewski
preprint en

Abstract

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.

Research Square
Gdańsk University of Technology (PL), Gdańsk Medical University (PL)
Machine Learning in Healthcare
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon