Ai Dreams Forum

Member's Experiments & Projects => General Project Discussion => Topic started by: danlovy on January 02, 2018, 06:16:35 pm

Title: Using Genetic Algorithms To Create Neural Simulations
Post by: danlovy on January 02, 2018, 06:16:35 pm
Greetings,

I've just completed phase one of a project to create neural simulators using genetic algorithms.  Video is here:
https://www.youtube.com/watch?v=BaAqFHr0nts

Source and discussion is here (still filling this in, but source code is available):
danlovy.com/critter

Would love feedback etc.  Trying now to figure out where to take this.
I have a number of ideas but wanted to get input from the larger AI community.

Best,
Dan
Title: Re: Using Genetic Algorithms To Create Neural Simulations
Post by: keghn on January 02, 2018, 10:15:41 pm
 Very interesting. I could take this to human level. But that is a lot of work and may years. I in for the ride.
Title: Re: Using Genetic Algorithms To Create Neural Simulations
Post by: danlovy on January 02, 2018, 10:34:31 pm
The real challenge is bringing industrial scale.  That's about process.  Is it possible to create a platform that can leverage multiple contributors effectively?  There are plenty of examples of genetic algorithms being used to simulate neural behaviors.  The problem is that they all stop at the application.

I would propose a general solution that builds off previous generations (what I was demonstrating) and allows organic growth through group contributions.

Sound right?
Dan
Title: Re: Using Genetic Algorithms To Create Neural Simulations
Post by: keghn on January 03, 2018, 12:57:20 am
 I have given thought to similar project of mine.
 In the neural network world they dived artificial neural networks into to main type the
detector, like a detector of food, taste or pixel detector.
 The other part is the generator Neural network that generate something from the activation of a detector. Such
as motor movement to the food or away if the light is to bright. What is interesting to me if this develop in real organic system or
if it can be done in organic systems?
 I sure in early life the two would be closely entwined?




Title: Re: Using Genetic Algorithms To Create Neural Simulations
Post by: danlovy on January 03, 2018, 01:15:36 am
I agree.  What I want to create is a general platform that can take contributions from others.  I am trying to figure out how to organize this.

Dan
Title: Re: Using Genetic Algorithms To Create Neural Simulations
Post by: keghn on January 03, 2018, 01:56:39 am
 I like if there was a web page of example that copy right off the page. Then pasted into a text file then compiled them.
 Like here for example:   
http://www.seriss.com/people/erco/fltk/

 A two directional approach could be used?
 First is to state from scratch. The second would  be a complex model with soft switches
already set. So that when it is ran person would just need to make minor changes to get what the want.

 For example. I wanted to do the dynamics of a air foil in computer fluid dynamic simulator. But i have to build up from
scratch to get something working at sell level. Many and many soft switch have to pushed to get it work at sea level. A
permutation wall to stop new people right in there tracks.
 I would like just have a complex model already running at sea level, at a set speed, and set air foil, with easy to use dial on the
side to make minor adjustments to speed and air pressure.




Title: Re: Using Genetic Algorithms To Create Neural Simulations
Post by: ranch vermin on January 03, 2018, 04:26:56 am
I think if you did it properly, you could reconstruct that little critter,  its a conspiracy that it hasnt been done before.   But im not into bio-tech, I keep everything mathematical and away from nature.   Because in my mind its morally wrong to do,  other scientists that come from a different viewpoint would be different.
Title: Re: Using Genetic Algorithms To Create Neural Simulations
Post by: danlovy on January 03, 2018, 12:01:43 pm
Ranch Vermin - what are your moral objections?  Given those objections, what is your interest in AI?  Seems like a contradictions :)
Title: Re: Using Genetic Algorithms To Create Neural Simulations
Post by: ranch vermin on January 03, 2018, 02:56:35 pm
Theres a clean way to do ai,  and its the opposite of being like that Jeff Hawkins guy.  im not strapping monkeys to chairs to do something which i think is simple enough to not bother with that kind of thing ever.

Fast random access networks and quantum mathematics generally have very little to do with biology unless u want to draw a course similarity.


I know that a fly can piss you off enough to make you think of reverse engineering his brain, but i could never follow through with it.

other scientists,  go through a set of pork chops and wonder why i worry so much.      but im not like that, and i never will be.  but i guess in the carnivorous environment we are in the whole things a contradiction.

just imagine being the animal your doing it to, as you do it.
Title: Re: Using Genetic Algorithms To Create Neural Simulations
Post by: keghn on January 03, 2018, 04:54:02 pm
  In my neuron model i use neurons in a daisy chains. A daisy chain of 7 neurons in a loop would be like a delay line.
 In my neuron model uses spiced pulse move through neurons at a rather slow speed. Artificial Neurons are near the speed of
light and would need a million of artificial neurons in a loop to hold one pulse. Bust spiked neuron being slow many pules
con be placed within a loop of neurons. To work as a memory cell:

https://en.wikipedia.org/wiki/Delay_line_memory

https://www.youtube.com/watch?time_continue=1&v=N9cUbYII5RY 

 A binary counter can be be made with the fist having a loop of two neurons and the the next loop would be made of four neurons and
the next would be eight neurons, and so.....

 So with daisy chain of neurons could play video. A pulse travel forward through a daisy chain neuron or binary counter. And a second
line of comes off the side of each neuron and goes into Deep generative that play video on the output:

