| Literature DB >> 35852829 |
Adrian Ahne1,2, Vivek Khetan3, Xavier Tannier4, Md Imbesat Hassan Rizvi5, Thomas Czernichow2, Francisco Orchard2, Charline Bour6, Andrew Fano3, Guy Fagherazzi6.
Abstract
BACKGROUND: Intervening in and preventing diabetes distress requires an understanding of its causes and, in particular, from a patient's perspective. Social media data provide direct access to how patients see and understand their disease and consequently show the causes of diabetes distress.Entities:
Keywords: causal relation extraction; causality; deep learning; diabetes; machine learning; natural language processing; social media; social media data
Year: 2022 PMID: 35852829 PMCID: PMC9346561 DOI: 10.2196/37201
Source DB: PubMed Journal: JMIR Med Inform
Figure 1Workflow. The steps shown in green include machine learning methods. CRF: conditional random field.
Sample sentences in different label scenarios. The examples are fictive to ensure privacy.
| Sentences | Cause | Effect | Causal association | Explanation |
| Diabetes causes me to have mood swings | Diabetes | mood swings | 1 | Possible causal association |
| I just want to eat, I hate #diabetes | #diabetes | hate | 1 | Possible causal association related to diabetes distress |
| Scary, have a diabetic daughter but I read thousands of people a year die in the United Kingdom just from flu so why panic over corona. | —a | — | 0 | Nondiabetes or diabetes distress–related relationship. “Flu” is not diabetes-related |
| Had two strokes and recover now and also have high blood pressure and diabetes. | — | — | 0 | Unclear cause-effect relationship. Not clear if “high blood pressure” or “diabetes” caused the stroke |
| Not sure if I've been up since 3:30 to watch Titanic or because of my anxiety over my glucose test is what keeps me up | glucose test | anxiety | 1 | Chaining cause-effect relationship |
| My 14-year-old daughter is type 1 = malfunctioning pancreas, meaning not enough insulin being made to regulate | type 1 | malfunctioning pancreas; not enough insulin | 1 | Negation in a cause/effect is considered being part of the cause/effect as it does not alter the meaning |
| It is not true to think that insulin makes you feel so bad | insulin | feel so bad | 0 | Negation is not part of cause/effect and alters the meaning |
aNot available.
Figure 2Model architecture for causal sentence detection. FCLL: fully connected linear layer; p: probability of an element to be zeroed.
Figure 3Active learning loop to augment the training set in a time-efficient fashion.
Figure 4Model architectures of cause-effect identification. CRF: conditional random field; FCLL: fully connected linear layer; p: probability of an element to be zeroed.
Performance measures (macro) for each round of more training data.
| Round | Sentences in training set (n) | Sentences in test set (n) | Accuracy (%) | Precision (%) | Recall (%) |
| 0 | 6024 | 837 | 64.5 | 58.0 | 67.4 |
| 1 | 7536 | 1047 | 67.7 | 61.2 | 71.6 |
| 2 | 8804 | 1223 | 67.7 | 60.3 | 66.3 |
| 3 | 10,284 | 1429 | 65.4 | 60.0 | 68.8 |
| 4 | 11,861 | 1648 | 71.0 | 61.0 | 67.8 |
Performance measures for each of the 4 architectures.
| Models | Precision | Recall | F1 score | ||||
|
| |||||||
|
| I-C | 0.48 | 0.46 | 0.47 | |||
|
| I-E | 0.20 | 0.48 | 0.29 | |||
|
| O | 0.91 | 0.77 | 0.83 | |||
|
| macro | 0.53 | 0.57 | 0.53 | |||
|
| |||||||
|
| I-C | 0.63 | 0.61 | 0.62 | |||
|
| I-E | 0.49 | 0.49 | 0.49 | |||
|
| O | 0.93 | 0.93 | 0.93 | |||
|
| macro | 0.68 | 0.68 | 0.68 | |||
|
| |||||||
|
| I-C | 0.59 | 0.57 | 0.58 | |||
|
| I-E | 0.45 | 0.38 | 0.41 | |||
|
| O | 0.92 | 0.94 | 0.93 | |||
|
| macro | 0.65 | 0.63 | 0.64 | |||
The most frequent clusters (causes and effects) with the number of occurrences.
| Parent cluster | Cluster | Value (n) |
| Diabetes | diabetes | 66,775 |
| Death | death | 16,989 |
| Insulin | insulin | 14,148 |
| Diabetes | type 1 diabetes | 11,693 |
| Emotions | fear | 10,160 |
| Glycemic variability | hypoglycemia | 9547 |
| Symptoms | sick | 6549 |
| Nutrition | overweight | 5186 |
| Diabetes | type 2 diabetes | 4909 |
| Complications and comorbidities | neuropathy | 4481 |
| Health care system | medication | 4389 |
| Diabetes Technology | insulin pump | 4307 |
| Nutrition | nutrition | 4230 |
| Emotions | anger | 4149 |
| Health | oral glucose tolerance test | 4053 |
| Blood pressure | hypertension | 3782 |
| Health care system | finance | 3767 |
| Nutrition | reduce weight | 3589 |
| Insulin | unable to afford insulin | 3381 |
| Nutrition | diet | 3325 |
| Emotions | sadness | 3153 |
| Glycemic variability | hyperglycemia | 3144 |
| Diabetes | suffer | 3132 |
| Diabetes Distress | depression | 2810 |
| Health care system | hospital | 2721 |
| Diabetes Distress | stress | 2681 |
| Nutrition | sugar | 2369 |
| Nutrition | fasting | 2363 |
| Insulin | rationing insulin | 2244 |
| Health | gestational diabetes | 2076 |
The most frequent cause-effect relationships excluding the cluster “diabetes” with the number of occurrences.
| Cause | Effect | Value (n) |
| unable to afford insulin | death | 1246 |
| insulin | death | 1156 |
| type 1 diabetes | fear | 1054 |
| type 1 diabetes | death | 999 |
| rationing insulin | death | 805 |
| type 1 diabetes | insulin | 751 |
| oral glucose tolerance test | sick | 584 |
| type 1 diabetes | hypoglycemia | 578 |
| insulin | hypo | 545 |
| insulin | fear | 534 |
| type 1 diabetes | insulin pump | 436 |
| finance | death | 423 |
| type 1 diabetes | sick | 400 |
| insulin | sick | 385 |
| insulin | finance | 367 |
| type 1 diabetes | anger | 356 |
| insulin | medication | 305 |
| insulin | anger | 296 |
| oral glucose tolerance test | fear | 293 |
| type 2 diabetes | death | 293 |
| type 2 diabetes | fear | 290 |
| hypertension | death | 286 |
| overweight | death | 280 |
| type 1 diabetes | finance | 277 |
| hypoglycemia | insulin | 272 |
| hypoglycemia | sick | 263 |
| affordable insulin | death | 262 |
| insulin | insulin pump | 255 |
| complications | death | 248 |
| insulin | sadness | 240 |
Figure 5Cause-effect network with a minimum number of associations (edges) of 250. Accessible in [52].