Here be a nice site showing the speed by which natural selection type genetic algorithms can operate. It uses examples Dawson's Biomorphs as a population (which in turn show the variety that can be gained with surprisingly few genes). Dawson is the guy who wrote The Blind Watchmaker.
Site: www.rennard.org
Dawkins' Biomorphs. Linka
Genetic algorithm: Linka
On the probability/speed of evolution
Moderator: Alyrium Denryle
- Lord Zentei
- Space Elf Psyker
- Posts: 8742
- Joined: 2004-11-22 02:49am
- Location: Ulthwé Craftworld, plotting the downfall of the Imperium.
On the probability/speed of evolution
CotK <mew> | HAB | JL | MM | TTC | Cybertron
TAX THE CHURCHES! - Lord Zentei TTC Supreme Grand Prophet
And the LORD said, Let there be Bosons! Yea and let there be Bosoms too!
I'd rather be the great great grandson of a demon ninja than some jackass who grew potatos. -- Covenant
Dead cows don't fart. -- CJvR
...and I like strudel! -- Asuka
TAX THE CHURCHES! - Lord Zentei TTC Supreme Grand Prophet
And the LORD said, Let there be Bosons! Yea and let there be Bosoms too!
I'd rather be the great great grandson of a demon ninja than some jackass who grew potatos. -- Covenant
Dead cows don't fart. -- CJvR
...and I like strudel! -- Asuka
- Keevan_Colton
- Emperor's Hand
- Posts: 10355
- Joined: 2002-12-30 08:57pm
- Location: In the Land of Logic and Reason, two doors down from Lilliput and across the road from Atlantis...
- Contact:
Wasnt it Dawkins that wrote The Blind Watchmaker?
"Prodesse Non Nocere."
"It's all about popularity really, if your invisible friend that tells you to invade places is called Napoleon, you're a loony, if he's called Jesus then you're the president."
"I'd drive more people insane, but I'd have to double back and pick them up first..."
"All it takes for bullshit to thrive is for rational men to do nothing." - Kevin Farrell, B.A. Journalism.
BOTM - EBC - Horseman - G&C - Vampire
"It's all about popularity really, if your invisible friend that tells you to invade places is called Napoleon, you're a loony, if he's called Jesus then you're the president."
"I'd drive more people insane, but I'd have to double back and pick them up first..."
"All it takes for bullshit to thrive is for rational men to do nothing." - Kevin Farrell, B.A. Journalism.
BOTM - EBC - Horseman - G&C - Vampire
- Batman
- Emperor's Hand
- Posts: 16398
- Joined: 2002-07-09 04:51am
- Location: Seriously thinking about moving to Marvel because so much of the DCEU stinks
Ahem.Keevan_Colton wrote:Wasnt it Dawkins that wrote The Blind Watchmaker?
Lord Zentei wrote: Here be a nice site showing the speed by which natural selection type genetic algorithms can operate. It uses examples Dawson's Biomorphs as a population (which in turn show the variety that can be gained with surprisingly few genes). Dawson is the guy who wrote The Blind Watchmaker.
'Next time I let Superman take charge, just hit me. Real hard.'
'You're a princess from a society of immortal warriors. I'm a rich kid with issues. Lots of issues.'
'No. No dating for the Batman. It might cut into your brooding time.'
'Tactically we have multiple objectives. So we need to split into teams.'-'Dibs on the Amazon!'
'Hey, we both have a Martian's phone number on our speed dial. I think I deserve the benefit of the doubt.'
'You know, for a guy with like 50 different kinds of vision, you sure are blind.'
'You're a princess from a society of immortal warriors. I'm a rich kid with issues. Lots of issues.'
'No. No dating for the Batman. It might cut into your brooding time.'
'Tactically we have multiple objectives. So we need to split into teams.'-'Dibs on the Amazon!'
'Hey, we both have a Martian's phone number on our speed dial. I think I deserve the benefit of the doubt.'
'You know, for a guy with like 50 different kinds of vision, you sure are blind.'
- Lord Zentei
- Space Elf Psyker
- Posts: 8742
- Joined: 2004-11-22 02:49am
- Location: Ulthwé Craftworld, plotting the downfall of the Imperium.
Keevan_Colton is correct, Batman. It's Richard Dawkins.
Here:
In any case, on topic:
The intention with this post was to provide ammunition against anti-evolutionists when they claim that evolution could not progress fast enough. However, the search time is not proportional to the size of the search space.
Here:
And yet, above that, I misspelled his name. Twice. How the fuck is that even possible?Lord Zentei wrote:Dawkins' Biomorphs.
In any case, on topic:
The intention with this post was to provide ammunition against anti-evolutionists when they claim that evolution could not progress fast enough. However, the search time is not proportional to the size of the search space.
CotK <mew> | HAB | JL | MM | TTC | Cybertron
TAX THE CHURCHES! - Lord Zentei TTC Supreme Grand Prophet
And the LORD said, Let there be Bosons! Yea and let there be Bosoms too!
I'd rather be the great great grandson of a demon ninja than some jackass who grew potatos. -- Covenant
Dead cows don't fart. -- CJvR
...and I like strudel! -- Asuka
TAX THE CHURCHES! - Lord Zentei TTC Supreme Grand Prophet
And the LORD said, Let there be Bosons! Yea and let there be Bosoms too!
I'd rather be the great great grandson of a demon ninja than some jackass who grew potatos. -- Covenant
Dead cows don't fart. -- CJvR
...and I like strudel! -- Asuka
- Batman
- Emperor's Hand
- Posts: 16398
- Joined: 2002-07-09 04:51am
- Location: Seriously thinking about moving to Marvel because so much of the DCEU stinks
Oops.
My bad. Sorry, Keevan.
My bad. Sorry, Keevan.
'Next time I let Superman take charge, just hit me. Real hard.'
'You're a princess from a society of immortal warriors. I'm a rich kid with issues. Lots of issues.'
'No. No dating for the Batman. It might cut into your brooding time.'
'Tactically we have multiple objectives. So we need to split into teams.'-'Dibs on the Amazon!'
'Hey, we both have a Martian's phone number on our speed dial. I think I deserve the benefit of the doubt.'
'You know, for a guy with like 50 different kinds of vision, you sure are blind.'
'You're a princess from a society of immortal warriors. I'm a rich kid with issues. Lots of issues.'
'No. No dating for the Batman. It might cut into your brooding time.'
'Tactically we have multiple objectives. So we need to split into teams.'-'Dibs on the Amazon!'
'Hey, we both have a Martian's phone number on our speed dial. I think I deserve the benefit of the doubt.'
'You know, for a guy with like 50 different kinds of vision, you sure are blind.'
- Lord Zentei
- Space Elf Psyker
- Posts: 8742
- Joined: 2004-11-22 02:49am
- Location: Ulthwé Craftworld, plotting the downfall of the Imperium.
Anyway: as I understand it, the reason for the efficiency of genetic algorithms is that each time the correct allele for a given gene is found, the search space is reduced by a factor of N, where N is the number of possible alleles for that gene. The search time grows logarithmically with the search space.
Any biologists and/or computer programmers with knowledge of genetic search algorithms want to comment/correct on this?
Any biologists and/or computer programmers with knowledge of genetic search algorithms want to comment/correct on this?
CotK <mew> | HAB | JL | MM | TTC | Cybertron
TAX THE CHURCHES! - Lord Zentei TTC Supreme Grand Prophet
And the LORD said, Let there be Bosons! Yea and let there be Bosoms too!
I'd rather be the great great grandson of a demon ninja than some jackass who grew potatos. -- Covenant
Dead cows don't fart. -- CJvR
...and I like strudel! -- Asuka
TAX THE CHURCHES! - Lord Zentei TTC Supreme Grand Prophet
And the LORD said, Let there be Bosons! Yea and let there be Bosoms too!
I'd rather be the great great grandson of a demon ninja than some jackass who grew potatos. -- Covenant
Dead cows don't fart. -- CJvR
...and I like strudel! -- Asuka
- Ariphaos
- Jedi Council Member
- Posts: 1739
- Joined: 2005-10-21 02:48am
- Location: Twin Cities, MN, USA
- Contact:
In order for genetic algorithms to work, you must be able to test your solution, ascertain that one solution is better than others, and be able to represent and evaluate these solutions numerically. This testing is sometimes done by a human (those fancy little creature-evolving games running around, for example), but the point is still valid.
A common introduction to genetic algorithms is using them to find the square root of a number. You pick a number to find the square root of, and generate a population of random floating point numbers to fit.
Depending on how you set up how the mommy and daddy work, how the population works, and how mutations go, you can have vastly different results. The areas you want to resolve the fastest also tend to be those most vulnerable to change - the exponent, for example. So, when scaling your tests, you do want to keep some of the 'bad' population, in case they may have good data, but not the really bad. So, out of a population of 100, you might set it to:
50 new breeds
50 best of old breeds retained from test of previous generation. Read: Incest can help.
The new breeds are made by combining 'mother' and 'father' pairs, which can be quite arbitrary, and then applying a rate of mutation - changing a single bit at random.
It's been a long time since we did this, but IIRC the teacher's example was able to resolve down to the limit of floating point numbers (7 significant digits) in eight generations using a population of 100 or so. Quite impressive, at least in my opinion.
Like neural networks, it's not easy to describe it as a normal computing algorithm. It is a heuristic method, meaning that you give up the ability for a provably good run time and/or the optimal solution. As such, it gets used for those problems where the provably good run times are insane.
In the case of GA's this mostly lies in the realm of knapsack-style problems - scheduling and such. It is also ideal for problems that have potentially complex solutions, ie, if 2 is a better solution than 1 or 3, some algorithms might get stuck on the 2, while a genetic algorithm might check and see that say, 7 is even better.
A common introduction to genetic algorithms is using them to find the square root of a number. You pick a number to find the square root of, and generate a population of random floating point numbers to fit.
Depending on how you set up how the mommy and daddy work, how the population works, and how mutations go, you can have vastly different results. The areas you want to resolve the fastest also tend to be those most vulnerable to change - the exponent, for example. So, when scaling your tests, you do want to keep some of the 'bad' population, in case they may have good data, but not the really bad. So, out of a population of 100, you might set it to:
50 new breeds
50 best of old breeds retained from test of previous generation. Read: Incest can help.
The new breeds are made by combining 'mother' and 'father' pairs, which can be quite arbitrary, and then applying a rate of mutation - changing a single bit at random.
It's been a long time since we did this, but IIRC the teacher's example was able to resolve down to the limit of floating point numbers (7 significant digits) in eight generations using a population of 100 or so. Quite impressive, at least in my opinion.
Like neural networks, it's not easy to describe it as a normal computing algorithm. It is a heuristic method, meaning that you give up the ability for a provably good run time and/or the optimal solution. As such, it gets used for those problems where the provably good run times are insane.
In the case of GA's this mostly lies in the realm of knapsack-style problems - scheduling and such. It is also ideal for problems that have potentially complex solutions, ie, if 2 is a better solution than 1 or 3, some algorithms might get stuck on the 2, while a genetic algorithm might check and see that say, 7 is even better.
-
- Jedi Master
- Posts: 1313
- Joined: 2003-08-06 05:44am
- Location: Whangaparoa, one babe, same sun and surf.
What I like best about automata is the demonstration of how mindboggling huge the phase space for them is. In the case of Dawkin's biomorphs IIRC his selection criteria were those 'he liked the look of'. Even so, the number of selected forms remained huge. Likewise organic chemistry and natural selection place huge restrictions on the phase space of 'possiable organisms' but the almost infitesimal remnants are still almost unimaginably huge.
Don't abandon democracy folks, or an alien star-god may replace your ruler. - NecronLord