Collision Rendering: GPU-Accelerated Trajectory Planning on Sparse Voxel Radiance Fields with Risk-Bounded Collision Checking
Although radiance fields provide detailed scene representations for robotics, they remain underexplored for trajectory planning, without a widely agreed-upon way to translate learned spatial primitives into reliable collision criteria. To bridge this gap, we introduce Collision Rendering, the first trajectory planning framework on sparse voxel radiance fields (SVR), which supports GPU-accelerated, risk-bounded collision checking and a differentiable collision cost.
From the abstract. Our summary is in progress.
Full paper
Collision Rendering: GPU-Accelerated Trajectory Planning on Sparse Voxel Radiance Fields with Risk-Bounded Collision Checking
Published under CC BY-NC-SA 4.0. Reproduced with attribution; original at arXiv:2611.31658 (PDF).
Abstract
Although radiance fields provide detailed scene representations for robotics, they remain underexplored for trajectory planning, without a widely agreed-upon way to translate learned spatial primitives into reliable collision criteria. To bridge this gap, we introduce Collision Rendering, the first trajectory planning framework on sparse voxel radiance fields (SVR), which supports GPU-accelerated, risk-bounded collision checking and a differentiable collision cost. Our key insight is that the structured volumetric density of SVR allows its rendering pipeline to serve as a fast numerical approximator of collision probability. We approximate the robot with collision spheres and place a coinciding spherical camera at each sphere. Under a probabilistic collision model, we derive an upper bound on each sphere’s maximum directional collision probability from the camera’s rendering pipeline. Evaluating this bound on the GPU yields a modular collision checker that integrates with established sampling-based planners without an auxiliary geometric map or changes to the learned representation. We further compute a collision cost and its gradients from rendered opacities through the same pipeline, extending the framework to trajectory optimization. Experiments demonstrate millisecond collision checking time on a consumer-grade GPU and collision-free trajectories in all queries, outperforming other radiance field-based planners.
Index Terms:
Collision avoidance, Motion and path planning, Radiance fields
\nabla_{\mathbf{p}}\mathcal{J}_{\mathrm{coll}}. Optimizer (yellow, Sec. VI-B): the collision gradients move the initial path away from obstacles.I Introduction
Safe, collision-free trajectory planning is a fundamental requirement for robots operating in real-world environments, and it has evolved alongside the map representations used to describe these environments. Conventional sampling-based planners, such as probabilistic roadmaps (PRMs) [1] and rapidly exploring random trees (RRT) [2], rely on map representations such as occupancy grids, point clouds, or polygonal meshes, which validate candidate configurations and the connections between them through occupancy queries or geometric tests [3]. Alternatively, signed distance fields (SDFs) derived from geometric maps encode the signed distance to obstacle boundaries, supporting both distance-based collision checking and the obstacle-avoidance costs and gradients used in trajectory optimization [4].
Although these representations support efficient motion planning, their geometric fidelity is constrained by spatial resolution and reconstruction accuracy. The occupancy and geometric information underlying these maps is commonly derived from depth cameras or LiDAR, whose limited spatial sampling resolution can leave thin structures and fine surface details unresolved. Even SDFs, which allow continuous distance queries, are only as accurate as the captured geometry and the field approximation. Moreover, these representations primarily encode geometry rather than visual appearance, while preserving fine detail can incur substantial memory and computational costs.
Recent advances in radiance field methods, including NeRF [5] and 3D Gaussian splatting (3DGS) [6] variants, have opened new possibilities for dense, high-fidelity scene representation. By modeling a scene as a continuous volumetric function optimized directly from posed images, radiance fields achieve photorealistic rendering quality while implicitly capturing geometry at arbitrary resolution. Building on these advances, sparse voxel radiance fields (SVR) [7] have emerged as an alternative to 3DGS-based representations, encoding the scene in a structured voxel hierarchy rather than a set of 3D Gaussian ellipsoids. This structured encoding resolves the ambiguous depth ordering and ill-defined volumetric density that arise from unstructured, overlapping primitives in 3DGS, while preserving the fine spatial resolution, rendering efficiency, and photorealism characteristic of radiance field methods [7].
Although originally designed for photorealistic novel-view synthesis, radiance field representations inherently encode the 3D structure of a scene and have therefore been investigated for a range of robotics tasks, including simulation, real-to-sim generation, localization, and manipulation [8]. Their use in trajectory planning, however, remains comparatively underexplored, with only a handful of studies addressing it on radiance field representations. These include NeRF-based approaches, such as NeRF-Nav [9] and CATNIPS [10], as well as 3DGS-based approaches, such as Splat-Nav [11] and Splanning [12]. One reason for this limited use is that radiance fields lack a widely agreed-upon criterion for robot collision. Although these methods demonstrate the potential of radiance fields for navigation, each evaluates collisions differently, through heuristic boundaries on density or primitive extents, robot-specific map conversions, or modifications to the underlying primitives, rather than directly on the representation as trained. Moreover, all of them target NeRF or 3DGS, and to the best of our knowledge, trajectory planning on SVR remains unexplored despite the representational advantages outlined above.
Our key insight is that, by approximating the robot with collision spheres and modeling a spherical camera that coincides with each sphere, the rendering pipeline of SVR can be used to evaluate robot collision risk. Under our probabilistic collision model and its assumptions, the rendering process serves as a numerical approximation of the collision probability. Then we mathematically establish this relationship to derive a provable upper bound on the collision probability. The bound is evaluated efficiently by leveraging the highly optimized GPU rendering pipeline of SVR, yielding a risk-bounded collision checker. Through the same pipeline, we further compute a differentiable collision cost for gradient-based trajectory optimization. Both components operate directly on the SVR, requiring neither conversion to another map representation nor modifications to the trained representation or heuristic collision boundaries. Our method thus combines a provable bound on collision risk with collision queries that take only a few milliseconds on a consumer-grade GPU.
Beyond this theoretical bound, we experimentally demonstrate that our method outperforms other radiance field-based trajectory planners in simulated and real-world environments. Our contributions, illustrated in Fig. 1, are as follows:
- A modular, GPU-accelerated collision checker that operates directly on a trained sparse voxel radiance field and provides a provable upper bound on the per-direction collision probability, usable by any configuration-based planner.
- A gradient module that differentiates a rendered collision cost with respect to robot configurations through the same GPU rendering pipeline, which can be combined with arbitrary task costs in gradient-based trajectory optimization.
- A trajectory planning framework built on these two modules, combining sampling-based search with gradient-based refinement, together with experimental validation in simulated and real-world environments.
II Related Work
We first review planning methods built on radiance field representations, followed by conventional map representations and their associated planners.
II-A Planning on Radiance Fields
Radiance field methods have been applied to a range of robotic tasks, including manipulation, simulation environment construction, and SLAM [8], but their use for robot trajectory planning remains limited. Most planning-related work in this area focuses on next-best-view selection for active mapping and on reaching the selected viewpoint, treating collision avoidance as a secondary concern handled through simplified heuristics rather than formal safety guarantees [13, 14, 15, 16]. A smaller body of work addresses trajectory planning as the primary objective: NeRF-Nav [9], CATNIPS [10], Splat-Nav [11], and Splanning [12]. All four derive collision information from the density encoded in the radiance field, differing mainly in how rigorously this information is related to the true collision risk and how the resulting constraint is enforced during planning.
NeRF-Nav. NeRF-Nav was among the first efforts to adapt trajectory optimization to NeRF-represented environments. It interprets the density output of a pre-trained NeRF at a point as the collision score at that point. The robot body is approximated as a discrete set of sample points, and a trajectory is optimized to jointly minimize integrated density and control effort, using the differential flatness of quadrotor dynamics to keep the resulting trajectories dynamically feasible. However, the density is used only as a heuristic penalty rather than a calibrated probability, so the method offers no formal safety guarantee.
CATNIPS. CATNIPS instead establishes a rigorous probabilistic link between NeRF density and collision risk by reinterpreting the NeRF as a Poisson point process, which allows collision probability to be derived analytically from the underlying trained scene rather than treated as a heuristic. From this formulation, the authors construct a voxelized Probabilistically Unsafe Robot Region (PURR) that marks all robot positions violating a user-specified risk threshold, and plan through the resulting free space using an A*-seeded search refined into smooth, dynamically feasible Bézier trajectories via convex optimization. However, generating the PURR requires convolving the NeRF density field with a collision-checking kernel that is parameterized by the robot’s geometric shape. As a result, any change to the robot’s shape requires recomputing the entire PURR from scratch, coupling the map representation tightly to a specific robot geometry. While these NeRF-based approaches introduce collision metrics tailored to the radiance field itself, they inherit the representation’s underlying limitations, including slow training and rendering, susceptibility to floating artifacts, and limited geometric fidelity.
Splat-Nav. Splat-Nav targets 3DGS scenes rather than NeRFs, exploiting the fact that each Gaussian primitive defines an ellipsoidal confidence region. Safe flight corridors are constructed through the scene using closed-form ellipsoid-ellipsoid intersection tests, and a smooth Bézier trajectory is then fitted within the resulting corridor by solving a quadratic program. However, because a Gaussian primitive has no explicit boundary, Splat-Nav adopts a heuristic 1\sigma ellipsoid as each primitive’s collision boundary, a value chosen empirically rather than derived from a formal probability bound.
Splanning. Splanning revisits the probabilistic view of collision risk for 3DGS scenes, introducing a normalized reformulation of the Gaussian splat representation under which the integral of density over the robot’s occupied volume yields a collision probability. Targeting articulated manipulators, Splanning overapproximates the robot’s swept volume over a planning horizon using a spherical forward occupancy representation derived from reachability analysis, and enforces the resulting chance constraint as a hard constraint within a receding-horizon trajectory optimizer. However, Splanning relies on normalized 3D Gaussian primitives to make the integrated density interpretable as a collision probability, and this normalization comes at the cost of degraded photometric and geometric reconstruction quality. Furthermore, Splanning’s reliance on an L_{\infty}-ball overapproximation of the integration domain, adopted to obtain a closed-form solution, introduces additional conservatism.
In contrast, our method uses the trained radiance field as is, with minimal assumptions, and derives a provable collision-probability bound directly from its rendering process; it requires neither heuristic collision boundaries, robot-specific map preprocessing, nor modifications to the representation that could degrade its photometric and geometric quality.
II-B Traditional Map Representations and Planners
Conventional planning pipelines pair a geometric map with collision queries that guide path search or trajectory optimization. Since these representations themselves are outside the scope of this paper, we only briefly review the related planners and refer readers to [17] for a detailed survey of robotic motion planning. Sampling-based planners such as PRM [1] and RRT [2] use these queries to validate sampled configurations and local connections, and can therefore operate with a variety of map representations. Common choices include occupancy grids [18] and their octree-based extension OctoMap [19], point clouds, and polygonal meshes, for which libraries such as FCL [20] provide efficient collision and distance queries; learned approaches such as SceneCollisionNet [21] further predict collisions directly from point clouds. Signed distance fields provide both clearance queries and gradients for trajectory optimization, as in CHOMP [22]. These methods are well established and efficient, but applying them to an SVR requires first converting it into another map representation, for example an OctoMap built by thresholding the density or a surface mesh extracted by marching cubes. We evaluate both conversions as baselines in Section VII and find that they have limited effectiveness for trajectory planning, whereas our method avoids them by deriving the collision-probability bound directly from the rendering process.
III Problem Formulation and Preliminaries
This section introduces the notation and background on which our method builds. To link the collision probability of a robot collision sphere with the rendering pipeline of a coinciding spherical camera, we first summarize the SVR representation of SVRaster [7] and its rendering process. We then define the collision probability in a density field, which is the quantity our method bounds. Finally, we present the spherical camera model used to relate rendered opacity to this collision probability, after which Section IV outlines the proposed framework.
III-A Notation
We group the notation by its role below.
III-A1 General Conventions
Bold symbols denote vectors, and x_{i} denotes the ith component of \mathbf{x}. \mathbf{e}_{i} denotes the standard basis vector in three dimensions. The unit sphere and its geodesic angular distance are denoted by \mathbb{S}^{2} and d_{\mathbb{S}^{2}}, respectively. A hat denotes a numerical approximation, and a superscript \star denotes an optimized or maximizing quantity. Indices and parameters reused across derivations are defined locally.
III-A2 Scene and Rendering Quantities
The raw and activated density fields are denoted by Z(\mathbf{x}) and \sigma(\mathbf{x}). The voxel alpha of the ith voxel is denoted by \alpha_{i}, rendered pixel opacity by A, and transmittance by T.
III-A3 Collision Quantities
A collision sphere has center \mathbf{p} and radius R, and \mathbf{d}\in\mathbb{S}^{2} denotes a ray direction. The quantities P_{\mathrm{coll}}(\mathbf{p},\mathbf{d};R) and P_{\mathrm{coll}}(\mathbf{p};R) denote directional and sphere-wise collision probabilities, respectively.
III-A4 Robot and Trajectory Quantities
The robot configuration at waypoint n is \mathbf{q}_{n}, and \mathbf{q}_{0:N_{\mathrm{wp}}} denotes the trajectory with start and goal configurations \mathbf{q}_{s} and \mathbf{q}_{g}.
III-A5 Terminology
SVRaster [7] refers to the sparse-voxel-based novel-view-synthesis method, and SVR refers to its radiance field representation.
III-B Background: Sparse Voxel Radiance Fields
Scene Representation: SVRaster [7] uses voxels of various sizes that are allocated in an octree to represent the scene. Here, we summarize the characteristics that are relevant to our proposed method. Some of the symbols are altered from the original paper’s for consistency with the rest of the paper. For details on the representation and training, please refer to the original paper.
The whole octree scene is defined by world size w_{s}\in\mathbb{R}, world center \mathbf{w}_{c}\in\mathbb{R}^{3}, and maximum octree level L. Each voxel is defined by a triplet voxel index \mathbf{i}=(i,j,k) and an octree level l\in[1,\cdots,L]. Voxel size v_{s} is defined as v_{s}=w_{s}\cdot 2^{-l}. Each voxel keeps a set of spherical harmonics (SH) coefficients \mathbf{v}_{\text{sh}} for view-dependent voxel color and eight raw density values Z. Each raw density Z corresponds to the eight corners of the voxel and is trilinearly interpolated inside the voxel. Adjacent voxels share the same corner values, which results in a continuous density field.
Rendering: Fig. 2(a) depicts the rendering process of SVRaster. It renders each pixel through alpha compositing, as in NeRF [5] and 3DGS [6]. The renderer first finds all voxels intersected by each pixel-ray. Let N denote the number of intersecting voxels, indexed in front-to-back order. The pixel color C is computed as
C=\sum_{i=1}^{N}T_{i}^{\text{v}}\alpha_{i}c_{i},\qquad T_{i}^{\text{v}}=\prod_{j=1}^{i-1}(1-\alpha_{j}),where \alpha_{i} is the voxel alpha and c_{i} is the view-dependent color of the ith voxel. The ith voxel transmittance T_{i}^{\text{v}} accounts for attenuation by preceding voxels, with T_{1}^{\text{v}}=1. The voxel alpha is computed through numerical integration along its ray–voxel intersection segment:
\alpha_{i}=1-\exp\left(-\frac{\ell_{i}}{K}\sum_{k=1}^{K}\sigma(\mathbf{x}_{ik})\right),where \ell_{i} is the segment length and \mathbf{x}_{ik} is the position of the kth sample in voxel i. The activated density at position \mathbf{x} is
\sigma(\mathbf{x})=\explin\!\left(Z(\mathbf{x})\right),where Z(\mathbf{x}) is the trilinear interpolation of the eight raw corner-density values of the voxel containing \mathbf{x}. The activation function \explin is defined as
\operatorname{explin}(x)=\begin{cases}x,&\text{if }x>1.1,\\[4.0pt]
\exp\left(\dfrac{x}{1.1}-1+\ln 1.1\right),&\text{otherwise}.\end{cases}The rendered pixel opacity A, which combines the contributions of all intersected voxels, is
A=\sum_{i=1}^{N}T_{i}^{\text{v}}\alpha_{i}=1-\prod_{i=1}^{N}(1-\alpha_{i}).Radiance and Density Fields: SVRaster thus encodes the scene as a radiance field with two components. The color component, given by the SH coefficients, determines the view-dependent voxel color c_{i} and hence the pixel color C in (1). The density field component \sigma(\mathbf{x}) determines the voxel alpha \alpha_{i} and hence the rendered pixel opacity A in (5). The scene geometry is encoded implicitly in this density field, which prior planners on radiance fields likewise use to reason about collisions [9, 10, 12]. Since collision checking and trajectory optimization depend on geometry, we work with the density field in the remainder of this paper, while the color component is not used.
Pruning and Subdivision: During training, the octree nodes are pruned and subdivided. Voxel nodes whose maximum blending weight T_{i}^{\text{v}}\alpha_{i} is less than a pruning threshold are removed. For subdivision, the top n voxels with the largest training-loss gradients are subdivided and replaced by eight child nodes. During subdivision, trilinear interpolation of the parent’s corner values is used to compute the corner values of the child voxels.
III-C Collision Criteria on Density Field
Similar to prior studies that relate collision probability to density fields in radiance fields [10, 12, 9], we interpret transmittance in terms of collision probability. In a density field, the transmittance T(t_{a}\rightarrow t_{b}) is defined as the probability that a ray travels from distance t_{a} to t_{b} without interacting with any particle [23]. Note that the voxel-wise transmittance T_{i}^{\text{v}} in (1) is the same quantity in discrete form, and is included for completeness of the rendering process. In the remainder of this paper, transmittance refers to the continuous form T(t_{a}\rightarrow t_{b}). Transmittance in SVR is depicted in Fig. 2(b). Building on this definition, we make the following assumption that connects the rendering pipeline with collision probability.
Assumption 1 (Transmittance-collision).
T(t_{a}\rightarrow t_{b}) can be interpreted as the probability that an infinitesimally thin rigid body segment extending from t_{a} to t_{b} along the ray does not collide.
Fig. 2(c) depicts the assumption. Consider a collision sphere with center \mathbf{p} and radius R. For a unit direction \mathbf{d}\in\mathbb{S}^{2}, the corresponding radial ray segment is defined as
\mathbf{r}_{\mathbf{p},\mathbf{d}}(t)=\mathbf{p}+t\mathbf{d},\qquad t\in[0,R].Using the transmittance-collision assumption, the collision probability along direction \mathbf{d} is defined as the complement of the transmittance from the sphere center to its boundary:
P_{\mathrm{coll}}(\mathbf{p},\mathbf{d};R)=1-T_{\mathbf{p},\mathbf{d}}(0\rightarrow R).Definition 1 (Maximum directional collision probability).
The collision probability of a collision sphere is the maximum of its directional collision probability over all directions:
P_{\mathrm{coll}}(\mathbf{p};R)=\max_{\mathbf{d}\in\mathbb{S}^{2}}\left[1-T_{\mathbf{p},\mathbf{d}}(0\rightarrow R)\right].The sphere is declared to be in collision if P_{\mathrm{coll}}(\mathbf{p};R)\geq\tau_{c}.
Since P_{\mathrm{coll}}(\mathbf{p};R) is the largest collision probability among all radial segments, keeping its upper bound below \tau_{c} bounds the collision risk of every segment, i.e., it imposes an individual chance constraint on each radial segment [24], analogous to max-aggregation of occupancy probabilities in safe navigation [25]. Theorem 1 certifies this bound for all directions in \mathbb{S}^{2}, which is the sense in which the collision checks of the proposed planner are risk-bounded. Splanning [12] adopts the same ray-from-the-center model but bounds the fraction of uniformly sampled directions whose collision probability exceeds the threshold, using a volume integral of a normalized density; in contrast, (8) requires every direction to satisfy the threshold, which makes the proposed criterion the strictest instance of this model. Using the volume-rendering definition of transmittance [26],
T_{\mathbf{p},\mathbf{d}}(0\rightarrow R)=\exp\left(-\int_{0}^{R}\sigma\left(\mathbf{r}_{\mathbf{p},\mathbf{d}}(t)\right)\,\mathrm{d}t\right),the collision probability becomes
P_{\mathrm{coll}}(\mathbf{p};R)=\max_{\mathbf{d}\in\mathbb{S}^{2}}\left[1-\exp\left(-\int_{0}^{R}\sigma\left(\mathbf{r}_{\mathbf{p},\mathbf{d}}(t)\right)\,\mathrm{d}t\right)\right].III-D Spherical Camera Model and Rendering
To relate the collision probability of a robot collision sphere to rendering, we need a camera model that coincides with the sphere. Since the original SVRaster supports only planar (pinhole) image planes, we introduce a spherical camera model for SVR and the corresponding rendering procedure. The resulting spherical image is related to the robot collision sphere in the following sections.
For image pixel coordinate (x,y), the camera-space angular coordinates with image resolution of W\times H are:
\theta=2\pi\frac{x+0.5-c_{x}}{W},\quad\phi=\pi\frac{y+0.5-c_{y}}{H}.The corresponding camera-space direction is
\mathbf{d}_{\mathrm{cam}}=\begin{bmatrix}\sin\theta\cos\phi\\
\sin\phi\\
\cos\theta\cos\phi\end{bmatrix}.The direction is transformed into world coordinates and normalized:
\mathbf{d}=\frac{\mathbf{R}_{\mathrm{c2w}}\mathbf{d}_{\mathrm{cam}}}{\lVert\mathbf{R}_{\mathrm{c2w}}\mathbf{d}_{\mathrm{cam}}\rVert_{2}}.The world-space pixel-ray is therefore
\mathbf{r}(t)=\mathbf{p}+t\mathbf{d}.Given the pixel ray, the remaining rendering steps follow the original SVRaster on the GPU. For each pixel ray, ray–AABB tests against the candidate voxels determine the intersected voxels and their ray–voxel segments. Details of the pixel rendering process can be found in [7]. The resulting pixel opacity is computed using (5); its relationship to collision probability is established in Section V-C.
IV Method Overview
Our method provides two modules for trajectory planning in scenes represented by SVR: (1) a collision checker that computes an upper bound on the collision probability of a given collision sphere through the rendering pipeline, and (2) a gradient evaluator that computes the spatial gradient of a collision cost with respect to the sphere’s center. The collision checker determines whether a robot configuration satisfies a prescribed risk threshold, while the gradient evaluator guides trajectory updates to reduce the collision cost. Our trajectory planning framework integrates these modules by combining a sampling-based path planner with a gradient-based trajectory optimizer, as summarized in Algorithms 1 and 2. The following sections present the mathematical derivations supporting collision checking and gradient computation.
We first describe the collision checker, presented in Algorithm 1. We represent the robot’s collision geometry using M spheres, where the mth sphere has center \mathbf{p}_{m}(\mathbf{q}) at robot configuration \mathbf{q} and radius R_{m}. We assume that the union of these spheres fully contains the robot’s geometry. For each sphere, a spherical camera that coincides with it renders an opacity image with resolution W\times H and pixel opacities \{A_{b}\}_{b=1}^{B}, where B=WH. A configuration is declared safe only if, for every sphere, both the maximum pixel opacity and the upper bound computed from the opacity image remain below the threshold \tau_{c}. The collision checker certifies individual configurations and is independent of the planner; how edges between configurations are validated is determined by the planner. In our implementation, edges and segments between consecutive waypoints are validated by evaluating IsSafe(\mathbf{q}) at configurations interpolated with a fixed step.
We next describe the trajectory optimizer, summarized in Algorithm 2. Starting from the path returned by the sampling-based planner, we refine the intermediate robot configurations while keeping the start and goal fixed. At each iteration, we render an opacity image of a single optimization sphere at each waypoint and aggregate its pixel values into a collision cost using an image-cost aggregator \rho. We differentiate this cost with respect to the sphere center and map the resulting spatial gradient to robot configuration space through the Jacobian of the sphere center. These gradients are combined with those of a task cost, such as a trajectory smoothness cost, to compute a candidate gradient-descent update. The update is accepted only if the collision checker verifies that every collision sphere satisfies the prescribed risk threshold at all sampled configurations along the candidate trajectory; otherwise, the previous trajectory is retained.
V Collision Probability from Rendering
We connect the rendering pipeline with collision probability in Section V-C and state the sphere-wise collision bound in Section V-D; supporting proofs are provided in Appendix A.
Consider a collision sphere centered at \mathbf{p} with radius R. Since the collision check in Algorithm 1 is applied to each of the M collision spheres independently, we consider a single collision sphere from now on without loss of generality.
V-A Direct Integration on Sparse Voxel Radiance Fields
Before proving the upper bound, we first examine the exact integral in (10) on the SVR. Recall from (4) that the trainable variable determining the voxel alpha is the raw density value Z(\mathbf{x}), with activated density \sigma(\mathbf{x})=\operatorname{explin}(Z(\mathbf{x})). Also, the value of Z(\mathbf{x}) inside the voxel is trilinearly interpolated. As a result, within a single voxel, the exact integral along the ray \mathbf{r}_{\mathbf{p},\mathbf{d}}(t) over its ray–voxel segment s is
\int_{t_{s}^{\mathrm{in}}}^{t_{s}^{\mathrm{out}}}\operatorname{explin}\left(c_{s,3}t^{3}+c_{s,2}t^{2}+c_{s,1}t+c_{s,0}\right)\mathrm{d}t,where [t_{s}^{\mathrm{in}},t_{s}^{\mathrm{out}}]\subseteq[0,R] is the interval of the segment and c_{s,3},\ldots,c_{s,0} are coefficients determined by the trilinear interpolation inside the voxel. On the exponential branch of \operatorname{explin}, a quadratic or cubic raw-density polynomial along a ray–voxel segment yields an integrand with no elementary antiderivative, as follows from Liouville’s theorem on elementary integration [27]. Risk-bounded collision checking must support repeated planning queries while certifying that the exact collision probability remains below the prescribed risk threshold. This motivates an upper bound that explicitly bounds both approximation errors while reusing the renderer’s optimized evaluation pipeline.
V-B Assumptions
In this subsection, we present the assumptions required for the proof.
Assumption 2 (Scene continuity).
Adjacent voxels inside the sphere share corner values, so the raw density field Z(\cdot) and activated density field \sigma(\cdot) are continuous across voxel boundaries.
In a trained SVR, the density field can be discontinuous where adjacent voxels belong to different octree levels or where pruning leaves empty space. We therefore evaluate collisions on a local copy of the voxels enclosed by the sphere, in which all enclosed voxels are subdivided to the maximum octree level L, which removes discontinuities between octree levels [7], and empty regions are filled with voxels of negligible density whose corners shared with existing voxels retain their trained values. This local density field satisfies the assumption, while the pre-trained representation itself remains unchanged.
Assumption 3 (Angular cover).
The sphere is covered by B angular bins \{\mathcal{B}_{b}\}_{b=1}^{B}. Each bin has center direction \mathbf{d}_{b} and angular radius \delta_{b}:
\mathcal{B}_{b}\subseteq\{\mathbf{d}\in\mathbb{S}^{2}:d_{\mathbb{S}^{2}}(\mathbf{d},\mathbf{d}_{b})\leq\delta_{b}\}Together, the angular bins \{\mathcal{B}_{b}\}_{b=1}^{B} cover the sphere:
\mathbb{S}^{2}\subseteq\bigcup_{b=1}^{B}\mathcal{B}_{b}.Remark 1.
The derivative of \operatorname{explin} satisfies
0<\operatorname{explin}^{\prime}(x)\leq 1\qquad\forall x\in\mathbb{R}.Therefore, by the chain rule,
\|\nabla\sigma(\mathbf{x})\|_{2}=\left|\operatorname{explin}^{\prime}(Z(\mathbf{x}))\right|\|\nabla Z(\mathbf{x})\|_{2}\leq\|\nabla Z(\mathbf{x})\|_{2}.Hence, any valid Lipschitz constant of the raw density field Z(\cdot) is also a valid Lipschitz constant of the density field \sigma.
For a voxel v with side length l_{v} and raw corner density Z^{(v)}_{abc}, a,b,c\in\{0,1\}, define
\displaystyle L_{\text{vox},v}=\max_{a,b,c\in\{0,1\}}\Bigg[ \\ \displaystyle\left(\frac{Z^{(v)}_{1bc}-Z^{(v)}_{0bc}}{l_{v}}\right)^{2}+\left(\frac{Z^{(v)}_{a1c}-Z^{(v)}_{a0c}}{l_{v}}\right)^{2} \\ \displaystyle+\left(\frac{Z^{(v)}_{ab1}-Z^{(v)}_{ab0}}{l_{v}}\right)^{2}\Bigg]^{1/2}.For a trilinearly interpolated voxel, (18) is the maximum gradient norm inside the voxel.
V-C Rendering and Collision-Probability Approximation
Our key idea is that the rendered opacity image of a spherical camera whose sphere coincides with the robot collision sphere acts as a numerical approximation of the collision probability. We can render the opacity image with the spherical camera model defined in Section III-D with the same center and radius. Then, the rendered opacity image is an approximation of the collision probability. The opacity image rendering approximates the collision probability in two ways.
First, the rendering pipeline samples density along a pixel-center ray and this numerically approximates the integrated density in (10). Let \tau(\mathbf{d}) denote this exact integral and \widehat{\tau}(\mathbf{d}) its rendering approximation. Let \mathcal{S}(\mathbf{d}) denote the ray–voxel intersection segments within radius R along direction \mathbf{d}. This set also includes voxels that are only partially enclosed by the sphere, namely the voxel containing the sphere center and voxels crossing its boundary; for these, only the portion of the segment within [0,R] is used. For each segment s, let \ell_{s} denote its length and let \mathbf{x}_{s,k} denote its K_{s} evenly spaced sample positions. Equations (2) and (5) then give
\displaystyle\widehat{\tau}_{s} \\ \displaystyle=\frac{\ell_{s}}{K_{s}}\sum_{k=1}^{K_{s}}\sigma(\mathbf{x}_{s,k}), \\ \displaystyle\widehat{\tau}(\mathbf{d}) \\ \displaystyle=\sum_{s\in\mathcal{S}(\mathbf{d})}\widehat{\tau}_{s}, \\ \displaystyle A(\mathbf{d}) \\ \displaystyle=1-\exp\bigl(-\widehat{\tau}(\mathbf{d})\bigr).Here, \widehat{\tau}_{s} is the sampled integrated density over segment s, and A(\mathbf{d}) is the rendered pixel opacity. Since \widehat{\tau}(\mathbf{d}) approximates \tau(\mathbf{d}), A(\mathbf{d}) approximates the directional collision probability in (7).
Second, rendering a spherical opacity image is the same as approximating the collision probability over the sphere by sampling along the pixel-center ray directions. The rendered opacity image therefore can be interpreted as an approximation map of the directional collision probability sampled over the sphere, as depicted in Fig. 1.
However, since we want the collision checker to be risk-bounded, an approximated value is not enough, and we need an upper bound on the collision probability, which motivates the bound derived next. For this, in the following subsection, we prove that the collision probability in (10) can be upper bounded using the rendered spherical opacity image. We refer to the errors of the two approximations above as the ray and angular approximation errors, or ray and angular errors for short, and to their upper bounds as error bounds.
\mathbf{r}(t), and the quadrature error in each voxel is bounded using its ray Lipschitz constant L_{\mathrm{ray}} and segment length. (b) Angular error: voxels between neighboring pixel rays (red) can be missed by the sampled rays (green). The angular error bound covers the density over the cone of half-angle \delta_{b} around the bin ray \mathbf{r}_{b}(t), using the voxels in each radial shell.V-D Sphere-Wise Upper Bound
For each angular bin, we combine a per-ray upper bound U_{\mathrm{ray},b} with an angular approximation-error bound \varepsilon_{\mathrm{ang},b}, then take the maximum over all bins. Detailed definitions and the supporting bounds are provided in Appendix A.
Theorem 1 (Sphere-maximum upper bound).
Define the upper bound for angular bin \mathcal{B}_{b} as
U_{b}=U_{\mathrm{ray},b}+\varepsilon_{\mathrm{ang},b}.Then
\tau_{\max}=\max_{\mathbf{d}\in\mathbb{S}^{2}}\tau(\mathbf{d})\leq\max_{b=1,\ldots,B}U_{b}.Substituting U_{\mathrm{ray},b} and \varepsilon_{\mathrm{ang},b} from Theorem 3 and Lemma 2 in Appendix A gives
\displaystyle\tau_{\max}\leq\max_{b}\Bigg\{ \\ \displaystyle\underbrace{\sum_{s\in\mathcal{S}(\mathbf{d}_{b})}\left[\widehat{\tau}_{s}+\frac{L_{\mathrm{ray},s}\ell_{s}^{2}}{2K_{s}}\right]}_{U_{\mathrm{ray},b}} \\ \displaystyle+\underbrace{2\sin\left(\frac{\delta_{b}}{2}\right)\sum_{j=0}^{N_{r}-1}G_{b,j}\frac{r_{j+1}^{2}-r_{j}^{2}}{2}}_{\varepsilon_{\mathrm{ang},b}}\Bigg\},where N_{r} is the total number of radial shells. The maximum directional collision probability P_{\mathrm{coll}}(\mathbf{p};R) is consequently bounded by
P_{\mathrm{coll}}(\mathbf{p};R)\leq 1-\exp\left(-\max_{b}U_{b}\right).The proof is provided in Appendix A-C.
The B=WH pixels of a spherical image with resolution W\times H define angular bins \mathcal{B}_{b} containing the viewing directions within each pixel. We use the corresponding pixel-center ray direction in (13) as the bin center \mathbf{d}_{b}. The azimuth and vertical angular half-widths are \pi/W and \pi/(2H), respectively, so the uniform choice
\delta_{b}=\delta=\sqrt{\left(\frac{\pi}{W}\right)^{2}+\left(\frac{\pi}{2H}\right)^{2}}satisfies the angular-radius condition in (16) for every pixel.
Let A_{b}=A(\mathbf{d}_{b}) denote the rendered pixel opacity for pixel ray direction \mathbf{d}_{b}. By (19), its accumulated density is \widehat{\tau}(\mathbf{d}_{b})=\sum_{s\in\mathcal{S}(\mathbf{d}_{b})}\widehat{\tau}_{s}. Define the total error bound \varepsilon_{b} for this bin as
\varepsilon_{b}=\varepsilon_{\mathrm{ray},b}+\varepsilon_{\mathrm{ang},b},\qquad\varepsilon_{\mathrm{ray},b}=\sum_{s\in\mathcal{S}(\mathbf{d}_{b})}\frac{L_{\mathrm{ray},s}\ell_{s}^{2}}{2K_{s}}.Figure 3(a) describes the first ray term, and (b) describes the second angular term. The per-bin upper bound can therefore be written as U_{b}=\widehat{\tau}(\mathbf{d}_{b})+\varepsilon_{b}. Let A_{\max}=\max_{b}A_{b} denote the maximum rendered pixel opacity, which approximates P_{\mathrm{coll}}(\mathbf{p};R). Since A_{b}=1-\exp(-\widehat{\tau}(\mathbf{d}_{b})), we have 1-\exp(-U_{b})=1-(1-A_{b})\exp(-\varepsilon_{b}), and (23) becomes
P_{\mathrm{coll}}(\mathbf{p};R)\leq A^{\mathrm{ub}}=\max_{b}\left[1-(1-A_{b})\exp(-\varepsilon_{b})\right].Because \varepsilon_{b}\geq 0, the bound satisfies A^{\mathrm{ub}}\geq A_{\max}.
Equation (24) supports the two-stage collision check in Algorithm 1. Since A^{\mathrm{ub}} is no smaller than A_{\max}, a configuration is rejected before evaluating the error bounds if A_{\max}\geq\tau_{c} for any collision sphere. Otherwise, A^{\mathrm{ub}} is computed, and the configuration is accepted only if the bound is below the prescribed risk threshold \tau_{c} for every collision sphere.
The upper bound in (24) reuses the pixel opacities A_{b} and requires the voxel-related quantities L_{\mathrm{ray},s}, \ell_{s}, and G_{b,j}, which can be queried or computed during rendering; the remaining coefficients are determined by fixed camera and sampling settings. Consequently, bound evaluation can be integrated into the existing GPU rendering pipeline. Algorithms 3 and 4 in Appendix A summarize the ray and angular error-bound computations, respectively.
VI Rendering-Based Trajectory Optimization
Starting from the path returned by Algorithm 1, we refine the trajectory using Algorithm 2. Our use of rendering gradients for trajectory optimization draws inspiration from iNeRF [28], which refines uncertain camera poses through differentiable rendering. Using the approximation established in Section V-C, we adopt rendered pixel opacities as a surrogate collision cost to guide robot configuration updates. Thus, the collision cost is computed by the same spherical camera rendering of the SVR that the collision checker uses. Only the rendered sphere differs, an optimization sphere of radius R_{\mathrm{o}} instead of the robot collision spheres, so checking and optimization share one rendering pipeline and require no additional representation. The gradient of each pixel opacity is evaluated analytically in a CUDA kernel that implements the derivative in Appendix B. Since each pixel gradient depends only on the samples along its own ray, the kernel processes all pixels in parallel, in the same manner as the forward rendering. The collision checker enforces the prescribed risk threshold using the upper bound in (24). In the following subsections, we derive the gradient of the rendered pixel opacity with respect to the sphere center and then describe the optimization process.
VI-A Gradient of Rendered Pixel Opacity
Using the rendering quantities in (19), we differentiate the pixel opacity A_{b} with respect to the sphere center \mathbf{p} while holding the ray direction \mathbf{d}_{b} fixed. For each segment s\in\mathcal{S}(\mathbf{d}_{b}), let [t_{s}^{\mathrm{in}},t_{s}^{\mathrm{out}}]\subseteq[0,R] be its interval, with \ell_{s}=t_{s}^{\mathrm{out}}-t_{s}^{\mathrm{in}}. We parameterize its K_{s} midpoint samples, indexed by k=1,\ldots,K_{s}, as
\begin{gathered}u_{s,k}=\frac{k-1/2}{K_{s}},\qquad t_{s,k}=(1-u_{s,k})t_{s}^{\mathrm{in}}+u_{s,k}t_{s}^{\mathrm{out}},\\
\mathbf{x}_{s,k}=\mathbf{p}+t_{s,k}\mathbf{d}_{b}.\end{gathered}Write Z_{s,k}=Z(\mathbf{x}_{s,k}) and \sigma_{s,k}=\sigma(\mathbf{x}_{s,k}), and define the endpoint and sample-distance gradients as
\begin{gathered}\gamma_{s}^{\mathrm{in}}=\nabla_{\mathbf{p}}t_{s}^{\mathrm{in}},\qquad\gamma_{s}^{\mathrm{out}}=\nabla_{\mathbf{p}}t_{s}^{\mathrm{out}},\\
\nabla_{\mathbf{p}}t_{s,k}=(1-u_{s,k})\gamma_{s}^{\mathrm{in}}+u_{s,k}\gamma_{s}^{\mathrm{out}}.\end{gathered}We assume that the active intersection axes are held fixed during differentiation; an endpoint at t=0 or t=R has zero derivative.
Theorem 2 (Sphere-center derivative of one voxel).
For segment s and the midpoint samples defined above, the gradient of the sampled integrated density is
\displaystyle\nabla_{\mathbf{p}}\widehat{\tau}_{s} \\ \displaystyle=\frac{1}{K_{s}}\Bigg[(\gamma_{s}^{\mathrm{out}}-\gamma_{s}^{\mathrm{in}})\sum_{k=1}^{K_{s}}\sigma_{s,k} \\ \displaystyle+\ell_{s}\sum_{k=1}^{K_{s}}\explin^{\prime}(Z_{s,k}) \\ \displaystyle}{\displaystyle\times\left(\nabla_{\mathbf{x}}Z_{s,k}+(\nabla_{\mathbf{x}}Z_{s,k}\cdot\mathbf{d}_{b})\nabla_{\mathbf{p}}t_{s,k}\right)\Bigg].Combining these segment gradients with the pixel-opacity relation in (19) gives
\nabla_{\mathbf{p}}A_{b}=(1-A_{b})\sum_{s\in\mathcal{S}(\mathbf{d}_{b})}\nabla_{\mathbf{p}}\widehat{\tau}_{s}.The proofs of Theorem 2 and of this relation (Corollary 1) are provided in Appendices B-B and B-C, respectively.
VI-B Optimization Process
We optimize the intermediate robot configurations while keeping the start and goal fixed. The collision cost is computed from a single optimization sphere with center \mathbf{p}_{\mathrm{o}}(\mathbf{q}) and radius R_{\mathrm{o}}, chosen to enclose the region around the robot whose clearance should be increased, while the M collision spheres are retained for collision checking. Since the initial path waypoints already satisfy the collision criterion, rendering over the collision spheres may provide limited gradient information about nearby obstacles. A sufficiently large R_{\mathrm{o}} allows these obstacles to contribute to the optimization cost and encourages additional clearance. For waypoint n, let \mathbf{p}_{n}=\mathbf{p}_{\mathrm{o}}(\mathbf{q}_{n}) and let I_{n} denote the opacity image rendered at \mathbf{p}_{n} with radius R_{\mathrm{o}}. Its pixel values are A_{n,b}, namely A_{b} evaluated for this sphere, and \rho(I_{n}) aggregates these values into a collision cost. The trajectory optimization problem is
\displaystyle\mathbf{q}_{0:N_{\mathrm{wp}}}^{\star}=\underset{\mathbf{q}_{0:N_{\mathrm{wp}}}}{\operatorname{argmin}} \\ \displaystyle\lambda_{\mathrm{task}}\mathcal{J}_{\mathrm{task}}(\mathbf{q}_{0:N_{\mathrm{wp}}}) \\ \displaystyle+\lambda_{\mathrm{coll}}\underbrace{\sum_{n=1}^{N_{\mathrm{wp}}-1}\rho(I_{n})}_{\mathcal{J}_{\mathrm{coll}}(\mathbf{q}_{0:N_{\mathrm{wp}}})} \\ \displaystyle\text{subject to} \\ \displaystyle P_{\mathrm{coll}}(\mathbf{p}_{m}(\mathbf{q});R_{m})<\tau_{c}, \\ \displaystyle\forall\,\mathbf{q}\in\mathcal{Q}(\mathbf{q}_{0:N_{\mathrm{wp}}}),\quad m=1,\ldots,M, \\ \displaystyle\mathbf{q}_{0}=\mathbf{q}_{s},\quad\mathbf{q}_{N_{\mathrm{wp}}}=\mathbf{q}_{g}.Here, \mathcal{J}_{\mathrm{task}} is a task-specific trajectory cost (e.g., smoothness or path length), \lambda_{\mathrm{task}} and \lambda_{\mathrm{coll}} weight the task and collision costs, respectively, and \tau_{c} is the prescribed risk threshold. The set \mathcal{Q}(\mathbf{q}_{0:N_{\mathrm{wp}}}) contains the waypoints and the configurations interpolated between them with a fixed step, and the constraint is enforced conservatively through the upper bound A^{\mathrm{ub}} in (24). We consider two choices for \rho: the mean of all B pixel opacities and the mean of the N_{\mathrm{top}} largest values, where 1\leq N_{\mathrm{top}}\leq B. The gradient of either image cost is obtained by aggregating the pixel gradients in (26); for the latter choice, the selected pixel indices are held fixed during differentiation. The gradient with respect to the optimization-sphere center is mapped to robot configuration space through
\nabla_{\mathbf{q}_{n}}\mathcal{J}_{\mathrm{coll}}=J_{\mathbf{p}_{\mathrm{o}}}(\mathbf{q}_{n})^{\mathsf{T}}\nabla_{\mathbf{p}_{n}}\rho(I_{n}),\qquad n=1,\ldots,N_{\mathrm{wp}}-1,where J_{\mathbf{p}_{\mathrm{o}}}=\partial\mathbf{p}_{\mathrm{o}}/\partial\mathbf{q}_{n} is the Jacobian of the optimization-sphere center. For a mobile robot whose configuration is the sphere center, J_{\mathbf{p}_{\mathrm{o}}} is the identity. We implement gradient descent in PyTorch on the GPU, combining these collision gradients with the task-cost gradient as specified in Algorithm 2. Each candidate update is verified by the collision checker using (24). The update is accepted only if every collision sphere satisfies the prescribed risk threshold; otherwise, the previous trajectory is retained. Since the initial path is certified and only certified updates are accepted, every iterate satisfies the risk constraint, so the optimizer can be terminated at any iteration with a feasible trajectory. We do not claim convergence to a local optimum of (27); the optimizer serves as a local refinement of the initial path.
VII Experimental Results
We evaluate the proposed trajectory planning framework and its two modules, the rendering-based collision checker and the pixel-gradient-based trajectory optimizer, in simulation and real-world environments. All experiments are conducted on a PC equipped with an Intel Core Ultra 9 285K CPU and an NVIDIA RTX 5080 GPU.
VII-A Baseline Methods
We compare the proposed method with four radiance field-based methods: NeRF-Nav, CATNIPS, Splat-Nav, and Splanning. Because these methods use different scene representations, including NeRF and 3DGS, we train each representation using the procedure described in the corresponding paper. We also evaluate two conventional collision-map representations: OctoMap and a triangle mesh. The OctoMap representation is constructed from the trained SVR by treating each voxel as a solid cell with a single representative density and thresholding it:
\sigma_{v}=\explin\!\Big(\max_{a,b,c\in\{0,1\}}Z^{(v)}_{abc}\Big),\ \operatorname{occupied}(v)\iff\sigma_{v}\geq\sigma_{\mathrm{th}},where Z^{(v)}_{abc} are the eight raw corner-density values of voxel v and \sigma_{\mathrm{th}} is the density threshold. We evaluated the minimum, mean, and maximum corner density as the representative density and report the best-performing variant, the maximum. For the mesh baseline, we use the TSDF fusion and marching-cubes extraction procedure presented in SVRaster [7] to obtain a collision mesh from the trained representation.
VII-B Collision Checker Conservativeness
Equation (24) provides an upper bound on collision probability, but its error bounds may also introduce excessive conservativeness, resulting in false-positive collision detections. We therefore evaluate the trade-off between missed collisions and unnecessary rejections using a synthetic environment containing randomly generated boxes, spheres, and cones. Each method is used as a collision checker for a robot configuration specified by its position in \mathbb{R}^{3}. We query the checkers on a uniform spatial grid and compare their predictions with collision labels obtained from the ground-truth (GT) mesh. The false-negative rate (FNR) is the fraction of GT-colliding configurations classified as free, whereas the false-positive rate (FPR) is the fraction of GT-free configurations classified as colliding. Thus, FNR measures missed collisions, while FPR measures empirical conservativeness relative to the GT geometry.
Fig. 4 shows the FNR–FPR trade-off curves obtained by varying the thresholds. Table I reports the lowest observed FNR for each method and the FPR at the same operating point. Ties in FNR are resolved by the lowest FPR.
- NeRF-Nav
- 20.755
- 9.784
- CATNIPS
- 0.000
- 11.431
- Splat-Nav
- 0.000
- 12.254
- Splanning
- 0.000
- 12.908
- OctoMap
- 0.074
- 4.892
- Mesh
- 16.493
- 1.781
- Ours
- 0.000
- 4.640
The proposed checker attains zero observed FNR with an FPR of 4.640%. CATNIPS, Splat-Nav, and Splanning also attain zero observed FNR, but their corresponding FPRs are 11.431%, 12.254%, and 12.908%, respectively. At these operating points, the proposed method has the lowest FPR among checkers with no observed false negatives, reducing unnecessary rejections by 6.791–8.268 percentage points relative to these baselines. OctoMap retains a nonzero FNR of 0.074% with an FPR of 4.892%. The mesh baseline has a lower FPR of 1.781%, but this is accompanied by an FNR of 16.493%; NeRF-Nav has an FNR of 20.755% at its reported operating point. These results indicate that the upper-bound criterion preserves more free space than the other evaluated zero-FNR checkers while avoiding missed collisions on the evaluated grid.
VII-C Mobile Robot Planning
We next evaluate planning performance in the Forest, Pavilion, Statues, and Stonehenge scenes. Statues and Stonehenge follow the scene choices used in baseline studies [11]. To broaden the range of obstacle geometry, we additionally include Forest1 and Pavilion2, constructed from publicly available mesh assets. Forest contains fine foliage geometry, whereas Pavilion includes overhead surfaces, introducing obstacle arrangements that complement those in Statues and Stonehenge. We model the robot as a collision sphere with radii of 0.05, 0.20, 0.10, and 0.05 m in Forest, Pavilion, Statues, and Stonehenge, respectively. The radii are chosen according to the scene scale and geometry to produce nontrivial planning queries. All other hyperparameters of the proposed method are shared across scenes and listed in Table II. Splanning is evaluated separately in the robot-arm experiment in Section VIII-A, since its planner targets articulated robot arms.
Each of the six mobile-robot methods is evaluated on the same 20 start–goal pairs per scene. To assess collision-free completion, we compare the volume swept continuously by the collision sphere along every segment of each saved trajectory polyline with the GT triangle mesh. We report collision-free completion rate, minimum obstacle distance, path length, and computation time. The trajectories generated by the proposed method are visualized in Fig. 5. The quantitative results below assess both collision avoidance and the conservativeness of the resulting paths.
- Collision checking
- Rendering resolution
- W\times H
- 512\times 512
- Risk threshold
- \tau_{c}
- 0.01
- Radial bins
- N_{r}
- 32
- Path Planner
- \mathcal{P}
- A*
- Trajectory optimization
- Collision-cost weight
- \lambda_{\mathrm{coll}}
- 1 (10 in Section VII-D)
- Smoothness weight
- \lambda_{\mathrm{task}}
- 1
- Image-cost aggregator
- \rho
- top-32 mean
- Optimization-sphere radius
- R_{\mathrm{o}}
- 0.3 m
- Ours
- 100.0
- 100.0
- 100.0
- 100.0
- OctoMap
- 80.0
- 100.0
- 95.0
- 90.0
- Mesh
- 70.0
- 100.0
- 100.0
- 90.0
- Splat-Nav
- 75.0
- 95.0
- 95.0
- 90.0
- NeRF-Nav
- 20.0
- 65.0
- 25.0
- 35.0
- CATNIPS
- 65.0
- 95.0
- 100.0
- 70.0
Collision-free completion. Table III shows that the proposed method passes the GT collision audit for all 80 queries and is the only method to achieve 100% collision-free completion in every scene. The scene-wise results vary substantially for the radiance field baselines: CATNIPS achieves 100% in Statues but 65% in Forest, while NeRF-Nav ranges from 20% to 65% across the four scenes. Most baselines struggle in Forest. The proposed method maintains collision-free completion across these obstacle arrangements, consistent with the use of the upper-bound criterion during search and verification of trajectory updates.
- Ours
- \mathbf{0.07\pm 0.01}
- \mathbf{0.38\pm 0.06}
- 0.16\pm 0.04
- 0.10\pm 0.03
- OctoMap
- 0.05\pm 0.01
- 0.34\pm 0.10
- 0.16\pm 0.05
- 0.08\pm 0.03
- Mesh
- 0.06\pm 0.01
- 0.33\pm 0.10
- 0.17\pm 0.05
- 0.09\pm 0.03
- Splat-Nav
- 0.06\pm 0.02
- 0.31\pm 0.08
- 0.14\pm 0.04
- 0.09\pm 0.04
- NeRF-Nav
- 0.04\pm 0.05
- 0.25\pm 0.15
- 0.08\pm 0.08
- 0.05\pm 0.04
- CATNIPS
- 0.06\pm 0.03
- 0.37\pm 0.07
- \mathbf{0.18\pm 0.04}
- \mathbf{0.10\pm 0.09}
- Ours
- 5.32\pm 0.14
- 10.29\pm 0.32
- \mathbf{5.63\pm 0.11}
- 11.00\pm 0.48
- OctoMap
- \mathbf{5.31\pm 0.14}
- \mathbf{10.23\pm 0.30}
- 5.65\pm 0.17
- \mathbf{10.57\pm 0.30}
- Mesh
- 5.76\pm 0.36
- 10.94\pm 1.10
- 6.09\pm 0.49
- 11.58\pm 0.92
- Splat-Nav
- 5.52\pm 0.32
- 11.55\pm 1.02
- 5.99\pm 0.44
- 11.42\pm 0.86
- NeRF-Nav
- 5.83\pm 0.57
- 11.87\pm 1.08
- 6.23\pm 0.55
- 12.00\pm 0.71
- CATNIPS
- 5.47\pm 0.36
- 10.90\pm 0.82
- 5.75\pm 0.37
- 11.39\pm 0.65
Minimum obstacle distance and path length. Table IV reports the minimum distance from each saved trajectory’s centerline to the GT obstacle surface, and Table V reports path length. The proposed method achieves the largest mean obstacle distance in Forest and Pavilion; CATNIPS achieves the largest mean distance in Statues and Stonehenge. Meanwhile, the proposed method produces one of the shortest paths in all four scenes. Its mean path length is the shortest in Statues and the second shortest in the other three scenes. Together, these results support the intended balance between collision avoidance, obstacle separation, and limited path-length inflation on the evaluated queries.
- Ours
- 0
- 0
- 0
- 0
- Splat-Nav
- 5.312\pm 0.084
- 5.262\pm 0.082
- 7.989\pm 0.083
- 5.425\pm 0.089
- NeRF-Nav
- 4.667\pm 0.052
- 4.542\pm 0.058
- 5.592\pm 0.250
- 4.713\pm 0.043
- CATNIPS
- 5.026\pm 0.055
- 6.920\pm 0.050
- 22.603\pm 0.444
- 5.449\pm 0.075
Search, optimization, and offline map preprocessing time. Fig. 6 reports the combined initial-search and optimization time, while Table VI reports the separately logged map preprocessing time. The proposed method requires 0.400–0.880 s on average across the four scenes, providing subsecond mean planning times in the evaluated workloads. The baselines require different map preprocessing procedures, including geometric collision-set and polytope construction for Splat-Nav, voxel preparation for NeRF-Nav, and robot-specific PURR construction for CATNIPS. The separately logged map preprocessing times for these methods range from 4.542 to 22.603 s across methods and scenes. The proposed method operates directly on the trained sparse voxel radiance field, without constructing an auxiliary collision map.
- Ours
- 0.387\pm 2.671
- 0.078\pm 1.768
- 0.168\pm 2.112
- 0.129\pm 1.662
Per-call collision-checking time. Table VII reports the mean and sample standard deviation of the proposed method’s collision-query times, pooling all logged planning and optimizer calls across the 20 runs in each scene. The observed means range from 0.078 to 0.387 ms per call, demonstrating submillisecond mean collision-query latency on the evaluated GPU and workloads. These times include the per-query preparation of the local copy of the SVR described in Section V, i.e., subdivision of the enclosed voxels and filling of empty regions. Together with the stage timings, these measurements support efficient repeated collision checking while distinguishing its cost from overall planning latency.
VII-D Ablation Study
To evaluate the contribution of the differentiable collision cost, we compare the full optimizer with a variant that sets \lambda_{\mathrm{coll}}=0 in (27). The variant retains the task cost and the accept/reject test, so every accepted step still satisfies the risk constraint. Both variants use the same 20 start–goal pairs per scene, robot radii, initial search, optimization-sphere radius R_{\mathrm{o}}=0.3 m, and step-attempt limit. The settings in Section VII-C balance clearance, path length, and computation time with \lambda_{\mathrm{coll}}=1. To make its effect observable, this study uses \lambda_{\mathrm{coll}}=10. In addition to the minimum clearance, we report the mean clearance, computed from the centerline distances to the GT surface after densifying each trajectory at 1 cm intervals.
- Forest
- off
- 100
- 0.071\pm 0.009
- 0.322\pm 0.054
- No data
- on
- 100
- \mathbf{0.074\pm 0.020}
- \mathbf{0.329\pm 0.053}
- Pavilion
- off
- 100
- 0.364\pm 0.067
- 0.750\pm 0.145
- No data
- on
- 100
- \mathbf{0.376\pm 0.054}
- \mathbf{0.751\pm 0.144}
- Statues
- off
- 100
- 0.163\pm 0.053
- 0.468\pm 0.031
- No data
- on
- 100
- \mathbf{0.224\pm 0.079}
- \mathbf{0.492\pm 0.025}
- Stonehenge
- off
- 100
- 0.126\pm 0.045
- 0.603\pm 0.047
- No data
- on
- 100
- \mathbf{0.132\pm 0.045}
- \mathbf{0.611\pm 0.047}
Table VIII shows that both variants achieve 100% GT collision-free completion in all four scenes, consistent with the certified acceptance test. Including the collision cost increases the mean clearance by 7.2, 1.7, 24.1, and 7.5 mm on average in Forest, Pavilion, Statues, and Stonehenge, respectively. A Wilcoxon signed-rank test over the paired queries shows that this increase is significant in all four scenes (p<0.01). The minimum clearance increases by 3.1, 12.8, 61.1, and 5.9 mm on average in the same scenes. These results indicate that the collision cost consistently moves trajectories away from obstacles without sacrificing collision-free completion.
VII-E Real-World Demonstration
An advantage of a radiance field map is that it can be reconstructed from camera images and then used for path planning. To evaluate the proposed method in real-world settings, we conduct a drone experiment in an indoor environment with box obstacles. We capture the scene with a standard mobile phone, train an SVR on the images, and plan trajectories for 68 start–goal pairs in the reconstructed scene. Since no GT mesh is available for the real-world scene, each planned trajectory is inspected visually in the rendered SVR and checked for collision against a reference scene, built from the reconstructed mesh with the box obstacles. As shown in Fig. 7(c), 61 queries (89.7%) yield a collision-free trajectory, and no query yields a colliding one. The remaining 7 queries (10.3%) fail because their goal positions are classified as occupied. These goals lie near the boundary of the captured region, where sparse image coverage leaves the reconstruction incomplete and the checker conservatively reports the region as occupied. Fig. 7(a) shows the planned trajectories. We then execute the planned trajectory on a Crazyflie 2.1 drone whose pose is estimated by an external motion capture system, as shown in Fig. 7(b). The executed trajectory avoids the physical obstacles. This experiment supports the practical feasibility of planning directly on an SVR reconstructed from camera images.
VIII Discussion
This section discusses the applicability and limitations of the proposed method. We first apply the collision checker to an articulated robot arm, and then clarify what the collision bound does and does not guarantee.
VIII-A Extension to Articulated Robot Arms
Although the main target of the proposed method is mobile robots such as drones, the collision checker does not depend on a particular planner or a single rigid sphere. To examine this extensibility, we apply it to a 6-DOF UR10e arm without arm-specific design or tuning. The arm is approximated by 17 collision spheres attached to its links, and each configuration is checked by rendering every sphere with the proposed criterion. The checker is plugged into the RRT-Connect [29] planner in OMPL [30], validating each edge at 0.05 rad, followed by the native path simplification of OMPL, whose shortcuts are also validated by the checker. Trajectory optimization is not applied. As a reference, we run Splanning [12], which plans on a 3DGS model of the same scene with a receding-horizon trajectory optimizer and uses its own collision model of the arm.
We consider two tasks in a shelf scene. In the out–in task, the arm moves from a configuration outside the shelf to one inside a compartment. In the in–out–in task, the arm moves between two compartments, which requires leaving the first compartment before entering the second. For each task, we run 50 trials in which every joint of the nominal start and goal configurations is perturbed by Gaussian noise with a standard deviation of 0.1 rad. Each resulting trajectory is checked for collision against the GT mesh. Fig. 8 shows representative trajectories of the proposed method for both tasks.
- Out–in
- Ours
- 100
- 0
- 0
- 6.98\pm 5.57
- No data
- Splanning
- 64
- 2
- 34
- \mathbf{2.35\pm 0.87}
- In–out–in
- Ours
- 98
- 0
- 2
- 20.72\pm 18.52
- No data
- Splanning
- 42
- 12
- 46
- \mathbf{2.44\pm 0.67}
As shown in Table IX, the proposed checker yields GT collision-free trajectories in all planned trials in this setup, with success rates of 100% and 98%. The remaining in–out–in trial reached the timeout. Splanning succeeds in 64% and 42% of the trials, respectively. Most of its failures stop short of the goal, because its objective reduces the distance to the goal at each step and therefore becomes trapped in local minima when the arm must first move away from the goal, as in the in–out–in task. In addition, 1 and 6 of its trajectories collide with the GT mesh in the two tasks. Splanning requires less planning time on the trials it solves, whereas the proposed method spends most of its time on collision checks within the sampling-based search.
These observations suggest that the collision checker can be used for articulated robots by combining it with an off-the-shelf planner. In this setting, however, the planning time grows linearly with the number of spheres. A dedicated study, including joint-space trajectory optimization through the sphere kinematics and a broader set of scenes and tasks, remains future work.
VIII-B Scope of the Collision Bound
The proposed criterion bounds the collision probability of every radial segment of each collision sphere individually, rather than the joint probability that at least one segment collides. A joint probability cannot be obtained by treating directions as independent, since a single obstacle occludes a bundle of neighboring rays, and assuming independence over a continuum of directions or over rendered pixels makes the result degenerate or resolution dependent. A joint formulation instead requires modeling the particle scale, since the density of a radiance field corresponds to the product of particle number density and cross-sectional area [31]; this scale is not identifiable from a radiance field trained on images, and the proposed per-direction measure avoids it.
The bound applies only to the configurations at which the collision checker is evaluated. Following common practice in sampling-based planning, motion between these configurations is validated at a finite resolution rather than certified [3]. Certifying continuous motion by radius inflation does not follow directly, because the radial segments of a sphere at an intermediate position are not radial segments of the inflated sphere, so the per-direction measure is not monotone under sphere inclusion. As in other radiance field-based planners, the bound is stated with respect to the reconstructed scene.
Empirically, the per-direction criterion proved sufficient: it yielded no missed collisions at the reported operating point on the evaluated query grid (Table I), produced ground-truth collision-free trajectories in all 80 mobile-robot planning queries (Table III), and avoided all obstacles in the real-world experiment. Extending the bound to the joint collision probability of a sphere, of the full robot, or of an entire trajectory, and to continuous motion, remains future work.
IX Conclusion
This paper presented Collision Rendering, a trajectory planning framework that operates directly on a trained sparse voxel radiance field. Its central observation is that the rendering pipeline of SVR can serve as a numerical approximator of collision probability. Under a transmittance-based collision model, we derived an upper bound on the maximum directional collision probability of a collision sphere from a spherical opacity image and error bounds computed from voxel-wise Lipschitz bounds. Evaluating this bound on the GPU yields a modular collision checker that can be used by any configuration-based planner. The same rasterization also provides a differentiable collision cost, whose analytic pixel-opacity gradient refines planned trajectories.
In simulation, the checker attained zero observed false negatives with the lowest false-positive rate among the zero-FNR checkers, at millisecond mean query times. The resulting planner produced GT collision-free trajectories in all 80 mobile-robot queries with subsecond mean planning times, and the ablation showed that the collision cost increases clearance. Without arm-specific design, the checker also enabled an off-the-shelf sampling-based planner to solve robot-arm tasks. In a real-world drone experiment, planning on an SVR reconstructed from mobile-phone images yielded no colliding trajectory, and the executed trajectory avoided all physical obstacles.
The bound currently certifies each radial segment of a collision sphere at discrete configurations. Future work includes extending it to the joint collision probability of a sphere, a robot, or an entire trajectory and to continuous motion, as well as joint-space trajectory optimization for articulated robots and reducing the cost of checking many collision spheres.
References
Appendix A Collision-Bound Derivations and Proofs
A-A Per-Ray Upper Bound
We derive a per-ray upper bound for the integrated density approximated by rendering in (19).
Consider a sampled pixel direction \mathbf{d}. Let \mathcal{S}(\mathbf{d}) denote the ray–voxel intersection segments within radius R, as defined in Section V-C; zero-length segments are omitted. For segment s\in\mathcal{S}(\mathbf{d}), let [t_{s}^{\mathrm{in}},t_{s}^{\mathrm{out}}]\subseteq[0,R] be its radial interval. Its entry and exit points are \mathbf{x}_{s}^{\mathrm{in}}=\mathbf{r}_{\mathbf{p},\mathbf{d}}(t_{s}^{\mathrm{in}}) and \mathbf{x}_{s}^{\mathrm{out}}=\mathbf{r}_{\mathbf{p},\mathbf{d}}(t_{s}^{\mathrm{out}}), respectively. Its physical length is
\ell_{s}=\left\|\mathbf{x}_{s}^{\mathrm{out}}-\mathbf{x}_{s}^{\mathrm{in}}\right\|_{2}=t_{s}^{\mathrm{out}}-t_{s}^{\mathrm{in}}.We parameterize the segment by the physical distance t from the sphere center along the ray as
\mathbf{x}_{s}(t)=\mathbf{r}_{\mathbf{p},\mathbf{d}}(t)=\mathbf{p}+t\mathbf{d},\qquad t\in[t_{s}^{\mathrm{in}},t_{s}^{\mathrm{out}}].Because Z is trilinear inside the voxel and \mathbf{x}_{s}(t) is affine in t, the raw density restricted to the segment is a cubic polynomial:
p_{s}(t)=Z(\mathbf{x}_{s}(t))=c_{s,0}+c_{s,1}t+c_{s,2}t^{2}+c_{s,3}t^{3}.Its derivative is
p_{s}^{\prime}(t)=c_{s,1}+2c_{s,2}t+3c_{s,3}t^{2}.Lemma 1 (Ray-segment Lipschitz constant).
The Lipschitz constant of the raw density field Z along segment s, with respect to physical distance, is
L_{\mathrm{ray},s}=\max_{t\in\mathcal{C}_{s}}\left|c_{s,1}+2c_{s,2}t+3c_{s,3}t^{2}\right|,where
\mathcal{C}_{s}=\{t_{s}^{\mathrm{in}},t_{s}^{\mathrm{out}}\}\cup\left\{-\frac{c_{s,2}}{3c_{s,3}}\;\middle|\;c_{s,3}\neq 0,\,-\frac{c_{s,2}}{3c_{s,3}}\in[t_{s}^{\mathrm{in}},t_{s}^{\mathrm{out}}]\right\}.Moreover, L_{\mathrm{ray},s} is also a Lipschitz constant for the density \sigma along the same segment.
Proof.
Since t is the physical distance along the ray,
\frac{\mathrm{d}}{\mathrm{d}t}Z(\mathbf{r}_{\mathbf{p},\mathbf{d}}(t))=p_{s}^{\prime}(t),and therefore
L_{\mathrm{ray},s}=\max_{t\in[t_{s}^{\mathrm{in}},t_{s}^{\mathrm{out}}]}|p_{s}^{\prime}(t)|.Since p_{s}^{\prime}(t) is quadratic, the maximum of its absolute value over [t_{s}^{\mathrm{in}},t_{s}^{\mathrm{out}}] occurs at an endpoint or at the quadratic vertex
t^{\star}=-\frac{c_{s,2}}{3c_{s,3}},when the vertex lies inside [t_{s}^{\mathrm{in}},t_{s}^{\mathrm{out}}]. This gives (34)–(35).
Finally, by (17),
\displaystyle\left|\frac{\mathrm{d}}{\mathrm{d}t}\sigma(\mathbf{r}_{\mathbf{p},\mathbf{d}}(t))\right| \\ \displaystyle=\left|\operatorname{explin}^{\prime}(p_{s}(t))p_{s}^{\prime}(t)\right| \\ \displaystyle\leq L_{\mathrm{ray},s}.Thus, L_{\mathrm{ray},s} is also a valid density Lipschitz constant. ∎
During rendering, density is sampled at K_{s}\geq 1 points along each segment. Let h_{s}=\ell_{s}/K_{s} be the physical sample spacing, and let
\Delta_{s,k}=[t_{s}^{\mathrm{in}}+(k-1)h_{s},\;t_{s}^{\mathrm{in}}+kh_{s}],\qquad k=1,\ldots,K_{s},be the corresponding subintervals. For a sample distance t_{s,k}\in\Delta_{s,k}, its world-space position is \mathbf{x}_{s,k}=\mathbf{r}_{\mathbf{p},\mathbf{d}}(t_{s,k}). The midpoint samples used in Section VI-A satisfy t_{s,k}=t_{s}^{\mathrm{in}}+(k-1/2)h_{s}. The sampled integrated density in (19) is therefore
\widehat{\tau}_{s}=h_{s}\sum_{k=1}^{K_{s}}\sigma(\mathbf{x}_{s,k}).Theorem 3 (Per-ray upper bound).
For sampled direction \mathbf{d}_{b}, the exact integrated density \tau(\mathbf{d}_{b}) satisfies
\tau(\mathbf{d}_{b})\leq U_{\mathrm{ray},b},where
U_{\mathrm{ray},b}=\sum_{s\in\mathcal{S}(\mathbf{d}_{b})}\left[\widehat{\tau}_{s}+\frac{L_{\mathrm{ray},s}\ell_{s}^{2}}{2K_{s}}\right].Proof.
Set \mathbf{d}=\mathbf{d}_{b}. For a subinterval \Delta_{s,k} of length h_{s} and its sample distance t_{s,k}, the Lipschitz property gives
\left|\sigma(\mathbf{r}_{\mathbf{p},\mathbf{d}}(t))-\sigma(\mathbf{x}_{s,k})\right|\leq L_{\mathrm{ray},s}|t-t_{s,k}|.Thus,
\displaystyle\left|\int_{\Delta_{s,k}}\sigma(\mathbf{r}_{\mathbf{p},\mathbf{d}}(t))\,\mathrm{d}t-h_{s}\sigma(\mathbf{x}_{s,k})\right| \\ \displaystyle\qquad\leq L_{\mathrm{ray},s}\int_{\Delta_{s,k}}|t-t_{s,k}|\,\mathrm{d}t\leq\frac{L_{\mathrm{ray},s}h_{s}^{2}}{2}.Summing over all K_{s} subintervals yields
\int_{t_{s}^{\mathrm{in}}}^{t_{s}^{\mathrm{out}}}\sigma(\mathbf{r}_{\mathbf{p},\mathbf{d}}(t))\,\mathrm{d}t\leq\widehat{\tau}_{s}+\frac{L_{\mathrm{ray},s}\ell_{s}^{2}}{2K_{s}}.Summing over all ray–voxel segments proves (38). ∎
A-B Angular Upper Bound
The per-ray bound in Theorem 3 holds only for the sampled pixel-center directions \mathbf{d}_{b}. To bound P_{\mathrm{coll}}(\mathbf{p};R) in (10), we must also bound the rays between them.
To bound rays that are not explicitly sampled, we divide the radial interval into N_{r} radial shells
0=r_{0}<r_{1}<\cdots<r_{N_{r}}=R.For angular bin \mathcal{B}_{b} in (16) and radial shell [r_{j},r_{j+1}], we define the chord-swept region
\displaystyle\widetilde{\mathcal{F}}_{b,j}=\bigg\{ \\ \displaystyle(1-\lambda)(\mathbf{p}+r\mathbf{d}_{b})+\lambda(\mathbf{p}+r\mathbf{d}): \\ \displaystyle\mathbf{d}\in\mathcal{B}_{b},\;r\in[r_{j},r_{j+1}],\;\lambda\in[0,1]\bigg\}.Let
\mathcal{V}_{b,j}=\left\{v:v\cap\widetilde{\mathcal{F}}_{b,j}\neq\emptyset\right\}be the set of all voxels intersecting this region, and define
G_{b,j}=\max_{v\in\mathcal{V}_{b,j}}L_{\mathrm{vox},v}.Lemma 2 (Local angular deviation bound).
For every direction \mathbf{d}\in\mathcal{B}_{b},
\left|\tau(\mathbf{d})-\tau(\mathbf{d}_{b})\right|\leq\varepsilon_{\mathrm{ang},b},where
\varepsilon_{\mathrm{ang},b}=2\sin\left(\frac{\delta_{b}}{2}\right)\sum_{j=0}^{N_{r}-1}G_{b,j}\frac{r_{j+1}^{2}-r_{j}^{2}}{2}.Proof.
For any \mathbf{d}\in\mathcal{B}_{b},
\displaystyle\left|\tau(\mathbf{d})-\tau(\mathbf{d}_{b})\right| \\ \displaystyle\leq\int_{0}^{R}\left|\sigma(\mathbf{p}+r\mathbf{d})-\sigma(\mathbf{p}+r\mathbf{d}_{b})\right|\mathrm{d}r.For r\in[r_{j},r_{j+1}], the line segment connecting \mathbf{p}+r\mathbf{d} and \mathbf{p}+r\mathbf{d}_{b} lies in \widetilde{\mathcal{F}}_{b,j}. Therefore, applying the mean-value inequality within each voxel and using continuity across voxel interfaces, together with (42), yields
\displaystyle\left|\sigma(\mathbf{p}+r\mathbf{d})-\sigma(\mathbf{p}+r\mathbf{d}_{b})\right| \\ \displaystyle\qquad\leq G_{b,j}\left\|r\mathbf{d}-r\mathbf{d}_{b}\right\|_{2}=G_{b,j}r\|\mathbf{d}-\mathbf{d}_{b}\|_{2}.For two unit vectors,
\|\mathbf{d}-\mathbf{d}_{b}\|_{2}=2\sin\left(\frac{d_{\mathbb{S}^{2}}(\mathbf{d},\mathbf{d}_{b})}{2}\right).Using (16),
\|\mathbf{d}-\mathbf{d}_{b}\|_{2}\leq 2\sin\left(\frac{\delta_{b}}{2}\right).Hence,
\left|\sigma(\mathbf{p}+r\mathbf{d})-\sigma(\mathbf{p}+r\mathbf{d}_{b})\right|\leq 2\sin\left(\frac{\delta_{b}}{2}\right)G_{b,j}r.Integrating this inequality over each radial shell and summing gives
\displaystyle\left|\tau(\mathbf{d})-\tau(\mathbf{d}_{b})\right| \\ \displaystyle\leq 2\sin\left(\frac{\delta_{b}}{2}\right)\sum_{j=0}^{N_{r}-1}G_{b,j}\int_{r_{j}}^{r_{j+1}}r\,\mathrm{d}r \\ \displaystyle=2\sin\left(\frac{\delta_{b}}{2}\right)\sum_{j=0}^{N_{r}-1}G_{b,j}\frac{r_{j+1}^{2}-r_{j}^{2}}{2}.This proves (44). ∎
A-C Proof of the Sphere-Wise Upper Bound
Proof of Theorem 1.
Let
\mathbf{d}^{\star}\in\arg\max_{\mathbf{d}\in\mathbb{S}^{2}}\tau(\mathbf{d}).Because the angular bins cover \mathbb{S}^{2}, there exists an index b^{\star} such that
\mathbf{d}^{\star}\in\mathcal{B}_{b^{\star}}.By Lemma 2,
\tau(\mathbf{d}^{\star})\leq\tau(\mathbf{d}_{b^{\star}})+\varepsilon_{\mathrm{ang},b^{\star}}.By Theorem 3,
\tau(\mathbf{d}_{b^{\star}})\leq U_{\mathrm{ray},b^{\star}}.Therefore,
\tau_{\max}=\tau(\mathbf{d}^{\star})\leq U_{\mathrm{ray},b^{\star}}+\varepsilon_{\mathrm{ang},b^{\star}}=U_{b^{\star}}\leq\max_{b}U_{b}.Finally, 1-\exp(-x) is monotonically increasing, so
P_{\mathrm{coll}}(\mathbf{p};R)=1-\exp(-\tau_{\max})\leq 1-\exp\left(-\max_{b}U_{b}\right).∎
A-D Implementation Notes
Algorithm 3 summarizes the GPU evaluation of the ray error bound in (38). Each GPU thread evaluates one pixel ray using the ray–voxel intersection intervals computed by SVRaster’s RayAABB [7]. For each segment s, RayCubicCoefficients substitutes the parameterization in (31) into the voxel’s trilinear raw density to obtain the coefficients in (32). The maximum derivative magnitude is then found from the endpoints t_{s}^{\mathrm{in}}, t_{s}^{\mathrm{out}} and any interior vertex, as in (34)–(35). By (17), the resulting L_{\mathrm{ray},s} also bounds the activated density along the segment.
The resulting ray error bound \varepsilon_{\mathrm{ray},b} and the angular error bound \varepsilon_{\mathrm{ang},b} from Algorithm 4 form the total error bound \varepsilon_{b}=\varepsilon_{\mathrm{ray},b}+\varepsilon_{\mathrm{ang},b}, which is combined with the pixel opacities A_{b} in (24).
Algorithm 4 summarizes the GPU evaluation of the angular error bound. Angular bins \mathcal{B}_{b} are processed in parallel, with one GPU block per bin. Within each block, threads process in parallel the voxels v\in\mathcal{V}_{b} that lie in the region covered by angular bin \mathcal{B}_{b}, using the precomputed bounds L_{\mathrm{vox},v} in (18). Each voxel thread traverses the radial shells sequentially and atomically updates G_{b,j} for every intersected region. We use uniform shell boundaries r_{j}=jR/N_{r}, a special case of the radial partition in Section A-B.
The final sum is evaluated only after all voxel threads in the block have finished updating G_{b,j}.
Appendix B Trajectory-Optimization Derivations
B-A Gradient Setup
To optimize a robot trajectory using rendered opacity as a collision cost, we derive the gradient of the pixel opacity A_{b} with respect to the sphere center \mathbf{p}. Let the sphere be centered at \mathbf{p}\in\mathbb{R}^{3} with rendering radius R; we consider translation of \mathbf{p} while holding the spherical-camera orientation fixed. For the optimization cost, R is set to the radius R_{\mathrm{o}} of the optimization sphere used in Section VI-A and (27). For spherical-image pixel b, let \mathbf{d}_{b} denote its world-space unit ray direction. The ray is parameterized as
\mathbf{r}_{\mathbf{p},\mathbf{d}_{b}}(t)=\mathbf{p}+t\mathbf{d}_{b},\qquad\frac{\partial\mathbf{d}_{b}}{\partial\mathbf{p}}=\mathbf{0}.The rendered pixel opacity along this ray is A_{b}\in[0,1], and we derive its gradient \nabla_{\mathbf{p}}A_{b}, which is used as the spatial gradient of the collision cost.
B-B Derivation and Proof of the Voxel Gradient
B-B1 Ray–Voxel Interval
We first restate the ray–voxel intersection segment in parameterized form. Consider segment s\in\mathcal{S}(\mathbf{d}_{b}) in voxel v, whose minimum and maximum corners are \mathbf{m}_{v} and \mathbf{M}_{v}. For a nonparallel coordinate axis i\in\{x,y,z\}, with d_{b,i}\neq 0, the ray intersects the two voxel planes at
t^{(0)}_{v,i}=\frac{m_{v,i}-p_{i}}{d_{b,i}},\qquad t^{(1)}_{v,i}=\frac{M_{v,i}-p_{i}}{d_{b,i}}.The near and far intersections along each nonparallel axis are
n_{i}=\min\left(t^{(0)}_{v,i},t^{(1)}_{v,i}\right),\qquad f_{i}=\max\left(t^{(0)}_{v,i},t^{(1)}_{v,i}\right).The entry and exit distances for segment s are
t_{s}^{\mathrm{in}}=\max_{i}n_{i},\qquad t_{s}^{\mathrm{out}}=\min_{i}f_{i},where the extrema are taken over nonparallel axes. These distances are then restricted to [0,R], i.e., t_{s}^{\mathrm{in}}\leftarrow\max(t_{s}^{\mathrm{in}},0) and t_{s}^{\mathrm{out}}\leftarrow\min(t_{s}^{\mathrm{out}},R). A parallel axis permits an intersection only when the ray origin lies within its voxel slab. Let i_{\mathrm{in}} and i_{\mathrm{out}} denote the active axes determining the entry and exit distances, respectively. For endpoints determined by voxel planes, holding these active axes fixed gives
\displaystyle\gamma_{s}^{\mathrm{in}}:=\nabla_{\mathbf{p}}t_{s}^{\mathrm{in}} \\ \displaystyle=-\frac{1}{d_{b,i_{\mathrm{in}}}}\mathbf{e}_{i_{\mathrm{in}}}, \\ \displaystyle\gamma_{s}^{\mathrm{out}}:=\nabla_{\mathbf{p}}t_{s}^{\mathrm{out}} \\ \displaystyle=-\frac{1}{d_{b,i_{\mathrm{out}}}}\mathbf{e}_{i_{\mathrm{out}}},where \mathbf{e}_{i} is the Cartesian standard basis vector for axis i.
Only nonempty segments with \ell_{s}>0 are retained.
B-B2 Derivative of the Sampled Point
For the K_{s} midpoint samples in segment s, indexed by k=1,\ldots,K_{s}, define the physical sample spacing and normalized midpoint positions as
h_{s}=\frac{\ell_{s}}{K_{s}},\qquad u_{s,k}=\frac{k-1/2}{K_{s}}.The sample distance is
t_{s,k}=(1-u_{s,k})t_{s}^{\mathrm{in}}+u_{s,k}t_{s}^{\mathrm{out}}.Holding K_{s} fixed during differentiation gives
\displaystyle\nabla_{\mathbf{p}}h_{s} \\ \displaystyle=\frac{\gamma_{s}^{\mathrm{out}}-\gamma_{s}^{\mathrm{in}}}{K_{s}}, \\ \displaystyle\nabla_{\mathbf{p}}t_{s,k} \\ \displaystyle=(1-u_{s,k})\gamma_{s}^{\mathrm{in}}+u_{s,k}\gamma_{s}^{\mathrm{out}}.The world-space sample position is
\mathbf{x}_{s,k}=\mathbf{p}+t_{s,k}\mathbf{d}_{b}.Since \partial\mathbf{d}_{b}/\partial\mathbf{p}=\mathbf{0},
\frac{\partial\mathbf{x}_{s,k}}{\partial\mathbf{p}}=\mathbf{I}_{3}+\mathbf{d}_{b}(\nabla_{\mathbf{p}}t_{s,k})^{\mathsf{T}}.This formula isolates the two ways a sample moves when the sphere center \mathbf{p} translates:
\mathbf{I}_{3}: the ray origin itself translates.\mathbf{d}_{b}(\nabla_{\mathbf{p}}t_{s,k})^{\mathsf{T}}: the sample distance changes as the voxel entry and exit distances change.
B-B3 Derivative of the Trilinear Raw Density
Let l_{v} be the side length of voxel v. The voxel-local coordinates corresponding to a world-space point and sample k are
\boldsymbol{\xi}=\frac{\mathbf{x}-\mathbf{m}_{v}}{l_{v}},\qquad\boldsymbol{\xi}_{s,k}=\frac{\mathbf{x}_{s,k}-\mathbf{m}_{v}}{l_{v}}.Let Z_{v} denote the eight raw corner-density values of voxel v. The sampled raw density is Z_{s,k}=Z(\mathbf{x}_{s,k})=\operatorname{interp}(Z_{v},\boldsymbol{\xi}_{s,k}), where \operatorname{interp} denotes trilinear interpolation of the corner values. Its world-space spatial gradient is
\nabla_{\mathbf{x}}Z_{s,k}=\frac{1}{l_{v}}\left.\nabla_{\boldsymbol{\xi}}\operatorname{interp}(Z_{v},\boldsymbol{\xi})\right|_{\boldsymbol{\xi}=\boldsymbol{\xi}_{s,k}}.The derivative of the sampled raw density with respect to the sphere center is therefore
\nabla_{\mathbf{p}}Z_{s,k}=\left(\frac{\partial\mathbf{x}_{s,k}}{\partial\mathbf{p}}\right)^{\mathsf{T}}\nabla_{\mathbf{x}}Z_{s,k}.Hence,
\displaystyle\nabla_{\mathbf{p}}Z_{s,k} \\ \displaystyle=\nabla_{\mathbf{x}}Z_{s,k} \\ \displaystyle}{\displaystyle+(\nabla_{\mathbf{x}}Z_{s,k}\cdot\mathbf{d}_{b})\nabla_{\mathbf{p}}t_{s,k}.The first term is the density-field gradient under direct translation of the ray origin. The second term accounts for the midpoint sample moving along the ray as the intersection interval changes.
Let \sigma_{s,k}=\explin(Z_{s,k}). Using the activation in (4),
\displaystyle\nabla_{\mathbf{p}}\sigma_{s,k} \\ \displaystyle=\explin^{\prime}(Z_{s,k})\Bigl[\nabla_{\mathbf{x}}Z_{s,k} \\ \displaystyle}{\displaystyle+(\nabla_{\mathbf{x}}Z_{s,k}\cdot\mathbf{d}_{b})\nabla_{\mathbf{p}}t_{s,k}\Bigr].B-B4 Derivative of Sampled Integrated Density
For segment s, the sampled integrated density in (36) is
\widehat{\tau}_{s}=h_{s}\sum_{k=1}^{K_{s}}\sigma_{s,k}.The product rule gives
\displaystyle\nabla_{\mathbf{p}}\widehat{\tau}_{s} \\ \displaystyle=\left(\nabla_{\mathbf{p}}h_{s}\right)\sum_{k=1}^{K_{s}}\sigma_{s,k} \\ \displaystyle}{\displaystyle+h_{s}\sum_{k=1}^{K_{s}}\nabla_{\mathbf{p}}\sigma_{s,k}.Proof of Theorem 2.
Substituting the spacing gradient \nabla_{\mathbf{p}}h_{s}=(\gamma_{s}^{\mathrm{out}}-\gamma_{s}^{\mathrm{in}})/K_{s}, the spacing h_{s}=\ell_{s}/K_{s}, and the density gradients derived above into this product rule yields (25). ∎
Theorem 2 has a useful interpretation:
- interval term:
(\gamma_{s}^{\mathrm{out}}-\gamma_{s}^{\mathrm{in}})[\cdots]differentiates the length of the ray segment inside the voxel; - field-sampling term:
\ell_{s}[\cdots]differentiates the density values at the moving midpoint samples.
This separation is the discrete midpoint-quadrature analogue of differentiating an integral with moving limits.
B-C Pixel-Opacity Gradient
Differentiating the rendered pixel-opacity relation in (19) gives the following result.
Corollary 1 (Center to spherical-pixel opacity).
For a spherical camera centered at \mathbf{p} and a fixed pixel direction \mathbf{d}_{b}, the rendered pixel opacity satisfies
\nabla_{\mathbf{p}}A_{b}=(1-A_{b})\sum_{s\in\mathcal{S}(\mathbf{d}_{b})}\nabla_{\mathbf{p}}\widehat{\tau}_{s},where \nabla_{\mathbf{p}}\widehat{\tau}_{s} is given by Theorem 2. The active ray–voxel intersection structure is held fixed during differentiation.