Search arXiv⌕ Search

arXiv · 2612.05382

Privacy-Preserving Classification of German Thoracic CT Reports Under Resource Constraints Using Large Language Models and Fine-Tuned Encoders

Abstract

Purpose: To evaluate local large language models (LLMs) and ModernBERT variants for privacy-preserving retrospective curation of thoracic computed tomography (CT) report datasets in a resource-constrained hospital setting, using a radiologist-defined report-section-based proxy for the actionability of findings. Materials and Methods: In this retrospective study, German adult thoracic CT reports from 2020 to 2025 were used to create patient-disjoint subsets for model development (n = 1000), internal in-distribution (n = 800), and temporal holdout testing (n = 200). External testing used English CT-RATE reports (n = 1000). Reports were manually labeled as normal, findings-level abnormal, or impression-level abnormal, corresponding to no current lung abnormality, a current lung abnormality mentioned only in the findings, or a current lung abnormality mentioned in the impressions. Fine-tuned ModernBERT models, CPU-based small LLMs, and GPU-based large LLMs were evaluated across model variants, prompting strategies, and original German versus English-translated internal reports. The best configuration per model category by macro F1 was evaluated on the test sets using class-wise F1, macro F1, accuracy, and output-format failure rate. Paired bootstrap testing with 10 000 iterations compared macro F1 between final model configurations. Results: GPT-OSS 120B with rule-guided prompting achieved the highest macro F1 on the internal in-distribution (0.96), temporal holdout (0.99), and external (0.98) test sets, significantly outperforming the second-best model. BioClinical-ModernBERT-base achieved macro F1 0.92, 0.93, and 0.51, and Llama 3.1 8B with two-step prompting 0.70, 0.75, and 0.77. Conclusion: GPT-OSS 120B performed best and most robust, while BioClinical-ModernBERT-base provided a fast CPU-feasible option for internal retrospective dataset curation.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Franziska Weber, Tri-Thien Nguyen, Nadine Bayerl, Johanna P. Müller, Siming Bayer, Andreas Maier, Bernhard Kainz, Matthias S. May, Michael Uder, Niklas A. Lackner. 2026-12-03. Privacy-Preserving Classification of German Thoracic CT Reports Under Resource Constraints Using Large Language Models and Fine-Tuned Encoders. https://searcharxiv.org/abs/2612.05382

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Search arXiv by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

Hire a Linguist!: Learning Endangered Languages in LLMs with In-Context Linguistic Descriptions

How can large language models (LLMs) process and translate endangered languages? Many languages lack a large corpus to train a decent LLM; therefore existing LLMs rarely perform well in unseen, endangered languages. On the contrary, we observe that 2000 endangered languages, though without a large corpus, have a grammar book or a dictionary. We propose LINGOLLM, a training-free approach to enable an LLM to process unseen languages that hardly occur in its pre-training. Our key insight is to demonstrate linguistic knowledge of an unseen language in an LLM's prompt, including a dictionary, a grammar book, and morphologically analyzed input text. We implement LINGOLLM on top of two models, GPT-4 and Mixtral, and evaluate their performance on 5 tasks across 8 endangered or low-resource languages. Our results show that LINGOLLM elevates translation capability from GPT-4's 0 to 10.5 BLEU for 10 language directions. Our findings demonstrate the tremendous value of linguistic knowledge in the age of LLMs for endangered languages. Our data, code, and model generations can be found at https://github.com/LLiLab/llm4endangeredlang.

cs.CL↗

Automated Data Enrichment using Confidence-Aware Fine-Grained Debate among Open-Weight LLMs for Mental Health and Online Safety

Real-world indicators play an important role in many Natural Language Processing (NLP) applications, such as life events for mental health analysis and risky behaviours for online safety, yet labelling such information is often costly and/or difficult due to its multi-label and dynamic nature. Large Language Models (LLMs) show promising potential for automated annotation, but the multi-label setting remains challenging. In this work, we propose a Confidence-Aware Fine-Grained Debate (CFD) framework that simulates human collaborative annotation using fine-grained communication to better support automated multi-label enrichment. We introduce two expert-annotated resources: life-event and symptom annotations for a mental health well-being dataset, and a new online safety sharenting dataset. Experiments show that CFD achieves the most robust enrichment performance across tasks, and that the benefit of fine-grained confidence is influenced by its quality and variability. We further evaluate training-free strategies for incorporating enrichment indicators into downstream tasks and show that automated enrichment consistently improves performance, by up to 9.9 Macro-F1 points, with the most effective integration format depending on how the indicator relates to the downstream objective.

cs.CL↗

BayesRAG: Probabilistic Mutual Evidence Corroboration for Multimodal Retrieval-Augmented Generation

Retrieval-Augmented Generation (RAG) has become a pivotal paradigm for Large Language Models (LLMs), yet current approaches struggle with visually rich documents by treating text and images as isolated retrieval targets. Existing methods relying solely on cosine similarity often fail to capture the semantic reinforcement provided by cross-modal alignment and layout-induced coherence. To address these limitations, we propose BayesRAG, a novel multimodal retrieval framework grounded in Bayesian inference and Dempster-Shafer evidence theory. Unlike traditional approaches that rank candidates strictly by similarity, BayesRAG models the intrinsic consistency of retrieved candidates across modalities as probabilistic evidence to refine retrieval confidence. Specifically, our method computes the posterior association probability for combinations of multimodal retrieval results, prioritizing text-image pairs that mutually corroborate each other in terms of both semantics and layout. Extensive experiments demonstrate that BayesRAG significantly outperforms state-of-the-art (SOTA) methods on challenging multimodal benchmarks. This study establishes a new paradigm for multimodal retrieval fusion that effectively resolves the isolation of heterogeneous modalities through an evidence fusion mechanism and enhances the robustness of retrieval outcomes. Our code is available at https://github.com/TioeAre/BayesRAG.

cs.CL↗