Fusable Joint Drives: Calibrating Generated Articulated Assets in One GPU Kernel

Robots learn to open drawers, doors and lids in simulation, but simulated drawers rarely behave like real ones. Real drawers have magnetic catches, sticky rails and soft-close dampers. The best existing articulated asset library, ArtVIP, gets these effects right only because professional modelers build each asset by hand and tune its joint parameters against optical motion capture. That caps the library at 992 assets. Automated pipelines such as RoboGen retrieve thousands of meshes, but their joints are uncalibrated. This proposal targets the step between the two: turning a short recorded interaction with a real object into a calibrated simulated joint, fast enough and cheaply enough to do for thousands of assets at once.

The idea is to give every joint the same fixed-form model of its resistance: a small lookup table of force against joint position and velocity. Two things follow from this choice. First, a batch of thousands of different generated assets can run in one fused GPU kernel. Kernel fusion means merging many small GPU operations into a single program that keeps intermediate values in fast on-chip memory. With a shared table format, every joint executes identical branch-free code, and only the table contents differ. Second, the tables have enough parameters to capture latches and snaps, and they are smooth enough to fit by gradient descent through a differentiable simulator. Calibration becomes a batched GPU job instead of a modeler's afternoon.

Core Claim

ArtVIP shows that realism requires nonlinear joint behavior. It reports that latching, magnetic closure and position-dependent damping were needed to reach 39% zero-shot real-world drawer opening with an Action Chunking Transformer (ArtVIP). Fast GPU simulation, in turn, depends on uniform fused kernels. DiffTaichi reports a 188× speedup over TensorFlow from fused simulation kernels, and it names irregular, branching physics as the case where fusion degrades. Read together, these two results suggest that each new kind of nonlinear behavior adds a code path and slows the batch.

We claim this conflict comes from how drive models are represented, not from the physics itself. Write the generalized force on joint $j$ as

$$\tau_j(q,\dot q) = f_j(q) + g_j(q)\,\dot q + h_j(q)\,\tanh(\dot q/\epsilon),$$

where $q$ is the joint position and $\dot q$ its velocity. The function $f_j$ is a position-dependent spring or detent term: it is attractive near closed for a magnetic snap and shows a barrier for a latch. The function $g_j$ is a position-dependent damping coefficient. The function $h_j$ is a position-dependent Coulomb friction, smoothed by a small constant $\epsilon$ so that gradients exist. Each function is piecewise linear over $K$ knots spanning the joint range. Evaluating any joint then reduces to computing an index, two table reads from shared memory, and a linear interpolation. This code is identical for a fridge door and a soft-close drawer.

The proposal has two contributions. The first is a fused forward-and-adjoint kernel for heterogeneous batches of such joints. The second is a gradient-based calibration procedure that fits roughly $3K$ parameters per joint from a few seconds of recorded interaction.

Research Program

Kernel. We will build on DiffTaichi's design: local automatic differentiation by source transformation inside fused kernels, plus a global tape of kernel launches. We extend it in two ways.

The first extension is heterogeneous batching. Assets with different joint counts are packed into flat arrays organized like a compressed sparse row layout. The per-joint tables are stored contiguously, so one kernel launch steps every joint of every asset. This borrows FlashSchNet's approach of replacing irregular scatter operations with contention-free segment reductions over a sparse layout (FlashSchNet). FlashSchNet applies it to molecular graphs; we apply it to kinematic trees.

The second extension targets the memory cost of differentiating through time, which DiffTaichi identifies as its main limitation. We store states only every $C$ steps and recompute the steps in between inside the fused backward kernel. Peak memory then scales with the number of trajectory steps divided by $C$, rather than with the full trajectory length.

Calibration signal. To keep the problem well-posed, we identify joint dynamics separately from gripper contact. A robot arm with a wrist force-torque sensor pulls or pushes each real object through its range. We record the applied force at the handle and the joint angle, using mocap where available and the arm's own kinematics otherwise. The simulator then replays the measured force, and we fit the tables so that simulated joint trajectories match the recorded ones. The loss also includes a smoothness penalty on the tables, so that knots the data never visits do not drift.

Starting points come from the generative pipeline. A vision-language model reads the object category and proposes initial tables, for example "soft-close drawer: rising damping in the last 3 cm."

Asset source. The meshes and kinematic trees come from PartNet-Mobility as retrieved by RoboGen-style pipelines (RoboGen). Only the drive tables are fitted. Correcting geometric precision, a separate failure mode RoboGen reports for millimeter-scale tasks, is out of scope.

Baselines

The naive reference point is the default linear joints that ship with PartNet-Mobility, with no calibration at all. This is what current generative pipelines actually simulate. Any method that does not clearly beat it on trajectory error and downstream success has no value.

The strongest fidelity competitor is ArtVIP's hand-calibrated assets (ArtVIP). Their reported result is 39% zero-shot real drawer-pulling success with ACT trained only in simulation, and 81% when real data is mixed in. We will use ArtVIP assets that have real counterparts we can physically obtain. The comparison is fair because both conditions train the same ACT policy with the same demonstration count and the same real test protocol. Our calibrated version of the default PartNet-Mobility joint counts as beating the hand-made asset if it matches or exceeds 39%. Matching ArtVIP is the real goal, since our cost per asset is minutes of robot time rather than modeler days.

The strongest optimizer competitor is CMA-ES, a standard gradient-free evolutionary search. It will optimize the same table parameters using thousands of parallel forward-only rollouts in a GPU simulator, in the style of Isaac Gym. It gets the same GPU, the same wall-clock budget and the same initialization. Beating it means lower held-out trajectory error at equal wall-clock time.

The strongest throughput competitor is per-asset specialized kernels: one branchy drive routine per joint type, dispatched within a batch. These will be written by hand and also generated by CUDA Agent, which reports a 1.52× geometric-mean speedup over torch.compile on KernelBench Level-3. We will also compare against torch.compile on a PyTorch implementation of the same equations. Beating these baselines means higher steps per second on mixed batches of 1,000 or more distinct assets. We found no reported result on Lacuna for heterogeneous articulated-asset batch throughput, so all throughput numbers will come from our own measurements on identical hardware.

Two ablations isolate the key ingredients. The first replaces the tables with ArtVIP-style low-dimensional parametric drives: a few stiffness, damping and latch-force scalars. This tests whether the tables' expressiveness is what matters. The second replaces our recompute-based adjoint with the full tape. This tests the memory claim.

Why not just…?

Why not just run CMA-ES in a fast parallel simulator instead of building differentiable fused kernels? This is the real threat. With five or so scalar parameters per joint, gradient-free search on thousands of parallel environments will very likely match gradients. The tables raise the dimension to dozens of parameters per joint, where evolutionary search is known to slow down. Even so, we will sweep $K$ and report the crossover point honestly. If CMA-ES matches gradient descent at every $K$ we test, the contribution shrinks to two pieces: the uniform representation and the heterogeneous fused forward kernel, which CMA-ES itself would benefit from. We would then drop the adjoint work.

Why not just let an agent like CUDA Agent write a fused kernel per asset? Generating code separately for each of thousands of assets brings back a per-asset engineering cost. KernelBench reports that out of the box, even the best models match PyTorch Eager in fewer than 20% of cases, and that LLMs often fuse in ways that run slower than the unfused code (KernelBench). Per-asset kernels also cannot share a single launch when a batch mixes assets. Our throughput comparison on mixed batches tests this directly.

Why not just domain-randomize linear joint parameters? ArtVIP attributes its real-world success to nonlinear effects such as latch break-out resistance. Randomizing linear springs and dampers cannot produce a detent. The naive baseline with randomization added will show whether that attribution holds for the objects we test.

Why not just hand-calibrate, as ArtVIP does? Hand calibration works, but it is what limits the library to 992 assets. We will report calibration time per asset for both approaches alongside the fidelity comparison.

Proposed Experiments

Sim-to-sim recovery. We generate trajectories from ArtVIP's calibrated assets, initialize our model from default joints, and measure joint-angle RMSE on held-out force profiles. We also measure how closely the fitted tables match the ArtVIP drive curves. This experiment establishes identifiability before any real data is involved.

Real calibration. We collect force-torque trajectories on about 30 real drawers, doors and lids, holding out half the pulls on each object for testing. We compare held-out trajectory error across the naive joints, the parametric ablation, CMA-ES, and our method.

Downstream policies. We train ACT on drawer pulling in simulation using our calibrated assets and test zero-shot on the real objects, with ArtVIP's 39% as the bar.

Systems measurements. We measure steps per second and peak memory as functions of batch heterogeneity (from 1 to 1,000 distinct assets), table size $K$, and checkpoint interval $C$, against the specialized-kernel and torch.compile baselines.

Decisive checks. The project is falsified if any of three things happens. First, mixed-batch throughput of the fused table kernel falls below that of specialized kernels. Second, the parametric ablation matches the tables on real held-out error. Third, calibrated default assets fail to approach ArtVIP's hand-made assets on real drawer success.