Sunday, January 16, 2011

AI - Where to begin.... maybe

Note: if you believe I'm wrong, please tell me how, post a link to info etc. Criticism is welcome if it is constructive or useful. What follows are my thoughts, not what I think the world must accept.

There are many people who think and work at understanding how our mammalian brains work. Some approach the problem by trying to figure out what each neuron is doing. Others attempt to find which region of the brain is active for any particular activity. Sorry, there is no region of the brain dedicated to just thoughts of Pamela Anderson. There are regions that activate when we think of her, but they are multipurpose and get used for other things and other people too.

NOTE: The mammalian brain is multi-functional. That is, much of it is dedicated or programmed for this task or that, but can be put to use for other things if the situation calls for it. Paraplegics do not simply stop using the parts of their brains which previously were used for controlling their limbs and dealing with nerve signals from those limbs. The extent of brain re-use is (To My Knowledge) unknown.

Remember that TMK part, I'll use it again.

We have found regions of the brain that are sort of hardwired for certain purposes. There are many websites to tell you what the human brain map looks like. When you look at it, it begins to look a lot like a machine - this part does that, that part does this and so on. Why should it be that it is divided up like this? The brain seems to be made up of cells which are not much different than any of the other cells in the brain, so why should this area be different in usage from that area? How did it get that way?

  • The simple answer to how is 'evolution'
  • The simple answer to why is 'accident'
Evolution is essentially an accidental needs based development system. A mutation occurs and may hang around for many generations before another mutation happens which makes the first mutation useful to survival. Once that happens the organism now has a 'need' for that mutation. A need that was generated accidentally. There is no design. The human brain is subject to evolution and this accidental needs based construction. That is to say that what our brains are today can relatively be said to be an accident. 

If we examine the brains of very small mammals we find that they are not much different than our own, but at the same time we know that size does make a difference. In fact, the energy used by and dedicated to brain function makes a HUGE difference. The current trouble is that we don't understand all the reasons this is so. A bigger organism has a bigger brain but not necessarily more intelligence. The reason for this is still in question. The number of neurons or their speed would be some reasons. Additionally I believe that the energy available to the brain has a big impact. No matter how large it is, if the brain does not have the energy it will not function to its possible best. Note that when you are tired or hungry your brain is suffering from a lack of energy - no energy = bad performance.


To be more intelligent we (it would seem) need only to feed more energy to our brains. This is partially true in that more brain function will require more energy. The trouble is that the body is a system, not simply interconnected units. To feed the brain more energy and have it use that energy requires fine tuning of the entire system, not simply taking a brain energy pill. Saying it that way doesn't even begin to give credence to the systems which support our brains. Generally they are optimized already and pushing them harder will cause a break down somewhere else or simply fail to work. This optimization takes into account the fact that other parts of the supporting systems may in fact not be optimal.

Before continuing, lets look at what intelligence is... as far as we know:


In effect we can boil it down to this. The body is a support system for the brain. Intelligence does not require a body or even 5 sensory inputs - see Stephan Hawking and Helen Keller for examples of why I say that. Intelligence exists within the brain.

I think of intelligence as the ability and capacity to acquire, manipulate, and consume information. I don't think you can make it simpler than that. If you make it more complex then you are trying to apply this simple definition to some task or group of tasks.

Given this very small definition of intelligence we can take it and theorize other things from this which may or may not follow traditional thoughts on intelligence:

  • Intelligence is useless without information
  • Intelligence is not information
  • Intelligence without new and changing information is 'probably' useless
In those three sentences we have defined intelligence as a process rather than a possession or object. Now we can apply that process to other organisms and systems free of clutter that task requirements of humans implies. Intelligence does not require abstract thought as an example, though such a capability is without doubt very useful. Intelligence requires only new and changing information to function. Clearly we see unintelligent humans who still function as organisms, or rather humans which do not demonstrate intelligence such as coma victims.

On that last statement, lets be clear that the mammalian brain has multiple functions. Survival and body operations are not part of the intelligence of mammals. They are independent of what we would think of as human intelligence as can be seen in comatose patients. Already we can begin to unravel what intelligence is not by looking at intelligent systems which are broken or operating outside of normal conditions, where normal is arguably difficult to define. Just the same, we can draw generalized conclusions from limited information about an unknown system if we have enough observational evidence... thus giving us a 'normal' operating set of parameters.

