# A Physics-Informed Collision Learning Framework for Collaborative Robot Motion Generation

Robotics.world

> When two robot arms share a tight workspace, the controller needs a collision-distance signal that is both geometrically accurate and smooth enough to differentiate inside a gradient-based optimizer.

**arXiv**: 2610.12404 · Preprint · not peer-reviewed

**Published**: 2026-10-08

**Authors**: Chen Cai, Steven Liu

## In plain words

When two robot arms share a tight workspace, the controller needs a collision-distance signal that is both geometrically accurate and smooth enough to differentiate inside a gradient-based optimizer. Classical mesh-based checkers such as FCL give reliable distances but are discrete and non-smooth, while simplified convex proxies (line segments, ellipsoids) inflate clearances and can deadlock tightly coupled motion.

## AI summary

## Overview

**Research area:** Robotics — collision-aware motion planning and control for collaborative multi-arm robots, combining differentiable learning with nonlinear model predictive control (NMPC).

**Technical level:** Intermediate (assumes familiarity with robot forward kinematics, signed distance fields, and the basics of model predictive control; the machine-learning components are described at an accessible level).

**Scope:** The paper introduces PI-UDF, a compact physics-informed, fully differentiable framework that predicts body-to-body signed clearance between two articulated robot arms directly from their joint configurations, and embeds that learned distance field as a clearance term inside a nonlinear MPC controller validated on a real dual-Franka platform.

## What This Paper Is About

When two robot arms share a tight workspace, the controller needs a collision-distance signal that is both geometrically accurate and smooth enough to differentiate inside a gradient-based optimizer. Classical mesh-based checkers such as FCL give reliable distances but are discrete and non-smooth, while simplified convex proxies (line segments, ellipsoids) inflate clearances and can deadlock tightly coupled motion. The paper's goal is a compact learned model that maps a pair of arm configurations directly to an inter-arm signed distance, with gradients good enough for real-time closed-loop motion generation.

## Key Contributions

1. **Task-optimized geometry representation with analytical kinematics.** Instead of a separately pretrained point-cloud encoder, PI-UDF conditions a single shared residual regressor on forward-kinematics-derived relative poses plus learnable per-link embedding lookups. This yields a 0.11 M-parameter model trained end-to-end, with an approximately 5× wall-clock training speedup over PairwiseNet at the same 50-epoch budget.
2. **Pair-level boundary supervision with asymmetric safety-aware learning.** The authors introduce ground-truth class-zone quota mining at the link-pair level (four distance zones, from penetration to far-field) together with an asymmetric Boundary-Crossing Penalty (BCP) that amplifies false-safe sign errors — predicting positive clearance when the true pair is in contact or penetration — while treating conservative safe-state errors more lightly.
3. **Differentiable motion-generation integration and hardware validation.** PI-UDF is integrated into a JIT-compiled nonlinear MPC stack as a differentiable inter-arm clearance term and validated on real dual-Franka hardware across close-proximity swapping, dynamic evasion, and reactive/predictive operating modes, with offline Drake/FCL replay for geometry-level validation.

## Main Findings

