Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2022 Mar 25;10(4):618.
doi: 10.3390/healthcare10040618.

Predicting Adverse Drug Reactions from Social Media Posts: Data Balance, Feature Selection and Deep Learning

Affiliations

Predicting Adverse Drug Reactions from Social Media Posts: Data Balance, Feature Selection and Deep Learning

Jhih-Yuan Huang et al. Healthcare (Basel). .

Abstract

Social forums offer a lot of new channels for collecting patients' opinions to construct predictive models of adverse drug reactions (ADRs) for post-marketing surveillance. However, due to the characteristics of social posts, there are many challenges still to be solved when deriving such models, mainly including problems caused by data sparseness, data features with a high-dimensionality, and term diversity in data. To tackle these crucial issues related to identifying ADRs from social posts, we perform data analytics from the perspectives of data balance, feature selection, and feature learning. Meanwhile, we design a comprehensive experimental analysis to investigate the performance of different data processing techniques and data modeling methods. Most importantly, we present a deep learning-based approach that adopts the BERT (Bidirectional Encoder Representations from Transformers) model with a new batch-wise adaptive strategy to enhance the predictive performance. A series of experiments have been conducted to evaluate the machine learning methods with both manual and automated feature engineering processes. The results prove that with their own advantages both types of methods are effective in ADR prediction. In contrast to the traditional machine learning methods, our feature learning approach can automatically achieve the required task to save the manual effort for the large number of experiments.

Keywords: adverse drug reaction; deep learning; feature engineering; machine learning; pharmacovigilance; social media monitoring.

PubMed Disclaimer

Conflict of interest statement

The authors declare no conflict of interest.

Figures

Figure 1
Figure 1
The proposed network architecture.
Figure 2
Figure 2
Results of the classifier with feature selection scheme.

References

    1. Benton A., Ungar L., Hill S., Hennessy S., Mao J., Chung A., Leonard C.E., Holmes J.H. Identifying Potential Adverse Effects Using the Web: A New Approach to Medical Hypothesis Generation. J. Biomed. Inform. 2011;44:989–996. doi: 10.1016/j.jbi.2011.07.005. - DOI - PMC - PubMed
    1. Mao J.J., Chung A., Benton A., Hill S., Ungar L., Leonard C.E., Hennessy S., Holmes J.H. Online Discussion of Drug Side Effects and Discontinuation among Breast Cancer Survivors. Pharmacoepidemiol. Drug Saf. 2013;22:256–262. doi: 10.1002/pds.3365. - DOI - PMC - PubMed
    1. Freifeld C.C., Brownstein J.S., Menone C.M., Bao W.J., Filice R., Kass-Hout T., Dasgupta N. Digital Drug Safety Surveillance: Monitoring Pharmaceutical Products in Twitter. Drug Saf. 2014;37:343–350. doi: 10.1007/s40264-014-0155-x. - DOI - PMC - PubMed
    1. Liu J., Zhao S., Zhang X. An Ensemble Method for Extracting Adverse Drug Events from Social Media. Artif. Intell. Med. 2016;70:62–76. doi: 10.1016/j.artmed.2016.05.004. - DOI - PubMed
    1. Pierce C.E., Bouri K., Pamer C., Proestel S., Rodriguez H.W., Le H.V., Freifeld C.C., Brownstein J.S., Walderhaug M., Edwards I.R., et al. Evaluation of Facebook and Twitter Monitoring to Detect Safety Signals for Medical Products: An Analysis of Recent Fda Safety Alerts. Drug Saf. 2017;40:317–331. doi: 10.1007/s40264-016-0491-0. - DOI - PMC - PubMed