Neural Configuration Distance Function for Continuum Robot Control

Kehan Long, Hardik Parwana, Georgios Fainekos, Bardh Hoxha, Hideki Okamoto, Nikolay Atanasov

TL;DR

This paper introduces the Neural Configuration Euclidean Distance Function (N-CEDF), a novel method for modeling the continuously curving shapes of continuum robots. By learning independent neural distance fields for individual robot links and combining them via a kinematic chain, the approach enables highly accurate, real-time collision checking. Integrated with a Model Predictive Path Integral (MPPI) controller, N-CEDF allows flexible robots to safely navigate dynamic, cluttered environments using raw point-cloud observations.

What Problem Does This Paper Address?

Unlike traditional rigid-link robots, continuum robots (such as robotic tentacles or catheters) feature flexible, continuously bending structures. This makes them highly adaptable for navigating tight spaces in applications like minimally invasive surgery or search-and-rescue operations. However, their infinite degrees of freedom make modeling their shape and planning safe paths incredibly difficult.

To avoid obstacles in real time, a robot needs to quickly calculate the distance between its entire body and the environment. Existing methods often simplify the robot's shape into a crude collection of spheres or a sparse point cloud. This trade-off leads to a harsh dilemma: either the representation is too inaccurate (causing the robot to get stuck or collide), or it is too computationally expensive for real-time control loops in dynamic environments.

Methods

The authors tackle this challenge by combining geometric kinematics with deep learning through three core components:

  1. Modular Neural Distance Fields (N-CEDF): Instead of trying to learn a massive distance function for the entire robot configuration, the authors exploit the robot's kinematic structure. They train a small neural network to learn the Signed Distance Function (SDF) of a single deformable link based on its curve parameters (bending angle $\theta$ and bending plane angle $\phi$).
  2. Kinematic Chain Synthesis: During execution, the complete robot shape is reconstructed by passing the individual link distance fields through a standard forward kinematics chain. This significantly reduces the dimensionality of the learning problem.
  3. Safety-Aware Loss Function: The neural networks are trained using a custom loss function that includes an overestimation penalty. This explicitly penalizes the network if it predicts that an obstacle is further away than it actually is, ensuring conservative and safe distance estimates.
  4. MPPI Control Integration: The learned N-CEDF is integrated into a Model Predictive Path Integral (MPPI) controller. MPPI samples thousands of potential control trajectories in parallel on a GPU, using the N-CEDF to instantly evaluate collision risks against raw environment point clouds.
A single continuum robot link geometry and a multi-link robot navigating a dynamic environment.

Datasets

The authors generated a synthetic dataset to train and validate the local N-CEDF models:

  • Training Data: 250 uniformly sampled link configurations within valid physical arc-length limits. For each configuration, $32^3$ workspace points were sampled within a bounding box, alongside 1,600 surface points on the link to compute ground-truth Euclidean distances.
  • Validation Data ($D_{val}$): A separate dataset constructed using the same sampling methodology to evaluate Mean Absolute Error (MAE), Root Mean Squared Error (RMSE), and Mean Overestimation Error (MOE).

Key Insights and Ideas

  • Divide and Conquer Scales Better: Learning shape representations link-by-link rather than globally allows the system to scale seamlessly to robots with varying numbers of segments (e.g., 4, 5, or 7 links) without retraining the underlying neural networks.
  • Pessimism is a Virtue in Safety: Introducing the overestimation loss component dramatically reduced the Mean Overestimation Error (from 0.011 m down to 0.002 m) while maintaining overall accuracy. This "pessimistic" buffer prevents the planner from clipping obstacles due to neural network approximation errors.
  • Implicit over Explicit Representations: Querying a neural network for distances is environment-agnostic and avoids the need for expensive geometric mesh reconstructions, making it ideal for processing raw, noisy point-cloud data from real-world sensors.
Visualization of the learned N-CEDF distance fields around a single link in two different bending configurations.

Key Results

The method was evaluated in simulated dynamic environments containing moving spherical obstacles:

  • Accuracy vs. Speed Trade-off: A 4-layer neural network with 16 neurons per hidden layer achieved an excellent balance, yielding a low Mean Absolute Error (MAE) of 0.017 m and an inference time of just 0.0218 ms.
  • Real-Time Control: When integrated into the MPPI controller for a 4-link robot, the total solver time per step was 0.0331 seconds, successfully satisfying the real-time requirements of a 20 Hz control loop.
  • High Success Rates: In a benchmark of 1,000 randomized environments, the N-CEDF approach achieved a 98.6% navigation success rate, outperforming baseline sphere-approximation models (which suffered from a high 12.3% "stuck" rate due to over-conservative bounding) and dense point-cloud models (which were too slow, taking 0.284 seconds per solver step).

Limitations and Future Work

  • Actuation Abstraction: The current framework assumes that the mapping from internal chamber pressures to physical arc lengths is perfectly known and calibrated, bypassing complex fluid/pressure dynamics.
  • Simulation Only: The approach has only been validated within simulated environments. Physical phenomena common to real continuum robots—such as hysteresis, torsional twisting, and external load deformations—were not accounted for.

The authors note that future work will focus on deploying this framework onto physical continuum robot hardware to validate its robustness against real-world sensor noise and structural non-linearities.

Summary updated

BibTeX
@inproceedings{long2025neural,
  author = {Kehan Long and Hardik Parwana and Georgios Fainekos and Bardh Hoxha and Hideki Okamoto and Nikolay Atanasov},
  title = {{Neural Configuration Distance Function for Continuum Robot Control}},
  booktitle = {IEEE/RSJ International Conference on Intelligent Robots and Systems},
  year = {2025},
  doi = {10.1109/iros60139.2025.11246945},
}
Figure