arXiv:2610.39054cs.ROOct 2026

Manuscript Offprint

arXiv:2610.39054

Robotic Data Inoculation

Qiyang Li, Zhiyuan Zhou, Charles Xu, Sergey Levine

Qiyang Li

Zhiyuan Zhou

Charles Xu

Sergey Levine

UC Berkeley

data-inoculation.github.io

Abstract — Modern robot learning systems feed on high-quality demonstration data, and their performance hinges on coverage. Without good coverage, small errors compound and the policy can quickly go into out-of-distribution states from which it cannot recover. Yet there is no principled way of collecting high-coverage data, and data collection often relies on heuristic instructions to human operators. Purely online reinforcement learning (RL) explores at the cost of safety and sample efficiency, while DAgger-style interventions require the policy to fail by chance before a human can correct it. In this paper, we ask instead whether we can modify how the robot behaves during data collection to collect more useful data. We propose Data Inoculation (DI), a shared-control framework in which a human provide closed-loop teleoperation commands while a residual policy perturbs these commands. The residual policy is trained online, on the growing dataset, with the same reward-maximizing objective later used for policy extraction, so its perturbations steer data collection toward the deviations a policy trained on the data would make. These perturbations expose the robot to a wider range of states, while the human's continuous corrections provide recovery demonstrations, "inoculating" the dataset against the learner's future mistakes while the human remains in control. On three challenging real-world robotic tasks, DI consistently improves or matches the success rate of policies trained with both behavioral cloning and offline RL, showing DI as an effective data collection strategy for improving downstream policy performance.

Figure

Figure 1: Data inoculation (DI). Left: During data collection, we train a residual inoculative policy with online RL to perturb the human's closed-loop teleoperation commands. The perturbations steer data collection towards the mistakes the policy trained on the data would make, and elicit human's corrective feedback, "inoculating" the dataset against such mistakes. Right: We test DI on three challenging real-world robotic tasks that require precise manipulation, and DI consistently improve success rate of policies trained with behavioral cloning and offline RL.

1. Introduction

Modern robot learning systems have shown promise in acquiring complex manipulation skills (e.g., shirt-folding [7], tea/juice-making [28]) from demonstration data. While there has been extensive recent research on the design of these models, the quality of the data the models are trained on is every bit as critical. Good data should have high coverage: it should contain a wide range of states to maximize the chance that the policy generalizes to the states that it actually visits at test time. In practice, coverage is determined by the scenes where data is collected and the behaviors of the teleoperators, which must strike a balance between consistency and variety. Improving data quality and coverage through task design and operator instruction is largely heuristic and ad hoc. Can we instead directly modify how the robot behaves during data collection to provide for more useful data?

Existing solutions largely sit at the two extremes of how the robot is being controlled. Aside from the human-driven teleoperation which exhibits obvious drawbacks above, a learned policy may control the robot autonomously and collect data. While this allows us to run RL online which improves the policy upon its own experience overtime, real-world exploration can be sample inefficient and unsafe. DAgger-style methods partially address this by using learned policy to drive the robot until it makes a mistake, where a human intervenes and corrects it, often through teleoperation. This is reactive: each intervention requires a failure to occur naturally, and rare failure modes may take many rollouts to appear, and for many tasks (e.g., that require working with delicate objects that may break) failures cannot be corrected once they occur.

In this paper, we argue that autonomous policy rollout and human control should not be mutually exclusive, and a shared-control framework in which a learned agent and the human drive the robot together allows for better data collection. Our framework is simple: the human retains closed-loop teleoperation of the robot that supplies the demonstration signal as usual in the form of control commands, but these commands are perturbed by a residual policy, which is trained online on the growing dataset, in a way that mimics the mistakes a policy trained on the current data might make. We call this residual policy an inoculative policy because it exposes data collection to controlled, human-corrected “doses” of the learner’s expected mistakes, so that the policy learned from the collected data is already robust to them. The human can therefore correct policy-like deviations continuously throughout every data collection episode rather than only after a visible failure while ensuring safety because they are always in control of the robot. The resulting data collection strategy, which we call Data Inoculation (DI) (Figure 1), produce data that are favourable for downstream policy extraction—it contains near-failure states paired with actions that allow recovery from these states, which is exactly the good coverage data that would help behavior cloning (BC) to learn the recovery behavior directly but also help offline RL to learn better value functions.

Our main contribution is the new data collection strategy (DI). We evaluate DI on three challenging real-world robotic tasks and show that DI consistently improves or matches the success rate of the policies extracted from both behavior cloning (BC) and offline RL. These results demonstrate the benefits of proactively inoculating data collection so that the policies become more robust at deployment time.

References (30)