ORIGINAL RESEARCH article

Front. Med., 29 July 2022

Sec. Family Medicine and Primary Care

Volume 9 - 2022 | https://doi.org/10.3389/fmed.2022.950327

Deep autoencoder-powered pattern identification of sleep disturbance using multi-site cross-sectional survey data

  • 1. Department of Clinical Korean Medicine, Graduate School, Kyung Hee University, Seoul, South Korea

  • 2. KM Science Research Division, Korea Institute of Oriental Medicine, Daejeon, South Korea

  • 3. Department of Korean Medicine, Combined Dispensary, 7th Corps, Republic of Korea Army, Icheon-si, South Korea

  • 4. Department of Acupuncture and Moxibustion, Wonkwang University Gwangju Korean Medicine Hospital, Gwangju, South Korea

  • 5. Department of Acupuncture and Moxibustion, College of Korean Medicine, Kyung Hee University, Seoul, South Korea

  • 6. School of Korean Medicine, Pusan National University, Yangsan, South Korea

  • 7. Department of Acupuncture and Moxibustion Medicine, Dongguk University Bundang Oriental Hospital, Seongnam-si, South Korea

Article metrics

View details

7

Citations

3,1k

Views

1,6k

Downloads

Abstract

Pattern identification (PI) is a diagnostic method used in Traditional East Asian medicine (TEAM) to select appropriate and personalized acupuncture points and herbal medicines for individual patients. Developing a reproducible PI model using clinical information is important as it would reflect the actual clinical setting and improve the effectiveness of TEAM treatment. In this paper, we suggest a novel deep learning-based PI model with feature extraction using a deep autoencoder and k-means clustering through a cross-sectional study of sleep disturbance patient data. The data were obtained from an anonymous electronic survey in the Republic of Korea Army (ROKA) members from August 16, 2021, to September 20, 2021. The survey instrument consisted of six sections: demographics, medical history, military duty, sleep-related assessments (Pittsburgh sleep quality index (PSQI), Berlin questionnaire, and sleeping environment), diet/nutrition-related assessments [dietary habit survey questionnaire and nutrition quotient (NQ)], and gastrointestinal-related assessments [gastrointestinal symptom rating scale (GSRS) and Bristol stool scale]. Principal component analysis (PCA) and a deep autoencoder were used to extract features, which were then clustered using the k-means clustering method. The Calinski-Harabasz index, silhouette coefficient, and within-cluster sum of squares were used for internal cluster validation and the final PSQI, Berlin questionnaire, GSRS, and NQ scores were used for external cluster validation. One-way analysis of variance followed by the Tukey test and chi-squared test were used for between-cluster comparisons. Among 4,869 survey responders, 2,579 patients with sleep disturbances were obtained after filtering using a PSQI score of >5. When comparing clustering performance using raw data and extracted features by PCA and the deep autoencoder, the best feature extraction method for clustering was the deep autoencoder (16 nodes for the first and third hidden layers, and two nodes for the second hidden layer). Our model could cluster three different PI types because the optimal number of clusters was determined to be three via the elbow method. After external cluster validation, three PI types were differentiated by changes in sleep quality, dietary habits, and concomitant gastrointestinal symptoms. This model may be applied to the development of artificial intelligence-based clinical decision support systems through electronic medical records and clinical trial protocols for evaluating the effectiveness of TEAM treatment.

Introduction

Pattern identification (PI), a diagnostic method in Traditional East Asian medicine (TEAM), is a meaningful step for TEAM doctors when making treatment decisions such as selection of an appropriate acupuncture point and herbal medicine. It uses clinical information based on traditional diagnostic criteria, which include observation, listening, questioning, and pulse detection (1). Particularly, the use of PI in selecting an optimal combination with a few acupuncture points has been an important research subject to reveal those used in actual clinical practice (2, 3). Most clinical trials on the effectiveness of acupuncture treatment used a fixed-point approach, which is different from the clinical practice that uses a more individualized approach (4). Although some study designs such as conventional randomized clinical trials (RCTs) with a personalized acupuncture protocol or a pragmatic clinical trial have been suggested to overcome the gap between acupuncture research and clinical practice, the results of an individualized approach vs. a fixed-point approach are still controversial (59). Nonetheless, several recent experimental studies have supported the significance of acupuncture point selection (1013). Therefore some studies with data-mining methods were conducted using RCT data, medical records, virtual diagnosis data, and classical medical texts to systematically prove the relationship between symptoms, diseases, PI, and acupuncture point selections (3, 1416).

Artificial intelligence (AI) techniques have also emerged in the research of TEAM. Previous studies used artificial neural network models to differentiate patterns for acupuncture point selections (17, 18), and clustering algorithms to discover the combination rules of herbal medicine (19). Also, the recent deep learning models such as bidirectional encoder representations from transformers generated some new herbal medicine prescriptions from a few medical records (20, 21). However, to the best of our knowledge, there are few AI studies that assist PI from large amounts of clinical information, though most clinical guidelines recommend a PI process by a TEAM doctor prior to providing acupuncture or herbal medicine treatment (22, 23).

With the appropriate PI, a wide variety of conditions can be addressed by TEAM treatment. Sleep disturbances were one of the major target conditions for TEAM treatment in several previous studies (19, 2428). The Korean Medicine Clinical Practice Guidelines for insomnia disorder, which was officially developed by research funded by the government, suggest that TEAM doctors may consider six types of PI before TEAM treatment (29). Furthermore, a recent systematic review for insomnia showed that acupuncture treatment using PI significantly improved the total effectiveness rate compared to conventional medication (30). However, the effect of TEAM treatment using PI is not reproducible since PI types and processes may be inconsistent among TEAM doctors in clinical settings. Therefore, the development of a model that can consistently produce the same PI for certain patient details required.

In this paper, we suggested a novel data-driven PI method for TEAM treatment using emerging bioinformatics techniques in combination with feature extraction using a deep autoencoder, one of the self-supervised deep learning models, and clustering using k-means clustering, an unsupervised machine learning model. To develop a new model using various types of clinical information as input data and provide reproducible PI as an output for TEAM treatment decisions in patients with sleep disturbances, we used cross-sectional study data which examined the association between sleep and diet/digestion in Republic of Korea Army (ROKA) active duty service members.

Materials and methods

Study population

A multi-site cross-sectional study was conducted using an anonymous electronic survey. The study was posted in five units of the ROKA through printed recruitment posters and electronic bulletin boards from August 16, 2021, to September 20, 2021. The participants were recruited during the same period. The original aim of this study was to examine the association between sleep and diet/digestion in ROKA active duty service members. The results will be published in another paper.

Among active duty service members in five units of the ROKA who met the inclusion criteria, the participants who provided informed consent were enrolled in the study. The inclusion criteria were (1) age 19 years or over; (2) active duty service members (private, private first class, corporal, and sergeants) who completed the basic military training course, and (3) those who voluntarily agreed to participate in the study. There were no exclusion criteria.

Sample size calculation for cross-sectional study

Assuming that the total number of all active duty service members in the ROKA is approximately 300,000, the sample size was calculated using the following equation. The margin of error was 3% and the confidence level was 95%, and the sample size result was 1,064 (the target number of completed surveys).

Previous studies using surveys showed that various factors such as the survey method, survey content, and participant compensation were associated with the response rate of the study subjects. In particular, the online survey method is known to have about a 10% lower response rate compared to other media, but the actual response rate was different in each study (31). In this study, referring to the response rate (3.4%) reported in a previous study that conducted a health-related survey in adult males, the response rate was set to 3%, and the target number of questionnaires was determined to be 35,467 (31).

Survey instrument of cross-sectional study

The survey instruments were refined to reveal the military environment by healthcare professionals (seven TEAM doctors including five military doctors). This involved the refinement of the questionnaire by changing the phrasing and modifying questions to clarify the premise of each item within the questionnaire. The final questionnaire was designed and distributed through the web-based application Survey Monkey.

The survey consisted of six sections: (1) demographics (birth, recruitment date, height, weight, military identification number, rank, military unit, education, smoking status, alcohol consumption habits, caffeine consumption, exercise, and physical grade); (2) medical history (present/past history of sleep disorders, present/past history of gastrointestinal disorders, present/past history of general diseases including hypertension, diabetes, hyperlipidemia, and cardiac disease, stress status, and drug history); (3) military duty (branch, position, night shift with or without tomorrow duty-off, and its effect on sleep and/or fatigue); (4) sleep-related assessments (Pittsburgh sleep quality index (PSQI), Berlin questionnaire, and sleeping environment); (5) diet/nutrition-related assessments [dietary habit survey questionnaire and nutrition (32) quotient (NQ)]; and (6) gastrointestinal-related assessments [gastrointestinal symptom rating scale (GSRS) and Bristol stool scale (BSS)].

The PSQI, a self-assessment questionnaire to evaluate sleep quality within the past month, contains 19 items consisting of seven component scores, including sleep quality, sleep latency, sleep duration, daytime dysfunction, sleep efficiency, sleep disturbances, and sleeping medication use (33). A final score of >5 out of 21 indicates significant sleep disturbance.

