10 May 2011

Design of Intelligence

The simplest process to find solutions or design anything is a random process – design by a random chance! This is like winning a lottery ticket. This is like building a cubes-tower by throwing few cubes on a floor. If one repeats it many, many times, it may happen at one point. This is like how different sort of figures appear on clouds by random chances. Depending on many factors and conditions, the probability may vary from very low to very high – that is, from highly random to highly determined. (There is randomness in our universe at different levels. In any case, if anything is influenced by vast amount of factors, that would also produce characteristics of randomness)

It requires extremely suitable conditions including correct temperature and pressure for carbon atoms to combine together to form a diamond. However rare this might be, these conditions may happen somewhere, sometime in this vast universe, in this vast cosmological time, and hence we see diamonds in this universe. That is how everything in the universe might have formed including first DNA like molecule. But all the designs in this universe are only a very tiny fraction of countless other possibilities.

The specialty about DNA like structure is that it keeps the blueprint (or model or code) of the design – the design of the life form. As it multiplies (reproduction), the original design information mostly preserved except few random mutations (mistakes). Though most of the mutations are not suitable, some rare mutations may happen to create a design that is suitable to the environment. Hence those designs survive and move on to next generations; and others die out. Over the course of time, these suitable designs are accumulated and created life form from bacteria to fishes and plants to animals including humans. This design process is known as evolution.

Random chance is still the fundamental design discovery process. But evolution process has two important additional features:
  • It stores/accumulates the previous design information (in the DNA)
  • It shares the design information (Sharing happens only in sexual reproduction. Without this, good genes cannot spread across the population and bad genes cannot be eliminated. So, without sexual reproduction, i.e. without sharing design information, it is almost impossible for any complex organisms such as animals to evolve)
As evolution process stores the previous designs, it is essentially a learning process. The basic steps of any learning process:
  • Random Design: Randomly produce many, many designs (This occurs because of random mutations)
  • Selection: Select only the suitable designs (Only suitable to the environment survives)
  • Accumulation: Store and accumulate the suitable designs (in the DNA)
Because of these reasons, the evolution process produces from simple designs to more and more complex designs - as complex as human brain! The brain fundamentally simulates a similar learning process in its simulated virtual world. But the brain has two major advantages:
  • It can create random designs many, many times faster compare to reproduction and its mutations
  • It has way sophisticated storage than DNA.
The brain functions as per its neuronal circuitry (NC) or neural network. It comes with some inborn circuitry designed through life evolution process and others are created from life experience/learning. The brain learning process can be visually understood from watching how children learn to stand and walk.
  • Random Design: Trial and error method. Continuous training/practice (Trying different ways to stand and walk)
  • Selection: Select the suitable NC design that maximizes the correct outcome (Based on sensory input data especially by comparing the balancing signals – from the liquid levels of both ears; vision data might also be used. But what sensory data is relevant for a purpose itself is part of the learning process)
  • Accumulation: Store and accumulate the suitable NC designs (fine-tune and extend the NC)
The brain comes with some rudimentary inborn NC for stand and walk. Let us refer this NC1. NC1 is used when children try to stand and walk. When it happens to find a better balancing position, it may solidify those neuronal connections in the NC1. This would lead to a modified NC, NC2. This is known as online learning [NC1 --> NC2]. Apart from this, the brain may store the information about each body positions and corresponding sensory data in a temporary memory. Let us refer this as test data. When the body is in idle condition, as in sleep, the brain can take this test data and try it through NC2 many, many times. In each trial, the brain can randomly modify NC2 and test it with the test data and select the suitable NC designs and fine-tune and extend NC2 step by step. This is known as offline learning [NC2 --> NC3]. Offline learning should be one of the important functions of sleep (Likely happens during REM sleep). This process is repeated every day over and over for years for children to stand and walk normally. There is another important part to this process: adult/parent encouragement, supervision and help – without this, a child may be forever crippled.

Apart from genetic and other environmental differences that may lead to different brain capability and development, each child learns and modifies the NC differently as random design discovery will be different. At the end, though there are similarities across everybody's NC for stand and walk, there will be unique differences among them, which we call it individuality!

Learned NC is referred as memory. The brain memory is divided into two broad categories: Procedural memory (or implicit memory or muscle memory) and Declarative memory (or explicit memory). Learning to stand and walk is one example for procedural memory. This also includes running, dancing, swimming, bicycling, driving, etc. Procedural memory is created when we learn to do something. Declarative memory is created when we learn to recognize (or sense) sensory input data. This includes vision, hearing, sensing smell, sensing taste, etc. Learn to recognize fundamentally deals with pattern recognition.
  • Random Design: Continuous trial and error method (Different ways to recognize patterns)
  • Selection: Select the suitable NC designs that recognize different patterns (Based on sensory input data)
  • Accumulation: Store and accumulate the suitable NC designs (fine-tune and extend)

(*** Many children under certain age draw human picture without body. It likely that children may first learn to recognize important patterns such as face and limbs. And then slowly further learn to recognize other parts)

Step by step, this learning process slowly builds a model of the world as NC representations (Like how an audio sound is stored or represented in a magnetic disk or computer disk) with all its hierarchies, relationships, associations, abstractions (generalization), cause and affects, etc. This allows us to make sense of the world. This leads to reasoning and understanding. This allows us to learn to learn better (learning new learning processes and techniques). This allows us to plan and solve known, similar and related problems.

How can the brain solve a totally new problem? The brain has the world model. Now it can simulate the random (and evolution) process. It can throw all random crazy ideas and test it with the model continuously (as a background process). When an idea or solution happens to match and solve the problem, it is a eureka moment! The secret of a genius lies in how effectively someone's brain builds a better world model, which leads to high probability to solve a totally new problem and gain a new insight.

These abilities of the brain such as learning, abstract thinking, understanding, reasoning, planning, problem solving, etc. are collectively referred as intelligence. With this intelligence, humans create many designs with Planning and Control. And that is intelligent design!


May 15, 2011

Two major parts of computation:
  • Data (Declarative memory)
  • Process (Procedural memory)
Different types of learning:
  • Online learning
  • Offline learning (like REM sleep learning)
  • Supervised learning (like guidance from Parent, adult, teacher, etc.)
  • Unsupervised learning
Input --> Learning --> Data (changing to data and its hierarchies, relationships and associations)
Input --> Learning --> Process (changing processes including that are part of learning. That is changing processes recursively)

Some components of Learning:
  • Working memory (WM) is a kind of short term memory (STM) that is currently relevant and active
  • Context is some sort of background or domain information
  • Attention is a kind of filter that focuses the relevant information
Once certain thing is learned, it becomes a automatic process. Many such automatic processes can run in parallel without attention/consciousness awareness. Consciousness is a serial process that is associated with handling novel input and learning.


*** I think, this is Marvin Minsky observation.

1 comment:

Kamaraj said...

This is my general information-theory level framework overview about design discovery, learning and intelligence based on current research from neuroscience, cognitive science and AI.