Differentiable Distance Fields for Real Time Robot Control

This direction is split into other directions: differentiable safety constraints. Its last version stays readable and citable here.

Version 1 of 1211 papers316 conceptsfrozen 2026-10-04

Traditional robotic motion planning treats collision detection as a binary "yes or no" question. A planner samples a configuration, checks it against a mesh or voxel grid, and discards it if it penetrates an obstacle. While effective for global pathfinding, this discrete approach is a bottleneck for high-speed, reactive control. It provides no information about which direction to move to increase safety—only that the current state is invalid.

A growing body of research proposes a shift from discrete geometry to differentiable distance fields. By representing both the robot and its environment as continuous, differentiable functions—specifically Signed Distance Fields (SDFs)—researchers are transforming collision avoidance from a search problem into a smooth optimization problem.

The Gradient of Safety

The core intuition behind this shift is the utility of the spatial gradient. In a Signed Distance Field, every point in space is mapped to a scalar value representing its distance to the nearest surface (with negative values typically indicating the interior of an object).

Because these fields are differentiable, a robot can calculate the exact direction and magnitude needed to increase its distance from an obstacle. As Amirreza Razmjoo and Yiming Li demonstrate in Learning Robot Geometry as Distance Fields: Applications to Whole-body Manipulation, this allows optimization-based planners to "push" the robot away from collisions using analytic gradients. Instead of failing when a collision is detected, the controller follows the steepest descent of the distance field to find a valid configuration in real-time.

Representing Geometry as Functions

To make these gradients useful for high-frequency control loops (often running at 100Hz or faster), the representation must be both accurate and computationally "cheap" to query. The research highlights three primary ways to achieve this:

  1. Polynomial Approximations: Yiming Li and Sylvain Calinon use Bernstein polynomials to encode individual robot links. This provides a smooth, closed-form mathematical structure that yields exact analytic gradients, outperforming traditional mesh-based methods that suffer from discontinuous gradients.
  2. Neural Signed Distance Fields: For complex or unknown environments, researchers like Alexander Clegg and Joseph Ortiz in iSDF: Real-Time Neural Signed Distance Fields for Robot Perception use Multi-Layer Perceptrons (MLPs) to "learn" the distance field from streaming sensor data. These neural representations can "fill in" unobserved regions and provide smooth gradients via backpropagation.
  3. Geometric Primitives: Lin Yang utilizes Superquadrics—flexible mathematical shapes that can model complex links more accurately than simple boxes or spheres while remaining fully differentiable.

Integrating Geometry into the Control Loop

Once geometry is expressed as a differentiable function, it can be embedded directly into modern control frameworks.

In Safe Reinforcement Learning, Puze Liu and Davide Tateo show that projecting actions onto the tangent space of a constraint manifold—defined by an SDF—allows robots to learn complex tasks without ever violating safety limits.

In Safety-Critical Control, the differentiability of the distance field is a prerequisite for using Control Barrier Functions (CBFs). Bolun Dai and Nadia Figueroa demonstrate that by treating collision avoidance as a differentiable scaling problem, robots can navigate narrow gaps with mathematical guarantees. This is further extended by Satyajeet Das in RNBF: Real-Time RGB-D Based Neural Barrier Functions for Safe Robotic Navigation, where neural fields enable these guarantees even in unknown environments.

Why It Works: From Discrete Checks to Continuous Optimization

The shift to differentiable distance fields works because it aligns the representation of the physical world with the mathematical tools used to control it.

Traditional collision checking is a "black box" to an optimizer. By contrast, a differentiable field turns the environment into a cost landscape. As Balakumar Sundaralingam shows with the cuRobo library, this allows massively parallel GPU solvers to evaluate thousands of trajectories simultaneously, using the gradients to refine them into smooth, collision-free motions in milliseconds.

Whether it is Haoxiang Ma optimizing for the perfect grasp or Bernhard Wullt mapping out "safe bubbles" in configuration space, the underlying principle remains the same: when geometry is differentiable, safety becomes a steerable signal rather than a binary constraint.

Papers in this version

Showing 60 of 211 papers.

History & citationVersion 1 · 2026-10-04

Split into other directions · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_differentiable_distance_fields_for_real__43275b4b,
  title = {Differentiable Distance Fields for Real Time Robot Control},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/differentiable-distance-fields-for-real-time-robot-control/rdr_43275b4b467640cc8018b74e13bdcc40},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-12-01},
}

This exact version (version 1, frozen text):

@misc{lacuna_differentiable_distance_fields_for_real__43275b4b_v1,
  title = {Differentiable Distance Fields for Real Time Robot Control},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/differentiable-distance-fields-for-real-time-robot-control/rdr_43275b4b467640cc8018b74e13bdcc40/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-12-01},
}