CAP: Closed-form Action Projection for Constrained World Model Planning in Robotics

Anonymous Authors
Paper under double-blind review
Peg insertion 1×
Gear meshing 1×
Nut threading 1×

CAP-WM solves contact-rich assembly while the wrist force stays below a hard 5 N cap at every step.

0/ 7,680CAP evaluation episodes above the force cap
98.1%safe success, peg insertion at 5 N

Abstract

Physical control systems face hard constraints at every manipulation step, such as strict bounds on contact force and velocity. However, existing reward-driven reinforcement learning struggles to enforce these limits. This challenge is compounded in practice because constraint satisfaction depends not only on the high-level predicted action, but also on the low-level controller's live state during execution. To bridge this gap, we introduce CAP (Closed-form Action Projection), a modular layer that imposes hard, state-dependent action constraints on learned policies and world-model planners. At each control step, CAP derives an admissible action set in closed form from the live controller state and projects the proposed action onto it without any online optimization or a learned constraint model, provably guaranteeing constraint satisfaction. To resolve the geometric ambiguity inherent in pure proprioception, we integrate a world model that processes environmental observations, such as wrist depth, during impedance control. Evaluations on three representative contact-rich manufacturing tasks, peg insertion, gear meshing and nut threading, demonstrate that CAP strictly prevents force limit violations at every step while maintaining high task success rates, achieving significant improvement against the state-of-the-art neural baselines.

Method

Plan freely, then project onto what the controller can safely execute.
Observe Propose Project Execute Wrist depth Proprioception + wrench CAP-WM model-based Encoder zt World model MPPI planner or CAP-PPO model-free PPO policy πθ(at | ot) Closed-form action projection atexec = Π𝒜(xt)(at) 𝒜(xt) at Force budget Fmax Impedance controller at atexec Live controller state xt Next observation ot+1
Learned Analytic Data / action Live controller state

Closed-form Action Projection

1
Affine wrench map
$$W_{t,i}(a) = c_i(x_t) + m_i(x_t)\,a_i$$
read from the live controller, nothing learned
2
Force interval
$$\big|c_i + m_i a_i\big| \le d_i + \big(\kappa_i \bar F_t - K_{p,i}|v_{t,i}|\Delta t\big)_+$$
dead zone \(d_i\), per-step budget \(\bar F_t \le F_{\max}-\varepsilon\)
3
Box projection
$$a^{\mathrm{exec}}_t = \operatorname{clip}\!\Big(a_t;\ \textstyle\prod_i \mathcal{I}^{\mathrm{clip}}_i \cap \mathcal{I}^{\mathrm{vel}}_i \cap \mathcal{I}^{\mathrm{force}}_i \cap [-1,1]\Big)$$
$$\begin{aligned} a^{\mathrm{exec}}_t &= \operatorname{clip}\big(a_t;\ \mathcal{A}(x_t)\big) \\ \mathcal{A}(x_t) &= \textstyle\prod_i\, [L_i, U_i] \\ [L_i, U_i] &= \mathcal{I}^{\mathrm{clip}}_i \cap \mathcal{I}^{\mathrm{vel}}_i \\ &\quad\ \cap\, \mathcal{I}^{\mathrm{force}}_i \cap [-1,1] \end{aligned}$$
one clamp per axis
$$\mathcal{A}(x_t)\neq\varnothing \;\Longrightarrow\; \big\|W^{\mathrm{app}}_t\big\|_2 \le F_{\max}-\varepsilon \quad \text{at every step}$$
(a) Controller state shifts the wrench map; the force band fixes an action interval.
(b) Intervals intersect into a box; the proposal is clipped onto it.
(c) Applied force: raw proposal vs. projected action.

Rollouts

Same task, same initial state. Live wrist force, episode peak and force trace in the overlay.
PPO (FORGE)unconstrained1×
CAP-WMours1×

PPO (FORGE) is trained without a cap; the same rollout is shown against both caps.

Results

Success vs. safe success (success with the force never above the cap), 640 episodes each.
Success Safe success CAP (ours)

BibTeX

@article{anonymous2026cap,
  title  = {Closed-form Action Projection for Constrained World Model Planning in Robotics},
  author = {Anonymous},
  note   = {Under review},
  year   = {2026}
}