| Literature DB >> 35663499 |
Kara Layne Johnson1, Nicole Bohme Carnegie1.
Abstract
Genetic algorithms mimic the process of natural selection in order to solve optimization problems with minimal assumptions and perform well when the objective function has local optima on the search space. These algorithms treat potential solutions to the optimization problem as chromosomes, consisting of genes which undergo biologically-inspired operators to identify a better solution. Hyperparameters or control parameters determine the way these operators are implemented. We created a genetic algorithm in order to fit a DeGroot opinion diffusion model using limited data, making use of selection, blending, crossover, mutation, and survival operators. We adapted the algorithm from a genetic algorithm for design of mixture experiments, but the new algorithm required substantial changes due to model assumptions and the large parameter space relative to the design space. In addition to introducing new hyperparameters, these changes mean the hyperparameter values suggested for the original algorithm cannot be expected to result in optimal performance. To make the algorithm for modeling opinion diffusion more accessible to researchers, we conduct a simulation study investigating hyperparameter values. We find the algorithm is robust to the values selected for most hyperparameters and provide suggestions for initial, if not default, values and recommendations for adjustments based on algorithm output.Entities:
Keywords: control parameters; genetic algorithm; hyperparameters; opinion diffusion; parameter estimation; social networks
Year: 2022 PMID: 35663499 PMCID: PMC9162034 DOI: 10.3390/a15020045
Source DB: PubMed Journal: Algorithms ISSN: 1999-4893
Figure 1.Transformation procedure for a 5-point ordinal scale.
Figure 2.Procedure for algorithm calibration.
Name and description of all hyperparameters used in the algorithm.
| Hyperparameter | Description |
|---|---|
|
| Number of chromosomes |
|
| Initial probability of blending ( |
|
| Multiplicative factor for modifying |
|
| Maximum value of |
|
| Number of iterations with no improvement before modifying |
|
| Initial probability of crossover ( |
|
| Multiplicative factor for modifying |
|
| Minimum value of |
|
| Number of iterations with no improvement before modifying |
|
| Initial probability of blending ( |
|
| Multiplicative factor for modifying |
|
| Minimum value of |
|
| Number of iterations with no improvement before modifying |
|
| Initial value of standard deviation |
|
| Multiplicative factor for modifying |
|
| Minimum value of |
|
| Number of iterations with no improvement before modifying |
|
| Maximum number of iterations to run algorithm |
|
| Minimum decrease in value of objective function considered an improvement |
|
| Acceptable value of objective function for stopping algorithm |
|
| Type of chromosome to be reintroduced |
|
| Number of iterations with no improvement before reintroducing chromosome |
Grouping levels and hyperparameter values for ProbSigma.
| Level |
|
|
|
|
|---|---|---|---|---|
| Low | 0.01 | 0.05 | 0.05 | 0.2 |
| Medium | 0.1 | 0.1 | 0.1 | 0.5 |
| High | 0.2 | 0.2 | 0.2 | 1 |
Grouping levels and hyperparameter values for MinMax.
| Level |
|
|
|
|
|---|---|---|---|---|
| Minimal | 1 | 0 | 0 | 0 |
| Moderate | 0.5 | 0.01 | 0.01 | 0.01 |
| Extreme | 0.2 | 0.05 | 0.05 | 0.05 |
Grouping levels and hyperparameter values for MultFactor.
| Level |
|
|
|
|
|---|---|---|---|---|
| Slow | 2 | 0.5 | 0.5 | 0.5 |
| Moderate | 5 | 0.2 | 0.2 | 0.2 |
| Rapid | 10 | 0.1 | 0.1 | 0.1 |
Inputs used in the hyperparameters simulation study.
| Input | Values | Notes |
|---|---|---|
| Network Size | reachability enforced | |
| Mean Degree | minimum degree | |
| Self-weight | beta distribution with | |
| Time Steps | ||
| Scale Bins | ||
| Chromosomes | 5, 21, 51, 99 | |
| ProbSigma | low, medium, high | (see |
| MinMax | minimal, moderate, extreme | (see |
| MultFactor | slow, moderate, rapid | (see |
Figure 3.Boxplots and violin plots for root-mean-square-error for recovery by number of generations without improvement for runs that identified a solution with 1000 generations.
Figure 4.Boxplots and violin plots for root-mean-square-error for recovery by number of generations without improvement with ProbSigma hyperparameter levels (horizontal) and number of time steps (vertical) across facets.
Figure 5.Boxplots and violin plots for log (base 10) number of generations to solution by number of generations without improvement. The absence of a box for 200 generations without improvement indicates that the median, first quartile, and third quartile are the same.
Figure 6.Boxplots and violin plots for log (base 10) number of generations to solution by number of chromosomes for 200 generations without improvement. The absence of a box for 21 or more chromosomes indicates that the median, first quartile, and third quartile are the same.
Figure 7.Boxplots and violin plots for log time to identify a solution (in seconds) by number of chromosomes for 200 generations without improvement.