The Berlin questionnaire has 11 questions grouped into three categories (34). The first category comprises five questions concerning snoring, witnessed apnea, and the frequency of such events. The second category comprises four questions addressing daytime sleepiness, with a sub-question on drowsy driving. The third category comprises two questions concerning a history of high blood pressure (> 140/90 mmHg) and a body mass index (BMI) of >30 kg/m2. Categories 1 and 2 were considered positive if there were two positive responses in each category, while category 3 was considered positive with a self-report of high blood pressure and/or a BMI of > 30 kg/m2. The study patients were scored as being at high risk of having obstructive sleep apnea (OSA) if the scores were positive for two or more of the three categories.

The dietary habit survey questionnaire consists of 25 items to evaluate the dietary habits of Korean adults (35). It includes the number of meals per day, mealtime regularity, the amount consumed, time taken for a meal, the frequency of missed meals, the frequency of having breakfast, the reason for missing breakfast, the frequency of dinners with family, the frequency of overeating, meal at which overeating occurred (breakfast, lunch, dinner or not), the frequency of eating out, the frequency of eating snacks, the time of eating snacks, the types of snacks, the time of late-night meals, whether certain foods were not eaten, the reasons for not eating certain foods, and the frequency of food intake (grains, meat, fish, eggs and legumes, fruits, vegetables, milk and dairy products, fatty foods, instant foods, and fast foods).

The NQ comprehensively evaluates the nutritional status and meal quality of individuals or groups of Korean adults through a checklist consisting of 21 items (36). It provides the global NQ score (NQ global), and scores for four factors: nutritional balance (NQ balance), food diversity (NQ diversity), moderation in the amount of food eaten (NQ moderation), and dietary behavior (NQ behavior). It is considered “good” if the score is 58 or higher, and “monitoring is necessary” if it is below 58.

The GSRS evaluates gastrointestinal symptoms via an inquiry table consisting of 15 items for the evaluation of general gastrointestinal symptoms (37). Each GSRS item is rated on a 7-point Likert scale ranging from “no discomfort” to “very severe discomfort.”

The BSS examines the stool status in the past 24 h (32). The score is based on a one to seven scale where one corresponds to a hard stool and seven corresponds to watery diarrhea.

Data preprocessing

Data preprocessing to improve data quality and impute missing values was performed in three steps. In the first step, from all survey responders, the participants who provided multiple responses were eliminated to ensure survey reliability. Second, the participants who did not meet the inclusion criteria were removed. The participants who completed the survey remained. Last, a few samples with outliers, which might be caused by miswriting in open question items such as height, weight, smoking amount, and smoking duration were also eliminated after exploratory data analysis (EDA).

Each PSQI, Berlin questionnaire, NQ, and GSRS score was calculated and the remaining questionnaire responses were used for input data. In clinical practice, TEAM doctors' questions to patients are closer to each item of the questionnaire, and conversely, calculating each questionnaire's scores one by one is closer to the purpose of the clinical study. The calculated scores were used for external cluster evaluation.

Since this study was conducted to examine patients with sleep disturbances, the participants with PSQI scores of over five were collected as a total data set. Then, the data set was randomly split into a training set (80%) and test set (20%) for evaluating the machine learning models.

Feature extraction

The autoencoder is a simple unsupervised learning model. It learns hidden features through encoding and decoding unlabeled data. Consider a d-dimensional data set X = {x1, x2, …, xd}, where d is the number of variables presented at the input layer. The autoencoder attempts to reconstruct X at the output layer, which is the same as the identity function f(x) = x (38). Then, the hidden layer is forced to learn a compressed representation of the data X from the input layer, which is reconstructed at the output layer as . The optimized model can be evaluated by the root mean squared error (RMSE) between X and .

In this study, we built a symmetric deep autoencoder model composed of d-dimensional input and output layers, and three hidden layers: J nodes for the second hidden layer (bottleneck), and 8 × J nodes for the first and third hidden layers. Also, a grid search using 1 ≤ J ≤ 10 was conducted to find the optimal number of nodes in the hidden layers. When compiling the model, RMSE and Adam were applied as the loss function and training optimizer, respectively. For the training process with 10-fold cross-validation, the batch size and the number of epochs were set to 64 and 100, respectively. Finally, representative nodes in the second hidden layer were used to extract features for the clustering process. We also conducted principal component analysis (PCA), one of the conventional feature extraction methods, before k-means clustering.

K-means clustering

K-means clustering is an unsupervised machine learning algorithm (39). This algorithm is less computationally intensive for processing our large study data than hierarchical clustering. Also, the number of clusters (k) can be predefined by this algorithm to reveal our prior medical knowledge since the number of PI types is generally ≤ 10 in TEAM. Consider a d-dimensional data set X = {x1, x2, …, xn}, where d is the number of variables, this algorithm aims to partition the n observations into k (≤ n) sets S = {S1, S2, …, Sk} to minimize the within-cluster sum of squares (WCSS). Formally, the objective is to find:

In this study, k-means clustering was performed on the data set using raw data and PCA-extracted and deep autoencoder-extracted features. The performance of the clusters was compared between each input type. We set the candidate number of clusters from k = 1 to k = 10, and 300 iterations for each k using the expectation-maximization style algorithm.

Cluster evaluation

Cluster evaluation was conducted in two parts, internal cluster evaluation and external cluster evaluation. The Calinski-Harabasz index and silhouette coefficient were initially assessed for internal cluster evaluation (40). The optimal number of clusters was determined by the elbow method after plotting the WCSS with k values. All the above processes were conducted using the training set only. After determining the whole PI model including the feature extraction and clustering methods, the test set was inferred by the trained PI model. The PSQI, Berlin questionnaire, GSRS, and NQ scores, which were not used in feature extraction, were compared by external cluster evaluation.

Statistical analysis

Summaries of the continuous variables are presented as means and standard deviations, and the categorical variables are presented as frequencies and percentages. For continuous variables, one-way analysis of variance (ANOVA) was used for comparing means among three clusters, followed by the Tukey-Kramer test for post-hoc multiple comparisons between two clusters with unequal sample sizes. For categorical variables, the chi-squared test was also performed. Statistical significance was set at p < 0.05.

Tools

Python 3.8.0 (Python Software Foundation, Wilmington, DE, USA) was used for data preprocessing, model development and validation, visualization, and statistical analysis. The Python libraries Pandas and Numpy were adopted for data preprocessing; Scikit-learn was used for data preprocessing, PCA, and k-means clustering; Keras with Tensorflow backend for building and evaluating the deep autoencoder model; Statsmodels for statistical analysis of comparisons between clusters, and Seaborn with Matplotlib for data visualization. Google Colab, a cloud service for machine learning research, was used in this study. It provides various libraries and frameworks for deep learning and a robust graphics processing unit.

Results

Data set construction

Of a total of 4,869 survey responders, 35 multiple responders, and 139 responders who did not meet the inclusion criteria were excluded. A total of 4,408 responders completed the survey. After removing a few outliers for height (below 110 cm or above 200 cm), weight (below 40 kg or above 160 kg), smoking amount (above five packs per day), and smoking duration (above 20 years) through EDA, 4,389 responses remained. The data set of 2,579 patients with sleep disturbances was obtained after filtering by PSQI scores of >5, which were randomly split into a training set (n = 2,063; 80%) and a test set (n = 516; 20%). The flow chart of the data set construction process is shown in Figure 1.

Figure 1

Feature extraction using PCA

For comparison with the main feature extraction method, the deep autoencoder, PCA was first conducted using the training set. It showed that variance dropped off when the number of components was four, and the first four components explained the majority of the variance in the training set (Figure 2). Therefore, feature extraction using PCA was conducted with four components.

Figure 2

Feature extraction using deep autoencoder

Ten-fold cross-validation was conducted while training the deep autoencoder. The mean RMSE of the training set and validation set after 100 epochs (Table 1), and the change in RMSE of the validation set during training (Figure 3) are presented in each deep autoencoder architecture (the number of nodes in the second hidden layer).

Table 1

The number of nodes in the second hidden layer (J)RMSE
Training setValidation set
10.820 ± 0.0040.821 ± 0.013
20.796 ± 0.0020.802 ± 0.014
30.776 ± 0.0020.787 ± 0.014
40.760 ± 0.0020.774 ± 0.012
50.745 ± 0.0030.763 ± 0.013
60.732 ± 0.0030.752 ± 0.013
70.719 ± 0.0030.744 ± 0.012
80.708 ± 0.0040.737 ± 0.012
90.696 ± 0.0040.732 ± 0.011
100.686 ± 0.0040.725 ± 0.012

The mean RMSE for each model.

Values are presented as the mean ± standard deviation.

RMSE, root mean squared error.

Figure 3

Internal cluster validation

