Backpropagation
Measure the error. Adjust the weights. Try again.
Complex ideas. Clearly explained.
Two ways to train a neural network. A study built to compare them.
Read the paperCo-author & C# experiment builder · Published research
Measure the error. Adjust the weights. Try again.
Compare a population. Keep stronger candidates. Vary and repeat.
Backpropagation propagates output error backward through the network to update its weights. The XOR experiment used a learning rate of 0.2 and momentum of 0.0125.
The genetic method compares candidate networks, selects stronger candidates, and introduces variation. The XOR experiment used a population of 500 and mutation rate of 0.05.
These are the study’s settings, not optimized defaults for every problem. Results depend on the task, implementation, and chosen parameters. Inspect the experiments
Original animated presentation · Loads from GitHub only when played. Close to stop playback.
Open the original file| Method | Minimum (ms) | Maximum (ms) |
|---|---|---|
| Backpropagation | 163.9362 | 647.6394 |
| Genetics | 169.9704 | 1863.1769 |
XOR · 30 trials per method · Time to 95% accuracy · Observed minimum and maximum.
Genetics had the lower median here. Backpropagation had a narrower observed range.
Inspect methods and exact resultsI had to make the research understandable to a non-technical board without losing what mattered.
I worked to make the experiments run on my MSI GS65 laptop.