| Literature DB >> 32630344 |
Seong-Hoon Kim1, Zong Woo Geem2, Gi-Tae Han1.
Abstract
In this study, we propose a method to find an optimal combination of hyperparameters to improve the accuracy of respiration pattern recognition in a 1D (Dimensional) convolutional neural network (CNN). The proposed method is designed to integrate with a 1D CNN using the harmony search algorithm. In an experiment, we used the depth of the convolutional layer of the 1D CNN, the number and size of kernels in each layer, and the number of neurons in the dense layer as hyperparameters for optimization. The experimental results demonstrate that the proposed method provided a recognition rate for five respiration patterns of approximately 96.7% on average, which is an approximately 2.8% improvement over an existing method. In addition, the number of iterations required to derive the optimal combination of hyperparameters was 2,000,000 in the previous study. In contrast, the proposed method required only 3652 iterations.Entities:
Keywords: 1D convolutional neural network; harmony search algorithm; hyperparameter optimization; respiration patterns; ultra-wideband radar
Mesh:
Year: 2020 PMID: 32630344 PMCID: PMC7374394 DOI: 10.3390/s20133697
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.576
Specifications of UWB sensor.
| Item | Specification |
|---|---|
| Detecting Range | 10~22 (m) |
| Frequency Range | 3.0~4.0 (GHz) |
| Bandwidth | 0.45~1.0 (GHz) |
| Distance Resolution | 1.5~3.3 (cm) |
| Antenna Angle | 50° (X-Z plane)~77.5° (Y-Z plane) |
Respiration type according to number of respirations per minute.
| Type of Respiration | Definition and Characteristics of Respiration |
|---|---|
| Eupnea | Respiration when average number of respirations per minute is 15–20 for an adult. |
| Bradypnea | Respiration when the number of respirations per minute is 12 or less. Compared to general respiration, the depth of inspiration and expiration is reduced, and the respiration cycle is increased. Often observed when sleeping and may be caused by diseases. |
| Tachypnea | Shallow respiration with 20 or more respirations per minute and may occur in the presence of diseases, e.g., fever and weakness or mental instability. This can be appeared during normal light exercise. |
| Apnea | When there is a decrease of more than 90% of typical respiratory airflow for more than 10 seconds during sleep. This results in very small amplitudes in the respiratory signal. |
Figure 1Four respiratory signal patterns measured by UWB sensor. (a) Eupnea. (b) Bradypnea. (c) Tachypnea. (d) Apnea.
Figure 2General structure of CNN for image classification.
Figure 3General structure of 1D CNN for signal pattern recognition.
Hyperparameters of general 1D CNN.
| Hyperparameter | Description |
|---|---|
| Kernel Size | Kernel size of convolutional layer |
| Kernel Count | Kernel count of convolutional layer |
| Stride | Number of moving pixels of kernel when performing convolution (base: 1) |
| Zero-padding | Hyperparameters used to acquire characteristics of the border area of the training data |
| Epoch | Number of learning iterations |
| Learning Rate | Amount of change in weight that is updated during learning |
| Layer Depth | Number of layers constituting entire network |
| Neuron Count | Neuron count in fully-connected layer |
| Batch Size | Group size to divide training data into several groups |
| Loss Function | Function to calculate error (SGD) |
| Activation Function | Neuron’s activation function (ReLU, sigmoid, etc.) |
Hyperparameters to be optimized for 1D CNN.
| Hyperparameter | Description | Expression of Hyperparameter in Layer |
|---|---|---|
|
| Kernel size of each convolution layer | KS = { |
|
| Kernel count of each convolution layer | KC = { |
|
| Neuron count of each dense layer | DLNC = { |
Figure 4Layout of 1D CNN model used in proposed method.
Figure 5Process for hyperparameter optimization between HM and 1D CNN.
Number of iterations required to reach 95% recognition rate for each hyperparameter combination to find appropriate hyperparameter value for HS algorithm.
| Methods | Hyperparameters for HS Algorithm | Iteration | Set Recognition | ||
|---|---|---|---|---|---|
| HMCR | PAR | MPAP | |||
| Existing method 1 [ | 0.95 | 0.8 | 0.2 | 5912 | 95% |
| Existing method 2 [ | 0.70 | 0.50 | 0.1 | 4357 | |
| Proposed method | 0.5–0.7 | 0.6–0.8 | 10–18 | 2011 | |
Figure 61D CNN hyperparameter optimization process using HS algorithm.
Samples of five respiration patterns collected from participants.
| Pattern | Samples of Signal |
|---|---|
| Eupnea |
|
| Bradypnea |
|
| Tachypnea |
|
| Apnea |
|
| Moving |
|
Hyperparameters used in proposed method and range of each parameter value.
| Parameter | Description | Value or Range |
|---|---|---|
|
| Harmony Memory Size | 1000 |
|
| Harmony Memory Considering Ratio | 0.5~0.7 |
|
| Pitch Adjusting Ratio | 0.6~0.8 |
|
| Maximum Pitch Adjustment Proportion | 10~18 |
|
| Number of repetitions for HM update | 10,000 |
|
| Threshold for comparing the number ofnon-updates of | 200 |
|
| Convolution Layer Depth | 3 |
|
| Kernel Size for Convolution | 3~81 |
|
| Kernel Count for Convolution | 16~1024 |
|
| First Dense Layer (FC Layer) Neuron Count | 256~4096 |
|
| Second Dense Layer (FC Layer) Neuron Count | 256~4096 |
Figure 7Trend of recognition rate in 1D CNN hyperparameter optimization process using proposed method.
Hyperparameter combination and recognition rate when was updated.
| Iteration | Hyperparameters in HM | ||||||||
|---|---|---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
| ||
| 1 | 5 | 171 | 63 | 314 | 27 | 573 | 3426 | 1796 | 83.4 |
| 5 | 19 | 481 | 5 | 56 | 21 | 214 | 862 | 2182 | 83.9 |
| 21 | 47 | 98 | 27 | 228 | 55 | 638 | 1544 | 3,205 | 84.5 |
| 55 | 37 | 116 | 73 | 187 | 9 | 203 | 929 | 648 | 84.6 |
| ⋮ | |||||||||
| 3652 | 23 | 56 | 17 | 48 | 11 | 102 | 1762 | 984 | 96.7 |
Number of iterations required for hyperparameter optimization and recognition rate using optimized hyperparameters.
| Method | Number ofIteration | Hyperparameters for HS Algorithm | Recognition Rate (%) | |||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
| |||
| Previous | 2,000,000 |
|
|
| 93.9 | |||||
| Proposed | 3652 | 23 | 17 | 11 | 56 | 48 | 102 | 1762 | 984 | 96.7 |
Figure 8Comparison of recognition rate by respiration pattern for existing and proposed methods. (a) Recognition rate of existing method [28]; (b) Recognition rate of proposed method.