Lets add one more word to our basic definition of intelligence: autonomy.

Mammals are examples of autonomous intelligence but we also have examples of non-autonomous intelligence. The simple thermostat in your house is a very simple non-autonomous intelligent system. It acquires, manipulates, and consumes information. The fact that it's existence and form are fixed and dependent on the information that it uses removes any autonomy from this system. Most people will say that it is not intelligent, but at the very basic definitions of intelligence it is. Perhaps you feel this is setting the bar too low for the task, but I argue otherwise. Your body is made up of trillions of simple cells. Their combined impact on the world shows autonomous intelligence. Do you control the white blood cells in your body? Do they act intelligently? They acquire and consume information about bad stuff in your body. They do not attack just anything. They are not autonomous intelligent systems simply because their capacity to process information is harshly limited in scope.

We can see that autonomy in intelligent systems requires a system which is adaptable and not reliant on the information it consumes for its purpose. That is to say it is not restricted to specific information. A white blood cell as part of the immune system will help cause organ rejection. The scope of the information consumable by the white blood cell is very restricted. There is no autonomy when function is reliant on the information consumed.

I have defined intelligence as a process of information usage. Further, I have defined two basic types of intelligence; autonomous and non-autonomous processes. The question now is how to apply that to what we believe we know of intelligence, however we otherwise define it. Many of us will be unwilling to accept that non-autonomous intelligence qualifies as intelligence, yet I argue that it is. This simple definition of intelligence leaves us free to examine intelligence at all levels of complexity. 

In a single thought, we can see the scope of this task. The mammalian eye: it comes in many shapes and sizes yet the information it provides the brain is used for much the same things in all mammals. We also know that this information is consumed in varying ways and to varying degrees. Predators have different vision systems than most prey. Some prey animals have independent eye movement and vision processing in order to better avoid being 'dinner'. Human intelligence can function with good or bad vision and is capable of compensating for such where non-autonomous intelligence would fail. This is a problem for robotics and AI in general. Simply sticking non-autonomous intelligent systems together does not make an autonomous intelligent system. There seems to be something more required.

This brings us back to the third part of my hypothesis: Intelligent systems without new and changing information are probably useless. The other side of this coin is that a system which cannot consume new and changing information outside the normal scope is non-autonomous intelligence. 

It can be generally agreed that the ultimate goal of AI is autonomous intelligence.

How to make the leap to autonomous intelligence

This is where the magic happens. Information Storage. If you have to burn your finger every time you see a hot stove, you need a storage upgrade or a better memory retrieval system. This demonstrates why operating only on current sensory inputs equates an autonomous intelligent system to a complex but non-autonomous intelligent system.

This is a serious problem for AI scientists. Not only does our system have to be intelligent and with variable scope, but it has to be able to store implied information (or meta data) about previous actions. In simplistic terms we humans learn that red is the color of hot and often results in pain. The implication to be stored is that red=pain. Over time we learn this is not always true, but we will remain cautious around red things. Here is the problem. How to remember that red equals pain. Sounds simple to us, but break that down to the simple definition intelligence.  We further refine the meta data so that when sensory data includes not only the color red, but the sense of heat it usually will mean pain if touched. So now we have red+heat=pain. You can imagine the many iterations of storing meta data regarding red, heat, objects description, and pain. That part about the many iterations is the variable scope of our autonomous intelligence in this situation. Without that we would get burned a lot. We apply this meta data to the shape and color of flames, and no matter how fake the flames are we still associate danger of  pain with them... forever. In essence, we store that meta data for long term re-use. We don't store the exact color of red or shape of flame, but generalities of them. Take a moment and describe the color of a hot electrical burner on your stove, or the color of a flame on a candle. Not easy is it, but you would definitely recognize either if you saw them and all that their existence implies from stored meta data about them. I want to give this association or meta data a name. Memory is not really a good word for it. It is a rule based on implied properties of specific information, in this case sensory input.

