ADMEDTAGGER: an annotation framework for distillation of expert knowledge for the Polish medical language
Franciszek Górski, Andrzej Czyżewski
University of Gdańsk · Gdańsk University of Technology
Key points
From the paper's conclusion- The data annotated in this way were then used for training and validation of 3 different types of classifiers based on the BERT architecture-the distilled DistilBERT model, BioBERT fine-tuned on medical data, and HerBERT fine-tuned on the Polish language corpus.
Abstract
In this work, we present an annotation framework that demonstrates how a multilingual LLM pretrained on a large corpus can be used as a teacher model to distill the expert knowledge needed for tagging medical texts in Polish. This work is part of a larger project called ADMEDVOICE, within which we collected an extensive corpus of medical texts representing five clinical categories - Radiology, Oncology, Cardiology, Hypertension, and Pathology. Using this data, we had to develop a multi-class classifier, but the fundamental problem turned out to be the lack of resources for annotating an adequate number of texts. Therefore, in our solution, we used the multilingual Llama3.1 model to annotate an extensive corpus of medical texts in Polish. Using our limited annotation resources, we verified only a portion of these labels, creating a test set from them. The data annotated in this way were then used for training and validation of 3 different types of classifiers based on the BERT architecture-the distilled DistilBERT model, BioBERT fine-tuned on medical data, and HerBERT fine-tuned on the Polish language corpus. Among the models we trained, the DistilBERT model achieved the best results, reaching an F1 score> 0.80 for each clinical category and an F1 score> 0.93 for 3 of them. In this way, we obtained a series of highly effective classifiers that represent an alternative to large language models, due to their nearly 500 times smaller size, 300 times lower GPU VRAM consumption, and several hundred times faster inference.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Prevalent knowledge omissions: An unseen risk of LLMs in patient-friendly adaptation of medical literature.PLOS digital health · 2026
- Cross-Lingual Clinical Annotation Projection as Constrained Text Generation: A Six-Language StudyarXiv · 2026
- Multimodal integrated knowledge transfer to large language models through preference optimization with biomedical applications.Patterns (New York, N.Y.) · 2026
- A Comparative Benchmark of Biomedical Language Models for Concept Normalization from Real-World TextbioRxiv · 2026
- Single-Pass Decision Scores Enable Rapid Classification with Adjustable Thresholds in Medical Multimodal Large Language ModelsarXiv · 2026
- Medical Specialty Prediction from Bangla Patient Narratives: A Comparative Study of ML, DL, Transformers, and LLMsarXiv · 2026