# Hölder Signed Distance: A Differentiable, Signed, Parallelizable Metric for Robotics

Robotics.world

> Robots need distances between objects not only as numbers but as differentiable functions, because safety controllers such as control barrier functions require gradients of the distance to enforce…

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

**Published**: 2026-08-07

**Authors**: Felipe Bartelt, Ali Umut Kaypak, Anthony Tzes, Farshad Khorrami, Luciano C. A. Pimenta, Vinicius M. Gonçalves

## In plain words

Robots need distances between objects not only as numbers but as differentiable functions, because safety controllers such as control barrier functions require gradients of the distance to enforce constraints.

## AI summary

## Overview

**Research area:** Robotics — collision avoidance, computational geometry, and constrained motion planning; specifically differentiable distance metrics for control barrier functions (CBFs) and trajectory optimization.

**Technical level:** Advanced. The paper is built on min–max formulations of the Euclidean signed distance, convex polyhedra, and the Separating Axis Theorem, and much of the argument is carried by propositions and proofs deferred to an appendix. The high-level motivation and experimental results are accessible to an intermediate reader.

**Scope (one sentence):** The paper introduces the Hölder Differentiable Signed Distance Function (HD-SDF), a closed-form, signed, γ-times differentiable distance between convex polyhedra, built from new differentiable substitutes for the min and max operators, and validates it with runtime comparisons and a Franka Emika Panda control experiment.

## What This Paper Is About

Robots need distances between objects not only as numbers but as *differentiable* functions, because safety controllers such as control barrier functions require gradients of the distance to enforce constraints. The standard Euclidean Signed Distance Function is not differentiable everywhere — it develops kinks whenever the closest pair of points (the "witness points") is not unique, which happens with parallel or nearly parallel faces, and which produces chattering or very large control inputs. Existing smooth alternatives are unsigned (no penetration depth) or iterative (slow, with convergence issues). This paper's goal is a distance that is simultaneously signed, differentiable everywhere, computed in closed form, and naturally parallelizable.

## Key Contributions

1. **Hölder Minimum and Hölder Maximum operators** (`HMin_γ` and `HMax_γ`): differentiable surrogates for the classical min and max that preserve commutativity, associativity, sign preservation, and recover the true min/max as γ → ∞. Their key structural advantage is that all non-differentiable points are confined to the zero level set, where a simple shaping function removes them.
2. **Shaping functions and differentiability control:** a formal notion of a k-th order shaping function `Φ_{k,ε}(u) = u·|u|^k / (|u|^k + ε)` that is flat enough at zero to erase the remaining non-differentiability, while approximating the identity for large |u| so the function's shape is preserved away from zero. The order of differentiability, γ, is a free design parameter.
3. **The HD-SDF itself:** a signed distance between convex polyhedra built by (i) restricting candidate separating normals to a finite, continuously varying set derived from faces and edges, (ii) replacing min/max with HMin/HMax, and (iii) applying shaping functions. It is closed-form (non-iterative), signed, γ-times differentiable, rigid-transformation invariant, and conservative (positive value implies true separation).
4. **Empirical validation:** runtime comparisons against the exact Euclidean SDF from FCL and the unsigned differentiable distance of prior work (denoted GDF), a quantification of false-positive/conservativeness rates over 500,000 random configurations, and a manipulator experiment showing chattering-free control where the Euclidean baseline chatters.

## Main Findings