We can say that variable scope autonomous intelligence must be able to create, store, and use meta rules. This implies another simple aspect of autonomous intelligence: most memory storage includes meta data from all available information. Further, through repetition this information is formulated into a rule for future observation of such grouped information. This might be called learning, yet at the base levels it is simply information relationships and storage of the meta data about this information.

Now what we need  is a mechanism to apply every meta rule to every piece of new information. We're either going to need a very big computer or a lot of small computers working harmoniously in parallel.
Speed of information retrieval and rule application is clearly a problem. We're going to need a pretty special mechanism to accomplish suitable performance for this function. The more we 'learn' the more difficult this task will become. This is not just a problem for robotics and AI, it's a real problem for humans. If you are unsure what I mean, pretend your life depends on passing the algebra exam tomorrow, you know the one, the one you took in 10th grade.

In the way that flying is easy, building AI is easy. In the former simply throw yourself at the ground and miss. In the latter, just figure out how to remember all the information you acquire and build rules from it to then apply to every new piece of information.

AI is easy, right?

Cleaning Gantry's

I suppose that it's time to add an entry here again. I missed all of 2010 on this blog. The 2009 blog entry might explain that a bit.

I have read many places on the Internet. I've visited a lot of science blogs. I've read a lot of stories about science. I've tried to pay particular attention to Artificial Intelligence and the technology that would help to enable it. It would be arrogant of me to say I've read it all. Perhaps not even a true AI could have read it all. There is a lot of information available. In fact, it has been opined that each day more information is added to the knowledge of mankind than existed in the days of many famous scientists. It's not unfair to ask why we humans are not much smarter now.

On to the point I hear you say. Tedious reading is as tedious writing does... no?

I have felt a kind of compulsion to join in on conversations on the Internet at times yet many things do not allow that. I've tried to write to several people about various topics and was dismissed with the simplicity of no reply. This is how life is. It's no reason to be bitter or upset, it simply is. I have many ideas fomenting which have this simple reasoning as a central tenet. It simply is. That is to say that as Einstein is supposed to have said: "make everything as simple as possible, but no simpler." There are hundreds of good reasons that I might not have enjoyed the attention I would have liked, but the simpler ones are probably the correct ones. Everyone is busy and they generally only have time enough to respond to the things in their lives which generate fear or tension. Not many of us are fortunate to have the resources to spend our time on the frivolous, even if that frivolous thing is of paramount importance to another.

Editor's note: Writing in this blog will not change the world. It might not even be noticed by anyone but it currently makes the author feel a bit better somehow.

Cleaning Gantries

With all that in mind, I find that I have no true place to contribute in ways that make me feel personally happy. Yes, it's a personal thing. I wish to contribute, to be part of a larger effort to change the world for the better. One might wonder if I'm pouting about not getting to play with the bigger kids. A good question. The simple answer is that I just want to feel I'm contributing in some way. Have you ever thought about the people that clean the gantry way which astronauts use to get on the Space Shuttle before launch? Well, those people contribute to a great thing in very positive and meaningful ways. It's just not what most people think of as positive and meaningful. Think about that and you have a good frame of reference for what I hope to do here. I'm in the mood to clean a gantry or two.

Editor's Note: I have no association with NASA or any of their gantry personnel though I would love to hear from them and post a few pics.

Recently I have been thinking about the gantry cleaners in many other forms which all of us use. Those gantries take many forms and functions as do their cleaners. Striking close to my pet ideas we can easily see that there are gantry cleaners at work in our daily use of computers. Every program should have something referred to as 'garbage collection' which cleans up memory for use by other programs etc. We use antivirus software which cleans files of unwanted trash. We have programs to rearrange the data on the  hard drive so it is more efficient while we surf the Internet. Closer to home we have air, fuel, and oil filters in everyday use. There are thousands of cleaners we use every day. When we use a search engine (I think mentioning Google is a requirement here?) it cleans up the results to try to give us information which is focused on what we ask for. This is a hard task to accomplish and we see Bing and others trying very hard to do it better all the time. In fact, Netflix offered $1,000,000 for anyone that could improve their particular cleaner.

