[Paper Review] #phramacovigilance - Exploring Deep Learning Techniques for Identifying Mentions of Medication Intake from Twitter
This paper proposes a stacked ensemble of shallow convolutional neural networks (CNNs) to identify personal medication intake in Twitter posts, using random hyperparameter search and pre-trained word embeddings. It achieves a state-of-the-art micro-averaged F1-score of 0.693 on a public dataset, outperforming existing models in classifying personal intake, possible intake, and non-intake tweets.
Mining social media messages for health and drug related information has received significant interest in pharmacovigilance research. Social media sites (e.g., Twitter), have been used for monitoring drug abuse, adverse reactions of drug usage and analyzing expression of sentiments related to drugs. Most of these studies are based on aggregated results from a large population rather than specific sets of individuals. In order to conduct studies at an individual level or specific cohorts, identifying posts mentioning intake of medicine by the user is necessary. Towards this objective, we train different deep neural network classification models on a publicly available annotated dataset and study their performances on identifying mentions of personal intake of medicine in tweets. We also design and train a new architecture of a stacked ensemble of shallow convolutional neural network (CNN) ensembles. We use random search for tuning the hyperparameters of the models and share the details of the values taken by the hyperparameters for the best learnt model in different deep neural network architectures. Our system produces state-of-the-art results, with a micro- averaged F-score of 0.693.
Motivation & Objective
- To develop accurate text classification systems for identifying personal medication intake in social media posts.
- To address the challenge of distinguishing personal intake from mere mentions in informal, noisy Twitter text.
- To improve pharmacovigilance by enabling individual-level or cohort-specific health monitoring using social media data.
- To design and train a novel stacked ensemble of shallow CNNs for enhanced performance.
- To share trained models and optimal hyperparameters for reproducibility and further research.
Proposed method
- Trained multiple deep neural network architectures, including standard CNN, multi-channel CNN, BLSTM, and CNN+BLSTM, on a public Twitter dataset.
- Designed a stacked ensemble of shallow CNN ensembles to improve classification performance.
- Used random search for hyperparameter tuning across learning rate, dropout, filter sizes, number of filters, and embedding types.
- Employed pre-trained word embeddings (Godin, Shin, and GloVe) with different configurations across channels in multi-channel models.
- Optimized models using 5-fold cross-validation and evaluated on a held-out test set.
- Selected the best-performing model based on F1-score on the validation set and reported its hyperparameters in detail.
Experimental results
Research questions
- RQ1Can deep learning models effectively classify personal medication intake in short, informal Twitter posts?
- RQ2How does a stacked ensemble of shallow CNNs compare to standard deep learning architectures in identifying personal medication mentions?
- RQ3What hyperparameter configurations yield optimal performance for this classification task?
- RQ4Can random search effectively tune hyperparameters for this low-resource, noisy NLP task?
- RQ5How does the proposed model compare to state-of-the-art systems in the SMM4H shared task?
Key findings
- The proposed stacked ensemble of shallow CNN ensembles achieved a micro-averaged F1-score of 0.693, outperforming all other models tested.
- The best-performing model achieved a training F1+2 score of 0.725 and a test F1+2 score of 0.693.
- Random search successfully identified high-performing hyperparameter configurations, with optimal values including learning rate 0.0001, dropout 0.4–0.9, and filter sizes [1,2,3,4,5] or [2,3,3,3,4].
- The multi-channel CNN with Godin embeddings and filter sizes [1,2,3,4,5] achieved a test F1+2 of 0.6866.
- The system outperformed other state-of-the-art models in the SMM4H shared task, including UKNLP (F1: 0.689) and NRC-Canada (F1: 0.668).
- The authors publicly released all trained models and their best hyperparameter configurations for reproducibility and further research.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.