http://blog.otoro.net/2016/04/01/generating-large-images-from-latent-vectors/ 

 So My nero brain model is a detector. Then a daisy chain of nerves to guide timing steps.Then a generator NN to apple the right action.

 The basic design of my neuro brain is to have a detector NN. When it detect food or a letter it output to a location on a very long brain
 daisy chain. That caused a spiked pules to come into existence. The pules coming off the daisy chain goes into Generator NN to
lay video sequence or muscle sequence open a clam shell. 



Title: Re: Using Genetic Algorithms To Create Neural Simulations
Post by: danlovy on January 14, 2018, 11:37:28 pm
Well, Episode 2 is released.  Now the creatures can move so the animation is much more interesting.
https://www.youtube.com/watch?v=0D6B1sU_Fiw
Title: Re: Using Genetic Algorithms To Create Neural Simulations
Post by: keghn on January 15, 2018, 03:00:49 pm
 
  What is next 3 d FPV space?



Title: Re: Using Genetic Algorithms To Create Neural Simulations
Post by: Art on January 16, 2018, 04:44:04 pm
Hello Danlovy,

Welcome!
I didn't actually see that you had joined our Forum and certainly did not want to ignore your presence.

Hopefully, everyone will benefit from the informational exchange, no matter great or small. Please enjoy your time here! O0

- Art -

Title: Re: Using Genetic Algorithms To Create Neural Simulations
Post by: Zero on January 17, 2018, 12:04:21 pm
I agree.  What I want to create is a general platform that can take contributions from others.  I am trying to figure out how to organize this.

Dan

Welcome danlovy! You could make it run in browsers web workers. This way, contributors would just have to visit your website to contribute.

I remember a nice language called Push3 (http://faculty.hampshire.edu/lspector/push3-description.html), intended primarily for use in evolutionary computation systems.
Title: Re: Using Genetic Algorithms To Create Neural Simulations
Post by: danlovy on January 17, 2018, 02:24:10 pm
I agree.  What I want to create is a general platform that can take contributions from others.  I am trying to figure out how to organize this.

Dan

Welcome danlovy! You could make it run in browsers web workers. This way, contributors would just have to visit your website to contribute.

I remember a nice language called Push3 (http://faculty.hampshire.edu/lspector/push3-description.html), intended primarily for use in evolutionary computation systems.

Thanks.  I chose C++ because I'm old.  I haven't done any coding in many many years.    It's the language I'm the most familiar with.  I was torn between that and JavaScript.  I could see the advantage of simply running in a browser but I wasn't quite ready to commit to the learning curve.  This is an experiment and the next version will have a language decision process.  If anyone would like to take on a JavaScript refactoring...
Title: Re: Using Genetic Algorithms To Create Neural Simulations
Post by: keghn on January 17, 2018, 03:34:32 pm


Most of the neural network programs and libraries are Python.   





Title: Re: Using Genetic Algorithms To Create Neural Simulations
Post by: keghn on January 17, 2018, 04:57:55 pm
WebAssembly: 
https://en.wikipedia.org/wiki/WebAssembly   

Firefox 58 Bringing Faster WebAssembly Compilation With Two-Tiered Compiler: 
https://www.phoronix.com/scan.php?page=news_item&px=Firefox-58-2-Tiered-Compiler   


Title: Re: Using Genetic Algorithms To Create Neural Simulations
Post by: Zero on January 17, 2018, 07:58:12 pm
I understand danlovy, sticking to what you know lets you focus on the content of your project, and that's a good thing.

On the other hand, if you haven't done any coding for many years, you're probably far away from what C++ has become. It has evolved, and modern C++ has its own learning curve.

Anyway, C++ can be ported to JS easily thanks to tools like emscripten, so if one day you change your mind, you know you can have the best of both worlds!
Title: Re: Using Genetic Algorithms To Create Neural Simulations
Post by: danlovy on January 24, 2018, 01:30:27 pm
Thanks.  My goal was actually not to code but to test some ideas.  Here is a LinkedIn article I wrote describing this effort.

https://www.linkedin.com/pulse/industrial-strength-evolution-genetics-ai-dan-lovy/

I'm recruiting a team to take this to the next level.

Dan Lovy
Title: Re: Using Genetic Algorithms To Create Neural Simulations
Post by: ivan.moony on January 24, 2018, 02:04:14 pm
Hi Dan Lovy :)

I'm wondering what would this next level specifically be?
Title: Re: Using Genetic Algorithms To Create Neural Simulations
Post by: danlovy on January 24, 2018, 04:56:34 pm
Well, a lot of NN technologies are finding their way into commercial apps.  All the new fangled face recognizers use them.   The will be in a self driving car in your neighborhood soon.

While they take their cue from nature, they are really an exercise in some math wizardry.   Try this
http://20q.net/ (http://20q.net/) 

It does a pretty good job of playing 20 questions, however, it really doesn't know anything.

It's a little too involved to go into deep detail on what I'm thinking about however, my goal is to take genetic algorithms and provide a platform that better simulates how more powerful systems might be created.

dan
Title: Re: Using Genetic Algorithms To Create Neural Simulations
Post by: danlovy on January 31, 2018, 11:11:22 pm
3rd Episode, a better maze solver

https://www.youtube.com/watch?v=Z6fmkZW9JCM (https://www.youtube.com/watch?v=Z6fmkZW9JCM)