We all know what Moore's law is all about, or close enough. I can't find any adage which relates to the commoditization of products and services. Take the cellular phone for instance. Once the purview of the well to do, more people in India now have a cell phone than have access to clean toilets. This commoditizing happens to computers, televisions, radios, cars, and so on for various reasons, but it is generally caused by the ever forward drive of commerce. If we were all still riding bicycles, the company that put a motor on one would make a mint! Thus would begin the path of commodity hardware for pedal powered bicycles. Look for a post on 'Information as a Commodity' in the near future. For now it's important to know that such a process accompanies Moore's Law in a way that makes them inseparable. We can call it the Moore Commodity Effect (MCE anyone?). Commoditization necessarily brings with it new cleaners. I believe that understanding the cleaners can help us predict both the parameters of commoditization and what will be commoditized.

As I write this the commoditization of Information Systems or IT infrastructure is fully underway. One of the events that put the motor on this particular bicycle is the Linux Kernel and the GNU Herd. Performance computing is no longer the sole purview of entities with deep pockets and personal ties to IBM. Why, it's become so easy that you or I can set up an High Performance Computer in our homes. Obviously we'd not quite make the Top 500 list, but it still counts. Not that long ago Nvidia gathered up some resources and jumped into this sphere with GPU computing which will be very helpful when you decide to build your own HPC system. If you like old school, you can own your own Cray Supercomputer. This Cray / FPGA hack takes us full circle on the commoditization. New 'hacking' hardware in the form of an FPGA and older Supercomputers. Now you can own what could not have been thought to exist in your living room when it was created. The drive to improve FPGA hardware has made this possible. (do back-flips and shout loudly because it will do other things more useful too)

Now would be a good time to tie that together and get back to cleaning. Information has become practically more plentiful than clean air. Using it effectively remains the purview of the deep pocketed companies. Google is trying hard to commoditize it, yet it remains as no better than information services. This is like subscribing to telephone services. It's a tricky business and the services may 'seem' the same but they are not and they all have hidden costs of one kind or more. So, when we look at commoditization of information we have to see it in several ways.

  • Information is the voice you hear when you use the phone, not the phone itself or the phone line or the phone network.
  • Information can be bundled, sorted, filtered, mangled, managed, and many other things. Consuming information currently requires you to either request these functions or deal with them in some way. Information consumption has yet to be commoditized.
  • Information providers still believe they have a golden goose and try to protect that goose from being copied. Information does not work that way. Media content providers still believe their product is NOT information, and in some way is equal to the "Mona Lisa" - It's not.
  • Commoditization of information will severely harm companies that do not play along, if not destroy them altogether. (Do you know anyone that still uses a buggy whip?)
  • Information exists in many forms and formats. Without formatting we can call it 'raw information'. The sights and sounds of a large city collectively are 'raw information' and they do not become 'useful information' until someone applies filtering, formating, and management of some sort. 
  • The capacity to collect 'raw information' has outstripped our current abilities to process it. Systems like e-mail are very useful yet fail miserably to be an agnostic method of information consumption. The same can be said of IM, FaceBook, Internet 'home pages' and just about everything else that has come along to improve things.
  • On a personal level 'information overload' has become a common and pervasive problem. Take all these observations together and we have a vector for future 'gantry cleaners' in the information sphere.
Information Gantry Cleaners

Why do we need information cleaners? The problem should be obvious from the Bing advertising campaign. Bing is a decision engine, not a search engine. Despite that claim being false, a smart search mechanism does help us make decisions, some better than others. Still, they all currently require us to 'know' how to use them. Try typing "I want to go out to eat" into a search engine and see what happens. Worse yet, misspell it as "I want to go out to heat" and see what happens. Neither are very useful to the individual who is hungry yet another human would know what to infer and how to search for the inferred information. That extra human in the loop is a cleaner. We might summarize this by saying we need an AI that is more or less a clone of ourselves to help us deal with the deluge of information we are drowning in. This might take many forms; from the jack in the back of the heads of characters in the  movie "The Matrix" to computer systems like in the movie "Moon". 

My pet theory is that to achieve the creation of such cleaners we will collectively have to understand human intelligence; what it is and what it is not. In short, AI is the next vector of commoditization to happen. It's not about the singularity but about commoditization. The next step is about understanding and using more information than evolution has equipped us to deal with. Just as tools like hammers and knives gave us an advantage, our use of knowledge in the near future will make us seem like magicians.

What are your thoughts on information gantry way cleaners?