| Literature DB >> 35799177 |
Esha Singh1, Anu Bompelli2, Ruyuan Wan1, Jiang Bian3, Serguei Pakhomov2, Rui Zhang4.
Abstract
BACKGROUND: Dietary supplements (DS) have been widely used by consumers, but the information around the efficacy and safety of DS is disparate or incomplete, thus creating barriers for consumers to find information effectively. Conversational agent (CA) systems have been applied to healthcare domain, but there is no such system to answer consumers regarding DS use, although widespread use of DS. In this study, we develop the first CA system for DS use.Entities:
Keywords: Conversational agent; Deep learning; Dietary supplements; Named entity recognition; Natural language processing; Question answering
Mesh:
Year: 2022 PMID: 35799177 PMCID: PMC9264487 DOI: 10.1186/s12911-022-01888-5
Source DB: PubMed Journal: BMC Med Inform Decis Mak ISSN: 1472-6947 Impact factor: 3.298
Fig. 1CA system architecture. NLU, natural language understanding
Fig. 2Few examples to demonstrate our manual question annotation
Fig. 3Example search API query structure [36]
Answer generation templates for different question types. The information extracted from our database is substituted in place of curly bracket placeholders
| Question type | Answer generation template |
|---|---|
| Availability | Maybe you can find the information here: {DSa in- formation link 1} or {DS information link 2} |
| Adverse effects | The {DS} has Adverse Effects like {adverse effects of DS} |
| Background | {relevant DS background information} |
| Effectiveness | {DS} is effective for {disease/Symptom} |
| Indication | {DS} is effective for {disease/Symptom} |
| Interaction | {DS} interacts with {medication/drug} |
| Safety | Here is what I found about {DS}: {DS safety information from iDISK} |
| Usage | This might help: {DS/symptom/medication information link 1} or {DS/symptom/medication information link 2} |
aDenotes ”Dietary Supplements”
Distribution of samples for 8 classes in our annotated dataset
| Question type | Number of samples |
|---|---|
| Availability | 147 |
| Adverse Effects | 133 |
| Background | 125 |
| Effectiveness | 318 |
| Indication | 188 |
| Interaction | 237 |
| Safety | 108 |
| Usage | 253 |
Examples of questions in the dataset
| Question | Type | Named entity |
|---|---|---|
| Does anyone know if you can take ephedrine while taking levothyroxine? | Interaction | Ephedrine, levothyroxineb |
| L-glutamine whats an appropriate dosage for ibs? | Usage | L-glutamine, IBSa |
| Does Niacin really work? | Effectiveness | Niacin |
| Does acai berry cause headache? | Adverse effects | Acai berry, headachea |
| Does anyone know the health benefits to barley grass? | Indication | Barley grass |
| What is Milk Thistle? | Background | Milk thistle |
| Is brewer’s yeast safe? | Safety | Brewer’s yeast |
| Where can I buy Selenium pills? | Availabilty | Selenium |
Each question is annotated for it’s question type and named entity within the question
The column “Named Entity” contains one or two entries. The first entry are entities of type”DS” except the rows marked witha andb. The rows witha have a second entity entry of type”DIS” and rows with bhave second entry as “MED”
Performance of various question type classifiers
| Model | Precision | Recall | F1 | Accuracy (%) |
|---|---|---|---|---|
| Random Forest | 0.603 | 0.556 | 0.540 | 55.60 |
| SVM (with RBF Kernel) | 0.629 | 0.629 | 0.620 | 62.90 |
| SVM (with Linear Kernel) | 0.647 | 0.649 | 0.640 | 64.90 |
| Logistic Regression | 0.656 | 0.649 | 0.64 | 64.90 |
| BiGRU + Attention | 0.737 | 0.728 | 0.729 | 72.85 |
| LSTM | 0.800 | 0.790 | 0.790 | 78.67 |
| Bi-LSTM | 0.800 | 0.790 | 0.790 | 79.41 |
| CNN | 0.810 | 0.800 | 0.810 | 80.79 |
Performance of various entity recognizers
| Model | Precision | Recall | F1 | Accuracy (%) |
|---|---|---|---|---|
| BERT | 0.629 | 0.629 | 0.620 | 62.90 |
| BiLSTM + CRF | 0.723 | 0.678 | 0.698 | 73.20 |
| HMM | 0.719 | 0.820 | 0.740 | 82.00 |
| CRF | 0.872 | 0.860 | 0.850 | 87.10 |
Examples of questions and CA system responses
| Question | Answer |
|---|---|
| Is it safe to take melatonin? | Here is what I found about pure crystalline Melatonin: Melatonin may cause drowsiness. Patients should not drive or operate heavy machinery until familiar with the effects of melatonin |
| Are there any dangerous side effects that anyone has experienced with the supplement milk thistle? | The Blessed Thistle preparation has adverse effects like Eye disorders |
| Are there any proven bene- fits to taking shark cartilage? | Shark Cartilage is effective for Degenerative Polyarthritis |