- **Signed and safe by construction:** `D_{γ,ε}(A,B) > 0` implies the true signed distance `d(A,B) > 0`; the converse guarantee does not hold, so a non-positive HD-SDF is a *conservative* contact indicator rather than a proof of collision.
- **Differentiability:** if both bodies undergo γ-times differentiable rigid motions, the HD-SDF evaluated along those motions is γ-times differentiable with respect to time. It is also invariant under rigid transformations applied to both bodies.
- **Conservativeness is mild in practice:** over N = 500,000 random configurations drawn from all 15 Platonic-solid pairs (γ = 2, ε = 10⁻⁴), the false-positive rate was below 0.2% at a separation tolerance of 10 cm, and around 0.7% at a stricter tolerance of 100 µm.
- **Runtime trade-off on CPU:** HD-SDF complexity is cubic in vertex count, `O(|V(A)|²|V(B)| + |V(A)||V(B)|²)`. On the tested setup it reached a worst-case time of approximately 5 ms, corresponding to a 500× slowdown relative to the exact SDF and a 50× slowdown relative to GDF, which scale roughly linearly and remain nearly flat on the plots.
- **Configuration-agnostic cost:** projection-based methods (SDF, GDF) depend on the objects' relative pose, whereas HD-SDF cost is entirely configuration-agnostic — a distinguishing practical property.
- **GPU acceleration helps:** evaluating a batch of 90² queries on a GPU (via PyTorch) gave up to a 13× speedup over the single-core C++ CPU implementation for tetrahedron pairs, with roughly equivalent times in the worst case.
- **Smoother robot control:** in the Franka Emika Panda corridor task, boxes and box-modelled links frequently create parallel faces, making the Euclidean distance non-differentiable — snapshots 40 ms apart show the witness point jumping sides. The Euclidean baseline produced strong chattering in the last joint's velocity command over t = 0 to 5 s, while the HD-SDF produced continuous commands and the robot completed the task without vibration.
- **Negative-range operation validated:** the experiment deliberately drives the HD-SDF negative (obstacles virtually expanded by 5×10⁻² m, safety margin δ_obs = −5×10⁻³, versus δ_obs = 0.03 m for the Euclidean baseline), demonstrating that the metric stays smooth and differentiable in penetration, which matters for regulating penetration depth.

## Methodology in Plain English

The starting point is a classical way to write the exact signed distance between two convex sets: choose a direction, measure the smallest gap between the two bodies along that direction, and then take the largest such gap over all unit directions. That "min inside, max outside" recipe is exact but not differentiable, for two separate reasons — the min/max switch abruptly at ties, and the set of directions is a continuous sphere.

The authors attack both problems. First, they shrink the infinite set of directions to a finite list built from the objects' face normals and edge directions, dropping the cross-product-of-edges terms because normalizing them breaks down when edges become parallel. This finite list changes the number but preserves the sign of the distance, which is what safety controllers actually need. Second, they replace the hard min and max with their Hölder versions, which behave like soft, smoothly blending versions of min and max but still concentrate any remaining trouble at a single value: zero. Third, they pass the result through the shaping function, which is essentially the identity except in a thin band around zero, where it is deliberately flat. The composition is differentiable to whatever order γ the user picks, evaluated in closed form, and implemented as a large batch of independent dot products followed by associative reductions — the structural reason it parallelizes well on GPUs.

Validation is threefold: timing against FCL's exact SDF and the prior GDF on all 15 pairs of the five Platonic solids (N = 100 random poses per pair, K = 50 queries per configuration, averaged), a large-scale sign-agreement study against FCL ground truth, and a CBF-based quadratic-program controller on a Franka Emika Panda reaching a target inside a three-box corridor under collision, self-collision, and joint-limit constraints.

## Why This Matters

**Impact on research:** The paper removes a common practical friction point in safety-critical control — the need to either restrict geometry to shapes with well-behaved distance derivatives, or to accept unsigned or iterative metrics. Because differentiability order is a tunable parameter and the computation is closed-form, it offers a cleaner primitive for CBF design, for optimization-based planners such as CHOMP-style trajectory deformation, and for GPU-parallel simulation, where branching closest-feature searches are hostile to SIMD execution.

**Real-world applications:**

