How robots learn using artificial intelligence
Robots learn through artificial intelligence algorithms that analyse data, recognise patterns and adjust their behaviour based on examples or experiences. This process combines information from sensors, machine learning models and control systems – technologies that are also studied on UDIT’s Official Degree in People-Centred Robotics.
But learning does not simply mean carrying out instructions. An intelligent robot can use what it has learnt during its training to respond to situations that were not individually programmed.
How robots perceive their environment using sensors
Robotic sensors enable robots to capture information from their surroundings and convert it into data that algorithms can process. Depending on its function, a robot may use different devices:
- Cameras: these provide images to identify objects, shapes and positions.
- LiDAR and depth sensors: these enable the measurement of distances and the collection of spatial information.
- Force and pressure sensors: these detect contact with objects to control their handling.
- Inertial sensors: these detect movements and changes in orientation.
However, perception is not the same as learning. Images and measurements must be linked to examples, results or instructions so that a model can identify useful patterns.
For example, a robotic arm can receive images of objects and learn to relate them to the movements required to pick them up.
What role does data play in robotic systems?
Data forms the basis for training robots using artificial intelligence. It may include images, instructions, the positions of robotic arms and records of actions performed.
One documented example is RT-2 (Robotics Transformer 2), presented by Google DeepMind in 2023. This experimental system combined knowledge acquired from images and text on the internet with demonstrations of robots manipulating objects.
Its development helps us understand the main stages of learning:
Data collection: images, instructions and examples of robotic movements are gathered.
Training: the model learns the relationships between what it observes, the instructions received and the actions it must perform.
Evaluation: the model is tested with objects, backgrounds and environments that did not appear in the training examples.
Application: the system uses the trained model to interpret new instructions and generate movements.
In tests published by DeepMind, RT-2 achieved a 62 per cent success rate in situations not encountered during training, compared with the 32 per cent achieved by its predecessor, RT-1.
This result demonstrates the importance of assessing whether learning can be applied to different situations, a capability known as generalisation.
Source: Google DeepMind research on RT-2.
How a robot uses artificial intelligence to make decisions
Once trained, the model can be used to interpret new data and select actions. This phase is called inference and does not necessarily mean that the robot continues to learn whilst it is working.
For example, if a robotic arm is asked to pick up a specific object, the process might unfold as follows:
- The camera captures an image of the available objects.
- The model identifies the requested object and its position.
- The system generates the actions required to reach and pick up the object.
- The controllers execute the movements, using information from the sensors to monitor them.
Learning can take place through various techniques. In supervised learning, models use examples with known answers. In reinforcement learning, they learn strategies based on rewards associated with the outcomes of their actions.
In both cases, it is necessary to verify the system’s accuracy and establish safety limits before using it in real-world environments.
Current applications of intelligent robotics
Machine learning enables the development of robotic systems capable of adapting to a wider variety of tasks. Some of its applications include:
- Industry: identification and handling of parts of different shapes.
- Logistics: automated sorting and collection of products.
- Agriculture: recognition of fruit and selection of items for harvesting.
- Assistive robotics: object recognition and the performance of tasks to support people.
These applications combine artificial intelligence models with programming, electronics and robotic control. Not all robots learn continuously: many use pre-trained models that are updated and evaluated as and when necessary.
Understanding how AI models are trained, evaluated and applied in robotics is essential for developing systems capable of performing increasingly complex tasks, whilst maintaining accuracy, reliability and safety.
