Introduction
Pharmacovigilance—the monitoring of drug safety after a product hits the market—increasingly relies on social media. Patients often describe side effects on platforms like Twitter long before reporting them to clinicians. However, mining this data is notoriously difficult: the language is informal, full of misspellings, and highly multilingual. The KFU NLP team addressed three specific challenges within the Social Media Mining for Health (SMM4H) 2020 shared tasks: ADR classification, Named Entity Recognition (NER), and Medical Concept Normalization (MCN).
Methodology
The team’s approach centered on domain-specific pretraining and innovative ensembling techniques.
Domain-Specific BERT (EnRuDR-BERT)
Instead of using standard BERT, the team developed EnRuDR-BERT, a model pretrained on a massive corpus of 5 million health-related user reviews in both English and Russian. This allowed the model to capture the "patient voice" more effectively than models trained on formal biomedical literature or general-purpose corpora.
Bilingual Transfer Learning
For the classification task, the team discovered that training on a union of English and Russian datasets significantly boosted performance for Russian tweets. This suggests that the model successfully learned cross-lingual features of how patients describe illness.
Hybrid Normalization and Metric Learning
To map informal tweet spans to standardized MedDRA codes, the team combined two distinct methods:
- Classification: Treating each medical code as a discrete category.
- Metric Learning (Triplet Loss): Training the model to map mentions (e.g., "tummy ache") and official concepts (e.g., "Abdominal pain") into a shared embedding space where semantically similar terms are physically proximal.
Key Results
The KFU NLP team's strategies yielded top-tier results across the competition tasks.
Task 2: ADR Classification
The team ranked 2nd among 16 teams for English and 7 teams for Russian. They achieved a relaxed F1 of 58% on English tweets and 51% on Russian tweets. Notably, replacing a monolingual Russian training set with a bilingual (English + Russian) set led to a significant performance increase for the Russian subtask, showing a 20% increase in recall and a 9% increase in F1-score.
Task 3: Extraction & Normalization
The team secured 1st place out of 7 teams, achieving a relaxed F1-score of 46.3% for the end-to-end pipeline. Ablation studies confirmed that domain-specific pretraining and ensembling provided a consistent 4% boost in F1-score over baseline BERT models.
Conclusion
The success of EnRuDR-BERT underscores the power of the "patient voice" in social media mining. Domain-specific pretraining on informal reviews outperformed formal biomedical models like BioBERT. Furthermore, the effectiveness of bilingual transfer learning offers a promising path for low-resource language scenarios in pharmacovigilance. Future work will explore extending these techniques to other languages and addressing the inherent instability of fine-tuning on small datasets.
Summary updated