Skip to main content
QUICK REVIEW

[Paper Review] NRC-Canada at SMM4H Shared Task: Classifying Tweets Mentioning Adverse Drug Reactions and Medication Intake

Svetlana Kiritchenko, Saif M. Mohammad|arXiv (Cornell University)|May 11, 2018
Topic ModelingComputer Science16 citations
TL;DR

NRC-Canada developed an SVM-based system using surface-form, sentiment, and domain-specific features to classify tweets on adverse drug reactions (ADR) and medication intake. The approach achieved state-of-the-art performance with an F1-score of 0.435 on Task 1 (ADR detection) and 0.673 on Task 2 (medication intake classification), significantly improving through under-sampling to address class imbalance and leveraging domain-generalized n-grams and word embeddings.

ABSTRACT

Our team, NRC-Canada, participated in two shared tasks at the AMIA-2017 Workshop on Social Media Mining for Health Applications (SMM4H): Task 1 - classification of tweets mentioning adverse drug reactions, and Task 2 - classification of tweets describing personal medication intake. For both tasks, we trained Support Vector Machine classifiers using a variety of surface-form, sentiment, and domain-specific features. With nine teams participating in each task, our submissions ranked first on Task 1 and third on Task 2. Handling considerable class imbalance proved crucial for Task 1. We applied an under-sampling technique to reduce class imbalance (from about 1:10 to 1:2). Standard n-gram features, n-grams generalized over domain terms, as well as general-domain and domain-specific word embeddings had a substantial impact on the overall performance in both tasks. On the other hand, including sentiment lexicon features did not result in any improvement.

Motivation & Objective

  • To develop a robust machine learning system for detecting adverse drug reactions (ADRs) in informal, short social media texts.
  • To classify tweets indicating personal or possible medication intake, addressing the nuances of self-reporting in informal language.
  • To improve performance on highly imbalanced datasets typical in pharmacovigilance by applying under-sampling techniques.
  • To evaluate the impact of various feature types—surface-form, sentiment lexicon, and domain-specific features—on classification performance in health-related social media text.
  • To identify which features contribute most significantly to model performance in ADR and medication intake detection tasks.

Proposed method

  • Trained Support Vector Machine (SVM) classifiers on two shared tasks: ADR detection (Task 1) and medication intake classification (Task 2).
  • Applied under-sampling to reduce class imbalance in Task 1 from a 1:10 ratio to 1:2, improving model generalization.
  • Used a diverse set of features: standard n-grams, domain-generalized n-grams (e.g., replacing drug names with placeholders), and general- and domain-specific word embeddings.
  • Incorporated sentiment lexicon features to assess their impact, though they showed no performance gain.
  • Conducted ablation studies by removing individual feature groups to evaluate their contribution to overall F1-score.
  • Employed cross-validation and test set evaluation to tune and validate model performance, with class weights tested but found ineffective in the final model.

Experimental results

Research questions

  • RQ1How effective are traditional NLP features (e.g., n-grams, embeddings) in classifying adverse drug reactions in short, informal social media texts?
  • RQ2To what extent does class imbalance affect performance in ADR detection, and can under-sampling improve results?
  • RQ3Which types of features—surface-form, sentiment lexicon, or domain-specific—contribute most to classification performance in pharmacovigilance tasks?
  • RQ4How do domain-generalized n-grams and embeddings compare in capturing relevant patterns for ADR and medication intake detection?
  • RQ5Can sentiment lexicon features enhance detection of ADRs or medication intake in user-generated health content?

Key findings

  • The system achieved an F1-score of 0.435 on Task 1 (ADR detection), ranking first among nine teams.
  • For Task 2 (medication intake classification), the system achieved an F1-score of 0.673, ranking third among nine teams.
  • Under-sampling the majority class (non-ADR) to reduce class imbalance from 1:10 to 1:2 significantly improved performance on Task 1.
  • General-domain word embeddings and domain-generalized n-grams were the most influential features in Task 1, contributing substantially to the high F1-score.
  • In Task 2, domain-generalized n-grams had the largest individual impact, with performance dropping by nearly one percentage point when removed.
  • Sentiment lexicon features provided no improvement in either task and were found to be ineffective for the classification objectives.

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.