- **Uniform sampling fails outright.** Under the reproduced uniform-data setting, PairwiseNet reached a false negative rate (FNR) of 100.00% on the static safety-critical test set, with predicted density mass shifted into the false-safe positive region; its safety-critical mean absolute error (SC-MAE) was 18.33 cm.
- **Boundary-focused data alone helps substantially.** Retraining the same PairwiseNet regressor on the actively mined dataset cut FNR from 100.00% to 16.47% at 50 epochs, isolating the effect of data coverage from architecture or loss.
- **The asymmetric loss reduces hazardous sign errors.** At an equal 50-epoch budget, PI-UDF and the active-data PairwiseNet had comparable SC-MAE (2.33 cm vs. 2.38 cm), but PI-UDF achieved a substantially lower FNR (6.83% vs. 16.47%).
- **Competitive global accuracy at a fraction of the cost.** PI-UDF (50 epochs) reached 3.32 cm RMSE, close to a PairwiseNet trained 1.5× longer (75 epochs, 3.08 cm RMSE), while cutting training time from 138 min to 27.8 min and using a 0.11 M-parameter trainable model versus PairwiseNet's 0.04 M trainable plus 0.81 M frozen encoder parameters.
- **The learned geometry stream is not doing the heavy lifting alone.** Even the shallow MLP variant (18,465 parameters) achieved 4.027 cm RMSE and 7.89% FNR, showing that useful pairwise distance prediction is possible without any pretrained point-cloud representation.
- **Smooth activations matter for gradient quality.** Swapping SiLU for ReLU worsened RMSE from 3.316 to 3.635 cm and FNR from 6.83% to 7.52%, and raised the gradient-roughness diagnostic from 2.14×10⁻³ to 9.83×10⁻³ (4.6×). ReLU's peak gradient spikes were reported as 4.28× more severe (0.075 vs. 0.017) and occurred deep inside the collision region at t = 0.72.
- **Capacity scaling is consistent.** Increasing the residual backbone from 21,921 to 109,345 parameters (Small to Base) reduced RMSE from 4.220 to 3.316 cm, SC-MAE from 2.588 to 2.328 cm, and FNR from 7.71% to 6.83%.
- **Late-stage training strategies trade accuracy against safety margin.** Boundary fine-tuning lowered RMSE to 3.148 cm and FNR to 6.69%; Hard Negative Mining pushed FNR further down to 6.37% at the cost of a small conservative bias raising RMSE to 3.298 cm.
- **Data distribution shift is dramatic.** Only 0.64% of uniformly sampled configurations fall in the penetration or near-field zones, versus over 98% of the actively retained set, under the same 100k-configuration budget.
- **Inference is fast.** The deployed Base model evaluates a batch of 64 single-pair queries in 0.177 ms on an Intel i7-12700 CPU.

## Methodology in Plain English

The core idea is to split the problem into the part physics already knows and the part the network must learn.

**Step 1 — Let kinematics do the kinematics.** Each arm's joint angles are converted to world-frame link poses using standard forward kinematics. For any pair of links, one from each arm, the researchers compute the relative transform between them. This means the network never has to infer rigid-body motion from joint angles; it receives the relative pose directly as a 12-number vector.

**Step 2 — Represent link shapes as learned lookup vectors.** Rather than encoding point clouds at inference time, each robot link gets a row in a small embedding table (dimension 32 in the implementation). Two link embeddings are concatenated into a geometry descriptor. These rows start random and are trained jointly with the distance regressor, so they end up encoding whatever shape features matter for distance prediction, not visual shape. Two identical Franka arms share one table.

**Step 3 — Fuse and regress.** The pose vector and geometry vector are concatenated and passed through one shared residual network used for every link pair. Conceptually the output is a pose-dominant distance trend plus a geometry-conditioned correction, though this is an interpretation of the learned mapping rather than an explicitly implemented two-branch design.

**Step 4 — Mine the boundary, not the whole space.** Uniform joint-space sampling wastes almost all its budget on far-apart configurations. The authors propose candidate configurations and keep one only if at least one of its link-pair distances fills an underrepresented slot in a matrix of (link-pair class × distance zone), with four zones: penetration (d ≤ 0), near-field (0 < d ≤ 5 cm), mid-field (5–20 cm), and far-field (> 20 cm). Retaining a configuration keeps labels for all its link pairs, so far-field calibration is preserved.

**Step 5 — Penalize only the dangerous mistakes.** The Boundary-Crossing Penalty is a weighted L1 loss with zone-dependent weights (λ = 1.5, 1.0, 0.5, 0.1) that is additionally multiplied by (1 + η) when the model predicts safe while the truth is contact or penetration (η = 5.0). Conservative errors in the safe direction are penalized by the base term only.

**Step 6 — Plug it into the controller.** Because the exact minimum over link pairs is non-smooth when the active pair changes, the MPC uses a smooth surrogate of the minimum clearance rather than the raw minimum. The whole model is JIT-compiled inside the MPC stack so gradients flow back to the joint commands.

## Why This Matters

**Impact on research.** The paper argues that direct body-to-body distance learning over configurations is a better fit for closed-loop multi-arm control than point-to-robot queries, which require dense online point sampling or proxy shapes. It also reframes the data problem: the bottleneck is not network capacity but the extreme sparsity of near-contact configurations in 14-DoF joint space — the authors call this the "Sparsity Trap" — and it shows that asymmetric loss design, not just better data, controls the safety-critical failure mode of false-safe prediction.

**Real-world applications:**

