A simple closed loop controller must be stable. Feedback must be negative at low frequencies and static operation. Stability of a closed loop controller is predictable from its open loop behaviour: gain and phase as a function of the frequency. Open loop gain must decrease with frequency, in order to become less than 1 before phase shift reach a critical point (phase margin and gain margin are both required).
An intelligent being is a non-linear system. The main closed loop of an intelligent being shall remain stable. Perception of self-reaction consequences must not exceed the initial perception. However this situation happens from time to time to intelligent beings:
Pain ==> Quick reaction ==> more pain ==> more reaction.
Loss of stability may lead to loss of life: each new attempt in the same way leads to a worse situation. Control elements of an intelligent being detect that a previous action is inefficient and select another strategy.
For example, attacking may be better than fleeing.
Learning capabilities facilitate new accurate response elaboration.
Control elements of an intelligent being switch from a possible behavior to another one in order to retrieve stability.
Control elements of an intelligent being learn from experience how to do and how to select what to do.
Increasing predictability in a control element increases stability and shortens response time.
Learning capability tends to increase the forecasting horizon of an intelligent being.
Model predictive control (see wikipedia) uses predictive models in order to enhance control elements.
Sunday, May 9, 2010
Saturday, May 8, 2010
Main feedback loop in a self-learning AI
An intelligent being produces decisions leading to actions. A self learning intelligence produces new knowledge from experience too. Acquisition of new knowledge is considered as a modification of an internal state.
External interactions are relevant outputs in order to compare animal, human and artificial intelligences.
Efficiency of messages and actions of a given intelligent being can be checked.
We consider these outputs now.
The main elements of a closed loop system are:
- Reference input
- Comparator
- Control elements and actuators leading to output
- Feedback elements

An intelligent being is constantly comparing sensor signals to reference inputs. Reference inputs for example give limits on cold, warm, noise, hunger, generally: pain thresholds. A set of sensor signals can be considered as a point in a multidimensional space. In this space there are areas to be avoided. Other areas are to be reached.
Reference inputs are characterized in the same multidimensional space by these "good" and "bad" areas. Most of sensor signal space belongs to neutral areas (neither good nor bad ones). Most of sensors are neutral themselves.
The comparator output gives control elements a gradient to be followed in order to reach certain areas or in order to avoid other ones.
Basically, there is always a wired response to a strong signal located in a "painful" area. Basically, all intelligent beings can learn more or less a customized response from their own experience.
Less evolved intelligent beings give a "wired" response to each gradient.
More evolved intelligent beings can learn more and give learned responses.
The control elements command actuators. They interact with the universe of the given intelligent being. This intelligent being perceive, at least from time to time, a part of this interaction thanks to its sensors.
The feedback loop is closed.
That's all for the main feedback loop in a self-learning AI.
Still to come:
What about stability, positive or negative feedback?
What about self-learning?
External interactions are relevant outputs in order to compare animal, human and artificial intelligences.
Efficiency of messages and actions of a given intelligent being can be checked.
We consider these outputs now.
The main elements of a closed loop system are:
- Reference input
- Comparator
- Control elements and actuators leading to output
- Feedback elements

