Tuesday, 9 June 2015

Long Term Proyects

Once the Fractal AI is formally finished (regardless of how many improvements I could still implement on it) it is time to mention some of my wildest proyects for the long term.

Long fractal shots

All of them are long shots, things I feel that can be done using fractals in the exact same way I am applying in the Fractal AI. Some of them are already "half done" but will need a deep rethinking, others are just ideas in an very early stage of maturity.

1) Fractal growing of neuronal networks
This one is quite interesting as it could automate the proccess of building the network itself (adding neurons and connectons fractally as needed, no more need to choose how many layers to use) at the same time it learns from the examples it is exposed to. I have some sketches of it, but it is istill not mature enough to start coding. I call it "Fractal Deep Learning".

2) Globally otimizing real functions of any kind
Finding local minimuns is tricky, more if you don't impose the restriction of the function being continous, but trying to search for the global minimum is even more tricky.

Actually, I have three of them, none is optimal still but they can beat the most advanced optimizing algortihms I could find. I spect a great improvement once I code the ideas used in the last Fractal AI into any of them.

3) Simulating Quantum Physics
Fractal intelligence is really a quantum algortihm translated down to standard computers with the use of fractals, retaining all the magic of quantum computing down to earth, as the computational cost scale linearly with the different parameters you can change to make intelligence better.

So, when all those aditions are implanted into the actual quantum physic (QED more precisely), I spect the simulation to fit with quantum physics quite closely.

This physic fractal is, at the same time, the perfect one for doing global optimizing of functions: The best way to find the highest point in a citie is producing a storm over it, and watch the lightings fall. They will show you where the hights point is. This is the idea behind the algortihm, and that is way, in this code, agents are called "bolts" and futures "sparks" (but the underlaying ideas are the same).

In QED bolts correspond to particles, while sparks correspond to virtual photons forming a electrically charged cloud around the particle. Clouds of different particles interact, so the atraction, repulsion, exclusion principle, etc. emerge from the rules of interaction used.

4) Connecting cities with a minimum cost
The old problem of connecting cities with different productions optimally using a minimum lenght of road is also perfect for this fractals. Fungus already do it this way!

Spain badly connect with fractals

I have a very old code about this, it was one of the first things I tried out with fractals. The small changes I needed to make it properly work are now quite clear.

This problem represent a whole type of NP hard problems. For instance, the shales-man problem can be adapted to this same idea. This adaptation is already done and working, but using the weakest of the three optimizing algorithms, so not so impresive as you may think. I spect being able to adapt it to the best of the three, the quantum one, and have a second try on it.

Random thoughts

-As the fractal base algortihm scales linearly, I spect all those problems to be solved in a lineal (so happily polynomial) time, no more NP problems as long as you can adapt it to fractals.

-Once a problem is "fractalized", it naturally becomes a quantum algortihm, so it can be easily solved using real quatum computers (check for availability first!). I spect a massive number of algortihm being adapted to the next wave of quantum computers, and who knows, may be it is the easiest way to do it!

-If you don't have a quantum computer at hand, you still can easily paralelize the fractal algortihm and use net computing to apply as much CPU power as you can get into solving the problem. Not the same things, but the best match.

-I know Richard Feynman knew about it all long before I did, he just didn't have the right tool at this time: the notion of "fractal" Mandelbrot brought to us. The "tinny little arrows" of Feynman is what he left behind for others to follow (apart from the quite interesting "ant" episode). Thanks a lot, Richard!

-There also other even longer shots in mind I still haven't cracked, but they are not ready to leave the labs!

Real examples of the same fractal

Nature use it for everything, big or small, and you can find these exact fractals everywhere:

Lighting tattoed this fractal on her! Is she a matemagician?
Ligthing strike inprint the same fractal.
Lighting or fractal? (by Diamond Hoo Ha Man)

Ant tracks are also fractals (but a more advanced one!)

Physarum polycephalum is a master!

Particle collisions too.
Fractal AI is of the exact same kind.

No comments:

Post a Comment