Perception and Action
Some AI systems interact directly with their environments, either physical environments (such as robots and autonomous vehicles) or virtual ones (such as game agents and software assistants). Such systems are called sensorimotor systems because they combine:
A central challenge in AI perception is selecting suitable features for each level of abstraction. Initially, features were selected by designers for each level. In computer vision, an influential approach was proposed by David Marr, who considered vision to be the transformation of a 2D projective image on the retina into a 3D model of objects and events in the world.
Traditional computer vision relied heavily on handcrafted features and explicit models of visual processing. Recent deep learning approaches shift much of this design effort to learning algorithms that acquire useful representations directly from data. In this "feature learning" process, features are generated and selected by a learning algorithm according to their contribution to the overall task.
For instance, in a Convolutional Neural Network (CNN), convolution kernels are applied to generate feature maps that are further abstracted by subsequent layers. A kernel (sometimes called a convolution mask or filter) is a learned linear operator applied to local patches:
A typical CNN contains multiple layers:
That is, the input is fed to multiple convolution, activation, and pooling layers, followed by fully connected layers before reaching the output. Trained end-to-end using backpropagation, CNNs work well at recognizing objects.
Though CNNs have been used successfully on many problems, they still have limitations, such as recognizing object parts without fully understanding their spatial relationships. These issues have motivated alternative approaches, such as capsule neural networks.
Robots interact directly with their environments using sensors and actuators. Their hardware is primarily studied in electrical and mechanical engineering, while their software often involves AI algorithms with special requirements:
| Architecture | Main Idea | Limitation | Examples |
|---|---|---|---|
| Deliberative | Plan before acting | Slow in dynamic environments | Shakey |
| Reactive | Respond directly to stimuli | Limited long-term planning | Cog |
| Hybrid | Combine planning and reaction | Integration complexity | Robust-TAMP |
One of the most important ideas in modern AI is that perception and action should not be treated as separate processes. Intelligent behavior emerges from a continuous feedback cycle in which perception guides action, and action creates new perceptions. This feedback loop may happen at multiple levels in a hierarchy of controllers.