Online Safety Filter for Deformable Object Manipulation with Horizon Agnostic Neural Operators

Jiaxing Li, Hanjiang Hu, Zhuoyuan Wang, Yorie Nakahira, Changliu LiuarXiv 2026

TL;DR

This paper introduces a real-time, constraint-driven online safety filter for robots manipulating deformable objects like fluids. By combining a horizon-agnostic neural operator to predict complex fluid dynamics with a boundary control barrier function (BCBF), the system minimally adjusts unsafe robot actions via a lightweight quadratic program. Tested on fluid manipulation tasks, this approach boosts safe-trajectory rates by up to 22% while accelerating convergence to the safe zone.

What Problem Does This Paper Address?

Robotic manipulation of deformable media—such as fluids, cloth, and soft objects—is notoriously difficult. Unlike rigid bodies, these materials exhibit high-dimensional, non-linear, and continuous dynamics governed by partial differential equations (PDEs). In these environments, a tiny control variance can trigger massive, irreversible chaotic effects, like fluid turbulence or spilling.

Currently, most reinforcement learning approaches rely on reward shaping (penalizing unsafe behavior in the reward function) to keep robots safe. However, reward shaping offers no hard guarantees; during deployment, robots frequently exhibit unsafe transient behaviors when faced with disturbances or distribution shifts.

While Control Barrier Functions (CBFs) are widely used to guarantee safety in rigid-body robotics by filtering out unsafe actions in real time, traditional CBFs assume finite-dimensional state spaces and full observability. Applying them to infinite-dimensional, partially observed PDE dynamics has remained an open challenge.

Methods

The authors bridge this gap by proposing an online safety filtering framework that operates directly on the boundary inputs and outputs of the system, avoiding the need to model the entire fluid state.

Overall framework of the proposed boundary-safe neural operator control architecture comparing with the offline filtering baseline.

The architecture consists of two main pillars:

  1. Horizon-Agnostic Neural Operator (NO): Neural operators excel at learning input-to-output mappings for PDEs. To make them useful for real-time control, the authors introduced a novel training scheme where the model is optimized over variable-length input prefixes. This allows a single model to handle arbitrary, ascending-length control histories online without needing to be retrained for different rollout horizons.
  2. Boundary Control Barrier Function (BCBF): Instead of evaluating safety over the entire infinite-dimensional space, the BCBF certifies safety at a low-dimensional, task-relevant boundary output level (e.g., the XY coordinates of an object being pushed by water).

At each discrete time step, the nominal action from a base policy is evaluated. If the neural operator predicts a safety violation, a lightweight Quadratic Program (QP) solver minimally modifies the control rate to project the action back into the safe set.

Datasets

The method was evaluated using FluidLab, a standardized, differentiable simulation benchmark for complex fluid-rigid interaction tasks. The authors designed two specific environments:

  • Transporting Task: A robot agent ejects water at a constant speed to transport a rigid cube into a designated geometric target zone on an XY plane.
  • Gathering Task: A robot maneuvers a rigid spatula through fluid to paddle water and reduce the separation distance between two floating rigid bodies.

Key Insights and Ideas

  • The Power of Horizon-Agnosticism: Standard neural operators assume fixed-horizon trajectories, making them too rigid for online, receding-horizon control. Training on randomized prefix lengths enables the model to act as a flexible, real-time surrogate dynamics model.
  • Offline Filtering Fails: One of the most surprising findings was that applying a fixed neural operator filter offline actually degraded performance compared to the unfiltered base policy. Safety filters must actively adapt online to the current policy and evolving environment dynamics to be effective.
  • Boundary-Level Sufficiency: You don't need to simulate or observe every molecule of a fluid to manipulate it safely. By framing the safety constraints strictly around boundary inputs (robot actions) and boundary outputs (task metrics), the infinite-dimensional control problem becomes computationally tractable.

Key Results

The online safety filter consistently outperformed both the unfiltered base policies and the offline baseline across all metrics:

  • Higher Safety Rates: In the transporting task, the safe-trajectory rate jumped from 57.8% to 80.2% (a 22.4% absolute improvement). In the gathering task, it improved from 45.5% to 63.6%.
  • Faster Convergence: The filter didn't just keep things safe; it made the policy more efficient. The average number of steps required to reach the safe set dropped by ~5.4% in the transporting task and ~3.9% in the gathering task, minimizing the time the system spent in unsafe transient states.
Comparison between the base policy and the filtered safe policy on the gathering task.

As seen in the gathering task visualizations, the base policy creates late-stage fluid turbulence that pushes the target objects apart. The filtered policy adaptively steers the robot to mitigate this fluid disturbance, ensuring stable convergence.

Limitations and Future Work

While the results in simulation are promising, the authors note a few areas for improvement:

  • Sim-to-Real Transfer: The framework has yet to be validated on physical hardware, where fluid dynamics are even more unpredictable and sensing is noisier.
  • Real-Time Guarantees: Although the QP solver is lightweight, ensuring strict, deterministic real-time execution bounds within high-frequency control loops (e.g., 500Hz) remains a challenge for future hardware-in-the-loop deployments.
  • Broader Deformable Domains: Future work will explore extending this framework beyond fluids to other complex deformable objects like cloth folding or rope manipulation.

Summary updated

BibTeX
@misc{li2026online,
  author = {Jiaxing Li and Hanjiang Hu and Zhuoyuan Wang and Yorie Nakahira and Changliu Liu},
  title = {{Online Safety Filter for Deformable Object Manipulation with Horizon Agnostic Neural Operators}},
  year = {2026},
  eprint = {2605.01069},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.01069},
}
Figure