The Calinski-Harabasz index and silhouette coefficient after k-means clustering (2 ≤ k ≤ 10) are presented in Figure 4; Supplementary Table 1. The performance of clustering after feature extraction with the deep autoencoder was much better than that with raw data or PCA. Comparing the results of clustering after all feature extraction methods including PCA and the deep autoencoder in this study, the deep autoencoder (J = 2)—which presented the highest values of both the Calinski-Harabasz index and the silhouette coefficient in the small numbers of clusters (k ≤ 4)–might be the best feature extraction method for k-means clustering. The final deep autoencoder model architecture is shown in Figure 5. Also, considering both the Calinski-Harabasz index and the silhouette coefficient, k = 2 or 3 might be candidate clustering numbers. Finally, the optimal number (k = 3) of clusters was determined by the elbow method, a heuristic approach for determining the appropriate point for the local optimum (41, 42), as shown in Figure 6.

Figure 4

Figure 5

Figure 6

External cluster validation

The patient characteristics in each cluster of the training set and test set are presented in Tables 2, 3 respectively. Among the clusters, the PSQI (p < 0.001), GSRS (p < 0.001), NQ balance (p = 0.008), NQ moderation (p < 0.001), NQ behavior (p < 0.001), and Berlin scores (p < 0.001) were significantly different in the training set, and PSQI (p < 0.001), GSRS (p < 0.001), NQ global (p < 0.001), NQ moderation (p < 0.001), and Berlin scores (p < 0.001) were significantly different in the test set (Table 4).

Table 2

CharacteristicsCluster A
(n = 1,396)
Cluster B
(n = 98)
Cluster C
(n = 569)
Age, years (mean ± SD)20.8 ± 1.221.2 ± 1.621.1 ± 1.4
Height, cm (mean ± SD)174.6 ± 5.6175.2 ± 6.0174.8 ± 5.6
Weight, kg (mean ± SD)72.2 ± 9.275.1 ± 11.173.8 ± 11.1
BMI, kg/m2 (mean ± SD)23.6 ± 2.624.4 ± 3.224.1 ± 3.2
Smoking status
 Never, n (%)739 (52.9)53 (54.1)244 (42.9)
 Past, n (%)84 (6.0)4 (4.1)44 (7.7)
 Active, n (%)573 (41.0)41 (41.8)281 (49.4)
 Pack-years (mean± SD)0.97 ± 1.951.65 ± 3.071.57 ± 2.48
Alcohol, n (%)
  <1 time/month322 (23.1)28 (28.6)113 (19.9)
  <1 time/week396 (28.4)26 (26.5)130 (22.8)
 1–2 times/week493 (35.3)25 (25.5)199 (35.0)
 3–7 times/week185 (13.3)19 (19.4)127 (22.3)
Caffeine, n (%)
Coffee
  <1 cup/week511 (36.6)34 (34.7)193 (33.9)
 1–2 cups/week299 (21.4)16 (16.3)114 (20.0)
 3–6 cups/week252 (18.1)15 (15.3)90 (15.8)
 1 cup/day184 (13.2)13 (13.3)77 (13.5)
 2 cups/day102 (7.3)11 (11.2)59 (10.4)
 ≥3 cups/day48 (3.4)9 (9.2)36 (6.3)
Energy drink
  <1 cup/week907 (65.0)46 (46.9)335 (58.9)
 1–2 cups/week266 (19.1)17 (17.3)88 (15.5)
 3–6 cups/week113 (8.1)19 (19.4)69 (12.1)
 1 cup/day72 (5.2)8 (8.2)43 (7.6)
 2 cups/day22 (1.6)3 (3.1)23 (4.0)
 ≥3 cups/day16 (1.1)5 (5.1)11 (1.9)
Bacchus #x000AE;
  <1 cup/week1,245 (90.9)77 (78.6)484 (85.1)
 1–2 cups/week121 (8.8)13 (13.3)60 (10.5)
 3–6 cups/week16 (1.2)3 (3.1)12 (2.1)
 1 cup//day10 (0.7)2 (2.0)7 (1.2)
 2 cups/day3 (0.2)2 (2.0)3 (0.5)
 ≥ 3 cups/day1 (0.1)1 (1.0)3 (0.5)
Rank, n (%)
 Private80 (5.7)2 (2.0)15 (1.2)
 Private first class606 (43.4)38 (38.8)211 (8.4)
 Corporal560 (40.1)45 (45.9)251 (11.6)
 Sergeant150 (12.9)13 (13.3)92 (3.7)
Education, n (%)
 Elementary school1 (0.1)0 (0.0)0 (0.0)
 Middle school1 (0.1)0 (0.0)3 (0.5)
 High school1,326 (95.0)89 (90.8)518 (91.0)
 University or college68 (4.9)9 (9.2)48 (8.4)
Exercise, n (%)
  <1 day/week217 (15.5)27 (27.6)121 (21.3)
 1–2 days/week331 (23.7)20 (20.4)140 (24.6)
 3–4 days/week399 (28.6)27 (27.6)162 (28.5)
 ≥5 days/week449 (32.2)24 (24.5)146 (25.7)
Physical grade in the military, n (%)
 First413(29.6)17 (17.3)142 (25.0)
 Second596 (42.7)43 (43.9)224 (39.4)
 Third379 (27.1)38 (38.8)198 (34.8)
 Fourth4 (0.3)0 (0.0)3 (0.5)
 Fifth or above4 (0.3)0 (0.0)2 (0.4)
Sleep disorders, n (%)
Present history
 None1,306 (93.6)65 (66.3)470 (82.6)
 Insomnia37 (2.7)16 (16.3)50 (8.8)
 Narcolepsy30 (2.1)17 (17.3)27 (4.7)
 Obstructive sleep apnea5 (0.4)6 (6.1)12 (2.1)
 Restless leg syndrome7 (0.5)2 (2.0)14 (2.5)
 Periodic limb movement7 (0.5)4 (4.1)8 (1.4)
Past history
 None1,353 (96.9)80 (81.6)526 (92.4)
 Insomnia32 (2.3)11 (11.2)31 (5.4)
 Narcolepsy3 (0.2)8 (8.2)3 (0.5)
 Obstructive sleep apnea4 (0.3)2 (2.0)7 (1.2)
 Restless leg syndrome2 (0.1)1 (1.0)4 (0.7)
 Periodic limb movement1 (0.1)1 (1.0)1 (0.2)
 Gastrointestinal disorders, n (%)
Present history
 None1,337 (95.8)67 (68.4)487 (85.6)
 Gastroesophageal reflux23 (1.6)19 (19.4)41 (7.2)
 Gastric ulcer0 (0.0)0 (0.0)3 (0.5)
 Duodenal ulcer0 (0.0)0 (0.0)0 (0.0)
 Irritable bowel syndrome37 (2.7)17 (17.3)40 (7.0)
Past history
 None1,263 (90.5)63 (64.3)440 (77.3)
 Gastroesophageal reflux74 (5.3)26 (26.5)74 (13.0)
 Gastric ulcer1 (0.1)1 (1.0)7 (1.2)
 Duodenal ulcer1 (0.1)1 (1.0)1 (0.2)
 Irritable bowel syndrome62 (4.4)17 (17.3)60 (10.5)
General diseases, n (%)
 None1,322 (94.7)85 (86.7)527 (92.6)
 Hypertension65 (4.7)12 (12.2)34 (6.0)
 Diabetes5 (0.4)2 (2.0)2 (0.4)
 Hyperlipidemia4 (0.3)1 (1.0)5 (0.9)
 Cardiac diseases9 (0.6)2 (2.0)4 (0.7)
Medications, n (%)
 Sleeping pills12 (0.9)9 (9.2)15 (2.6)
 Sleep health supplements5 (0.4)5 (5.1)12 (2.1)
 Oral steroids6 (0.4)4 (4.1)6 (1.1)
 Melatonin2 (0.1)0 (0.0)2 (0.4)
 Anticonvulsants0 (0.0)0 (0.0)2 (0.4)
 Antidepressants19 (1.4)9 (9.2)14 (2.5)
 Beta blockers1 (0.1)0 (0.0)0 (0.0)
 Bronchodilators4 (0.3)2 (2.0)5 (0.9)
 Stimulants3 (0.2)4 (4.1)6 (1.1)
 Antihistamines31 (2.2)3 (3.1)12 (2.1)
 Weight loss pills4 (0.3)3 (3.1)6 (1.1)
 Weight loss supplements26 (1.9)8 (8.2)21 (3.7)
 Digestive pills31 (2.2)13 (13.3)33 (5.8)
 Digestive supplements54 (3.9)12 (12.2)52 (9.1)
Stress* (mean ± SD)3.46 ± 1.573.41 ± 1.163.40 ± 1.44
Night shift with tomorrow duty-off
Frequency, n (%)
 None781 (55.9)47 (48.0)289 (50.8)
 1 time/month58 (4.2)7 (7.1)29 (5.1)
 2 times/month115 (8.2)9 (9.2)36 (6.3)
 3 times/month134 (9.6)10 (10.2)61 (10.7)
 4 times/month94 (6.7)9 (9.2)44 (7.7)
 ≥5 times/month214 (15.3)16 (16.3)110 (19.3)
