UltraDiff: Differentiable Ray Tracing in Ultrasound for Shape Optimization

Felix Duelmer, Magdalena Wysocki, Nassir Navab, Mohammad Farid Azampour
10/6/2026
cs.GRcs.CV

No official code found. Best implementation: Felixduelmer/ultradiff (0 stars, last commit 2026-09-21).

Abstract

Physically-based differentiable rendering enables gradient-based optimization of scene parameters by matching rendered images to measurements, but has so far mainly focused on light transport. We extend this paradigm to medical ultrasound, where image formation resembles transient rendering: echoes are binned by time-of-flight rather than projected onto an image plane. We present UltraDiff, a modular framework for differentiable ultrasound ray tracing. UltraDiff formulates ultrasound image formation as a path-space integral, gated by travel time between the transducer and tissue interfaces, and derives a Monte Carlo estimator of both the forward model and its gradients with respect to scene parameters. We demonstrate this on an inverse geometry estimation: starting from a sphere, an SDF is optimized until simulated echoes match measured ones, recovering vertebral surfaces from simulated B-mode sweeps and from a real robotic acquisition of a spine phantom. Unlike state-of-the-art ultrasound shape reconstruction methods, which rely on pre-segmented images, our approach operates unsupervised on B-mode images through analysis-by-synthesis, while achieving competitive geometric accuracy. Implemented on top of Mitsuba 3, UltraDiff brings differentiable path tracing to a new sensing modality and provides a foundation for inverse problems in acoustic imaging.

View on arXivView PDF

Code Implementations(1)

Code Repository for the SIGGRAPH ASIA paper: "UltraDiff: Differentiable Ray Tracing in Ultrasound for Shape Optimization"

00Sep 21, 20264 weeks ago

Similar Papers

Cite this paper

@article{duelmer2026ultradiff,
  title  = {UltraDiff: Differentiable Ray Tracing in Ultrasound for Shape Optimization},
  author = {Felix Duelmer and Magdalena Wysocki and Nassir Navab and Mohammad Farid Azampour},
  year   = {2026},
  eprint = {2610.07941},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.07941v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2610.07941.svg)](https://codeofpaper.com/paper/2610.07941)

Discussion