- **Manipulator safety layers:** CBF-based controllers on serial arms operating in cluttered, box-like environments (the paper's own corridor scenario).
- **Insertion, assembly, and compliant manipulation:** tasks that need a well-behaved signal for *penetration depth*, not just separation, which unsigned metrics cannot provide.
- **Motion planning and trajectory optimization:** analytic gradients to push trajectories away from obstacles without discretized distance fields or surrogate potentials that distort geometry near boundaries.
- **Large-scale simulation and batch collision checking:** many object pairs evaluated simultaneously on a GPU, where per-pair cost is predictable regardless of relative pose.

**Industry relevance:** The cubic vertex scaling and the 500×/50× CPU slowdowns versus projection methods mean HD-SDF is not a drop-in replacement for fast broad-phase collision detection. Its value is in the narrow phase of safety-critical control and gradient-based optimization, where a signed, everywhere-smooth gradient is worth more than raw query throughput — and where GPU batching recovers much of the cost.

## Future Directions

- **Reducing conservativeness systematically:** the authors note that false collisions vanish as the normal set approaches the entire unit sphere, so a principled way to add continuously varying normals — and to trade computation for accuracy — is an open design question.
- **Coping with cubic complexity:** the metric's cost grows cubically in vertex count, so approximate or hierarchical variants (e.g., decompositions, bounding-volume pruning, or reduced normal sets) would broaden its applicability to high-fidelity meshes.
- **Broader validation beyond the Platonic solids and one manipulator:** the reported evidence covers convex polyhedra in 3D, an i7-14700/RTX 4060 machine, and a single Panda corridor task; non-convex decomposition pipelines, multi-robot settings, and higher-degree differentiability (γ > 2) in closed-loop control are untested here.
- **Generalization to other geometries and dimensions:** the construction relies on the Separating Axis Theorem in three dimensions and on polyhedral vertices; extending it to smooth convex bodies, capsules, or other primitives commonly used in robotics remains to be worked out.

## Target Audience

Robotics researchers and graduate students working on control barrier functions, safe control, collision avoidance, and gradient-based motion planning; practitioners implementing real-time safety layers on manipulators; and simulation/GPU engineers who need a closed-form, batch-friendly, signed distance primitive. Readers without a background in convex geometry and min–max formulations will find the theorems dense, but the motivation, runtime results, and robot experiment are readable on their own.

## Authors’ abstract

Computing distances between sets is essential in robotic motion planning and control, where differentiable gradients enable real-time optimization. The Euclidean Signed Distance Function (SDF), however, is not differentiable everywhere, and existing alternatives often sacrifice differentiability, sign information, or computational efficiency. In this letter, we introduce a novel differentiable signed distance between convex polyhedra. To this end, we first propose…

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

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

## Related papers

- [Continual Humanoid Motion Learning](https://robotics.world/paper/continual-humanoid-motion-learning-2610.04231) 2026-10-03 · cs.RO · Also by Anthony Tzes
- [CLARO: Clutter Aware Robot Orchestrator for Open-Vocabulary Grasping using VLM Agents](https://robotics.world/paper/claro-clutter-aware-robot-orchestrator-for-open-vocabulary-grasping-2610.24016) 2026-10-16 · cs.RO · Also by Farshad Khorrami
- [Distributed Swarm Morphogenesis with Neural Cellular Automata](https://robotics.world/paper/distributed-swarm-morphogenesis-with-neural-cellular-automata-2610.31900) 2026-10-22 · cs.RO · Also by Anthony Tzes
- [RynnValue: Scaling Robotic Value Foundation Models with Temporal Distance](https://robotics.world/paper/rynnvalue-scaling-robotic-value-foundation-models-with-temporal-distance-2608.09853) 2026-08-10 · cs.RO · Key terms of the title in common
- [Swim-and-Breach at Palm Scale: A Rudder-Steered Two-Propeller Underwater Robot Platform with Differential-Thrust Pitch Control](https://robotics.world/paper/swim-and-breach-at-palm-scale-a-rudder-steered-two-propeller-underwater-2609.17240) 2026-09-15 · cs.RO · Key terms of the title in common

---

Canonical: https://robotics.world/paper/holder-signed-distance-a-differentiable-signed-parallelizable-metric-2608.07707
