---
title: "MEDBERT.de — paper by Bressem et al. (2023)"
description: "How medBERT.de learns from German medical text and performs on radiology reports, clinical coding, and other medical language tasks."
canonical: "https://research.elamur.ai/free/en/papers/bressem-2023-medbert-de-comprehensive-german-bert/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/bressem-2023-medbert-de-comprehensive-german-bert/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2023](https://md.research.elamur.ai/free/en/papers/2023/) / MEDBERT.de: A Comprehensive German BERT Model for the Medical Domain

# MEDBERT.de: A Comprehensive German BERT Model for the Medical Domain

Paper · 2023 · Keno K. Bressem, Jens-Michalis Papaioannou, Paul Grundmann et al.

**Authors:** [Keno K. Bressem](https://md.research.elamur.ai/free/en/authors/keno-k-bressem/), [Jens-Michalis Papaioannou](https://md.research.elamur.ai/free/en/authors/jens-michalis-papaioannou/), [Paul Grundmann](https://md.research.elamur.ai/free/en/authors/paul-grundmann/), Florian Borchert, [Lisa C. Adams](https://md.research.elamur.ai/free/en/authors/lisa-c-adams/), Leonhard Liu, Felix Busch, Lina Xu, Jan P. Loyen, Stefan M. Niehues, Moritz Augustin, Lennart Grosser, Marcus R. Makowski, Hugo JWL. Aerts and [Alexander Loser](https://md.research.elamur.ai/free/en/authors/alexander-loser/) · **Year:** 2023 · **Venue:** arXiv:2303.08179 · Expert Systems with Applications 2024;237(21):121598 · **Licence:** [CC BY 4.0 (arXiv)](http://creativecommons.org/licenses/by/4.0/)

[**57** citations OpenAlex, 2026-10-14](https://openalex.org/works?filter=cites:W4386701122) · [arXiv:2303.08179 · Expert Systems with Applications 2024;237(21):121598](https://openalex.org/S13144211) · [licence](http://creativecommons.org/licenses/by/4.0/)

- [PDF](https://arxiv.org/pdf/2303.08179)
- [DOI 10.1016/j.eswa.2023.121598](https://doi.org/10.1016/j.eswa.2023.121598)
- [arXiv 2303.08179](https://arxiv.org/abs/2303.08179)
- [OpenAlex](https://openalex.org/W4386701122)

Citations: OpenAlex, 2026-10-14.

## Summary

A German hospital report can be difficult for a system trained on general German. Its vocabulary is more specialized, its sentences may follow a reporting template, and the information a reader needs can be spread across the document. The authors developed medBERT.de to learn from the kinds of writing it would encounter in medical work. They trained it from scratch using [BERT](https://md.research.elamur.ai/free/en/papers/devlin-2019-bert-pre-training-deep-bidirectional/) and a collection of 4.7 million German medical documents. The collection included hospital reports, scientific publications, and medical textbooks. The study asks how much that preparation helps when the system is subsequently trained to perform specific tasks.

The authors evaluated medBERT.de and a variant trained after removing similar radiology reports on eight medical benchmarks. Some asked whether an entire report mentioned a particular finding. Others asked the system to highlight and categorize clinical expressions, a task known as [named entity recognition](https://md.research.elamur.ai/free/en/concepts/named-entity-recognition/). The advantage varied by task. On chest CT classification, medBERT.de reached an AUROC of 96.69 and the variant trained on the filtered corpus reached 96.39. AUROC measures how well a system ranks positive cases ahead of negative ones across decision thresholds. The chest X-ray and wrist report scores were more closely grouped. The medBERT variants also led the comparisons on predicting diagnosis or procedure codes from discharge summaries and surgical reports, document types set aside from pretraining. Comparisons on public oncology guidelines and synthetic clinical cases depended on the metric, and GottBERT led on the general German task.

Removing similar reports helped on some evaluations and hurt on others. The medical tokenizer, which divides text into pieces the system can process, used fewer pieces per word than GottBERT’s, yet GottBERT remained competitive on some tasks. The authors attribute much of the medical advantage to the size of their training collection. Their comparisons establish how the complete training approaches performed and leave the contributions of corpus size, source mix, and tokenization open. The authors released the trained weights and the new radiology benchmarks. Privacy restrictions kept the pretraining collection and the clinical coding benchmarks private.

## Deep dive: MEDBERT.de: A Comprehensive German BERT Model for the Medical Domain

How medBERT.de learns from German medical text and performs on radiology reports, clinical coding, and other medical language tasks. · about 31 minutes to read

**In this deep dive**

1. [The problem and its context](#dd-the-problem-and-its-context)
2. [The method, step by step](#dd-the-method-step-by-step)
3. [Experiments and results](#dd-experiments-and-results)
4. [What the ablations show](#dd-what-the-ablations-show)
5. [Limitations](#dd-limitations)
6. [What came after](#dd-what-came-after)

### The problem and its context

#### What changes when the text comes from a hospital

In this paper, the purpose of [natural language processing](https://md.research.elamur.ai/free/en/concepts/natural-language-processing/) is to make information in medical prose easier to find and organize. A chest imaging report can describe several findings and devices in the same passage. A discharge summary can cover diagnoses, treatment, medication, and follow-up. An application may need to turn that prose into a set of categories or show a reader the phrases that support a category. These are different jobs. A set of document labels helps a reader find reports about a finding, while highlighted phrases let the reader inspect the wording that led to a label.

Both jobs depend on how well the system represents the text. Self-supervised pretraining gives a [language model](https://md.research.elamur.ai/free/en/concepts/language-model/) practice with ordinary text before it learns a specific output from annotated examples. The text itself supplies the pretraining signal, so the authors can use collections much larger than the ones they can afford to have specialists annotate. The choice of collection matters because it determines which expressions and contexts the system repeatedly encounters. A German system prepared on general prose has experience with the language, while a medical collection supplies experience with how that language is used to document examinations, findings, and care.

The distinction runs deeper than vocabulary. A textbook explains a disease or procedure for a reader who wants to learn about it. A hospital report records what was observed or done in a particular case. Even when the same terms occur in both, their surrounding text serves a different purpose. A collection of scientific abstracts can give a system exposure to specialist terminology without giving it much practice with the short, repetitive phrasing of clinical reports. Conversely, a collection dominated by a particular report format can give extensive practice with that format and much narrower exposure to the ways other specialties write.

This is why the authors treat coverage as a practical problem as well as a question of how many documents can be assembled. They want a system that can work across medical document types. To evaluate that ambition, they need some tests representative of common hospital writing and some that ask whether the system can adapt to a style of record outside its pretraining collection. A benchmark drawn entirely from the most common source in pretraining would give a narrower answer, even if its annotations were precise.

#### What earlier systems had established

The paper places medBERT.de in a sequence of efforts to specialize pretrained systems. One distinction concerns language. The authors point to systems developed for German, French, and Spanish as evidence that pretraining can benefit from concentrating on a particular language. They cite GottBERT in the German context and [CamemBERT](https://md.research.elamur.ai/free/en/papers/martin-2019-camembert-tasty-french-language-model/) in the French context. A second distinction concerns the domain within a language. German medical writing and general German share much of their grammar and vocabulary, but the contexts in which familiar and specialist expressions occur can differ enough to affect downstream performance.

The English biomedical work cited in the paper offers several ways to define what counts as relevant training material. [BioBERT](https://md.research.elamur.ai/free/en/papers/lee-2019-biobert-pre-trained-biomedical-language/) used English biomedical abstracts to build on BERT. The authors describe it as improving performance on biomedical benchmarks while retaining the original system’s performance. They also cite [Domain-Specific Language Model Pretraining for Biomedical Natural Language Processing](https://md.research.elamur.ai/free/en/papers/gu-2020-domain-specific-language-model-pretraining/) in support of specializing for technical language. The hospital-focused Med-BERT example used semi-structured electronic health records for pretraining and addressed downstream prediction. These examples give the German study two precedents with different training material. Biomedical publications are a source of specialist prose. Hospital records provide a different view of what medical information looks like in practice.

Earlier work had already shown the potential of specialization in German. The authors describe BioGottBERT as extending GottBERT with medical material, including scientific abstracts and Wikipedia material, and report that earlier evaluations found it could outperform its general-language counterpart on medical tasks. They also cite German medical work on entity recognition and chest radiograph reports. From this literature they identify several constraints that matter for their own study. A medical collection can be small or concentrated in a particular specialty. An evaluation can use a narrow set of documents or examples that are difficult to compare with another study’s benchmarks.

Access to records is part of the explanation for those constraints. The authors describe relevant text as particularly scarce outside English and point to the sensitivity of information in medical records. Public scientific and educational material offers a way to increase coverage, but acquiring it does not automatically solve the problem of obtaining realistic hospital prose. A collection that can be used for training may also differ from a dataset that can be publicly released. That distinction shapes the paper’s design. The authors build a training collection from several kinds of medical writing and create a set of releasable radiology tests, alongside private tests that extend the evaluation to other hospital records.

### The method, step by step

#### From medical writing to a benchmark prediction

The method has two stages of learning. First, pretraining uses German medical documents to establish representations of text. Those representations describe a piece of text in a form that can carry information about its context. Second, [fine-tuning](https://md.research.elamur.ai/free/en/concepts/fine-tuning/) adjusts the pretrained system with examples from a particular benchmark. On a chest CT task, the supervision consists of report-level labels for pathologies. On the wrist report task, it consists of labels for stretches of text. Each benchmark asks what the pretrained system can learn when given examples of that task.

The authors train their own BERT systems from scratch. The starting point is the BERT architecture, while the representations are learned from their medical collection. The two releases differ in the treatment of similar radiology reports. One uses the full corpus, and the other uses a filtered version. At evaluation time the authors compare the resulting systems with both general German and medically adapted baselines, using task-specific tuning for every comparison.

Training and evaluating medBERT.de The steps in order.

#### Building the training collection

The authors report 4.7 million documents from 11 sources, representing 10 GB of raw data. That figure describes the collection at the level of files or records. A report consisting of a few sentences and a long educational publication can both count as documents. The appendix also gives raw text sizes for individual sources, which help explain why document counts alone give an incomplete sense of the mix.

Radiology reports supply a large collection of text written during care. The authors extracted reports from the radiology information system at Charité and removed texts with fewer than 100 characters. The appendix describes similarity filtering and anonymization, then reports a filtered collection of 3.66 million radiology reports occupying 4,195 MB of raw text. These are the rounded document count and raw size given in the source description. The deduplication procedure is described separately, with exact counts for the collections before and after filtering.

Another hospital source, TBase, brought in material associated with nephrology and kidney transplantation. The paper reports 373,421 electronic health records from this database, amounting to 440 MB of raw text. They include physician letters, microbiology and pathology reports, and accounts of diagnostic procedures. The point of including this material goes beyond adding records. It exposes the system to written descriptions of clinical work that differ from imaging reports in both subject matter and purpose. The paper classifies the surgical reports and discharge summaries used later for evaluation as document types outside the pretraining data.

Several sources contain writing aimed at explaining or teaching medicine. With Thieme’s permission, the authors included licensed medical textbooks and publications for continuing medical education. After the figures and tables were removed, the remaining 330,994 documents contained 2,898 MB of raw text. The Springer Nature source consisted of abstracts and full text from open-access publications in German, totaling 257,999 documents and 1,986 MB. Together these sources provided extended prose of a kind the shorter hospital reports would supply less often.

The authors also assembled German abstracts available through PubMed. This part contributed 12,139 documents and 16 MB of raw text. Their collection of German medical dissertations and postdoctoral theses comprised 7,481 documents and added 648 MB. The processing of the theses illustrates a different kind of filtering from deduplicating radiology reports. The authors dropped sentences without German stop words, the common words they used as a language cue, and excluded theses shorter than 15 pages. That procedure targets which text qualifies for inclusion, while the radiology filter targets resemblance among reports already collected.

The remaining sources illustrate the different registers the authors were trying to cover. DocCheck contributed medical wiki entries together with forum material and product descriptions, for 63,884 documents and 92 MB of raw text. A separate crawl of German medical forums contributed 11,322 documents and 65 MB. Medical Wikipedia articles supplied 3,639 texts and 22 MB. The authors also name the oncology guideline corpus [GGPOnc](https://md.research.elamur.ai/free/en/papers/borchert-2020-ggponc-corpus-german-medical-text/) as a training source. Guidelines offer recommendations in a more formal register than forums or case reports. Their inclusion also matters for how to interpret the separate guideline evaluation.

#### Removing identifying information and similar reports

The authors explain that radiologists sometimes enter identifying information in the free text of an imaging report, even when such details are typically absent. They applied German entity recognition to flag names. A reference for this step is [Contextual String Embeddings for Sequence Labeling](https://md.research.elamur.ai/free/en/papers/akbik-2018-contextual-string-embeddings-sequence-labeling/). Two radiologists manually verified the flagged names, which were then removed. Dates were replaced by wildcards, placeholders that occupy their place in the text. The documents prepared for the benchmarks received at least three reviews by the authors specifically to check for identifying information. The paper also reports approval by the local ethics committees for the retrospective study.

The deduplication step addresses a different property of radiology data. Reports often use a familiar arrangement of phrases. Distinct reports can therefore look almost alike, sometimes even when they document separate examinations. To identify that kind of repetition, the authors represented each report as a bag of words. This representation describes a report through the words it contains and leaves their order out of the comparison. They then compared those representations using a cosine-based measure. Closely aligned word representations indicate that two reports use a similar mix of words.

The paper describes keeping reports for which no comparison report exceeded a similarity of 0.75. The threshold is a rule for textual resemblance. Clinical equivalence would be a different judgment. Reports built from much the same vocabulary can describe different cases, and two descriptions of a similar finding can use different words. The filter therefore changes the frequency with which certain vocabulary and templates appear in the training collection. Its effect on the usefulness of a trained system is what the benchmark comparison is designed to test.

Comparing the reports imposed a computational cost, so the authors limited this step to short radiology reports. The radiology portion went from 4,504,167 reports in the unfiltered collection to 3,657,801 in the filtered one. The rest of the medical collection continued to provide the wider mix of genres. The resulting comparison is between medBERT.de and medBERT.dededup, a variant with fewer short radiology reports and a correspondingly different balance of training examples.

#### Preparing text pieces and training in phases

Before BERT processes a document, [subword tokenization](https://md.research.elamur.ai/free/en/concepts/subword-tokenization/) converts the text to a sequence of pieces from a vocabulary. A piece can be a whole word or part of a word. This is important for a collection with specialized terminology because a term can take up different numbers of input positions under different vocabularies. Long documents bring the distinction into view. Under a fixed sequence limit, a report that is split into more pieces can reach the limit earlier.

The authors removed Unicode characters that appeared fewer than three times in the pretraining material. Unicode is the character inventory used to represent the text, and this cleanup prevents exceedingly rare characters from taking up vocabulary space. The authors explain that this leaves room for more useful pieces and reduces the memory cost of unnecessary entries. They set the required word frequency for inclusion in the vocabulary to 20, in part to reduce the chance that an infrequent patient name missed during anonymization would become a vocabulary entry. This step concerns what can be stored as a vocabulary item. The earlier name-removal procedure concerns what remains in the underlying documents.

The BERT training run proceeds from shorter sequences to longer ones. The first phase uses a maximum sequence length of 128. The second uses a sequence length of 512. These lengths count input positions occupied by the pieces produced by the tokenizer. The authors use the LAMB optimizer, following [Large Batch Optimization for Deep Learning](https://md.research.elamur.ai/free/en/papers/you-2019-large-batch-optimization-deep-learning/). The optimizer determines how the system’s parameters change in response to batches of training examples.

In the first phase, the authors use a batch size of 65,536 and run for 7,038 steps. The learning rate, which controls the size of parameter updates, is warmed up over 2,000 steps, then decays according to a polynomial schedule. The learning-rate value is printed as follows.

```
6e^(−3)
```

The leading `6` is the coefficient, `e` is the marker in the compact learning-rate notation, and `^` introduces the exponent `−3`, grouped by parentheses. The minus sign indicates a negative exponent. In this setting, the value describes the learning rate for the first phase of pretraining.

The longer-sequence phase uses a batch size of 32,768, with 200 warm-up steps in a run of 1,563 steps. The paper prints the maximum learning rate as follows.

```
4e^(−e)
```

Here `4` is the coefficient, the first `e` occupies the position of the notation marker, and `^` introduces the parenthesized exponent `−e`. The minus sign applies to the second `e`. The paper gives a letter where the corresponding first-phase expression gives a digit, leaving the intended numeric setting ambiguous. The batch size, warm-up, and run length for this phase are stated separately.

#### Turning benchmark documents into training examples

The downstream benchmarks draw on several types of supervision. For the chest imaging tasks, people read reports and assign document-level labels. This is [multi-label text classification](https://md.research.elamur.ai/free/en/concepts/text-classification/) because a single report can have several relevant labels. An X-ray report, for instance, can mention both a pathology and a therapy device. The system is trained to score the categories that apply to the document. On the wrist report task, the annotators identify expressions in the text itself. The system then has to find the relevant pieces of text and identify their categories.

The new radiology benchmarks each use 2000 reports from a German hospital. For chest X-rays, three board-certified radiologists manually annotated four types of pathology and four types of therapy device for presence or absence in a report. For CT, the reports had to cover the chest and could also describe the head, neck, or abdomen. A final-year medical student annotated 23 chest pathologies, with review by two board-certified radiologists. For wrist reports from CT or X-ray examinations, a final-year medical student produced annotations using 42 labels, and two board-certified radiologists verified them. The radiology benchmarks thus differ in the information being sought, the unit of annotation, and the composition of the prose.

The authors use another procedure to obtain labels for surgical reports and discharge summaries. They extract the documents and codes from the same hospital’s information system. For surgical reports, they assign OPS procedure codes linked to the patient and matching the date of the report. They restrict the labels to the surgical chapter of the code system. For discharge summaries, they assign the patient’s codes and build separate tasks for ICD-10 diagnoses and OPS procedures. Across these tasks, they restrict the label set to frequent codes so that every included label has at least 10 examples in the test set.

That difference in how labels are obtained changes the interpretation of a prediction. In the radiology tests, the annotations represent what a reader found in the report. In the discharge tests, an assigned code can be supported by a different record in the patient’s chart. From the learner’s perspective, a benchmark can therefore expect a label even when the input lacks its clearest evidence. The coding tasks still provide a common basis for comparing systems, since the same assignment procedure applies to every system on a given task.

#### Selecting task-specific settings

The authors tune each system on each downstream task. For each system–task pair, they conduct 100 trials with different learning rates, batch sizes, and warm-up step counts. The search uses median pruning, which uses performance in the search so far to decide whether to stop an unpromising trial early. Classification trials are judged using AUROC, and entity recognition trials use token F1. The latter combines precision and recall at the level of individual text tokens. This distinction reflects the different units in which success is measured. Classification scores a whole document for a label, while the entity task asks which positions in the text are part of a mention.

The task-specific search gives each pretrained system a chance to find an effective setting for the new examples. It also establishes what the results compare. A score reflects a pretrained starting point after adaptation to the task under the paper’s search procedure. The authors release the weights for both medBERT variants and make the radiology benchmarks openly available, so other researchers can carry out downstream evaluations on released material. The paper withholds the pretraining data for privacy reasons, and the private clinical records used for coding evaluation are also unavailable publicly.

### Experiments and results

#### What the baselines and metrics measure

The paper compares six systems based on BERT or [RoBERTa](https://md.research.elamur.ai/free/en/papers/liu-2019-roberta-robustly-optimized-bert-pretraining/). The general-language comparisons are GottBERT, a German system based on RoBERTa, and multilingual BERT. The existing medical comparisons are BioGottBERT and German-MedBERT. BioGottBERT starts from GottBERT and adapts it using medical material. German-MedBERT starts from German BERT and uses a crawl of medical websites. The other two entries are the authors’ variants trained from scratch. Taken together, these comparisons ask whether the new pretraining approach improves on both general German preparation and earlier German medical adaptation.

Different metrics capture different properties of the predictions. AUROC assesses how well prediction scores separate positives from negatives across thresholds. A system can obtain a strong AUROC while producing a less satisfactory list of labels at the particular threshold used to turn scores into decisions. Precision describes the share of positive predictions that are correct. Recall describes the share of actual positives that the system recovers. F1 combines precision and recall, so a result can suffer when one is weak even if the other is strong.

In entity recognition, token scores reflect which individual positions receive entity labels. A system that captures part of a long mention can obtain credit at the token level while still making an error on the complete expression. The paper reports token-level and global scores and specifies macro F1 in its discussion of the guidelines benchmark. Macro averaging gives each of the categories being averaged equal weight. The metrics can favor different systems, so the comparison depends on whether the task rewards coverage of entity tokens, precision of the returned annotations, or balanced performance across categories.

#### Chest imaging and wrist reports

The chest X-ray task uses reports with a length of 98 ± 27 words. The purpose is to locate global evidence for conditions and devices across what the authors describe as short reports. The highest average AUROC stated in the paper’s discussion of this task is 83.65 for medBERT.dededup. GottBERT is reported at 83.48, and medBERT.de at 83.42. The authors’ narrative describes both of their variants as leading and calls GottBERT third. The stated scores place GottBERT between the two variants. On those scores the main result is a crowded comparison, with the deduplicated variant at the top.

Mean AUROC on chest X-ray report classification The deduplicated variant leads a closely grouped comparison.

**The numbers**

| System or setting | AUROC |
| --- | --- |
| medBERT.dededup (this paper) | 83.65 |
| GottBERT | 83.48 |
| medBERT.de | 83.42 |

The chest CT task asks about findings in reports with a length of 258 ± 100 words. A report can cover areas beyond the chest, while the benchmark still expects predictions for its chest pathology labels. medBERT.de reaches an AUROC of 96.69, and medBERT.dededup follows at 96.39. The paper describes a substantially wider separation from the other systems than on the X-ray task. It gives a comparison of 19% for the other systems collectively without identifying individual AUROCs or specifying how that figure was calculated. The two stated AUROCs establish the ordering among the authors’ variants. The qualitative comparison establishes that both led the other systems on this task.

AUROC of the medBERT variants on chest CT report classification The variant trained on the full corpus leads on chest CT reports.

**The numbers**

| System or setting | AUROC |
| --- | --- |
| medBERT.de (this paper) | 96.69 |
| medBERT.dededup | 96.39 |

The wrist reports have a reported length of 108 ± 41 words. Here the goal is to locate labeled expressions within the report, and the system must deal with boundaries as well as categories. The deduplicated variant leads on the reported metrics other than global recall. The authors describe the gaps between the highest and lowest scores as mostly 1-3%. This result puts the wrist benchmark closer to chest X-ray than to chest CT in how tightly the systems are grouped. The appendix describes a skewed distribution of labels, particularly for CT and wrist reports, which is one reason to distinguish the overall comparison from performance on individual findings or entity classes.

These tasks test related abilities on fairly different inputs. Both chest tasks attach labels to entire reports, yet the X-ray benchmark includes devices and uses shorter reports, while the CT benchmark concentrates on chest pathologies and allows reports describing other anatomical areas. The wrist benchmark changes the output itself by asking for spans of text. The authors observe a larger advantage on the longer radiology reports. A reader can see that pattern in the comparisons and also see which other properties of the tasks vary alongside length.

#### Guidelines and synthetic clinical cases

The oncology evaluation uses [GGPOnc 2.0](https://md.research.elamur.ai/free/en/papers/borchert-2022-ggponc-2-0-german-clinical/), a public collection of German clinical practice guidelines. Guidelines serve a different purpose from records prepared for individual patients. They may express a recommendation and describe an intervention or condition in longer prose. The dataset contains more than 200K annotated entity mentions. The authors retain the original baseline experiments’ training, development, and test splits while using the benchmark configuration that features long entity spans and 8 fine-grained semantic classes. The fine classes require relatively specific category decisions, while long spans make the extent of a mention part of what a system has to learn.

On the guidelines, the medBERT variants lead on AUROC, both global and token-level precision, and token-level recall. BioGottBERT achieves the highest macro F1 and leads on the recall measure distinguished from token-level recall in the paper’s account. Thus the medical pretraining approach yields stronger scores on several measures, while the baseline is the strongest choice on the stated macro F1 comparison. The full-corpus medBERT.de also consistently exceeds its deduplicated counterpart on the metrics reported for this benchmark. That ordering contrasts with the wrist benchmark, where filtering favored the leading variant on most reported measures.

GraSCCo supplies a different test of clinical entity recognition. It is a public synthetic collection of 62 clinical case reports. The authors use annotations added by an annotator from the GGPOnc team, applying the guideline annotation instructions to the case reports. In the setting with long spans and fine categories, this yielded 5.8K annotations. Bringing the annotation scheme to a different type of writing lets the comparison address how well the categories can be located in clinical narrative as well as guidelines. Its synthetic character remains a property of the benchmark itself.

For GraSCCo, medBERT.de obtains the highest AUROC at 85.14. It also leads on token AUROC at 75.17 and token recall at 75.17, as reported. GottBERT leads on the other metrics. The paper describes the overall gaps as small. The result illustrates why a claim of overall medical improvement needs the metric and dataset attached. A system with stronger ranking or token recall can still return a less precise set of predictions or receive a lower score under another aggregation rule. The two public datasets also show that earlier German baselines remain competitive when the task changes from radiology labels to medical entity boundaries.

#### Coding diagnoses and procedures from clinical records

Each private benchmark comprises 2000 texts. The authors stratify the data into a training set of 1000, a validation set of 500, and a test set of 500. The training set provides the examples used to adapt a system. The validation set supports choices during development, while the held-out test set is used for comparing the selected systems. Stratification and the minimum test example requirement give each retained code some representation in evaluation, even when certain codes are much more frequent than others.

The first discharge summary task asks for 65 ICD-10 diagnosis codes. Both medBERT variants outperform every other system in the comparison. The full-corpus medBERT.de is the leader, and the paper describes its margin over the filtered version as below a percentage point. For this benchmark the important transfer is from pretraining on a range of medical sources to learning how discharge summaries support diagnosis labels. The authors exclude discharge summaries as a pretraining document type, so the fine-tuning examples are where the systems learn this task’s particular format and code assignments.

The other discharge summary task asks for 49 OPS procedure codes. Both medBERT variants again outperform the baselines. The authors emphasize that recall and F1 are particularly low across the systems. The relative gains and the low scores address different questions. One comparison asks which training approach yields stronger predictions under the same conditions. The other concerns how many assigned codes the tuned system captures and how well the predictions match the labels in practice. The origins of the labels matter here because some procedure information can be documented elsewhere in the health record.

The operative report benchmark asks for 10 OPS codes and again favors the authors’ medically pretrained variants. Overall scores are higher than for the discharge summary tasks. The paper attributes this in part to the shorter, less variable surgical reports and the smaller label set. The method of associating labels with reports differs as well. A matching date ties a surgical code to the date of the report, whereas the discharge summary tasks use the patient’s diagnosis or procedure codes. For a reader comparing the tasks, these differences help define what a higher score on operative reports actually measures.

The paper names frequent labels to show what the private predictions represent. The most common operative report label is OPS 5-984, a code for microsurgical technique. The most common OPS label in discharge summaries is 8-930, which concerns monitoring of respiration, cardiac function, and circulation under the conditions specified by that code. The leading ICD-10 label by frequency is Z11, which relates to testing for infectious or parasitic disease. These labels illustrate how the benchmark converts prose into codes that may refer to procedures, monitoring, or reasons for testing. They also explain why care is needed when interpreting a correct code prediction as evidence that the system recognized a particular phrase. The output represents a standardized category, and in some examples its evidence may be indirect.

The private tests provide the study’s most direct comparison on clinical document types held out from pretraining. Every system still receives task-specific training on labeled documents of the target type. The result is therefore evidence about adapting a pretrained system to unfamiliar types of medical writing, under the study’s fine-tuning conditions. How well that adaptation travels to a different institution, its reporting conventions, or a different choice of procedure codes remains a separate question.

#### General German evaluation

The authors also evaluate on GermEval18, a general German benchmark concerned with classifying offensive language. GottBERT leads the domain-adapted systems on every metric discussed for this comparison. BioGottBERT also outperforms the medBERT variants. This result puts the systems in a setting that draws on a different variety of language and a different labeling task from the clinical evaluations. It gives the general-domain baseline a distinct advantage within the tests reported in the paper.

The authors connect GottBERT’s advantage to its exposure to more general-language material. They discuss how adaptation might reduce performance on a task from the starting domain, a possibility called catastrophic forgetting, in which additional training weakens capabilities learned earlier. The observed part of the result is the ranking on GermEval18. The comparison combines differences in training corpora and histories, so the specific mechanism behind that ranking remains open. For the overall evaluation, the finding gives the medical improvements a clear scope. The strongest medical results concern the clinical and biomedical tasks under study, while the general German comparison favors a system trained for broader use.

### What the ablations show

#### Filtering changes which examples the system sees

The closest comparison to an ablation is the pair of medBERT variants. Both follow the authors’ BERT pretraining approach, and one is trained after the short-report similarity filter has been applied. Their downstream scores show that this intervention has different effects across tasks. It favors the filtered variant on chest X-rays and on most wrist report metrics. The full collection gives the best chest CT AUROC, and the full-corpus variant also has the stronger scores of the pair on the oncology guidelines. Both variants lead the baselines on private coding tasks, with the full-corpus system ahead on the diagnosis benchmark.

The mixed outcome narrows what can be concluded about repetition. Removing highly similar short reports can change learning in a way that helps particular tasks. It can also remove useful examples or change how often the system encounters a pattern that helps on another task. The same word-level filter can catch close copies and reports that reuse familiar wording to describe separate examinations. The evaluation compares the practical results of using that filter with those of leaving the corpus intact. It does not measure how much of either effect comes from repeated content as opposed to the reduction in data volume and the shift in which text genres account for the training material.

Scope matters to the interpretation. The intervention was applied to short radiology reports because the comparisons were computationally constrained, and other sources may also have contained duplicates. This gives the experiment a fairly concrete target: repetition detectable by a bag-of-words similarity rule within part of one genre. Different repetition patterns, such as reuse of a passage inside an otherwise different document, are outside what the reported comparison establishes. The paper takes the mixed results as a reason to qualify the expected benefits of deduplication for this collection.

#### Fewer pieces per word give a shorter input sequence

The authors use tokenizer fertility to ask how finely each system splits medical text. Fertility is the average number of sub-word pieces used for a word in the evaluation text. They measure it on the chest CT, chest X-ray, and wrist report datasets. This analysis follows the reasoning in [How Good Is Your Tokenizer?](https://md.research.elamur.ai/free/en/papers/rust-2021-how-good-is-your-tokenizer/), which the authors discuss in connection with the quality of the representations learned for text pieces.

Both medBERT variants have a reported fertility of 1.18 on the radiology text used for the analysis. GottBERT’s reported fertility is 1.75 on the same analysis. A lower value means that, on average, fewer positions are needed to encode the words in those texts. This is a direct measure of how the tokenizer represents these inputs. The downstream results give a separate measure of whether the system makes the desired predictions.

Tokenizer fertility on chest CT, chest X-ray, and wrist reports Both medBERT variants encode the radiology text with fewer pieces per word than GottBERT.

**The numbers**

| System or setting | subwords per word |
| --- | --- |
| medBERT.de (this paper) | 1.18 |
| medBERT.dededup | 1.18 |
| GottBERT | 1.75 |

The comparison with GottBERT illustrates the difference between these measures. In spite of splitting words into more pieces on average, GottBERT remains close to the medBERT variants on short radiology reports. The two variants have the same reported fertility while their benchmark rankings change across tasks. A single average over words gives a useful description of sequence length. Predicting performance requires information about what the system learned, what evidence a report contains, and how the evaluation rewards different mistakes.

The authors nevertheless see a plausible role for efficient segmentation on long records. The discharge summaries and operative reports were truncated to fit 512 tokens. A tokenizer that uses fewer tokens for the same passage can potentially retain more words within that budget. The effect on prediction would depend on what the extra words say. If they include information that supports an assigned code, keeping them could help. If the relevant statement already occurs early in the report, or if it appears elsewhere in the chart, using fewer pieces has a different practical value. The fertility measurement itself comes from radiology text, and the paper offers the explanation about private records as a possible mechanism.

An experiment isolating that mechanism would need otherwise comparable training conditions with different tokenizers or a comparison tied directly to how much evidence survives truncation. The paper compares complete pretrained systems and does not report such a tokenizer-only intervention. Its narrower empirical finding is that lower fertility does not consistently track stronger downstream scores across the evaluated systems, even though it offers a clear way to fit more of a long document into a fixed input length.

#### Report length and pretraining scale

The authors draw attention to a pattern across the new radiology benchmarks. The longer chest CT reports produce the clearest separation between the medBERT variants and the baselines. The shorter X-ray and wrist reports produce tighter groups. The private coding tests also favor the authors’ systems, and discharge summaries have more complicated content than the short imaging reports. Together, the results make performance on longer and more varied clinical text an important part of the paper’s evidence for medical pretraining.

Length in these experiments is a property of the datasets, not a setting that was independently manipulated. The CT reports differ from X-rays in which pathologies are labeled, what parts of the body may be discussed, and how information is arranged. Wrist recognition also changes from assigning whole-report labels to locating spans. Within the private experiments, the operative report task has higher scores than the discharge summary tasks, in spite of the paper’s description of surgical reports as generally shorter. That comparison concerns how difficult the tasks are overall, whereas the radiology observation concerns the size of the advantage over competing systems. Reading them together separates absolute task difficulty from the gains associated with a given pretrained starting point.

The authors attribute most of medBERT.de’s advantage to the large amount of medical pretraining material relative to earlier German medical systems. The broad corpus and strong downstream results are consistent with that explanation. The baseline comparisons also vary the kind of medical text, the starting weights, and other features of training. Removing similar short reports changes corpus size and composition at the same time. Consequently, the paper supports using its pretraining approach as a whole for the tasks it evaluates, while the separate contribution of scale remains an interpretation of the evidence.

### Limitations

#### Limits identified by the authors

The authors identify a concentration of radiology writing in the data. They describe radiology reports as accounting for about 40% of the data. That share has no explicit denominator in the limitations discussion. The paper also gives separate counts of radiology reports and sizes of raw text, which are different ways to describe the collection. The underlying concern is clear across those descriptions: a large supply of reports in a similar style can offer less variety of expression and clinical context than a more diverse set of records.

The paper names specialties whose documentation may be poorly represented by an imaging-heavy source. Ophthalmology and pathology are examples the authors associate with limited use of radiological imaging. Psychiatry illustrates the problem from another angle, since the conditions treated there are usually outside what imaging reports describe. The study includes material beyond radiology, and the authors still consider a wider range of specialty documents desirable. They specifically suggest incorporating discharge summaries from a broad range of specialties in future training.

Institutional coverage is a related limit. The hospital records come from one university hospital, and the authors say that differences in reporting style could affect performance when the system is used on new data. A comparison on surgical reports and discharge summaries from the same hospital addresses document-type transfer. Institutions can differ in conventions, wording, and what clinicians record in a given document, so cross-institution transfer remains unmeasured by those tests. The public guideline and synthetic benchmarks add useful varieties of language, though they address a different question from performance on another hospital’s records.

The authors also qualify the private coding scores because of the way the labels were assigned. Patient codes and document content only approximately correspond, especially in the discharge summary tasks. Some expected evidence may lie elsewhere in the record. Even when it lies in the relevant document, the 512-token input limit can remove part of the text. The authors handle this by treating the scores primarily as relative comparisons. A strong system under the benchmark conditions has demonstrated better agreement with its assigned labels, and the attainable agreement using only the document remains uncertain.

The deduplication scope is another limit the authors state directly. Short radiology reports were the practical target, and repetition could remain in longer reports or in other genres. They also raise the possibility that the repeated phrasing of imaging reports supplies less semantic variety than might be inferred from the raw amount of data. These qualifications are consistent with the contrast between broad medical coverage as a goal and the much more uneven distribution of text actually available to train on.

#### Limits of the experimental setup

The public oncology evaluation uses GGPOnc 2.0, and the training-source list also identifies GGPOnc. The original downstream split is useful for comparing with published guideline baselines. The paper leaves unclear how those benchmark documents were separated from the guideline text used for pretraining. Exposure to the prose during self-supervised training and exposure to the benchmark’s human labels are distinct issues. What remains uncertain is whether the held-out guideline texts were unfamiliar in both senses. The private benchmark design makes a more explicit case for transfer by identifying the two clinical document types as outside pretraining.

GraSCCo broadens the evaluation, but its 62 case reports are synthetic and its entity annotations come from a single annotator using the GGPOnc instructions. This supplies comparable categories across two public datasets. The evaluation still reflects that collection of cases and that application of the annotation scheme. A finding of close performance between medBERT.de and GottBERT on GraSCCo therefore has a defined scope. It describes these systems on that synthetic text and those labels, with different leaders depending on which metric is used.

The private benchmarks deliberately concentrate on frequent codes. The requirement of at least 10 test examples per included label gives the comparison a way to evaluate every retained code. Performance on rarer codes is outside that comparison. The same care applies to results aggregated over radiology findings. The appendix describes skewed categories and reports a per-class analysis using precision, recall, F1, and AUROC. An average score on a benchmark answers an aggregate question. It cannot represent success for every uncommon finding or show how a particular threshold would work in a hospital workflow.

The size of small reported gaps is another consideration. The paper describes close scores on several datasets, especially the short-report benchmarks and GraSCCo. The 100 tuning runs per system and task search for a useful hyper-parameter configuration. That number describes the search, and it gives no direct estimate of the uncertainty of a final score across independently repeated training runs. The most precise way to read the close comparisons is as an ordering under the paper’s benchmark and selection procedure. The much wider separation described for CT and the repeated lead on the private tasks supply different kinds of evidence from a narrow lead on chest X-rays.

Finally, the release supports some forms of checking more readily than others. Public weights and radiology benchmarks make it possible to evaluate the released systems and compare other systems on the same public material. Privacy keeps the underlying pretraining corpus and the private coding documents unavailable. Reconstructing the original pretraining mixture or independently auditing the private code-to-document matches therefore depends on access beyond the released artifacts. The study establishes comparative benchmark performance. Operational questions such as which predicted codes a reviewer would accept and how errors would affect a clinical workflow remain outside the reported experiments.

### What came after

[The Word and the Way: Strategies for Domain-Specific BERT Pre-Training in German Medical NLP](https://md.research.elamur.ai/free/en/papers/he-2026-word-way-strategies-domain-specific/) (2026) cites medBERT.de and takes up the broader question of how to pretrain BERT for German medical language. That is the methodological question opened by the original comparison. The medBERT.de study trained from scratch on a mixed clinical and biomedical collection, compared it with earlier systems adapted to German medicine, and varied whether similar short radiology reports were retained. Its results give a reason to study those choices individually because several changed together when the new system was compared with previous ones.

The later paper’s title identifies pretraining strategy as its subject. The citation establishes a connection to medBERT.de, while the details of how the later study used its weights, data, or benchmarks and what results it obtained remain unspecified. The connection that can be made is at the level of the research question. medBERT.de shows how a particular combination of medical corpus, vocabulary, and training procedure performs across several German clinical tasks. The later work treats the choice of domain-specific pretraining strategy as a question in its own right.

## Cite

Cite as Keno K. Bressem, Jens-Michalis Papaioannou, Paul Grundmann, Florian Borchert, Lisa C. Adams, Leonhard Liu, Felix Busch, Lina Xu, Jan P. Loyen, Stefan M. Niehues, Moritz Augustin, Lennart Grosser, Marcus R. Makowski, Hugo JWL. Aerts and Alexander Loser. 2023. MEDBERT.de: A Comprehensive German BERT Model for the Medical Domain. arXiv:2303.08179 · Expert Systems with Applications 2024;237(21):121598.

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.1016/j.eswa.2023.121598](https://doi.org/10.1016/j.eswa.2023.121598) · [arXiv 2303.08179](https://arxiv.org/abs/2303.08179)

```bibtex
@misc{bressem2023medbert,
  title = {{MEDBERT.de: A Comprehensive German BERT Model for the Medical Domain}},
  author = {Keno K. Bressem, Jens-Michalis Papaioannou, Paul Grundmann, Florian Borchert, Lisa C. Adams, Leonhard Liu, Felix Busch, Lina Xu, Jan P. Loyen, Stefan M. Niehues, Moritz Augustin, Lennart Grosser, Marcus R. Makowski, Hugo JWL. Aerts and Alexander Loser},
  year = {2023},
  doi = {10.1016/j.eswa.2023.121598},
  eprint = {2303.08179},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.1016/j.eswa.2023.121598}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