An intelligent being is constantly comparing sensor signals to reference inputs. Reference inputs for example give limits on cold, warm, noise, hunger, generally: pain thresholds. A set of sensor signals can be considered as a point in a multidimensional space. In this space there are areas to be avoided. Other areas are to be reached.
Reference inputs are characterized in the same multidimensional space by these "good" and "bad" areas. Most of sensor signal space belongs to neutral areas (neither good nor bad ones). Most of sensors are neutral themselves.
The comparator output gives control elements a gradient to be followed in order to reach certain areas or in order to avoid other ones.
Basically, there is always a wired response to a strong signal located in a "painful" area. Basically, all intelligent beings can learn more or less a customized response from their own experience.
Less evolved intelligent beings give a "wired" response to each gradient.
More evolved intelligent beings can learn more and give learned responses.
The control elements command actuators. They interact with the universe of the given intelligent being. This intelligent being perceive, at least from time to time, a part of this interaction thanks to its sensors.
The feedback loop is closed.
That's all for the main feedback loop in a self-learning AI.
Still to come:
What about stability, positive or negative feedback?
What about self-learning?
Wednesday, May 5, 2010
Strong AI shall be self-learning
We may "bootstrap" a strong AI from a kind of knowledge database. After this initial bootstrap, does this AI remain unchanged?
"Real" strong artificial intelligence implies ability of discovering acceptable solutions from past experience when new encountered situations are partially or completely unknown.
How to evaluate acceptability of solutions?
A comparison between expected computed consequences and real events gives an evaluation. The result of this comparison is new knowledge itself.
Human beings constantly increase their knowledge this way. Artificial Intelligence shall use self-learning in order to think in the same way as humans do.
Real artificial intelligence = getting smarter from cumulated experience.
Once implemented such a property, is it compulsory to "bootstrap" a huge amount of knowledge?
Self-learning capability is a key feature for strong AI.
"Real" strong artificial intelligence implies ability of discovering acceptable solutions from past experience when new encountered situations are partially or completely unknown.
How to evaluate acceptability of solutions?
A comparison between expected computed consequences and real events gives an evaluation. The result of this comparison is new knowledge itself.
Human beings constantly increase their knowledge this way. Artificial Intelligence shall use self-learning in order to think in the same way as humans do.
Real artificial intelligence = getting smarter from cumulated experience.
Once implemented such a property, is it compulsory to "bootstrap" a huge amount of knowledge?
Self-learning capability is a key feature for strong AI.
Self-learning AI represented as a closed loop
The term "closed loop" is used for an automatic control system in which a process is regulated by feedback.
An input is compared to a set point.
The difference between the imput and the set point is amplified and filtered in order to deliver an command output.
This output is filtered again and linked to the input (feedback loop).
Auto-learning AI may be represented as multiple closed loops.
The main closed loop tries and keeps the system into safe boundaries and leads it to "satisfaction".
Other closed loops deal with utilities and help managing system resources.
An input is compared to a set point.
The difference between the imput and the set point is amplified and filtered in order to deliver an command output.
This output is filtered again and linked to the input (feedback loop).
Auto-learning AI may be represented as multiple closed loops.
The main closed loop tries and keeps the system into safe boundaries and leads it to "satisfaction".
Other closed loops deal with utilities and help managing system resources.
Labels:
boundary,
closed loop,
safe,
self learning,
system resources
Monday, May 3, 2010
Strong AI general requirements
Here is a list of minimum requirements from my point of view:
-Sensors bring information from the given universe.
-Sensors are given static or dynamic limit zones.
-The limit zones are expected not to be reached.
-Actuators are capable of modifying things within the given universe.
-The above modifications must be at least partially detectable by the sensors.
-If limit zones are reached, actions are required and will be triggered*.
-A memory associate sensor stimuli together and with actuator commands
-Simultaneity and distance matter on memory association strength
-Memory match associations together in upper levels
-Ability of building a unique template from several similar associations
-Ability of retrieving a path leading to a previous memorized experience
-This path may lead to a response supposed to suit the present situation
*when limit zones are about to be reached, actions are triggered by following preferred paths presently activated. The system tries and repeat previous responses to similar situations supposed to lead to an acceptable new situation.
The consequences of a given response is associated to the present situation, reinforcing the present template or creating a new one. Learning capability is provided by this feature.
This specification of a strong AI starts from bottom level.
High level process requirements will come later and will depend mostly on experiments and competitive programming techniques. This approach is close to a connexionist approach.
We must get rid of unuseful complexity. Complexity will come easily later!
The term "AI-complete" is built on the same template as "NP-complete" already existing in computational complexity theory. In order not to waste time in definitions, let us admit that AI-complete programs provide "strong" artificial intelligence. (see AI-complete and NP-complete on Wikipedia).
They tell us that AI-complete problems can't be solved by a simple algorithm.
Not a specialized one, for sure, but why not a simple one?...
Problems similar to AI-complete problems exist in reduced universes.
A reduced universe is either a part of our entire universe or a simplified simulation running on a computer. In order to get artificial intelligence, we don't need computer vision first. We don't need language recognition first. We need universal components of general intelligence. We will use later these universal components in a similar way for computer vision, language recognition, and abstract concept handling.
Within a reduced universe Ur1 an algorithm A is able to solve many problems.
Within a reduced universe Ur2 the same algorithm A is able to solve similar problems and other problems too.
Within our real complete universe U the same algorithm A is able to solve lots of encountered problem.
How do you figure out this algorithm A?
Will it be exactly the same for all the given universes?
Hypothesis: Providing that we adapt sensors and actuators to each universe, I guess that we can keep the same algorithm.
I don't pretend that there is only ONE algorithm A. I guess that a general algorithm A, or B, may solve a significant amount of known and new encontered AI problems within different universes. "A" may be better than "B". Never mind. If these algorithms meet the minimum requirements, they can both run a strong AI system. Implementing and improving A or B is a matter of efficiency. This improvement will come later.
-Sensors bring information from the given universe.
-Sensors are given static or dynamic limit zones.
-The limit zones are expected not to be reached.
-Actuators are capable of modifying things within the given universe.
-The above modifications must be at least partially detectable by the sensors.
-If limit zones are reached, actions are required and will be triggered*.
-A memory associate sensor stimuli together and with actuator commands
-Simultaneity and distance matter on memory association strength
-Memory match associations together in upper levels
-Ability of building a unique template from several similar associations
-Ability of retrieving a path leading to a previous memorized experience
-This path may lead to a response supposed to suit the present situation
*when limit zones are about to be reached, actions are triggered by following preferred paths presently activated. The system tries and repeat previous responses to similar situations supposed to lead to an acceptable new situation.
The consequences of a given response is associated to the present situation, reinforcing the present template or creating a new one. Learning capability is provided by this feature.
This specification of a strong AI starts from bottom level.
High level process requirements will come later and will depend mostly on experiments and competitive programming techniques. This approach is close to a connexionist approach.
We must get rid of unuseful complexity. Complexity will come easily later!
The term "AI-complete" is built on the same template as "NP-complete" already existing in computational complexity theory. In order not to waste time in definitions, let us admit that AI-complete programs provide "strong" artificial intelligence. (see AI-complete and NP-complete on Wikipedia).
They tell us that AI-complete problems can't be solved by a simple algorithm.
Not a specialized one, for sure, but why not a simple one?...
Problems similar to AI-complete problems exist in reduced universes.
A reduced universe is either a part of our entire universe or a simplified simulation running on a computer. In order to get artificial intelligence, we don't need computer vision first. We don't need language recognition first. We need universal components of general intelligence. We will use later these universal components in a similar way for computer vision, language recognition, and abstract concept handling.
Within a reduced universe Ur1 an algorithm A is able to solve many problems.
Within a reduced universe Ur2 the same algorithm A is able to solve similar problems and other problems too.
Within our real complete universe U the same algorithm A is able to solve lots of encountered problem.
How do you figure out this algorithm A?
Will it be exactly the same for all the given universes?
Hypothesis: Providing that we adapt sensors and actuators to each universe, I guess that we can keep the same algorithm.
I don't pretend that there is only ONE algorithm A. I guess that a general algorithm A, or B, may solve a significant amount of known and new encontered AI problems within different universes. "A" may be better than "B". Never mind. If these algorithms meet the minimum requirements, they can both run a strong AI system. Implementing and improving A or B is a matter of efficiency. This improvement will come later.
Labels:
AI components,
AI-complete,
reduced universe,
specifications
Friday, August 7, 2009
Fuzzy Logic. How you may think without mathematics (a few seconds)
Although issued from an old work, my last achievement is a tutorial about fuzzy logic. Fuzzy Logic will never help any machine in self-consciousness improvement. I would be very glad if at least this tutorial helped anybody in discovering this alternative technique of industrial control.
This post may seem irrelevant: never Fuzzy Logic will improve intelligence of any machine. However, a fuzzy logic controller is a good example of pragmatism triumph: facing issues in mathematical modeling of your process, you may implement this technique providing that a human expert knows how to control a given process. Instead of modeling your process, you build a model of controlling behavior from your expert's skills!
Many people think next breakthrough in artificial thinking will come from mathematics. Not so sure! Mathematics will serve as a ladder to reach new horizons. Breakthroughs would rather come from other ways, such as specifications and brainstorm, then from iterative experiments. In this case, mathematics will come later and will provide other significant improvements. The semiconductor world has already experienced such a development, from experiment to theory. Labs engineers were running ahead, and theoricians did their best in catching up, trimming parameters to explain previous results!
This post may seem irrelevant: never Fuzzy Logic will improve intelligence of any machine. However, a fuzzy logic controller is a good example of pragmatism triumph: facing issues in mathematical modeling of your process, you may implement this technique providing that a human expert knows how to control a given process. Instead of modeling your process, you build a model of controlling behavior from your expert's skills!
Many people think next breakthrough in artificial thinking will come from mathematics. Not so sure! Mathematics will serve as a ladder to reach new horizons. Breakthroughs would rather come from other ways, such as specifications and brainstorm, then from iterative experiments. In this case, mathematics will come later and will provide other significant improvements. The semiconductor world has already experienced such a development, from experiment to theory. Labs engineers were running ahead, and theoricians did their best in catching up, trimming parameters to explain previous results!
Labels:
brainstorm,
breakthrough,
Fuzzy Logic,
GOFAI,
mathematics
Artificial Thinking Challenge
Artificial Thinking challenge is open. This site is a notebook, a program for the next ten years to come and a huge challenge addressed to each of us. From general topics to more specific ones, I intend to go deeper and deeper into crisp specifications, and real achievements.
I am quite sure that techniques are developed well enough for implementing an artificial thinking machine, say, since 2000. How to prove I am right? The best way: doing it. I am not (totally) naive and just want to demonstrate feasibility. I guess that 50% of issues encountered on this way come from our own inhibitions and from our false beliefs.
False beliefs about friendly artificial intelligence
If we succeed in implementing an artificial thinking machine, close enough to our way of thinking, then, this machine will get its own free will. From my point of view, this "free will" takes part of clues showing we have reached our goal: artificial thinking implementation. Even in a restricted universe, this free will may be in opposition with our own interests. I don't think there is a scientific method, a twisted algorithm granting that an artificial thinking would think "friendly" from our point of view. Roughly, intelligence directly implies liberty of thinking. How to secure our future from a threat of hostile artificial intelligence? The answer is very simple: there is never a reliable means in forecasting future! If you have got children, are-you sure they will care of their old parents later? Quite sure? That's right! Artificial intelligence will behave as we tell it to do. Of course, I have got fears about it, thinking of all our "tribal" wars, horrible daily news, bad examples of crualty. A "friendly" artificial intelligence would be my friend (suppose I am right). Suppose you are my enemy. What do you think this artificial intelligence will do? I have got close friends in China and Russia. Are-they friends with Americans?
The real issues are not on the side of this future super artificial intelligence. The real issues are already spread among our crazy world: competition, wars...
Promises
They are at least as big as threats. If artificial thinking speeds up science, we will all benefit from it.
Subscribe to:
Posts (Atom)