Skip to main content
QUICK REVIEW

[Paper Review] InfyNLP at SMM4H Task 2: Stacked Ensemble of Shallow Convolutional Neural Networks for Identifying Personal Medication Intake from Twitter

Jasper Friedrichs, Debanjan Mahata|arXiv (Cornell University)|Mar 21, 2018
Sentiment Analysis and Opinion MiningComputer Science11 references12 citations
TL;DR

This paper presents a stacked ensemble of shallow convolutional neural networks (CNNs) for classifying tweets indicating personal medication intake, using random hyperparameter search and model stacking to achieve a micro-F1 score of 0.693, securing first place in the SMM4H 2017 Task 2 shared task. The approach leverages deep learning on social media text to improve pharmacovigilance through automated detection of self-reported drug use.

ABSTRACT

This paper describes Infosys's participation in the "2nd Social Media Mining for Health Applications Shared Task at AMIA, 2017, Task 2". Mining social media messages for health and drug related information has received significant interest in pharmacovigilance research. This task targets at developing automated classification models for identifying tweets containing descriptions of personal intake of medicines. Towards this objective we train a stacked ensemble of shallow convolutional neural network (CNN) models on an annotated dataset provided by the organizers. We use random search for tuning the hyper-parameters of the CNN and submit an ensemble of best models for the prediction task. Our system secured first place among 9 teams, with a micro-averaged F-score of 0.693.

Motivation & Objective

  • To develop an automated system for detecting personal medication intake in social media posts, particularly on Twitter.
  • To address the challenge of identifying self-reported drug use in noisy, informal social media text.
  • To improve pharmacovigilance by enabling scalable, real-time monitoring of patient-reported medication use.
  • To leverage deep learning models to outperform traditional NLP methods on this specific classification task.
  • To optimize model performance through ensemble learning and hyperparameter tuning.

Proposed method

  • A stacked ensemble of shallow convolutional neural networks (CNNs) was trained on a manually annotated dataset of tweets.
  • Each base model in the ensemble was a shallow CNN with fixed-size filters to capture local n-gram patterns in text.
  • Hyperparameters were tuned using random search to optimize model performance.
  • The final prediction was generated by stacking the outputs of the best-performing individual CNN models.
  • The ensemble approach combined diverse predictions to improve robustness and generalization.
  • The system was trained and evaluated on the SMM4H 2017 Task 2 dataset, which contains tweets annotated for personal medication intake.

Experimental results

Research questions

  • RQ1Can a stacked ensemble of shallow CNNs effectively classify tweets indicating personal medication intake?
  • RQ2How does hyperparameter tuning via random search impact the performance of individual CNN models in this task?
  • RQ3Does model stacking improve classification performance compared to individual models on this social media text classification task?
  • RQ4To what extent can shallow CNNs capture relevant linguistic patterns in informal, noisy Twitter text for pharmacovigilance applications?
  • RQ5What level of performance can be achieved on the SMM4H 2017 Task 2 benchmark using deep learning approaches?

Key findings

  • The system achieved a micro-averaged F1-score of 0.693, ranking first among nine participating teams in the SMM4H 2017 Task 2 shared evaluation.
  • The stacked ensemble of shallow CNNs outperformed individual models, demonstrating the effectiveness of ensemble learning in this context.
  • Random search for hyperparameter tuning successfully identified high-performing configurations for the CNN models.
  • Shallow CNNs were effective in capturing relevant local text patterns in informal Twitter language for medication intake detection.
  • The approach demonstrated strong generalization on the test set, indicating robustness to noise and variability in social media text.
  • The results confirm the viability of deep learning models, particularly shallow CNNs, for automated pharmacovigilance in social media.

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.