Neuro-Genetic Systems
Source: Unit 5 §8
A neuro-genetic system is an ANN and a GA hybridised. There are two kinds: a GA used for weight determination in a multilayer feed-forward network, and a GA that evolves network topologies.
BackpropagationFollows gradient descent, so it is vulnerable to local minima and slow, needing many iterations.
GA-based learningReplaces backprop entirely. The search is guided by the GA, which samples many networks at once and uses no gradient.
The network error is the basis of fitness:
where is the target output and the actual output at unit .
Encoding the weights
For a single-hidden-layer network with inputs, hidden and output nodes, the number of interconnection weights is . Each weight is one gene, so the chromosome has genes.
Each weight is five digits .
- is the sign - positive if is even, negative if odd.
- is the magnitude, obtained by dividing by 100.
- A whole chromosome is therefore a linear array of digits.
The 2-3-1 worked example
- The weights are
w₁₁ w₁₂ w₁₃ w₂₁ w₂₂ w₂₃from input to hidden, andv₁₁ v₂₁ v₃₁from hidden to output. - Chromosome length is digits.
- Decode the gene
14345: is odd, so the sign is negative. - The magnitude is , so the weight is .
Fitness
A GA maximises, but we want to minimise the error , so use the reciprocal:
- Map the chromosome onto its network, decoding every gene into a weight.
- Run the test inputs through that network.
- Compute for each training pair.
- Average over all pairs; the reciprocal of that average is the fitness.
No backpropagation is involved anywhere. The GA alone drives the search towards the minimum-error network, which is the whole point of the hybrid.