Sleep disturbance or fatigue* (mean ± SD)4.07 ± 0.874.43 ± 0.854.25 ± 0.89
Night shift without tomorrow duty-off
Frequency, n (%)
 None710 (50.9)44 (44.9)210 (36.9)
 1 time/month45 (3.2)5 (5.1)18 (3.2)
 2 times/month58 (4.2)9 (9.2)21 (3.7)
 3 times/month52 (3.7)5 (5.1)22 (3.9)
 4 times/month62 (4.4)3 (3.1)29 (5.1)
 ≥5 times/month469 (33.6)32 (32.7)169 (29.7)
Sleep disturbance or fatigue* (mean ± SD)4.28 ± 0.854.50 ± 0.774.42 ± 0.85

Patient characteristics in each training set cluster.

Values are presented as the mean ± standard deviation (range) or number (%).

*

Five-point Likert scale.

BMI, body mass index.

Table 3

CharacteristicsCluster A
(n = 352)
Cluster B
(n = 22)
Cluster C
(n = 142)
Age, years (mean ± SD)21.0 ± 1.421.9 ± 2.221.1 ± 1.5
Height, cm (mean ± SD)174.2 ± 5.5175.3 ± 4.7174.9 ± 5.1
Weight, kg (mean ± SD)72.5 ± 9.774.9 ± 7.874.6 ± 10.9
BMI, kg/m2 (mean ± SD)23.8 ± 2.624.4 ± 2.524.4 ± 3.1
Smoking status
 Never, n (%)186 (52.8)6 (27.3)60 (42.3)
 Past, n (%)19 (5.4)3 (13.6)11 (7.7)
 Active, n (%)147 (41.8)13 (59.1)71 (50.)
 Pack-years (mean± SD)0.94 ± 1.802.07 ± 2.991.78 ± 2.68
Alcohol, n (%)
  <1 time/month77 (21.9)6 (27.3)25 (17.6)
  <1 time/week107 (30.4)4 (18.2)35 (24.6)
 1–2 times/week122 (34.7)8 (36.4)41 (28.9)
 3–7 times/week46 (13.1)4 (18.2)41 (28.9)
Caffeine, n (%)
Coffee
  <1 cup/week131 (37.2)8 (36.4)35 (24.6)
 1–2 cups/week89 (25.3)2 (9.1)31 (21.8)
 3–6 cups/week56 (15.9)4 (18.2)24 (16.9)
 1 cup/day44 (12.5)6 (27.3)24 (16.9)
 2 cups/day20 (5.7)1 (4.5)21 (14.8)
 ≥3 cups/day12 (3.4)1 (4.5)7 (4.9)
Energy drink
  <1 cup/week234 (66.5)15 (68.2)75 (52.8)
 1–2 cups/week65 (18.5)3 (13.6)37 (26.1)
 3–6 cups/week29 (8.2)3 (13.6)10 (7.0)
 1 cup/day13 (3.7)1 (4.5)11 (7.7)
 2 cups/day7 (2.0)0 (0.0)4 (2.8)
 ≥3 cups/day4 (1.1)0 (0.0)5 (3.5)
Bacchus ®
  <1 cup/week321 (91.2)18 (81.8)118 (83.1)
 1–2 cups/week27 (7.7)3 (13.6)12 (8.5)
 3–6 cups/week3 (0.9)1 (4.5)7 (4.9)
 1 cup/day0 (0.0)0 (0.0)3 (2.1)
 2 cups/day1 (0.3)0 (0.0)1 (0.7)
 ≥3 cups/day0 (0.0)0 (0.0)1 (0.7)
Rank, n (%)
 Private25 (7.1)2 (9.1)7 (4.9)
 Private first class142 (40.3)3 (13.6)48 (33.8)
 Corporal136 (38.6)10 (45.5)66 (46.5)
 Sergeant49 (13.9)7 (31.8)21 (14.8)
Education, n (%)
 Elementary school0 (0.0)0 (0.0)0 (0.0)
 Middle school0 (0.0)1 (4.5)1 (0.7)
 High school329 (93.5)19 (86.4)134 (94.4)
 University or college23 (6.5)2 (9.1)7 (4.9)
Exercise, n (%)
  <1 day/week50 (14.2)6 (27.3)23 (16.2)
 1–2 days/week91 (25.9)5 (22.7)35 (24.6)
 3–4 days/week88 (25.0)5 (22.7)36 (25.4)
 ≥5 days/week123 (34.9)6 (27.3)48 (33.8)
Physical grade in the military, n (%)
 First103 (29.3)8 (36.4)31 (21.8)
 Second141 (40.1)6 (27.3)63 (44.4)
 Third107 (30.4)7 (31.8)47 (33.1)
 Fourth1 (0.3)1 (4.5)1 (0.7)
 Fifth or above0 (0.0)0 (0.0)0 (0.0)
Sleep disorders, n (%)
Present history
 None334 (90.9)18 (81.8)114 (80.3)
 Insomnia10 (2.8)3 (13.6)14 (9.9)
 Narcolepsy5 (1.4)2 (9.1)7 (4.9)
 Obstructive sleep apnea1 (0.3)0 (0.0)2 (1.4)
 Restless leg syndrome1 (0.3)1 (4.5)6 (4.2)
 Periodic limb movement2 (0.6)1 (4.5)5 (3.5)
Past history
 None344 (97.7)20 (90.9)131 (92.3)
 Insomnia5 (1.4)2 (9.1)6 (4.2)
 Narcolepsy2 (0.6)0 (0.0)3 (2.1)
 Obstructive sleep apnea0 (0.0)0 (0.0)1 (0.7)
 Restless leg syndrome1 (0.3)0 (0.0)1 (0.7)
 Periodic limb movement0 (0.3)0 (0.0)1 (0.7)
 Gastrointestinal disorders, n (%)
Present history
 None329 (93.5)20 (90.9)130 (91.5)
 Gastroesophageal reflux13 (3.7)2 (9.1)3 (2.1)
 Gastric ulcer0 (0.0)0 (0.0)0 (0.0)
 Duodenal ulcer0 (0.0)0 (0.0)0 (0.0)
 Irritable bowel syndrome12 (3.4)0 (0.0)10 (7.0)
Past history
 None300 (85.2)15 (68.2)119 (83.8)
 Gastroesophageal reflux22 (6.3)5 (22.7)11 (7.7)
 Gastric ulcer5 (1.4)1 (4.5)0 (0.0)
 Duodenal ulcer1 (0.3)0 (0.0)0 (0.0)
 Irritable bowel syndrome27 (7.7)3 (13.6)14 (9.9)
General diseases, n (%)
 None331 (94.0)12 (54.5)129 (90.8)
 Hypertension18 (5.1)5 (22.7)10 (7.0)
 Diabetes1 (0.3)0 (0.0)2 (1.4)
 Hyperlipidemia3 (0.9)0 (0.0)2 (1.4)
 Cardiac diseases1 (0.3)2 (9.1)2 (1.4)
Medications, n (%)
 Sleeping pills0 (0.0)1 (4.5)3 (2.1)
 Sleep health supplements1 (0.3)0 (0.0)1 (0.7)
 Oral steroids2 (0.6)1 (4.5)1 (0.7)
 Melatonin0 (0.0)1 (4.5)0 (0.0)
 Anticonvulsants0 (0.0)0 (0.0)0 (0.0)
 Antidepressants2 (0.6)2 (9.1)3 (2.1)
 Beta blockers0 (0.0)0 (0.0)0 (0.0)
 Bronchodilators1 (0.3)0 (0.0)1 (0.7)
 Stimulants1 (0.3)0 (0.0)0 (0.0)
 Antihistamines10 (2.8)1 (4.5)4 (2.8)
 Weight loss pills0 (0.0)0 (0.0)0 (0.0)
 Weight loss supplements3 (0.9)1 (4.5)10 (7.0)
 Digestive pills9 (2.6)2 (9.1)6 (4.2)
 Digestive supplements12 (3.4)2 (9.1)9 (6.3)
Stress* (mean ± SD)3.57 ± 1.573.41 ± 1.303.42 ± 1.38
Night shift with tomorrow duty-off
Frequency, n (%)
 None192 (54.5)10 (45.5)72 (50.7)
 1 time/month19 (5.4)3 (13.6)7 (4.9)
 2 times/month36 (10.2)2 (9.1)7 (4.9)
 3 times/month32 (9.1)3 (13.6)13 (9.2)
 4 times/month21 (6.0)2 (9.1)7 (4.9)
 ≥5 times/month52 (14.8)2 (9.1)36 (25.4)
