← Latest papers
🤖 AI

Guessing human intentions to avoid dangerous situations in caregiving robots

This paper presents a real-time algorithm based on the Artificial Theory of Mind and a "like-me" policy that enables caregiving robots to infer human intentions, detect potential dangers, and select safe actions to avoid hazardous situations, as validated through simulation and real-world experiments.

Original authors: Noé Zapata, Gerardo Pérez, Lucas Bonilla, Pedro Núñez, Pilar Bachiller, Pablo Bustos

Published 2026-08-25
📖 5 min read🧠 Deep dive

Original authors: Noé Zapata, Gerardo Pérez, Lucas Bonilla, Pedro Núñez, Pilar Bachiller, Pablo Bustos

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine a world where machines do not just follow commands but understand the unspoken plans of the people around them. This is the frontier of social robotics, a field dedicated to creating machines that can navigate human spaces with the same intuitive awareness a person possesses. Central to this capability is the concept of a "theory of mind," which is simply the ability to guess what another being is thinking or intending to do next. While humans do this instinctively, teaching a robot to do the same requires it to build a mental model of the world, run simulations of what might happen, and then choose an action that keeps everyone safe. This is not about the robot feeling emotions, but rather about it using its internal computer models to predict the future consequences of a person's movements and intervene before an accident occurs.

In a recent study, researchers at the University of Extremadura in Spain explored how a caregiving robot could use this kind of predictive thinking to prevent dangerous situations. They focused on a specific type of robot designed to assist people, one that must be able to sense when a human is about to walk into a collision with an obstacle they cannot see. The team developed a system where the robot looks at a person, figures out where that person is likely to go, and then runs a quick mental simulation to see if that path leads to a crash. If the robot predicts a collision, it does not wait for the person to stop; instead, it immediately calculates a move it can make to block the danger or guide the person away, effectively acting as a silent guardian.

The researchers tested this idea using a custom-built robot named Shadow, which moves on four wheels and is equipped with cameras and laser sensors to see its surroundings. In their setup, the robot watches a person who is walking across a room toward a couch. On the floor, directly in the person's path, sits a small object, like a ball or a backpack, that the person might not notice. The robot's job is to realize that the person intends to walk straight into this object. To do this, the robot uses a "like-me" strategy. It assumes that the person will act the way the robot would act if it were in that situation: looking at an object and moving toward it. The robot then runs a simulation of the person's journey inside its own computer, using a physics engine to predict exactly how the person would move.

When the simulation shows that the person will hit the object, the robot knows a dangerous situation is developing. It then switches to a second phase of thinking. The robot asks itself: "What can I do to stop this?" It simulates various actions, such as moving itself to a specific spot in the room. It checks if placing the robot in that new spot would force the person to change their path and avoid the obstacle. If the simulation confirms that the robot's new position would successfully prevent the collision, the robot executes that move in the real world. The goal is not to stop the person from walking, but to subtly alter the environment so the person naturally steers clear of the danger without even realizing the robot is helping.

To see if this system worked, the team ran three different types of tests. First, they used a computer simulation to run the scenario 180 times with different positions for the robot, the person, and the obstacle. In these virtual trials, the robot successfully identified the risky situations and generated a safe action in the vast majority of cases. However, the system did produce a significant number of false positives, meaning it sometimes wrongly detected risky situations that would not have posed a danger in reality. Despite this, the algorithm never produced false negatives, ensuring that no unsafe situation was left unattended. The robot made its decisions in less than a second, a speed fast enough to react in real time.

The researchers then moved to more complex tests involving real people. In one experiment, human volunteers controlled a digital avatar in the simulation, trying to walk toward a couch while a hidden ball sat in their way. They could not see the ball because their view was blocked, but when the robot moved into their path to block the ball, the people instinctively changed their direction to avoid the robot and, in doing so, avoided the hidden obstacle. In a final, real-world test, the physical Shadow robot was placed in a room with five different people. These people were asked to walk across the room while reading a paper, ignoring a backpack placed on the floor in their path. As they walked, the robot detected their intention to walk into the backpack. It moved to a position near the backpack, and in every single case, the person noticed the robot, reacted with surprise, and continued on their way to the assigned target, successfully avoiding the obstacle.

The study suggests that this approach of using internal simulations to guess human intentions is a viable way to make robots safer and more helpful in human environments. The system proved robust enough to handle the unpredictability of real people, even when they were distracted or unaware of the danger. However, the researchers note that for this technology to work in more crowded or complex spaces, the robot will need to become faster at sorting through many possible actions and people. They also point out that as robots become more capable of making these kinds of split-second decisions, questions about how they choose between multiple people in danger will need to be addressed. For now, the work demonstrates that a robot can successfully use a form of mental simulation to anticipate human needs and act to prevent accidents before they happen.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →