A holistic AI-based approach for pharmacovigilance optimization from patients behavior on social media

Valentin Roche, Jean Philippe Robert, Hanan Salam

Research output: Contribution to journalArticlepeer-review


In this paper, we propose a holistic AI-based pharmacovigilance optimization approach using patient's social media data. Instead of focusing on the detection and identification of Adverse Drug Events (ADE) in social media posts in single time points, we propose a holistic approach that looks at the evolution of different user behavior indicators in time. We examine various NLP-based indicators such as word frequency, semantic similarity, Adverse Drug Reactions mentions, and sentiment analysis. We introduce a classification approach to identify normal vs. abnormal time periods based on patient comments. This approach, along with user behavior indicators, can optimize the pharmacovigilance process by flagging the need for immediate attention and further investigation. We specifically focus on the Levothyrox® case in France, which sparked media attention due to changes in the medication formula and affected patient behavior on medical forums. For classification, we propose a deep learning architecture called Word Cloud Convolutional Neural Network (WC-CNN), trained on word clouds from patient comments. We evaluate different temporal resolutions and NLP pre-processing techniques, finding that monthly resolution and the proposed indicators can effectively detect new safety signals, with an accuracy of 75%. We have made the code open source, available via github.

Original languageEnglish (US)
Article number102638
JournalArtificial Intelligence in Medicine
StatePublished - Oct 2023


  • AI for healthcare
  • Drug safety
  • Natural Language Processing
  • Pharmacovigilance
  • Social network analysis

ASJC Scopus subject areas

  • Medicine (miscellaneous)
  • Artificial Intelligence


Dive into the research topics of 'A holistic AI-based approach for pharmacovigilance optimization from patients behavior on social media'. Together they form a unique fingerprint.

Cite this