Sleep disturbance or fatigue* (mean ± SD)3.96 ± 0.894.13 ± 0.744.43 ± 0.80
Night shift without tomorrow duty-off
Frequency, n (%)
 None175 (49.7)10 (45.5)84 (59.2)
 1 time/month19 (5.4)2 (9.1)6 (4.2)
 2 times/month13 (3.7)2 (9.1)5 (3.5)
 3 times/month15 (4.3)1 (4.5)4 (2.8)
 4 times/month16 (4.5)0 (0.0)13 (9.2)
 ≥5 times/month114 (32.4)7 (31.8)30 (21.1)
Sleep disturbance or fatigue* (mean ± SD)4.24 ± 0.884.67 ± 0.624.42 ± 0.76

Patient characteristics in each test set cluster.

Values are presented as the mean ± standard deviation (range) or number (%).

*

Five-point Likert scale.

BMI, body mass index.

Table 4

Cluster ACluster BCluster CCluster A vs. BCluster A vs. CCluster B vs. C
mean ± SD or ratiomean ± SD or ratiomean ± SD or ratioF/X2p-valueDifference or OR [95% CI]p-valueDifference or OR [95% CI]p-valueDifference or OR [95% CI]p-value
Training setn = 1,396n = 98n = 569
PSQI8.33 ± 2.2011.57 ± 3.319.96 ± 2.81149.27<0.001−3.24
[−3.84, −2.64]
<0.001−1.62
[−1.91, −1.34]
<0.0011.62
[0.99, 2.24]
<0.001
GSRS2.18 ± 2.1517.94 ± 7.386.39 ± 4.091,305.82<0.001−15.76
[−16.55, −14.98]
<0.001−4.21
[−4.59, −3.84]
<0.00111.55
[10.73, 12.37]
<0.001
NQ global41.51 ± 8.7842.78 ± 11.2442.11 ± 10.651.450.234−1.27
[−3.59, 1.05]
0.404−0.60
[−1.71, 0.50]
0.4060.67
[−1.76, 3.09]
0.774
NQ balance35.44 ± 14.3333.25 ± 15.3733.24 ± 16.734.790.0082.18
[−1.51, 5.88]
0.3492.20
[0.44, 3.96]
0.0100.02
[−3.85, 3.88]
0.900
NQ diversity12.67 ± 4.2111.95 ± 4.5412.83 ± 4.551.760.1720.73
[−0.33, 1.79]
0.240−0.16
[−0.66, 3.48]
0.728−0.89
[−1.99, 0.22]
0.147
NQ moderation8.65 ± 4.1812.9 ± 5.8511.12 ± 4.9190.63<0.001−4.25
[−5.35, −3.15]
<0.001−2.48
[−3.00, −1.95]
<0.0011.77
[0.62, 2.92]
<0.001
NQ behavior11.38 ± 3.469.67 ± 3.749.90 ± 3.6642.07<0.0011.72
[0.85, 2.58]
<0.0011.49
[1.08, 1.90]
<0.001−0.23
[−1.13, 0.68]
0.806
Berlin score (low/high)1,230/16663/35391/178122.00<0.0010.24
[0.16, 0.38]
<0.0010.30
[0.23, 0.38]
<0.0011.22
[0.78, 1.91]
0.452
Test setn=352n=22n=142
PSQI8.36 ± 2.1211.14 ± 3.4510.04 ± 2.8434.32<0.001−2.78
[−4.02, −1.53]
<0.001−1.68
[−2.24, −1.12]
<0.0011.09
[−0.20, 2.39]
0.117
GSRS2.08 ± 2.0519.77 ± 8.156.52 ± 3.73406.57<0.001−17.69
[−19.28, −16.10]
<0.001−4.44
[−5.16, −3.72]
<0.00113.25
[11.60, 14.91]
<0.001
NQ global40.30 ± 8.2844.71 ± 17.4843.83 ± 10.598.31<0.001−4.41
[−9.31, 0.50]
0.089−3.52
[−5.74, −1.30]
<0.0010.88
[−4.23, 6.00]
0.900
NQ balance33.89 ± 13.1037.55 ± 24.2735.30 ± 17.340.950.387−3.66
[−11.39, 4.08]
0.508−1.42
[−4.92, 2.08]
0.5992.24
[−5.82, 10.30]
0.770
NQ diversity12.33 ± 4.0511.62 ± 5.6912.88 ± 4.121.340.2630.72
[−1.43, 2.86]
0.694−0.54
[−1.51, 0.43]
0.386−1.26
[−3.49, 0.97]
0.382
NQ moderation8.43 ± 4.0212.32 ± 5.4911.71 ± 4.8837.53<0.001−4.89
[−7.13, −2.64]
<0.001−3.28
[−4.29, −2.26]
<0.0011.61
[−0.73, 3.95]
0.238
NQ behavior11.12 ± 3.4110.42 ± 4.1210.47 ± 3.911.900.1510.70
[−1.15, 2.55]
0.6390.65
[−0.18, 1.49]
0.159−0.04
[−1.97, 1.89]
0.900
Berlin score (low/high)305/4714/8100/4222.09<0.0010.27
[0.11, 0.68]
0.0080.37
[0.23, 0.59]
<0.0011.36
[0.53, 3.48]
0.693

Results of external cluster validation in the training set and test set.

GSRS, gastrointestinal symptom rating scale; NQ, nutrition quotient; OR, odds ratio; PSQI, Pittsburgh sleep quality index; SD, standard deviation.

Through post-hoc analysis (Table 4), the mean PSQI score of cluster A was significantly lower than that of cluster B (−3.24, 95% confidence interval (CI) −3.84, −2.64], p < 0.001) and cluster C (−1.62, 95% CI [−1.91, −1.34], p < 0.001) in the training set. The mean PSQI score of cluster B was significantly higher than that of cluster C (1.62, 95% CI [0.99, 2.24], p < 0.001) in the training set. The mean PSQI score of cluster A was significantly lower than that of cluster B (−2.78, 95% CI [−4.02, −1.53], p < 0.001) and cluster C (−1.68, 95% CI [−2.24, −1.12], p < 0.001) in the test set. The mean PSQI score of cluster B was also higher but not significantly different than that of cluster C (1.09, 95% CI [−0.20, 2.39], p = 0.117) in the test set.

The mean GSRS score of cluster A was significantly lower than that of cluster B (−15.76, 95% CI [−16.55, −14.98], p < 0.001) and cluster C (−4.21, 95% CI [−4.59, −3.84], p < 0.001) in the training set. The mean GSRS score of cluster B was significantly higher than that of cluster C (11.55, 95% CI [10.73, 12.37], p < 0.001) in the training set. The mean GSRS score of cluster A was significantly lower than that of cluster B (−17.69, 95% CI [−19.28, −16.10], p < 0.001) and cluster C (−4.44, 95% CI [−5.16, −3.72], p < 0.001) in the test set. The mean GSRS score of cluster B was significantly higher than that of cluster C (13.25, 95% CI [11.60, 14.91], p < 0.001) in the test set.

The mean NQ global score of cluster A was lower but not statistically different from that of cluster B (−1.27, 95% CI [−3.59, 1.05], p = 0.404) and cluster C (−0.60, 95% CI [−1.71, 0.50], p = 0.406) in the training set. The mean NQ global score of cluster B was higher but not significantly different than that of cluster C (0.67, 95% CI [−1.76, 3.09], p = 0.774) in the training set. The mean NQ global score of cluster A was lower but not statistically different than that of cluster B (−4.41, 95% CI [−9.31, 0.50], p = 0.089) and significantly lower than that of cluster C (−3.52, 95% CI [−5.74, −1.30], p < 0.001) in the test set. The mean NQ global score of cluster B was higher but not significantly different than that of cluster C (0.88, 95% CI [−4.23, 6.00], p = 0.900) in the test set.

The mean NQ balance score of cluster A was higher but not statistically different than that of cluster B (2.18, 95% CI [−1.51, 5.88], p = 0.349) and significantly higher than that of cluster C (2.20, 95% CI [0.44, 3.96], p = 0.010) in the training set. The mean NQ balance score of cluster B was higher but not significantly different than that of cluster C (0.02, 95% CI [−3.85, 3.88], p = 0.900) in the training set. The mean NQ balance score of cluster A was lower but not statistically different than that of cluster B (−3.66, 95% CI [−11.39, 4.08], p = 0.508) and cluster C (−1.42, 95% CI [−4.92, 2.08], p = 0.599) in the test set. The mean NQ balance score of cluster B was higher but not significantly different than that of cluster C (2.24, 95% CI [−5.82, 10.30], p = 0.770) in the test set.

The mean NQ diversity score of cluster A was higher but not statistically different than that of cluster B (0.73, 95% CI [−0.33, 1.79], p = 0.240) and lower but not statistically different than that of cluster C (−0.16, 95% CI [−0.66, 3.48], p = 0.728) in the training set. The mean NQ diversity score of cluster B was lower but not significantly different than that of cluster C (−0.89, 95% CI [−1.99, 0.22], p = 0.147) in the training set. The mean NQ diversity score of cluster A was higher but not statistically different than that of cluster B (0.72, 95% CI [−1.43, 2.86], p = 0.694) and lower but not statistically different than that of cluster C (−0.54, 95% CI [−1.51, 0.43], p = 0.386) in the test set. The mean NQ diversity score of cluster B was lower but not significantly different than that of cluster C (−1.26, 95% CI [−3.49, 0.97], p = 0.382) in the test set.

