| Literature DB >> 35723341 |
Miao Wang1, Xu Yang1, Yunchong Qian1, Yunlin Lei1, Jian Cai1, Ziyi Huan1, Xialv Lin1, Hao Dong2.
Abstract
Large-scale artificial neural networks have many redundant structures, making the network fall into the issue of local optimization and extended training time. Moreover, existing neural network topology optimization algorithms have the disadvantage of many calculations and complex network structure modeling. We propose a Dynamic Node-based neural network Structure optimization algorithm (DNS) to handle these issues. DNS consists of two steps: the generation step and the pruning step. In the generation step, the network generates hidden layers layer by layer until accuracy reaches the threshold. Then, the network uses a pruning algorithm based on Hebb's rule or Pearson's correlation for adaptation in the pruning step. In addition, we combine genetic algorithm to optimize DNS (GA-DNS). Experimental results show that compared with traditional neural network topology optimization algorithms, GA-DNS can generate neural networks with higher construction efficiency, lower structure complexity, and higher classification accuracy.Entities:
Keywords: Adaptive Neural Network Structure; Hebb’s rule; Pearson correlation coefficient; genetic algorithm
Year: 2022 PMID: 35723341 PMCID: PMC8929060 DOI: 10.3390/cimb44020056
Source DB: PubMed Journal: Curr Issues Mol Biol ISSN: 1467-3037 Impact factor: 2.976
Figure 1DNS algorithm.
Figure 2Neuron output curve.
Figure 3GA-DNS algorithm flowchart.
Figure 4Schematic diagram of encoding method.
Attribute information of Nursery.
| Attribute | Detail |
|---|---|
| Parents | usual |
| pretentious | |
| great_pret | |
| Has_nurs | proper |
| less_proper | |
| improper | |
| critical | |
| very_crit | |
| Form | complete |
| completed | |
| incomplete | |
| foster | |
| Housing | convenient |
| less_conv | |
| critical | |
| Children | 1 |
| 2 | |
| 3 | |
| more | |
| Finance | convenient |
| inconv | |
| Social | non-prob |
| slightly_prob | |
| problematic | |
| Health | recommended |
| priority | |
| not_recom |
Parameters of GA-DNS.
| Parameter | Parameter Description | Value of Parameter |
|---|---|---|
| D | Maximum number of hidden layers added | 2 |
| V | Maximum number of hidden neurons added | 10 |
|
| Number of input neurons | 27 |
|
| Number of output neurons | 5 |
| U | Number of epochs between pruning | 5 |
|
| pruning threshold | 0.65 |
| population | Total number of individuals in the population | 100 |
| numIter | Population iterations | 50 |
| crossPro | Crossover probability of crossover operator | 0.75 |
| mulPro | Mutation probability of mutation operator | 0.1 |
Comparison of GA-DNS and DNS, NEAT, fully connected network, DARTS on Nursery.
| Algorithm | Perfermance | MSC | Total Run Time |
|---|---|---|---|
| GA-DNS | 89.62% | 0.5667 | 0.92 |
| DNS | 79.41% | 0.6841 | 0.89 |
| NEAT | 95.20% | – | 1.10 |
| DARTS | 95.37% | – | 1.14 |
| FC | 96.11% | 0 | 1.00 |
Experiment results of Adult Data Set and FTCD.
| Dataset | Algorithm | Accuracy | MSC | Total Run Time |
|---|---|---|---|---|
| Adult | GA-DNS | 91.81% | 0.6075 | 0.91 |
| DNS | 78.72% | 0.6211 | 0.86 | |
| NEAT | 95.21% | - | 1.04 | |
| Hyper-NEAT | 95.47% | - | 1.07 | |
| DARTS | 96.81% | - | 1.00 | |
| FC | 96.84% | 0 | 1.00 | |
| FTCD | GA-DNS | 92.23% | 0.6450 | 0.88 |
| DNS | 78.28% | 0.6725 | 0.84 | |
| NEAT | 95.15% | - | 1.10 | |
| DARTS | 96.02% | - | 1.24 | |
| FC | 96.64% | 0 | 1.00 |
Experimental result on nursery.
| Purning Srategy Based on Hebb’s Rule | Purning Srategy Based on Pearson Coefficient | |||
|---|---|---|---|---|
| Frequent | Exponential Weighted | Frequent | Exponential Weighted | |
| Performance | 69.4% | 75.2% | 78.7% | 83.5% |
| Recall rate | 70%, 68%, 60%, | 79%, 73%, 75%, | 74%, 80%, 78%, | 80%, 81%, 77%, |
| 62%, 71% | 71%, 66% | 72%, 62% | 75%, 65% | |
| MSC | 0.56 | 0.72 | 0.57 | 0.68 |
DNS algorithm parameter table of exponential weighted pruning strategy based on Person coefficient.
| Parameter | Parameter Description |
|---|---|
| D | Number of hidden layers |
| V | Number of neurons added |
| M | Mini-batch subset sample number |
|
| Number of input neurons |
|
| Number of output neurons |
| U | Number of epochs between pruning |
|
| pruning threshold |
Figure 5Line graph of the model accuracy rate and the model structure coefficient (MSC) under different p. The x-axis represents the pruning threshold and the y-axis represents the changes of MSC and accuracy.