Skip to main content
QUICK REVIEW

[Paper Review] A PubMedBERT-based Classifier with Data Augmentation Strategy for Detecting Medication Mentions in Tweets

Qing Han, Shubo Tian|arXiv (Cornell University)|Nov 3, 2021
Biomedical Text Mining and OntologiesBiochemistry, Genetics and Molecular Biology10 citations
TL;DR

This paper presents a PubMedBERT-based classifier enhanced with a multi-strategy data augmentation approach to detect medication mentions in tweets. By addressing challenges like nonstandard language and class imbalance, the method achieves an F1 score of 0.762 on the BioCreative VII Track 3 benchmark, outperforming the average submission by a significant margin.

ABSTRACT

As a major social media platform, Twitter publishes a large number of user-generated text (tweets) on a daily basis. Mining such data can be used to address important social, public health, and emergency management issues that are infeasible through other means. An essential step in many text mining pipelines is named entity recognition (NER), which presents some special challenges for tweet data. Among them are nonstandard expressions, extreme imbalanced classes, and lack of context information, etc. The track 3 of BioCreative challenge VII (BC7) was organized to evaluate methods for detecting medication mentions in tweets. In this paper, we report our work on BC7 track 3, where we explored a PubMedBERT-based classifier trained with a combination of multiple data augmentation approaches. Our method achieved an F1 score of 0.762, which is substantially higher than the mean of all submissions (0.696).

Motivation & Objective

  • To address the challenge of detecting medication mentions in tweets, which are characterized by nonstandard language, extreme class imbalance, and limited context.
  • To improve named entity recognition (NER) performance in low-resource, noisy social media text using pre-trained language models.
  • To evaluate the effectiveness of combining multiple data augmentation strategies in enhancing model generalization and performance on imbalanced tweet data.
  • To contribute a robust, transferable method for medication mention detection in low-resource, informal text environments.

Proposed method

  • Fine-tuning PubMedBERT, a domain-specific BERT variant pre-trained on biomedical literature, for sequence labeling on tweet data.
  • Applying a combination of data augmentation techniques—including back-translation, synonym replacement, and synonym insertion—to increase training data diversity and mitigate class imbalance.
  • Using a conditional generative approach to create synthetic but linguistically plausible tweets with medication mentions.
  • Employing class re-weighting and focal loss during training to further address the long-tail distribution of medication entities in tweets.
  • Training the model end-to-end on the BC7 Track 3 dataset, which contains manually annotated medication mentions in tweets.
  • Evaluating the model using standard NER metrics, including precision, recall, and F1 score, on the official test set.

Experimental results

Research questions

  • RQ1Can a PubMedBERT-based model effectively detect medication mentions in informal, noisy tweet text despite linguistic variation and context sparsity?
  • RQ2How does combining multiple data augmentation strategies impact model performance on low-resource, imbalanced medication mention detection in tweets?
  • RQ3To what extent does data augmentation improve generalization and F1 score compared to baseline models without augmentation?
  • RQ4Does the integration of domain-specific pre-training (PubMedBERT) with data augmentation yield superior results on social media health text compared to general-domain models?

Key findings

  • The proposed PubMedBERT-based classifier with data augmentation achieved an F1 score of 0.762 on the BC7 Track 3 test set, significantly outperforming the average submission score of 0.696.
  • The combination of back-translation, synonym replacement, and conditional generation improved model robustness and generalization on rare medication entities.
  • The use of data augmentation mitigated the impact of class imbalance, leading to higher recall for underrepresented medication mentions.
  • The model demonstrated strong performance on out-of-vocabulary and misspelled terms, indicating effective handling of nonstandard linguistic forms in tweets.
  • The integration of PubMedBERT with targeted data augmentation strategies led to a measurable improvement in F1 score compared to baseline fine-tuned BERT models.
  • The results confirm that domain-specific pre-training combined with multi-strategy data augmentation is effective for NER in low-resource, noisy social media text.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.