The Floor
DeRail preprint reports gains when robot instructions change mid-task
Researchers tested a method that steers robot actions after an instruction changes during a task. In a simulated switching test, they report that it raised the π₀.₅ policy’s target-task success rate from 5.8% to 54.6%.

A method called DeRail increased a robot policy’s success rate from 5.8% to 54.6% in a simulated test where instructions changed during execution. In a preprint submitted to arXiv on November 21, researchers report that their approach steered actions away from competing task trajectories without retraining the policy at inference time.
The reported result applies to the π₀.₅ policy on the CALVIN-Custom-Switch benchmark, with instructions changed in the [15,21] switching range. The team also evaluated the method in other simulated settings and on a physical robot arm.
Redirecting an ongoing task
The work addresses what the authors call trajectory hijacking: after an instruction changes, a policy may remain partly or fully drawn toward a trajectory associated with a task other than the new target. That interfering task can be the original one, but the researchers say it need not be.
The proposed technique, Counterfactual Action Steering, or CAS, compares the robot’s current end-effector position with trajectories from task demonstrations. It selects non-target tasks whose demonstrated trajectories are close enough to the current position to potentially interfere.
CAS then queries the same policy using both the new target instruction and instructions for the selected non-target tasks. Differences between the predicted actions provide steering directions, while proximity to the demonstrated trajectories determines the strength of the correction.
The authors describe CAS as training-free and model-agnostic at inference time. Its demonstration library covers a predefined set of candidate downstream tasks.
Simulation and robot tests
The researchers constructed two instruction-switching benchmarks, LIBERO-Goal-Switch and CALVIN-Custom-Switch, and evaluated five vision-language-action and world-action policies. Success was measured by whether the robot completed the target task after the instruction changed.
In the same CALVIN-Custom-Switch range as the π₀.₅ result, the team reports that CAS raised target-task success for π₀ from 6.7% to 45.4%. The paper also reports gains across varying trajectory concentrations, randomized object placements and changes in scene appearance.
The researchers also tested the π₀ policy on an AIRBOT Play robot arm equipped with a parallel-jaw gripper. The arm was instructed to pick up one colored block before the instruction changed to the other; the tests covered both directions at switching steps 20 and 30, with 20 trials per setting and matched object placements for the base and CAS trials.
For a switch from the red block to the blue block at step 20, the team reported that CAS raised success from 7/20 trials to 15/20. At step 30, success for that direction rose from 6/20 to 14/20. The authors chose the block-lifting tasks as a controlled evaluation of switching rather than a benchmark of general manipulation complexity.
Training and inference costs
Beyond the inference-time method, the team used successful CAS-guided runs to fine-tune the original policies on their post-switch behavior. The paper reports stronger results than self-training on the same number of successful runs without CAS, including evaluations at later switching points not seen during data collection.
CAS can require additional policy queries. In a simulated CALVIN-Custom-Switch efficiency comparison using π₀, the researchers measured average inference latency per replan of 157.4 ms with CAS, compared with 102.2 ms for the base policy. That test used serial counterfactual queries over the same 240 episodes on a single NVIDIA H100 GPU.
The authors note that the instruction-conditioned predictions are independent and could be issued in a batched policy call to reduce additional sequential-query latency. They say the code will be made publicly available.
Sources
- Original source · Preprint DeRail: Escaping Trajectory Priors via Counterfactual Action Steering for Mid-Execution Instruction Switching arXiv:2611.28803
Related stories
- MomentMem improves robot memory tests in simulation and on hardware
- TUM says robot system can pause when it is unsure
- PonderPounce-WM tests future prediction in robot control
- Preprint finds driving models carry source-system assumptions to new vehicles
- IRIS preprint trains robot action model on random exploration