arXiv(opens in a new tab)cs.ROSep 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2609.11697

ActSafeGuard: Differentiable and Training-Aligned Constraint Enforcement for Flow-Matching Policies

Jianming Ma, Rongjun Jin, Xiaxi Si, Yang Zhang, Yiheng Li, Yue Gao

Abstract

Vision-Language-Action (VLA) and World-Action Models (WAMs) have demonstrated strong capabilities in general-purpose robotic manipulation, yet their generated actions may violate hard physical constraints and therefore be unsafe or infeasible for deployment. Existing safety approaches either optimize statistical safety objectives without deterministic per-step guarantees or correct unsafe actions only during inference, creating a mismatch between policy training and execution. We introduce ActSafeGuard, a differentiable and training-aligned safeguard layer for flow-matching based policies. ActSafeGuard integrates hard action feasibility into policy learning, not merely treating safety as an inference-time external component. Through an analytical ray-scaling operator design, ActSafeGuard enables boundary-aware gradients to guide the model to naturally learn constrained manifolds. Extensive experiments on multiple standard foundation backbones ( π0.5\pi_{0.5} and Fast-WAM) across various tasks demonstrate that ActSafeGuard consistently achieves a 100% step safety rate while fully preserving or even boosting task success rates, providing a scalable and minimally invasive solution for safe embodied AI deployment.

Introduction

Vision-Language-Action (VLA) models (Kim et al. 2024; Black et al. 2025; NVIDIA et al. 2025) and World-Action Models (WAMs) (Ye et al. 2026; Liao et al. 2025) have recently shown remarkable progress in general-purpose robotic manipulation. By combining large-scale visual-language representations with generative action heads, these embodied foundation models can adapt to diverse downstream tasks while retaining broad semantic and motor priors. Despite their strong task-solving capabilities, however, the actions generated by these models are not always directly executable. Predicted actions may violate hard physical constraints, such as position limits, velocity bounds, or workspace restrictions, leading to unstable execution, hardware damage, or unsafe robot behavior.

For robotic manipulation, safety must be enforced at every execution step, because a single infeasible action can result in an unacceptable physical consequence. This is particularly problematic for flow-matching action heads, which generate

Figure

Figure 1: Overview of ActSafeGuard. Given an observation and a language instruction, a foundation VLA/WAM backbone and its flow-matching action head predict an unconstrained velocity vtv_t. ActSafeGuard transforms vtv_t into an update direction dtd_t and a safe scaling factor sts_t, adaptively rescaling constraint-violating steps such that the trajectory remains within the convex feasible region. During backpropagation, its gradient transformation admits an implicit oblique-projection interpretation, providing boundary-aware learning signals.

action chunks in an unconstrained space without explicit feasibility guarantees. Thus, a practical safeguard must provide deterministic per-step feasibility while preserving the task competence and generative flexibility of pretrained foundation policies.

Existing safety approaches generally address this challenge from either the training side or the inference side. Training-time constrained methods incorporate safety costs (Zhang et al. 2026) or regularization objectives (Wei, Wu, and Haghbayan 2026) into policy optimization, allowing the policy to become safety-aware but typically providing only probabilistic or expectation-based guarantees. In contrast, inference-time safeguards directly correct infeasible actions through projection, clipping, or optimization-based filtering (Hu et al. 2025). Although these methods can enforce hard constraints during deployment, the correction mechanism is absent from policy training. Consequently, the policy is optimized in an unconstrained action space but executed un-

∗^{*}These authors contributed equally.

†^{\dagger}Corresponding author.

der an externally modified action distribution, introducing a training–inference mismatch that may distort generated trajectories and degrade task performance. The central limitation is therefore not simply the absence of a safety mechanism, but the separation of hard constraint enforcement from policy learning.

In this work, we introduce ActSafeGuard, a differentiable and training-aligned constraint operator for flow-matching-based policies. Our key insight is that hard action feasibility can be integrated directly into the policy learning process, rather than being treated merely as an external inference-time correction. ActSafeGuard is inserted at the output of the flow-matching action head and applies an analytical ray-scaling operator to each discrete flow update. Starting from a feasible initial point, this construction ensures that every constrained flow step remains within the state-dependent convex feasible set. Crucially, the same safeguard operator is active during both training and inference. During training, its differentiable construction allows gradients to propagate through the constrained update, enabling the action head to receive boundary-aware learning signals. This training-aligned design encourages the policy to adapt its predicted directions to the geometry of the feasible action space, thereby preserving effective learning while enforcing hard feasibility. Moreover, ActSafeGuard introduces no additional learnable network and can be incorporated into pretrained flow-matching action heads with minimal modification.

We evaluate ActSafeGuard on representative foundation backbones across multiple manipulation tasks with various constraints. The results show that ActSafeGuard consistently achieves a 100% step safety rate while preserving task success rates compared with other constrained methods. Our main contributions are summarized as follows:

• We propose ActSafeGuard, a differentiable and training-aligned constraint operator that integrates hard action feasibility directly into the learning and generation processes of flow-matching based policies.

• We show that ActSafeGuard induces boundary-aware gradients through an implicit oblique projection, enabling constrained updates to slide along feasible boundaries instead of being merely truncated.

• Extensive experiments with π0.5\pi_{0.5} and Fast-WAM demonstrate deterministic constraint satisfaction while preserving task success and action-generation quality.

References (21)