At the forefront of Artificial Intelligence
  Home Articles Reviews Interviews JDK Glossary Features Discussion Search
Home » Articles » Neural Networks » Applications/Code

Simulated Annealing Demonstrator (SAD)

Download here (30K).

Simulated Annealing is a method of avoiding local minima. Annealing is a process that involves heating metal to incredibly high temperatures and slowly cooling it down so that the atoms form strong bonds between them. How does this help Artificial Intelligence? When applied to neural networks, it can help bump them out of local minima in their energy surfaces.

This example does not use neural networks, but simply tries to minimize the following function:


Notice how the bottom of the function includes two little bumps. Using mathematical functions, you can determine the minimum to be around (0.3151074078, -8.382084455). When you run the program, if you run it multiple times you will see the algorithm jump back and forth between the two humps. More temperatures and a greater number of iterations would probably reduce the possibility of choosing the wrong minima.

See the Generation5 essay for more details.

Submitted: 18/09/2000

Article content copyright © James Matthews, 2000.
 Article Toolbar
Print
BibTeX entry

Search

Latest News
- Generation5 10-year Anniversary (03/09/2008)
- New Generation5 Design! (09/04/2007)
- Happy New Year 2007 (02/01/2007)
- Where has Generation5 Gone?! (04/11/2005)
- NeuroEvolving Robotic Operatives (NERO) (25/06/2005)

What's New?
- Back-propagation using the Generation5 JDK (07/04/2008)
- Hough Transforms (02/01/2008)
- Kohonen-based Image Analysis using the Generation5 JDK (11/12/2007)
- Modelling Bacterium using the JDK (19/03/2007)
- Modelling Bacterium using the JDK (19/03/2007)


All content copyright © 1998-2007, Generation5 unless otherwise noted.
- Privacy Policy - Legal - Terms of Use -