Maintenance Notice

Due to necessary scheduled maintenance, the JMIR Publications website will be unavailable from Wednesday, July 01, 2020 at 8:00 PM to 10:00 PM EST. We apologize in advance for any inconvenience this may cause you.

Who will be affected?

Accepted for/Published in: JMIR Medical Informatics

Date Submitted: Feb 10, 2022
Date Accepted: Jun 4, 2022

The final, peer-reviewed published version of this preprint can be found here:

Extraction of Explicit and Implicit Cause-Effect Relationships in Patient-Reported Diabetes-Related Tweets From 2017 to 2021: Deep Learning Approach

Ahne A, Khetan V, Tannier X, Rizvi MIH, Czernichow T, Orchard F, Bour C, Fano A, Fagherazzi G

Extraction of Explicit and Implicit Cause-Effect Relationships in Patient-Reported Diabetes-Related Tweets From 2017 to 2021: Deep Learning Approach

JMIR Med Inform 2022;10(7):e37201

DOI: 10.2196/37201

PMID: 35852829

PMCID: 9346561

Identifying causal relations in tweets using deep learning: Use case on diabetes-related tweets from 2017-2021

  • Adrian Ahne; 
  • Vivek Khetan; 
  • Xavier Tannier; 
  • Md Imbesat Hassan Rizvi; 
  • Thomas Czernichow; 
  • Francisco Orchard; 
  • Charline Bour; 
  • Andrew Fano; 
  • Guy Fagherazzi

ABSTRACT

Background:

Intervening and preventing diabetes distress requires an understanding of its causes and in particular from a patients’ perspective. Social media data provide direct access to how patients see and understand their disease and in consequence express causes of diabetes distress.

Objective:

Leveraging machine learning methods, we aim to extract both explicit and implicit cause-effect relationships in patient-reported, diabetes-related tweets and provide a methodology to better understand opinion, feelings and observations shared within the diabetes online community from a causality perspective.

Methods:

More than 30 million diabetes-related tweets in English were collected between April 2017 and January 2021. Deep learning and natural language processing methods were applied to focus on tweets with personal and emotional content. A cause-effect-tweet dataset was manually labeled and used to train 1) a fine-tuned Bertweet BERTweet model to detect causal sentences containing a causal causal relation; 2) a Conditional Random Field (CRF) model with BERT based features to extract possible cause-effect associations. Causes and effects were clustered in a semi-supervised approach and visualised in an interactive cause-effect-network.

Results:

Causal sentences were detected with a recall of 68% in an imbalanced dataset. A CRF model with BERT based features outperformed a fine-tuned BERT model for cause-effect detection with a macro recall of 68%. This led to 96,676 sentences with cause-effect relationships. “Diabetes” was identified as the central cluster followed by “Death” and “Insulin”. Insulin pricing related causes were frequently associated with “Death”.

Conclusions:

A novel methodology was developed to detect causal sentences and identify both explicit and implicit, single and multi-word cause and corresponding effect as expressed in diabetes-related tweets leveraging BERT-based architectures and visualised as cause-effect-network. Extracting causal associations on real-life, patient reported outcomes in social media data provides a useful complementary source of information in diabetes research.


 Citation

Please cite as:

Ahne A, Khetan V, Tannier X, Rizvi MIH, Czernichow T, Orchard F, Bour C, Fano A, Fagherazzi G

Extraction of Explicit and Implicit Cause-Effect Relationships in Patient-Reported Diabetes-Related Tweets From 2017 to 2021: Deep Learning Approach

JMIR Med Inform 2022;10(7):e37201

DOI: 10.2196/37201

PMID: 35852829

PMCID: 9346561

Download PDF


Request queued. Please wait while the file is being generated. It may take some time.

© The authors. All rights reserved. This is a privileged document currently under peer-review/community review (or an accepted/rejected manuscript). Authors have provided JMIR Publications with an exclusive license to publish this preprint on it's website for review and ahead-of-print citation purposes only. While the final peer-reviewed paper may be licensed under a cc-by license on publication, at this stage authors and publisher expressively prohibit redistribution of this draft paper other than for review purposes.

Advertisement