- **Dual-arm industrial workcells** where two manipulators share a fixed, calibrated base arrangement and must cross through each other's workspace.
- **Close-proximity cooperative assembly or handover**, where inflated convex proxies would prevent the arms from approaching closely enough to work.
- **Reactive evasion in human-shared or multi-robot environments**, where a single arm must dynamically avoid a moving obstacle or second arm.
- **Offline geometry validation pipelines**, where a learned clearance model is cross-checked against established checkers such as Drake/FCL before deployment.

**Industry relevance.** The fixed-cell setup (bases calibrated once, inter-base offset 1.16 m) matches how many collaborative workcells are actually deployed, and the compact 0.11 M-parameter model with 0.177 ms batched inference on a CPU — no GPU required at runtime — makes embedding inside a real-time controller plausible. Avoiding a pretrained point-cloud encoder also removes a dependency on external pretrained weights, which the authors explicitly note were unavailable for their baseline.

## Future Directions

- **Generalization beyond the fixed cell.** The authors explicitly frame their scope as a calibrated fixed-base deployment and note that training across multiple robot layouts would be required to cover the resulting relative-pose distribution — the original PairwiseNet goal. Extending PI-UDF to varying base placements is the obvious next step.
- **Heterogeneous robot pairs.** The architecture allows robot-specific embedding tables feeding a shared regressor, but only identical Franka arms (sharing one table) are evaluated; dual-arm systems with different manipulators are untested.
- **Closing the loop between mining and training.** The current quota mining is driven by ground-truth coverage deficits, deliberately unlike model-in-the-loop active learning. Whether iterating the mining against the learned model's own boundary would further reduce FNR is left open.
- **Controller-level validation depth.** The paper promises hardware results across swapping, evasion, and reactive/predictive modes with Drake/FCL replay, but the quantitative closed-loop outcomes (tracking error, minimum achieved clearance, solve times) are not present in the available text; establishing how the gradient-roughness diagnostic translates into solver convergence and real task performance remains the key open question.

## Target Audience

Robotics researchers and engineers working on multi-arm motion planning, learning-based collision detection, or differentiable MPC. It is most useful to readers who already understand signed distance fields and gradient-based control and want a concrete, hardware-validated recipe for making a learned clearance model cheap enough and smooth enough to sit inside a real-time optimizer. Practitioners building dual-arm collaborative workcells will find the data-mining and loss-design details directly transferable; readers new to the area should first review standard NMPC and forward kinematics.

## Authors’ abstract

Close-proximity multi-arm manipulation requires collision models that are both geometrically accurate and differentiable enough for real-time optimization. Classical geometry checkers provide reliable distances but are difficult to use inside gradient-based model predictive control, while conservative proxy models can restrict tightly coupled motion. We present PI-UDF, a physics-informed unified differentiable framework for body-to-body collision distance prediction between…

[The full abstract on arXiv](https://arxiv.org/abs/2610.12404)

[Read the original paper](https://arxiv.org/abs/2610.12404)

## Related papers

- [PushAround: Collaborative Path Clearing via Physics-Informed Hybrid Search](https://robotics.world/paper/pusharound-collaborative-path-clearing-via-physics-informed-hybrid-2610.35062) 2026-10-26 · cs.RO · Key terms of the title in common
- [ForceTwin: Physics-informed Digital Twins for Robotic Manipulation from Instrumented Human Interaction](https://robotics.world/paper/forcetwin-physics-informed-digital-twins-for-robotic-manipulation-from-2609.21751) 2026-09-18 · cs.RO · Key terms of the title in common
- [Physics-Informed Causal Reasoning for Nonstationary Robot Dynamics](https://robotics.world/paper/physics-informed-causal-reasoning-for-nonstationary-robot-dynamics-2611.19251) 2026-11-14 · cs.RO · Key terms of the title in common
- [PRIMO: Prior-Informed Odometry from Human-Motion Tracking for Humanoid Robots](https://robotics.world/paper/primo-prior-informed-odometry-from-human-motion-tracking-for-humanoid-2609.23610) 2026-09-20 · cs.RO · Key terms of the title in common
- [Generative Action-Chunk Sampling for Adaptive Stiffness Control in Physical Human-Robot Collaboration](https://robotics.world/paper/generative-action-chunk-sampling-for-adaptive-stiffness-control-in-2608.25284) 2026-08-26 · cs.RO · Key terms of the title in common

---

Canonical: https://robotics.world/paper/a-physics-informed-collision-learning-framework-for-collaborative-robot-2610.12404
