← Latest papers
💻 computer science

RAFAIL: Relationship-Aware Failure Detection for Robotic Manipulation

RAFAIL is a novel framework that detects robotic manipulation failures by identifying anomalies in task-relevant relationships between entities using point-cloud representations and relationship-specific OOD detectors, achieving high accuracy without requiring failure data or runtime VLM inference.

Original authors: Loris Schneider, Edgar Welte, Rania Rayyes

Published 2026-09-17
📖 6 min read🧠 Deep dive

Original authors: Loris Schneider, Edgar Welte, Rania Rayyes

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

Robots have become remarkably skilled at moving through the world, picking up objects, and assembling parts with a dexterity that once seemed impossible for machines. Yet, despite this progress, they remain fragile. When a robot encounters a situation it has not seen before—a slightly different lighting condition, an object placed in an unexpected spot, or a subtle slip of the hand—it often fails silently. It might continue moving as if nothing is wrong, eventually causing damage or ruining a task. For robots to be truly useful in homes or factories, they need a way to recognize when they are making a mistake and stop before the error becomes permanent. The challenge is not just noticing that something is different from the past, but understanding whether that difference actually matters. A harmless shift in the background might look strange to a computer, while a critical error in how a gripper holds a cup might go unnoticed.

Researchers at the Karlsruhe Institute of Technology have developed a new method to solve this problem, creating a system that watches a robot's actions not by looking at the whole scene, but by focusing on the specific relationships between the objects the robot is touching. They call this system RAFAIL. Instead of trying to understand the entire environment at once, which can be overwhelming and prone to false alarms, the system breaks the task down into pairs of interacting things: the gripper and the object, or the object and its target. By monitoring how these specific pairs relate to one another, the system can spot when a task is going wrong with much greater precision than previous methods.

The core idea behind this work is that most robotic failures happen because the relationship between two objects goes wrong. If a robot is trying to pour water from a cup into a bowl, the failure is not that the room looks different, but that the cup is tilted at the wrong angle relative to the bowl. To teach a robot to recognize these critical moments, the researchers first used a powerful type of artificial intelligence known as a vision-language model. This model is like a very smart observer that can look at a video of a successful task and describe what is happening, identifying which objects are important and how the task is progressing. However, running this smart observer every time a robot moves would be too slow and computationally expensive.

To get around this, the researchers used the smart observer only once, offline, to study a collection of successful demonstrations. They asked it to label which relationships between objects were most important at each step of the task and to track how far along the task was. These labels were then used to train a much simpler, faster system that runs alongside the robot in real time. This new system learns to create a compact mathematical description of each important relationship, such as the space between a gripper and a cup. It then checks these descriptions against what it has learned from successful runs. If a relationship starts to look strange—meaning the objects are in a configuration that was never seen during the successful training—it triggers an alert. Crucially, the system only pays attention to these alerts if the relationship is currently important for the task. If the gripper is holding a cup that is not yet relevant to the next step, a slight wobble is ignored. But if that same cup is being positioned for pouring, the system becomes highly sensitive to any deviation.

The team tested this approach on three different real-world tasks using a robotic arm equipped with a camera and a gripper. In one task, the robot had to pick up a cylinder and place it in a bowl. In another, it had to lift a fallen cup and set it upright. In the third, it had to pour a ball from a cup into a bowl. They ran the robot through hundreds of attempts, some of which were deliberately set up to fail by moving objects to unusual positions or adding distractions to the background. The new system successfully detected failures in 73.4% of the attempts while only raising false alarms in about 11.6% of the successful runs. This performance was significantly better than other leading methods that rely on measuring general uncertainty or looking at the robot's entire view of the world. Those other methods often struggled to tell the difference between a harmless change in the scene and a genuine mistake, either missing failures or stopping the robot unnecessarily.

What makes this result particularly promising is that the system does not need to see any examples of failure to learn how to detect them. It learns entirely from watching successful tasks, which are easier and safer to collect. Furthermore, when the system did detect a failure, it was usually able to pinpoint exactly which relationship had gone wrong. In the pouring task, for instance, it correctly identified that the cup and the bowl were misaligned in nearly 70% of the cases where it raised an alarm. This ability to localize the error suggests that the system is not just guessing that something is wrong, but is actually understanding the specific interaction that has broken down.

The researchers acknowledge that the system is not perfect. It relies on the ability to clearly see and track the objects involved in the task. If an object is hidden, if the camera loses track of it, or if the failure involves a force that cannot be seen, the system might miss it. Additionally, very subtle errors that do not change the visual relationship between objects might slip through. However, the study demonstrates that focusing on the specific connections between objects, rather than the whole picture, offers a robust and efficient way to keep robots safe. By teaching machines to watch the right things at the right time, this approach brings us closer to robots that can work alongside humans without constant supervision, knowing when to stop and ask for help before a small mistake becomes a big problem.

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 →