The mean NQ moderation score of cluster A was significantly lower than that of cluster B (−4.25, 95% CI [−5.35, −3.15], p < 0.001) and cluster C (−2.48, 95% CI [−3.00, −1.95], p < 0.001) in the training set. The mean NQ moderation score of cluster B was significantly higher than that of cluster C (1.77, 95% CI [0.62, 2.92], p < 0.001) in the training set. The mean NQ moderation score of cluster A was significantly lower than that of cluster B (−4.89, 95% CI [−7.13, −2.64], p < 0.001) and cluster C (−3.28, 95% CI [−4.29, −2.26], p < 0.001) in the test set. The mean NQ moderation score of cluster B was also higher but not significantly different than that of cluster C (1.61, 95% CI [−0.73, 3.95], p = 0.238) in the test set.

The mean NQ behavior score of cluster A was significantly higher than that of cluster B (1.72, 95% CI [0.85, 2.58], p < 0.001) and cluster C (1.49, 95% CI [1.08, 1.90], p < 0.001) in the training set. The mean NQ behavior score of cluster B was lower but not significantly different than that of cluster C (−0.23, 95% CI [−1.13, 0.68], p = 0.806) in the training set. The mean NQ behavior score of cluster A was higher but not significantly different than that of cluster B (0.70, 95% CI [−1.15, 2.55], p = 0.639) and cluster C (0.65, 95% CI [−0.18, 1.49], p = 0.159) in the training set. The mean NQ behavior score of cluster B was lower but not significantly different than that of cluster C (−0.04, 95% CI [−1.97, 1.89], p = 0.900) in the test set.

The Berlin score showed that cluster A had a significantly lower risk of OSA than that of cluster B (odds ratio (OR) = 0.24, 95% CI [0.16, 0.38], X2 = 42.61, p < 0.001) and cluster C (OR = 0.30, 95% CI [0.23, 0.38], X2 = 103.92, p < 0.001) in the training set. The Berlin score showed that cluster B had a higher risk than that of cluster C (OR = 1.22, 95% CI [0.78, 1.91], X2 = 0.57, p = 0.452) in the training set. The Berlin score showed that cluster A had a significantly lower risk of OSA than that of cluster B (OR = 0.27, 95% CI [0.11, 0.68], X2 = 7.00, p = 0.008) and cluster C (OR = 0.37, 95% CI [0.23, 0.59], X2 = 16.95, p < 0.001) in the test set. The Berlin score showed that cluster B had a higher risk than that of cluster C (OR = 1.36, 95% CI [0.53, 3.48], X2 = 0.16, p = 0.693) in the test set.

Three–dimensional clustering visualizations were presented with the major components that were statistically different by multi-comparison and post-hoc analysis in both the training and test sets, and statistically different by multi-comparison only in both the training and test sets; NQ moderation between cluster B and C was not statistically different by post-hoc analysis in the test set (Figure 7).

Figure 7

Discussion

This study demonstrated that the deep autoencoder method was a better feature extraction method for the clustering of sleep disturbances than PCA. This result is comparable to that of other studies in that the autoencoder effectively reduces the high-dimensionality of the various types of data since it can learn non-linear feature representations (4345). Specifically, based on internal cluster validation and the elbow method, the best architecture of the deep autoencoder for extracting features for clustering our study samples with sleep disturbances was 16 nodes for the first and third hidden layers, and two nodes for the second hidden layer, while the optimal number of clusters was considered to be three. After external cluster validation, three PI types were differentiated by changes in sleep quality, dietary habits, and concomitant gastrointestinal symptoms.

PI has been used in TEAM for the personalized care of various conditions including sleep disorders. As the accurate diagnosis and precise evaluation of individual patients are the key for personalized care in conventional medicine, PI, as well as diagnosis according to the International Classification of Diseases, Tenth Revision (ICD-10), is an important principle in personalized TEAM treatments such as acupuncture point selections and combinations of herbal medicines. Although several previous studies have tried to standardize PI and suggested new methods for PI in different types of data, it is considered a “black box” in which the external validity or usability in clinical TEAM practice cannot be ensured (14, 15, 4648). Therefore, in another aspect of PI standardization, we proposed a new paradigm, the clinical data-driven PI model, applying advanced machine learning techniques. The PI model is flexible in the data characteristics that can be used and is reproducible for certain data to enhance the effectiveness of TEAM treatment in clinical practice (Figure 8).

Figure 8

There were three main aspects to this study, data type, feature extraction, and clustering. First, whole raw data from a cross-sectional study were used. The cross-sectional study data were generally composed of fundamental clinical information such as age, sex, and medical history, and symptoms, and/or a disease-related questionnaire. Particularly, our used cross-sectional study included several questionnaires with different domains including sleep, diet, nutrition, and gastrointestinal status. Since TEAM doctors usually ask not only about sleep conditions but also about other conditions to select the appropriate acupuncture points and/or herbal medicines for treating insomnia patients (28, 30), this type of data was suitable for reflecting clinical settings. Furthermore, this data type may assure external cluster validation. Clustering validation, which measures the goodness of clustering results, can be categorized into two methods: internal cluster validation and external cluster validation (49). The internal cluster validation is conducted without the need to obtain any additional information, such as evaluating the average between- and within-cluster sums of squares (Calinski-Harabasz index), or the difference of the between- and within-cluster distances (silhouette coefficient). On the other hand, the external cluster validation is conducted with other external information, such as a true class of cluster or previous knowledge about data. In this study, instead of obtaining the true labels of each cluster, which require large amounts of cost and time for TEAM doctors, we used the final scores of PSQI, NQ, GSRS, and the Berlin score, which were not used in the input features of clustering, but which could be calculated using specific non-linear functions respectively to externally compare the clustering results.

Second, feature extraction was conducted by a deep autoencoder model. Two methods have been used before the clustering process, feature selection (selecting a small subset of actual features from the data) and feature extraction (constructing a small set of artificial features from the data). Most clinical studies conducted feature selection through statistical methods such as the t-test or chi-squared test between two groups or it was determined by clinical experience or medical knowledge. However, in a large series of data, so-called high-dimensional data, it was difficult to find the best feature selection strategy for efficiently reducing the dimension of the data (50). Therefore, some algorithms such as PCA and the autoencoder have been suggested for feature extraction (51), very similar to a TEAM doctor's PI process made by observing patients with not just a few pieces of clinical information but comprehensively, using a lot of clinical information. This characteristic of TEAM doctors' decision-making might also be related to the reason why deep autoencoder model extraction was much more efficient than that of other methods in our study. As decision-making in TEAM is complex and the interactions between clinical information and PI are non-linear, autoencoder architecture learning non-linear mapping allows for the transformation of high-dimensional data into more clustering-friendly representations, whereas PCA is fundamentally limited to linear embedding, and it is possible to lose essential features (38). Another strength of using the deep autoencoder for feature extraction is that it can extract features from non-quantizable questionnaire responses (e.g., dietary habit survey questionnaire), which does not use a formula to generate a single score, and efficiently prevents the curse of dimensionality without suffering from high computational complexity in large-scale data (38).

Third, k-means clustering, an unsupervised machine learning algorithm serving as a powerful computational method to analyze high-dimensional data in the form of sequences or expressions, was used in this study (38). It does not need data labeling, which is costly and time-consuming in biomedical research using supervised learning. In addition, even if data labeling is performed by several TEAM doctors, the labeling results are highly likely to be inconsistent because the types of PI are inconsistent among TEAM doctors and each TEAM society and different depending upon the disease. Therefore, a data-driven approach to PI for TEAM research, which is flexible for changes in data and reproducible for certain data, might be more reasonable than a standardization approach using a few TEAM research experts.

Each cluster of sleep disturbance patients could be differentiated, as shown in Figure 7. The patients in cluster A had relatively mild sleep disturbances, severe immoderation in the amount of food consumed, and good gastrointestinal status compared to the other clusters. The patients in cluster B had relatively severe sleep disturbances, mild immoderation in the amount of food consumed, and severe gastrointestinal problems compared to the other clusters. The patients in cluster C had relatively moderate sleep disturbances, moderate immoderation in the amount of food consumed, and mild-to-moderate gastrointestinal problems compared to the other clusters. Although the statistical analysis of the Berlin score indicated that cluster A had a much lower risk than the other two clusters, it could not be observed in the 3-dimensional visualizations.

The clustering results can be interpreted in two aspects, the changes in sleep quality and the concomitant symptoms. As sleep quality deteriorates, the appetite associated with food moderation decreases, and the condition of the gastrointestinal system worsens. Based on a recent systematic review and meta-analysis of acupuncture using PI and TEAM clinical guidelines for insomnia patients, cluster A may be matched to the “stomach disharmony pattern” type using ST36, CV12, and ST25; cluster C may be matched to the “pattern of lingering phlegm” type using ST40 and CV12; and cluster B may be matched to the “pattern of dual deficiency of heart and spleen” type using CV12, ST36, and ST40 (29, 30). This clustering model can automatically and consistently provide the same PI for a certain patient, which ensures reliability for both TEAM doctors and patients. However, it should be noted that this clustering model is flexible to the number of patient data, changes in patient features, or changes in the target disease, so-called “transfer learning” and “fine-tuning” in machine learning techniques (52), which might provide a different output for the number or types of patterns identified. Therefore, the novel PI model in the present study can be advanced, modified, or expanded for other studies.

The applications of this study include AI-based clinical decision support systems (CDSSs) through electronic medical records (EMRs) and clinical trial protocols for evaluating the effectiveness of TEAM treatment. If a TEAM doctor in clinical practice obtains clinical data from insomnia patients and documents them in the EMR, the PI model in AI-based CDSSs suggests the candidate PI with the associated probability and recommends a fundamental combination of acupuncture points and herbal medicines. In addition, most pragmatic trial protocols with individualized TEAM treatment depend completely upon (one person or more) the TEAM doctor's PI for each patient. The reliability and validity of PI itself, which might affect the effect size of individualized TEAM treatments, are limited. However, the PI model in this study could suggest a consistent PI technique for patients with similar features, although the model's effect on the results of individualized TEAM treatment should be validated in a prospective clinical trial.

Some limitations of this study follow. First, this cross-sectional study data might not be fully sufficient to mimic the interaction between doctors and patients in clinical practices. Some data obtained from free medical notes or an AI speaker in clinical settings might be helpful to overcome this limitation. Second, since this data was obtained from a single sample of sleep disturbances in the ROKA, another study sample is required for external validation of our proposed model. Third, this study sequentially used a feature extraction model and a clustering model separately. Emerging machine learning research such as a deep clustering network, which optimizes the feature extraction model and the clustering model simultaneously, might perform better than the techniques used in our study. This will be considered in future studies. Fourth, the PI data used for each patient made by TEAM doctors were limited in this study. However, the correlation between our model's output and actual PI by TEAM doctors in this study should be observed to externally and more robustly validate our clustering results. Fifth, although all features of data were included to reflect a clinical setting wherein TEAM doctors might consider all information of patients as much as possible to find the appropriate PI, the feature selection algorithms, such as univariate statistical test, Lasso regularization, or Boruta algorithm can be applied in future studies to improve upon our results. Finally, the specific combinations of acupuncture points and herbal medicines after PI process were not represented in this study. Although this study revealed the basic concepts of the novel data-driven PI model, more research such as a systematic review of published clinical articles, including case series, or a survey of TEAM doctors is required to recommend the appropriate acupuncture points and/or herbal medicines after the determination of PI.

Code availability

Code for this paper is provided at https://github.com/HyeonhoonLee/DeepPI.

Funding

This research was supported by grants from Korea Institute of Oriental Medicine (KSN2022210).

Publisher's note

All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.

Statements

Data availability statement

The raw data supporting the conclusions of this article will be made available by the authors, without undue reservation.

Ethics statement

The studies involving human participants were reviewed and approved by Institutional Review Board of the Armed Forces Medical Command (AFMC-202107-HR-054-02). The patients/participants provided their written informed consent to participate in this study.

Author contributions

HL and YC designed the research study. CY and J-DL supervised the study. HL, YC, BS, and SL collected and analyzed the survey data. HL drafted the manuscript. SL, JK, KK, and EK provided critical comments for improvement of the manuscript. All authors contributed to the article and approved the submitted version.

Acknowledgments

This paper was modified and developed from the Ph.D. thesis of HL.

Conflict of interest

The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Supplementary material

The Supplementary Material for this article can be found online at: https://www.frontiersin.org/articles/10.3389/fmed.2022.950327/full#supplementary-material

