← Latest papers
🤖 machine learning

Rethinking Demonstration Unlearning in Imitation Learning for Robotics

This paper introduces a retrain-calibrated audit framework for demonstration unlearning in robotics imitation learning that evaluates edited policies along two axes—behavioral similarity to a full retrain and evidence of removed data presence—to provide a statistically rigorous, cost-effective alternative to expensive retraining.

Original authors: Jiazhuo Li, Yu Zhang, Yiming Fei, Kangkang Dong, Xiaojun Zhu, Houde Liu, Jinze Tao

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

Original authors: Jiazhuo Li, Yu Zhang, Yiming Fei, Kangkang Dong, Xiaojun Zhu, Houde Liu, Jinze Tao

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 that learn by watching humans are becoming common, from factory arms that assemble parts to devices that help with household chores. These machines do not come pre-programmed with every possible movement; instead, they are trained on collections of video demonstrations recorded by people. The robot studies these videos and learns to copy the actions it sees. However, a fundamental problem arises when the person who provided the demonstration changes their mind. Just as a person can withdraw consent for their data to be used, a human might ask for their specific demonstration to be removed from the robot's memory. If a robot has learned a bad habit from a flawed demonstration, or if a user simply wants to revoke access, the robot needs to "unlearn" that specific piece of information without forgetting everything else it knows.

The standard way to handle this request is to throw away the unwanted video and retrain the robot from scratch using only the remaining good examples. While this works, it is incredibly expensive and slow, especially for complex robots that require massive amounts of computing power. Researchers have been looking for cheaper shortcuts: methods that can edit a trained robot's brain directly, removing the bad memory without the heavy cost of a full rebuild. But a critical question remained unanswered: when we use these shortcuts, how do we know the robot has actually forgotten the bad instruction? Does it truly behave as if it never saw that video, or is it just pretending?

A team of researchers set out to answer this by testing these editing methods on real robots and simulations. They focused on a specific scenario where a robot was trained on 130 demonstrations of a task: moving a cup to a specific spot. Thirty of those demonstrations were intentionally flawed, teaching the robot to release the cup at the wrong location, which caused it to tip over. The researchers then applied various editing techniques to remove the influence of those thirty bad videos. To see if the editing worked, they did not just look at the robot's final score or ask if it could still perform the task. Instead, they built a rigorous two-part test.

The first part of the test measured behavior. The researchers compared the edited robot to a "gold standard" robot that had been fully retrained from scratch without the bad videos. They watched how the robots moved at specific moments during the task. If the edited robot moved in a way that was indistinguishable from the fully retrained one, it passed the behavior test. The second part of the test measured evidence. This involved checking if a computer program could still tell that the robot had originally seen the bad videos. Even if the robot was acting correctly, if a detector could still find traces of the bad data in its internal logic, the unlearning was incomplete.

The results revealed a surprising and troubling disconnect. In one striking case, a robot edited with a specific shortcut method performed almost perfectly on the real hardware. It successfully moved the cup to the correct spot in 18 out of 20 trials, matching the performance of the expensive, fully retrained robot. By all accounts of how the robot acted, the bad instruction seemed gone. However, when the researchers ran the evidence test, the result confirmed the edit was incomplete: the detector could still identify the bad videos with perfect certainty, just as easily as it could with the unedited robot that had never been fixed. The audit successfully detected that the robot had learned to hide its mistake during the task, but the memory of the bad instruction remained deeply embedded in its system.

Conversely, other editing methods showed the opposite problem. Some techniques successfully erased the evidence, making it impossible for a detector to find the bad videos. Yet, these same robots behaved poorly, failing the task or moving in ways that were clearly different from the fully retrained gold standard. They had forgotten the bad data, but in doing so, they had also lost the ability to do the job correctly. The researchers found that these two goals—acting correctly and hiding the evidence—often moved in opposite directions. A method that fixed the robot's behavior often left the evidence of the bad data untouched, while a method that erased the evidence often broke the robot's performance.

The study tested these ideas across three different types of robot policies and two different simulation environments, using a total of five distinct conditions. In every case, the researchers found that no single editing method achieved both goals simultaneously. Even when a robot appeared to have successfully unlearned the bad instruction, a closer look revealed that it was either still hiding the memory or had lost its ability to perform the task. The researchers concluded that simply checking if a robot performs well is not enough to prove it has forgotten. True unlearning requires satisfying two separate conditions at once: the robot must act as if it never saw the bad data, and it must leave no detectable trace that it ever saw it.

This finding challenges the current assumption that a robot's success in a task is proof that it has been properly cleaned. The researchers demonstrated that a robot can be "repaired" to work correctly while still carrying the hidden influence of the data we wanted it to forget. They also showed that a robot can be "cleaned" to hide its past while becoming useless at its job. Because these two aspects can drift apart, the team argues that we cannot rely on a single test to declare a robot safe or compliant. Instead, we need a dual approach that checks both the robot's actions and its internal history. Until we have methods that can satisfy both conditions at the same time, the promise of easily removing data from robot brains remains unfulfilled, and the risk of hidden, unremoved instructions lingers.

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 →