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

Hasan Taha Bagci, Jieyi Bi, Fatma Elif Yalcindag, Xiang Zhou, Emre Koyuncu, Zhiguang CaoarXiv 2026

TL;DR

Teaching a robot to thread a nut or mesh gears using reinforcement learning usually comes with an unpleasant trade-off: let it smash parts together to succeed, or penalize force so heavily that it gets too timid to finish the job. This paper introduces Closed-form Action Projection (CAP), a fast, analytical "safety translator" that sits between a high-level AI planner and a robot's low-level motor controller. By reading the live physical state of the controller, CAP mathematically guarantees that the robot never violates strict force limits—achieving over 89% gentle, compliant success on tasks where standard AI planners succeed violently less than 1% of the time.

What Problem Does This Paper Address?

Contact-rich assembly—like inserting a peg, meshing gears, or threading a nut—requires physical touch. A millimeter of misalignment can turn a smooth insertion into a violent jam. While reinforcement learning (RL) and world models (AI systems that "imagine" future outcomes to plan ahead) are great at figuring out how to assemble parts, they struggle to respect strict physical force budgets at every single moment.

Why can't we just penalize the AI when it pushes too hard, or put a simple clamp on its outputs? Because in modern robotics, the AI doesn't directly command force. Usually, the AI runs at a slower rate (say, 15 Hz) and commands a target pose to a fast, low-level impedance controller (running at 120 Hz), which acts like a virtual spring-damper system. The actual force the robot exerts depends on the controller's live state: its stiffness gains, current velocity, action-smoothing memory, and motor dead zones. An AI command that produces a gentle 2 N tap when the arm is stationary might cause a 15 N spike if the arm is already moving. Reward penalties only discourage excess force on average—allowing the AI to trade a brief, part-breaking spike for task completion.

Methods

Instead of trying to learn safety, the authors derive it analytically from the known physics of the low-level controller. They introduce CAP, a modular execution layer paired with a standard depth-sensing world model (CAP-WM, built on TD-MPC2) and a model-free baseline (CAP-PPO).

Figure 1: Two learners, one controller-aware execution layer. CAP-WM uses wrist depth, pro- prioception, and wrench observations to plan with a latent world model. CAP-PPO uses a recurrent policy over proprioception and wrench observations. Both pass the proposal at through CAP before impedance control. Blue regions denote learned components and amber denotes the analytic projec- tion. Solid arrows carry data or actions, and dashed arrows carry the live controller state xt. The camera thumbnails show simulator scenes for context. CAP-WM receives depth images. Planning and projection run at 15 Hz and low-level control at 120 Hz.

Here is how the pieces fit together:

  • Reading the Live Controller (New): At every 15 Hz decision step, CAP queries the live state of the impedance controller (gains, velocity, filter memory, and dead zones). Because the controller's math is affine (linear plus an offset) within its unclipped operating range, CAP can invert this equation in closed form.
  • Constructing the Safe "Box" (New): CAP calculates exact admissible action intervals along each axis by intersecting three constraints: a force interval (keeping applied wrench within budget), an approach-speed interval (acting like a braking curve so the robot slows down before impact), and a clip interval (keeping the controller in its predictable linear regime).
  • Instantaneous Projection (New): Intersecting these intervals creates a multi-dimensional "box" of safe actions. If the AI proposes an action outside this box, CAP simply clips each coordinate to the nearest boundary—no slow online optimization solvers required (taking under 0.4 milliseconds on a single CPU thread for 128 parallel environments).
How CAP maps live controller states into safe intervals and projects proposed actions onto the resulting box.
  • Learning Through the Projection (New Integration): Crucially, CAP isn't just slapped on at test time. During training, the world model proposes an action $a_t$, CAP projects it to $a_t^{\text{exec}}$, and the world model learns the transition resulting from that projected execution. Meanwhile, a wrist-mounted depth camera feeds 3D geometry into the standard TD-MPC2 planner so it can visually align parts before making contact.

Datasets

