Cross-lingual Approaches for the Detection of Adverse Drug Reactions in German from a Patient's Perspective

Lisa Raithel, Philippe Thomas, Roland Roller, Oliver Sapina, Sebastian Möller, Pierre ZweigenbaumarXiv 2022

TL;DR

Researchers have introduced the first German-language corpus for detecting Adverse Drug Reactions (ADRs) in patient-generated forum posts. By leveraging cross-lingual transfer learning—training models on English data before adapting them to a small set of German examples—they demonstrate that multi-lingual models like XLM-RoBERTa can effectively identify rare side-effect mentions in noisy, colloquial text, even when data is extremely imbalanced.

What Problem Does This Paper Address?

Adverse Drug Reactions (ADRs) are a significant public health burden, yet they are notoriously under-reported to official medical channels. While social media and patient forums offer a real-time, "up-to-date" window into how people experience medications, this data is messy. Patients use laymen's terms, abbreviations, and often have poor spelling.

The biggest hurdle, however, is the "English-centric" nature of current NLP research. Most annotated ADR datasets are in English, leaving other languages like German underserved. Furthermore, ADR mentions are rare—a "needle in a haystack" problem—leading to extreme class imbalance where negative examples (posts without ADRs) vastly outnumber positive ones. This paper tackles how to build a reliable German ADR detector when you have very little annotated German data to start with.

Methods

The authors employ a two-stage fine-tuning strategy using transformer-based models:

  1. Stage 1: Fine-tune a model on large, existing English patient forum datasets (CADEC and PsyTAR).
  2. Stage 2: Adapt that model to German using various "few-shot" scenarios, where only a handful of German examples are provided.

They compared two primary models: XLM-RoBERTa (XLM-R), a multi-lingual model trained on general text, and BioRedditBERT (BRB), a biomedical model trained specifically on English Reddit posts.

To combat the "catastrophic forgetting" that happens when a model is tuned on a new language and loses its previous knowledge, they experimented with an "add_source" mode. In this setup, they mixed a small number of English examples into the German few-shot training set. They also implemented a rule-based post-processing step using medication lists to filter out false positives.

Datasets

The centerpiece of this work is the new Lifeline corpus, consisting of 4,169 manually annotated documents from a German health forum.

  • Imbalance: The dataset is highly skewed, with a positive-to-negative ratio of roughly 1:40 (only 101 positive examples).
  • Topics: As seen in Figure 1, the data is dominated by "women's health" topics, which adds another layer of topic imbalance.
  • Comparison: The authors also provide a helpful comparison of other non-English ADR corpora (Spanish, French, Russian, Japanese) in Table 3 (Figure 4).
Figure 1: The distribution of topics in the new Ger- man corpus. The blue bar represents the negative doc- uments, the orange bar the positive ones. Note the huge difference in the number of documents per topic espe- cially in the women’s health thread.
Figure 4: Landscape of non-English social media corpora for ADR detection.

Key Insights and Ideas

  • Multi-lingual beats Domain-specific: Surprisingly, the general multi-lingual model (XLM-R) outperformed the English biomedical model (BRB) when transferring to German. This suggests that for cross-lingual tasks, a model's "understanding" of language relationships is more critical than its specific domain knowledge in the source language.
  • The "Add Source" Strategy Works: Mixing English examples into the German few-shot training helped the model maintain a higher Area Under the Curve (AUC). It prevented the model from becoming too biased toward the negative class of the new, small German dataset.
  • Zero-shot as a Filter: The zero-shot XLM-R model (trained on English, tested on German with no German training) achieved a remarkably high recall of 95.23%. While its precision was low (lots of false positives), it makes for an excellent "first-pass" filter to narrow down large amounts of unlabeled data.
  • Context Matters: Figure 2 illustrates that posts containing ADRs tend to be longer than those that don't, likely because patients provide more descriptive detail when recounting a negative experience.
Figure 2: The number of tokens per label and per cor- pus (not divided by train/dev and test). “DE” corre- sponds to the Lifeline corpus, while “EN” corresponds to the combination of CADEC and PsyTAR. For both corpora, the documents containing no ADRs tend to be shorter.

Key Results

The best overall performance was achieved by fine-tuning XLM-R on the full German training set, reaching an F1-score of 37.52 for the positive class. While this number might seem low compared to standard benchmarks, it is competitive for such an imbalanced and noisy real-world task.

The few-shot experiments showed that with just 40 German examples and the "add_source" strategy, the model could reach an F1 of 22.55, which jumped to 28.56 after rule-based post-processing. The full breakdown of these results across different methods is detailed in Table 4 (Figure 5).

Figure 5: Results for the best runs across various scenarios on the German test set.

Limitations and Future Work

The primary limitation is the extreme label and topic imbalance. The models often struggled to distinguish between actual drug side effects and symptoms of underlying conditions (like menopause) that were frequently discussed in the forum.

The authors suggest several promising paths forward:

  • Character-based models: Using models like CharacterBERT might better handle the frequent spelling mistakes and rare medication names found in user posts.
  • Negation detection: Explicitly modeling when a user says they didn't have a side effect could significantly reduce false positives.
  • Better Lexicons: Improving medication lists to include common laymen terms and slang for drugs, rather than just official pharmaceutical names.

Summary updated

BibTeX
@misc{raithel2022cross,
  author = {Lisa Raithel and Philippe Thomas and Roland Roller and Oliver Sapina and Sebastian Möller and Pierre Zweigenbaum},
  title = {{Cross-lingual Approaches for the Detection of Adverse Drug Reactions in German from a Patient's Perspective}},
  year = {2022},
  eprint = {2208.02031},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2208.02031},
}
Figure