References

  • 1.

    ZhaoCLiGZWangCNiuJ. Advances in patient classification for traditional chinese medicine: a machine learning perspective. Evid Based Complement Alternat Med. (2015) 2015:376716. 10.1155/2015/376716

  • 2.

    ChoiEMJiangFLonghurstJC. Point specificity in acupuncture. Chin Med. (2012) 7:4. 10.1186/1749-8546-7-4

  • 3.

    Lee YS RyuYYoonDEKimCHHongGHwangYCet al. Commonality and specificity of acupuncture point selections. Evid Based Complement Alternat Med. (2020) 2020:2948292. 10.1155/2020/2948292

  • 4.

    LiuWCohenL. Overcoming barriers for clinical research of acupuncture. Med Acupunct. (2020) 32:34851. 10.1089/acu.2020.1480

  • 5.

    PachDYang-StrobelXLudtkeRRollSIckeKBrinkhausBet al. Standardized vs. individualized acupuncture for chronic low back pain: a randomized controlled trial. Evid Based Complement Alternat Med. (2013) 2013:125937. 10.1155/2013/125937

  • 6.

    KoSJKuoBKimSKLeeHKimJHanGet al. Individualized acupuncture for symptom relief in functional dyspepsia: a randomized controlled trial. J Altern Complement Med. (2016) 22:9971006. 10.1089/acm.2016.0208

  • 7.

    NielsenAOckerLMajdIDraisinJATarominaKMaggentiMTet al. Acupuncture intervention protocol: consensus process for a pragmatic randomized controlled trial of acupuncture for management of chronic low back pain in older adults: an nih heal initiative funded project. Glob Adv Health Med. (2021) 10:21649561211007091. 10.1177/21649561211007091

  • 8.

    BrinkhausBRollSJenaSIckeKAdamDBintingSet al. Acupuncture in patients with allergic asthma: a randomized pragmatic trial. J Altern Complement Med. (2017) 23:26877. 10.1089/acm.2016.0357

  • 9.

    ChungVCWongCHWuIXChingJYCheungWKYipBHet al. Electroacupuncture plus on-demand gastrocaine for refractory functional dyspepsia: pragmatic randomized trial. J Gastroenterol Hepatol. (2019) 34:207785. 10.1111/jgh.14737

  • 10.

    LiuSWangZSuYQiLYangWFuMet al. A Neuroanatomical basis for electroacupuncture to drive the vagal-adrenal axis. Nature. (2021) 598:6415. 10.1038/s41586-021-04001-4

  • 11.

    LeeDYJiuYRHsiehCL. Electroacupuncture at Zusanli and at Neiguan characterized point specificity in the brain by metabolomic analysis. Sci Rep. (2020) 10:10717. 10.1038/s41598-020-67766-0

  • 12.

    LiuSWangZFSuYSRayRSJingXHWangYQet al. Somatotopic organization and intensity dependence in driving distinct Npy-expressing sympathetic pathways by electroacupuncture. Neuron. (2020) 108:436-50 e7. 10.1016/j.neuron.2020.07.015

  • 13.

    MaQ. Somato-Autonomic reflexes of acupuncture. Med Acupunct. (2020) 32:3626. 10.1089/acu.2020.1488

  • 14.

    KimCHYoonDELeeYSJungWMKimJHChaeY. Revealing associations between diagnosis patterns and acupoint prescriptions using medical data extracted from case reports. J Clin Med. (2019) 8:1663. 10.3390/jcm8101663

  • 15.

    HwangYCLee IS RyuYLeeYSChaeY. Identification of acupoint indication from reverse inference: data mining of randomized controlled clinical trials. J Clin Med. (2020) 9:3027. 10.3390/jcm9093027

  • 16.

    HwangYCLeeISRyuYLeeMSChaeY. Exploring traditional acupuncture point selection patterns for pain control: data mining of randomised controlled clinical trials. Acupunct Med. (2020):964528420926173. 10.1177/0964528420926173

  • 17.

    JungWMParkISLeeYSKimCELeeHHahmDHet al. Characterization of hidden rules linking symptoms and selection of acupoint using an artificial neural network model. Front Med. (2019) 13:11220. 10.1007/s11684-017-0582-z

  • 18.

    HuangWTHungHHKaoYWOuSCLinYCChengWZet al. Application of neural network and cluster analyses to differentiate tcm patterns in patients with breast cancer. Front Pharmacol. (2020) 11:670. 10.3389/fphar.2020.00670

  • 19.

    LeeSHLimSM. Acupuncture for insomnia after stroke: a systematic review and meta-analysis. BMC Complement Altern Med. (2016) 16:228. 10.1186/s12906-016-1220-z

  • 20.

    HanNQiaoSYuanGHuangPLiuDYueKet al. Novel Chinese herbal medicine clustering algorithm via artificial bee colony optimization. Artif Intell Med. (2019) 101:101760. 10.1016/j.artmed.2019.101760

  • 21.

    LiuZLuoCFuDGuiJZhengZQiLet al. A novel transfer learning model for traditional herbal medicine prescription generation from unstructured resources and knowledge. Artif Intell Med. (2022) 124:102232. 10.1016/j.artmed.2021.102232

  • 22.

    AngLLeeHWChoiJYZhangJSoo LeeM. Herbal medicine and pattern identification for treating COVID-19: a rapid review of guidelines. Integr Med Res. (2020) 9:100407. 10.1016/j.imr.2020.100407

  • 23.

    XuQGuoQWangCXZhangSWenCBSunTet al. Network differentiation: a computational method of pathogenesis diagnosis in traditional chinese medicine based on systems science. Artif Intell Med. (2021) 118:102134. 10.1016/j.artmed.2021.102134

  • 24.

    YinXGouMXuJDongBYinPMasquelinFet al. Efficacy and safety of acupuncture treatment on primary insomnia: a randomized controlled trial. Sleep Med. (2017) 37:193200. 10.1016/j.sleep.2017.02.012

  • 25.

    PeiWPengRGuYZhouXRuanJ. Research trends of acupuncture therapy on insomnia in two decades (from 1999 to 2018):a bibliometric analysis. BMC Complement Altern Med. (2019) 19:225. 10.1186/s12906-019-2606-5

  • 26.

    AbanesJJRidnerSHDietrichMSHiersCRhotenB. Acupuncture for Sleep Disturbances in Post-Deployment Military Service Members: A Randomized Controlled Trial. Clin Nurs Res. (2022) 31:23950. 10.1177/10547738211030602

  • 27.

    ChoiYKimYKwonOChungSYChoSH. Effect of herbal medicine (Huanglian-Jie-Du Granule) for somatic symptoms and insomnia in patients with Hwa-Byung: a randomized controlled trial. Integr Med Res. (2021) 10:100453. 10.1016/j.imr.2020.100453

  • 28.

    LeachMJPageAT. Herbal medicine for insomnia: a systematic review and meta-analysis. Sleep Med Rev. (2015) 24:112. 10.1016/j.smrv.2014.12.003

  • 29.

    LimJHJeongJHKimSHKimKOLeeSYLeeSHet al. The pilot survey of the perception on the practice pattern, diagnosis, and treatment on Korean medicine insomnia: focusing on the difference between korean medical neuropsychiatry specialists and Korean medical general practitioners. Evid Based Complement Alternat Med. (2018) 2018:9152705. 10.1155/2018/9152705

  • 30.

    KimSHJeongJHLimJHKimBK. Acupuncture using pattern-identification for the treatment of insomnia disorder: a systematic review and meta-analysis of randomized controlled trials. Integr Med Res. (2019) 8:21626. 10.1016/j.imr.2019.08.002

  • 31.

    FanWYanZ. Factors affecting response rates of the web survey: a systematic review. Comput Human Behav. (2010) 26:1329. 10.1016/j.chb.2009.10.015

  • 32.

    LewisSJHeatonKW. Stool form scale as a useful guide to intestinal transit time. Scand J Gastroenterol. (1997) 32:9204. 10.3109/00365529709011203

  • 33.

    BackhausJJunghannsKBroocksARiemannDHohagenF. Test-retest reliability and validity of the Pittsburgh sleep quality index in primary insomnia. J Psychosom Res. (2002) 53:73740. 10.1016/S0022-3999(02)00330-6

  • 34.

    NetzerNCStoohsRANetzerCMClarkKStrohlKP. Using the Berlin questionnaire to identify patients at risk for the sleep apnea syndrome. Ann Intern Med. (1999) 131:48591. 10.7326/0003-4819-131-7-199910050-00002

  • 35.

    JoJSKimKN. Development of a questionnaire for dietary habit survey of Korean adults. Korean J Community Nutr. (2014) 19:25873. 10.5720/kjcn.2014.19.3.258

  • 36.

    LeeJ-SKimH-YHwangJ-YKwonSChungHRKwakT-Ket al. Development of nutrition quotient for korean adults: item selection and validation of factor structure. J Nutr Health. (2018) 51:34056. 10.4163/jnh.2018.51.4.340

  • 37.

    KwonSJungH-KHongJHParkHS. Diagnostic validity of the Korean Gastrointestinal Symptom Rating Scale (KGSRS) in the assessment of gastro-esophageal reflux disease. Ewha Med J. (2008) 31:7380. 10.12771/emj.2008.31.2.73

  • 38.

    KarimMRBeyanOZappaACostaIGRebholz-SchuhmannDCochezMet al. Deep learning-based clustering approaches for bioinformatics. Brief Bioinform. (2021) 22:393415. 10.1093/bib/bbz170

  • 39.

    AhmedMSerajRIslamSMS. The K-means algorithm: a comprehensive survey and performance evaluation. Electronics. (2020) 9:1295. 10.3390/electronics9081295

  • 40.

    WangXXuY. An Improved Index For Clustering Validation Based on Silhouette Index and Calinski-Harabasz Index.IOP Conference Series: Materials Science and Engineering. (2019) 569:052024. 10.1088/1757-899X/569/5/052024

  • 41.

    SammoudaREl-ZaartA. An optimized approach for prostate image segmentation using K-means clustering algorithm with elbow method. Comput Intell Neurosci. (2021) 2021:4553832. 10.1155/2021/4553832

  • 42.

    LeeMLeeSParkJSeoS. Clustering and characterization of the lactation curves of dairy cows using K-medoids clustering algorithm. Animals.(2020) 10:1348. 10.3390/ani10081348

  • 43.

    Portnova-FahreevaAARizzoglioFNiskyICasadioMMussa-IvaldiFARombokasE. Linear and non-linear dimensionality-reduction techniques on full hand kinematics. Front Bioeng Biotechnol. (2020) 8:429. 10.3389/fbioe.2020.00429

  • 44.

    TranBTranDNguyenHRoSNguyenT. Sccan: single-cell clustering using autoencoder and network fusion. Sci Rep. (2022) 12:10267. 10.1038/s41598-022-14218-6

  • 45.

    NasserMSalimNSaeedFBasurraSRabiuIHamzaHet al. Feature reduction for molecular similarity searching based on autoencoder deep learning. Biomolecules. (2022) 12:508. 10.3390/biom12040508

  • 46.

    LeeJAParkTYLeeJMoonTWChoiJKangBKet al. Developing indicators of pattern identification in patients with stroke using traditional Korean medicine. BMC Res Notes. (2012) 5:136. 10.1186/1756-0500-5-136

  • 47.

    JangELeeEJYunYParkYCJungIC. Suggestion of Standard Process in Developing Questionnaire of Pattern Identification. J Physiol Pathol Korean Med. (2016) 30:190200. 10.15188/kjopp.2016.06.30.3.190

  • 48.

    WangJGuoYLiGL. Current status of standardization of traditional Chinese medicine in China. Evid Based Complement Alternat Med. (2016) 2016:9123103. 10.1155/2016/9123103

  • 49.

    LiuYLiZXiongHGaoXWuJWuS. Understanding and enhancement of internal clustering validation measures. IEEE Trans Cybern. (2013) 43:98294. 10.1109/TSMCB.2012.2220543

  • 50.

    TadistKNajahSNikolovNSMrabtiFZahiA. Feature selection methods and genomic big data: a systematic review. J Big Data. (2019) 6:79. 10.1186/s40537-019-0241-0

  • 51.

    BakraniaMRRaeIJWalshAPVerscharenDSmithAW. Using dimensionality reduction and clustering techniques to classify space plasma regimes. Front Astron Space Sci. (2020) 7:80. 10.3389/fspas.2020.593516

  • 52.

    WeissKKhoshgoftaarTMWangD. A Survey of Transfer Learning. J Big Data. (2016) 3:9. 10.1186/s40537-016-0043-6

Summary

Keywords

deep autoencoder, deep learning, pattern identification, clustering, sleep

Citation

Lee H, Choi Y, Son B, Lim J, Lee S, Kang JW, Kim KH, Kim EJ, Yang C and Lee J-D (2022) Deep autoencoder-powered pattern identification of sleep disturbance using multi-site cross-sectional survey data. Front. Med. 9:950327. doi: 10.3389/fmed.2022.950327

Received

22 May 2022

Accepted

11 July 2022

Published

29 July 2022

Volume

9 - 2022

Edited by

Md. Mohaimenul Islam, Aesop Technology, Taiwan

Reviewed by

Diego Pedro Pinto-Roa, National University of Asunción, Paraguay; Michal Jasinski, Wrocław University of Science and Technology, Poland

Updates

Copyright

*Correspondence: Changsop Yang Jae-Dong Lee

†These authors have contributed equally to this work and share last authorship

This article was submitted to Family Medicine and Primary Care, a section of the journal Frontiers in Medicine

Disclaimer

All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.

Outline

Figures

Cite article

Copy to clipboard


Export citation file


Share article

Article metrics