Because this is an online reinforcement learning and control paper, there are no static datasets. Instead, agents are trained and evaluated via online interaction in IsaacLab using the established FORGE simulation benchmark. They test three contact-rich manufacturing tasks featuring randomized dynamics and controller parameters: peg insertion, gear meshing, and nut threading. No new simulation benchmarks were introduced, though strict per-step force-compliance evaluation protocols (at 5 N and 10 N caps) were applied.

Key Insights and Ideas

  • Train with the shield, don't just add it later: If you take a world model trained normally and add CAP during evaluation, it gets confused because its actions suddenly don't move the robot as expected. Training through CAP raises safe success by 37.8 percentage points on gear meshing and 42.3 points on nut threading, because the planner learns which proposals yield useful progress after projection.
  • Force limits alone aren't enough—you must limit approach speed: Because the high-level planner only updates every 8 physics steps, a fast-moving robot can slam into a surface between decisions. Removing CAP's approach-speed braking curve caused safe success on peg insertion to drop from 97.6% to 56.0%, even after retraining.
  • Controller minutiae matter: Replacing live controller states with nominal (average) parameters crashed peg-insertion safe success from 97.6% down to 32.4%. Ignoring motor dead zones dropped it to 11.1%—because the safety layer becomes overly conservative if it doesn't know how much commanded force the dead zone will absorb.
  • Leaning on the guardrails: In evaluation, CAP actively modifies the AI's proposed actions on 94.6% to 99.4% of decisions. Rather than tip-toeing inside the safe zone, the AI learns to push right up against the analytical boundaries, letting CAP handle precise force regulation while the AI focuses on geometry.

Key Results

The authors measure standard Success Rate (SR) alongside Safe Success Rate (SSR)—completing the task without ever exceeding the force limit at any step.

Under a strict 5 N force budget (roughly the weight of a half-liter bottle of water):

  • Unconstrained baselines smash through the limit: Standard TD-MPC2 + depth achieves >95% SR across all tasks, but its SSR is 0.6% on peg insertion and 0.0% on gears and nuts, with mean peak forces exceeding 10–13 N.
  • CAP-WM dominates both safety and completion: Across three training seeds at 5 N, CAP-WM achieves 97.6% SSR on peg insertion, 92.4% on gear meshing, and 89.9% on nut threading, with 0.000 N·s of integrated excess force in the main comparison.
  • Peak forces plummet: On peg insertion (5 N cap), CAP-WM drops mean episode peak force from TD-MPC2's 10.60 N down to a gentle 1.56 N.
  • Model-free RL benefits too: Adding CAP to PPO (CAP-PPO) boosts its 5 N SSR from ≤0.3% (standard PPO) up to 78.0% (peg), 94.7% (gear), and 61.4% (nut) in the main table, outperforming specialized Safe RL (CPO, FOCOPS) and neural safety-layer baselines across the board.

Limitations and Future Work

  • Simulation-only so far: All experiments were conducted in simulation. Moving to real hardware will require calibrated wrist force/torque sensors and system identification to estimate live controller states, friction, and dead zones (though the authors include a promising sensitivity study on bounded parameter estimates).
  • Task-specific geometry: The approach-speed braking curves and rotational yaw constraints rely on knowing task geometry (like distance to the mating surface). Generalizing this to arbitrary, unknown shapes is left for future work.
  • No recursive feasibility: While CAP guarantees single-step wrench bounds when its constraint box is non-empty (and uses a sequential fallback clip when empty), it does not mathematically guarantee multi-step recursive feasibility—meaning the robot could theoretically steer itself into a physical corner where no future safe progress is possible without a dedicated recovery behavior.

Summary updated

BibTeX
@misc{bagci2026closed,
  author = {Hasan Taha Bagci and Jieyi Bi and Fatma Elif Yalcindag and Xiang Zhou and Emre Koyuncu and Zhiguang Cao},
  title = {{Closed-form Action Projection for Constrained World Model Planning in Robotics}},
  year = {2026},
  eprint = {2611.38921},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.38921},
}
Figure