betaFeedback

WorksComputer Science

ClearNav: Perception-Aligned Quadrotor Flight Using Differential-Physics

Abstract

Autonomous quadrotor flight in cluttered environment is an key capability for tasks like inspection and search. Navigation policies trained in simulation and transferred to hardware can fly at high speed in open space, but they can still collide as obstacle clearance shrinks. We attribute most of these collisions to a single mechanism, namely motion in directions the onboard camera does not observe. Heading that is not aligned with the direction of travel and lateral excursion during obstacle avoidance both carry the vehicle toward obstacles outside its field of view. We introduce ClearNav, a navigation policy trained with two reward terms that constrain motion to the observed direction, a forward-looking heading target and a penalty on lateral velocity. A third term penalizes speed near obstacles so that an obstacle entering the field of view remains avoidable. In simulation, across 18 held-out scenarios with 2304 paired flights per policy unseen in training, ClearNav improves success by 6.8 points, cuts the collision rate by 65% relative to the state of the arts, and flies at maximum 5m/s. For the proximity term alone under matched commanded speeds, the collision reduction still holds at 70%. The effect is significant on static scenes and consistent in direction on moving obstacles, though not significant there at the suite level, showing that safer flight in clutter is possible even on the limited sensors and compute of small drones. We also validate our navigation policy in a real-world cluttered environment, showing that it enables the quadrotor to navigate through the cluttered environment successfully and safely.

SUPPLEMENTARY MATERIAL

Website: https://acp-lab.github.io/clearnav

Code: https://github.com/acp-lab/clearnav

Video: https://youtu.be/9hldGKQiQgc

ClearNav navigation policy in a cluttered environment

Figure 1. ClearNav, an end-to-end navigation policy trained through differentiable physics, enables a drone to fly through cluttered environment while dodging obstacles by aligning its camera with its direction of travel and slowing down near obstacles.

Introduction

Autonomous quadrotor flight in cluttered, confined spaces is a core requirement for search and rescue, and for inspecting forests or collapsed structures. Confined geometry restricts platform size, and thus onboard sensing and compute, so the vehicle must stay safe at small clearances under strict computational budgets.

Classical pipelines decompose navigation into mapping, planning, and control [1, 2, 3, 4, 5, 6, 7, 8]. Inaccuracies propagate across stages, and the accumulated latency is too high for fast flight in clutter. Hybrid learning-plus-optimization variants recover some latency but still rely on an explicit map [9, 10, 11], as do pure optimization methods [12]. Their fixed-rate replanning leaves less margin as speed grows, and all demand dense sensing with a heavy SWaP burden on

small platforms. Imitation learning replaces the pipeline with a direct sensorimotor mapping [13, 14, 15], but the student is bounded by the expert’s performance and degrades out of distribution when the expert uses privileged information [14]. Reinforcement learning removes the expert [16, 17, 18, 19, 20, 21, 22], but its sampled gradients need thousands of parallel environments. Model-based variants trade sample efficiency for a world model whose long-horizon rollouts can fail to generalize [23, 24], and reward shaping reaches the policy only through indirect, high-variance sampled correlations.

Differentiable physics instead differentiates the entire rollout and updates the policy by backpropagation through the simulator [25, 26, 27, 28, 29, 30, 31], an idea that extends to perceptive legged control [32]. Some methods retain an RL actor or critic and are better read as first-order hybrids [33, 34], surveyed in [35]. The analytic gradients generalize to new environments from few simulation samples [27], but differentiating long unrolled rollouts is ill-conditioned and the dynamics Jacobian can become chaotic [36]. The point-mass dynamics sacrifice rotational degrees of freedom, and the privileged shaping signals are unavailable at deployment. As a result, these policies still struggle in environments that need deliberate, multi-step avoidance rather than purely reactive maneuvers: the physics-based rewards that keep training tractable give little incentive for such behavior. Later work shapes the objective with global information available at training time [25, 28], but this oracle is not used to its full potential. In our experiments these approaches fail in cluttered environments, with two recurring causes: misaligned yaw during motion, and overly wide, unsafe trajectories. The point-mass lineage [27] penalizes only the closing-speed component of velocity, leaving tangential motion free. General-purpose GPU frameworks such as DiffAero [37] accelerate training of such policies but are validated on agile-flight benchmarks rather than deliberate avoidance in tight clutter. We introduce a direction-agnostic speed-proximity cost as one term in a navigation objective for tight clutter, paired with heading and strafe-aware penalties.

To address this gap, we introduce ClearNav, a safer differentiable-physics policy for cluttered spaces. ClearNav adds three reward terms to an already-tuned differentiable-rollout objective [25], chosen so that no degree of freedom is sacrificed.

Specifically, the contributions of this work are:

  • Safer navigation in cluttered environments: We penalize high speed near obstacles, misaligned yaw, and excessive strafing. Each penalized behavior is observable at inference time, so the policy keeps the information it needs to act on the objective during deployment.

  • Navigation around large obstacles: Our policy navigates around obstacles across a wide range of sizes, shapes, and counts across simulations and real world experiment including large obstacles.

  • Thorough simulation experiments: We compare against other exisiting approaches on static out-of-distribution scenes, a matched-velocity control, moving obstacles, and a cross-framework setting.

Methodology

This section describes how the policy is trained. Section II-A states the navigation problem and defines the observation and action. Section II-B introduces the differentiable point-mass dynamics that let us backpropagate through entire rollouts. Section II-C describes the Habitat training scenes and the geodesic guidance field that shapes the objective without entering the policy. Section II-D presents the three-branch recurrent policy architecture. Section II-E details the per-step objective and the three loss terms we add to it. Section II-E.7 describes the two-stage training procedure that carries the weights from an empty arena into cluttered scenes.

Problem formulation

A quadrotor flies autonomously from a randomly sampled start pose to a goal position pg∈R3\mathbf{p}_g \in\mathbb{R}^3 through an unknown, cluttered environment, using only a forward-facing depth camera and proprioception. We use three frames (Figure 2): an ENU world frame W\mathcal{W}, a start frame S\mathcal{S} fixed at the reset pose, and a body frame B\mathcal{B} at the center of mass, with rotations Rws,Rwb∈SO(3)R_{ws}, R_{wb} \in\mathrm{SO}(3). At each step tt the policy receives the observation

Figure 2. Frames used in our formulation. All frames use right handed convention with positive z-axis pointing opposite to gravity at hover. World frame is indicated with blue, start frame with red and body frame with green.

ot=(st,gt,Dt),(1)\mathbf{o}_t = \left(\mathbf{s}_t, \mathbf{g}_t, D_t\right), \tag*{(1)}

where the proprioceptive state st∈R7\mathbf{s}_t \in\mathbb{R}^7 stacks the attitude quaternion of B\mathcal{B} relative to S\mathcal{S} and the velocity expressed in S\mathcal{S}, both perturbed by Gaussian noise resampled every step. The goal encoding gt∈R4\mathbf{g}_t \in\mathbb{R}^4 is a clamped proportional velocity command vtcmd=min⁡(Kp∥pg−pt∥,v∗)(pg−pt)\mathbf{v}^{\mathrm{cmd}}_t = \min(K_p\lVert\mathbf{p}_g - \mathbf{p}_t\rVert, v^*) (\mathbf{p}_g - \mathbf{p}_t), where KpK_p is a proportional gain and v∗v^* is the command speed cap, together with an inverse range [max⁡(∥pg−pt∥,dmin⁡)]−1[\max(\lVert\mathbf{p}_g - \mathbf{p}_t\rVert, d_{\min})]^{-1}, with dmin⁡=0.5 md_{\min} = 0.5\,\mathrm{m}, and the hat (⋅^)(\hat{\cdot}) denotes the normalized unit vector of a vector.

The command points straight at the goal and carries no obstacle information, so all avoidance must come from the depth image Dt∈R1×H×WD_t \in\mathbb{R}^{1 \times H \times W} of height HH and width WW, whose invalid returns are set to the far plane and treated as free space.

The action is a mass-normalized collective thrust vector ft\mathbf{f}_t in S\mathcal{S} plus an absolute yaw setpoint ψt\psi_t,

at=(ft,ψt)∈R3×(−π,π].(2)\mathbf{a}_t = (\mathbf{f}_t, \psi_t) \in\mathbb{R}^3 \times(-\pi,\pi]. \tag*{(2)}

We denote our navigation policy as πθ\pi_\theta, parameterized by θ\theta. The navigation policy will take observation ot\mathbf{o}_t and the policy’s recurrent state ht\mathbf{h}_t as input and output control action at\mathbf{a}_t, so at=πθ(ot,ht)\mathbf{a}_t = \pi_\theta(\mathbf{o}_t,\mathbf{h}_t). Since the simulator is differentiable end to end, we optimize θ\theta directly rather than via policy gradients:

min⁡θE[1H∑t=0H−1γtL(xt,at)],(3)\min_{\theta} \mathbb{E}\left[\frac{1}{H}\sum_{t=0}^{H-1}\gamma^t \mathcal{L}(\mathbf{x}_t,\mathbf{a}_t)\right], \tag*{(3)}

where xt\mathbf{x}_t is the full simulator state, HH the rollout horizon, and the expectation is over initial conditions, scenes, and the injected noise. The gradient ∂L/∂θ\partial\mathcal{L}/\partial\theta is obtained by backpropagation through the unrolled dynamics (Sec. II-E.7).

Differentiable dynamics

The vehicle is modeled as a point mass with an attitude reconstructed from the commanded thrust and yaw [25, 27], an abstraction that can struggle where significant yaw motion is required. Translational dynamics are integrated with velocity Verlet at step Δt\Delta t under net acceleration atnet=Rwsft+g\mathbf{a}^{\mathrm{net}}_t = R_{ws}\mathbf{f}_t + \mathbf{g},

pt+1=pt+vtΔt+12atnetΔt2,(4)\mathbf{p}_{t+1} = \mathbf{p}_t + \mathbf{v}_t\Delta t + \frac{1}{2}\mathbf{a}^{\mathrm{net}}_t\Delta t^2, \tag*{(4)}
vt+1=vt+12(atnet+at+1net)Δt.(5)\mathbf{v}_{t+1} = \mathbf{v}_t + \frac{1}{2}\left(\mathbf{a}^{\mathrm{net}}_t + \mathbf{a}^{\mathrm{net}}_{t+1}\right)\Delta t. \tag*{(5)}

Gravity gg is resampled per episode from N(−9.81 e3,σg2)\mathcal{N}(-9.81\,\mathbf{e}_3,\sigma_g^2) on the vertical axis, where e3\mathbf{e}_3 is the world vertical unit vector and σg\sigma_g is the gravity noise standard deviation, which absorbs unmodeled mass and thrust-coefficient error.

Attitude is not integrated. Given the filtered thrust command f\mathbf{f} and yaw setpoint ψ\psi, the body frame is reconstructed in closed form from its axes xb,yb,zb\mathbf{x}_b,\mathbf{y}_b,\mathbf{z}_b so that zb\mathbf{z}_b is along the thrust and xb\mathbf{x}_b is as close as possible to the commanded heading h=RwsRz(ψ)e1\mathbf{h}=R_{ws}R_z(\psi)\mathbf{e}_1, where Rz(ψ)R_z(\psi) rotates about the vertical axis by ψ\psi and e1\mathbf{e}_1 is the start-frame forward axis, with yb\mathbf{y}_b completing the right-handed orthonormal triad,

zb=f^,yb=zb×h,xb=yb×zb(6)\mathbf{z}_b=\hat{\mathbf{f}},\quad\mathbf{y}_b=\mathbf{z}_b\times\mathbf{h},\quad\mathbf{x}_b=\mathbf{y}_b\times\mathbf{z}_b \tag*{(6)}

with degenerate cases handled by fixed fallbacks. Body rate ω\boldsymbol{\omega}, recovered by finite-differencing consecutive rotations, is differentiable and penalized directly.

Unrolling (5) for hundreds of steps produces the same ill-conditioning that afflicts long BPTT chains. To solve this, gradients flowing back through the BPTT rollout are shrunk by e−λdTe^{-\lambda_dT} over a horizon TT, bounding the total gain.

Environment and geodesic guidance

Training scenes are built on Habitat-sim [38]. The nearest-obstacle query is exact: the closest surface point ct\mathbf{c}_t gives a signed clearance

dt=∥ct−pt∥−r,(7)d_t=\lVert\mathbf{c}_t-\mathbf{p}_t\rVert-r, \tag*{(7)}

where rr is the vehicle’s collision radius. An episode terminates in collision when dt<0d_t<0 or on leaving the stage, and in success when ∥pg−pt∥<rsucc\lVert\mathbf{p}_g-\mathbf{p}_t\rVert<r_{\mathrm{succ}}.

u^(p)=−∇Ψ^(p)(8)\hat{\mathbf{u}}(\mathbf{p})=-\nabla\widehat{\Psi}(\mathbf{p}) \tag*{(8)}

where Ψ\Psi is the scalar time-of-arrival potential and u^\hat{\mathbf{u}} is its unit descent direction. This field is privileged, only shaping the objective and never an input to πθ\pi_\theta.

Policy architecture

πθ\pi_\theta is a three-branch encoder followed by a single recurrent cell and a linear head (Figure 3). The depth branch inverts the range map, D~=1/(D+ϵ)\widetilde{D}=1/(D+\epsilon), then max-pools it to a coarse H′×W′H'\times W' grid. Max-pooling inverse depth preserves the closest obstacle in each cell. Three stride-1 convolutions with 32/64/128 channels and leaky-ReLU, a linear projection to nfn_f, and layer normalization follow. The state and goal branches are each a layer-normalized MLP to width nfn_f.

Figure 3. Policy architecture. The three modality branches are projected to a common width nfn_f and summed, so the recurrent input dimension does not grow with the number of sensors.

The three feature vectors are summed, layer-normalized, passed through a GRU cell of width nfn_f, and mapped by one linear layer to an unbounded thrust vector and a yaw angle squashed by a sigmoid into (−π,π](-\pi,\pi]. The whole network is ≈2.2M\approx2.2\mathrm{M} parameters, which can run on many low power single board computers.

Objective

The per-step cost is a weighted sum of nine terms. Writing vˉ\bar{\mathbf{v}} for the uniform moving average of velocity over a window TavgT_{\mathrm{avg}}, vˉe\bar{\mathbf{v}}^{e} for its exponentially weighted counterpart, vb=Rub⊤vˉ\mathbf{v}_b=R_{ub}^{\top}\bar{\mathbf{v}} for the velocity expressed in B\mathcal{B}, and c^t\hat{\mathbf{c}}_t for the unit vector toward the nearest obstacle,

L=λvLv+λv~Lv~+λcLc+∑k∈{a,j,ω}λkLk+λoaLoa+λslipLslip+λψLψ(9)\mathcal{L}=\lambda_v\mathcal{L}_v+\lambda_{\tilde v}\mathcal{L}_{\tilde v}+\lambda_c\mathcal{L}_c+\sum_{k\in\{a,j,\omega\}}\lambda_k\mathcal{L}_k +\lambda_{oa}\mathcal{L}_{oa}+\lambda_{\mathrm{slip}}\mathcal{L}_{\mathrm{slip}}+\lambda_{\psi}\mathcal{L}_{\psi} \tag*{(9)}

and the reward reported in the logs is r=−Lr=-\mathcal{L}.

Progress

The vehicle is asked to track the routed direction at the commanded speed, penalized with a Huber loss on the magnitude of the tracking error, plus a one-sided quadratic that discourages exceeding the commanded speed:

Lv=huber⁡(∥v⋆u^−vˉ∥),(10)\mathcal{L}_v=\operatorname{huber}(\lVert v^\star\hat{\mathbf{u}}-\bar{\mathbf{v}}\rVert), \tag*{(10)}
Lvˉ=(∥vˉ∥−v⋆)+2.(11)\mathcal{L}_{\bar v}=(\lVert\bar{\mathbf{v}}\rVert-v^\star)_+^2. \tag*{(11)}

Figure 4. Our modifications to the loss function include three components: a velocity-aware proximity penalty, which penalizes high speed near obstacles regardless of direction; a yaw lookahead reward, which encourages the policy to align its heading with the anticipated velocity direction; and a body-frame lateral-velocity penalty, which discourages sideways motion.

Using the windowed average vˉ\bar{v} rather than the instantaneous velocity in (10) is what allows a lateral excursion around an obstacle without being immediately penalized for it.

Collision

The safety term combines a closing-speed penalty with a soft interior barrier,

Lc=(v⋅c^)(df−d)+2+β1log⁡(1+eβ2d)(12)\mathcal{L}_{c} = (\mathbf{v}\cdot\hat{\mathbf{c}})(d_{f}-d)_{+}^{2} + \beta_{1}\log(1+e^{\beta_{2}d}) \tag*{(12)}

Here dd is the clearance dtd_{t} from (7), and β2<0\beta_{2}<0 so the barrier is negligible for d≫0d\gg0 and grows linearly once the surface is penetrated. The closing-speed factor penalizes radial approach within a shell of thickness dfd_{f}.

Smoothness

La=∥a∥2\mathcal{L}_{a}=\lVert\mathbf{a}\rVert^{2}, Lj=∥j∥2\mathcal{L}_{j}=\lVert\mathbf{j}\rVert^{2} and Lω=∥ω∥2\mathcal{L}_{\omega}=\lVert\boldsymbol{\omega}\rVert^{2} penalize acceleration, jerk, and body rate, where here a\mathbf{a} is the translational acceleration and j\mathbf{j} the jerk, making trajectories flyable.

Heading

The heading reference interpolates along the great circle from the goal direction to the smoothed velocity direction, since early in an episode there is no motion to look along,

y^ref=slerp⁡(pg−p,v^e;clip⁡(∥p−p0∥,0,1))(13)\hat{\mathbf{y}}^{\mathrm{ref}}=\operatorname{slerp}\left(\mathbf{p}_{g}-\mathbf{p},\hat{\mathbf{v}}^{e};\operatorname{clip}\left(\lVert\mathbf{p}-\mathbf{p}_{0}\rVert,0,1\right)\right) \tag*{(13)}
Lψ=−y^ref⋅y^(14)\mathcal{L}_{\psi}=-\hat{\mathbf{y}}^{\mathrm{ref}}\cdot\hat{\mathbf{y}} \tag*{(14)}

where y^\hat{\mathbf{y}} is the body xx axis projected onto the horizontal plane, blended by distance traveled since the reset position p0\mathbf{p}_{0}, clamped to [0,1][0,1]. Lψ\mathcal{L}_{\psi} is gated off within 1 m of the goal, where the goal direction is ill-conditioned.

When geodesic guidance is available, the slerp reference of (13) is replaced by the routed direction sampled τℓ\tau_{\ell} seconds ahead of the vehicle along its smoothed velocity,

y^ref=−∇Ψ(p+τℓvˉe)(15)\hat{\mathbf{y}}^{\mathrm{ref}}=-\nabla\Psi\left(\mathbf{p}+\tau_{\ell}\bar{\mathbf{v}}^{e}\right) \tag*{(15)}

wherever that gradient is valid. Where the look-ahead point lies inside geometry, the slerp fallback of (13) is kept. Sampling ahead of p\mathbf{p} turns the heading before a bend, so the depth camera leads the path. This gradient, like u^\hat{\mathbf{u}} in (10), only shapes training and is never an input to πθ\pi_{\theta}.

Velocity-aware proximity cost

Equation (12) penalizes only radial approach, so any velocity orthogonal to c^\hat{\mathbf{c}} is free, and its barrier fires only once dd is near zero, too late for a vehicle whose stopping distance at 5 m/s is several meters [27]. We therefore add a cost on being fast while close:

Loa=∥v∥exp⁡(−2(d−δ)+)(16)\mathcal{L}_{\mathrm{oa}}=\lVert\mathbf{v}\rVert\exp\left(-2(d-\delta)_{+}\right) \tag*{(16)}

where δ\delta is an inflation radius.

The term is direction-agnostic, since Loa\mathcal{L}_{\mathrm{oa}} depends only on ∥v∥\lVert\mathbf{v}\rVert, so the only way to reduce it near an obstacle is to slow down. Its gradient ∂Loa/∂v=v^exp⁡(−2(d−δ)+)\partial\mathcal{L}_{\mathrm{oa}}/\partial\mathbf{v}=\hat{\mathbf{v}}\exp(-2(d-\delta)_{+}) opposes the current velocity with magnitude set by proximity, and the exponential falloff keeps Loa\mathcal{L}_{\mathrm{oa}} negligible in open space, so it can be added without re-tuning the other weights.

Body-frame lateral-velocity penalty

(14) asks the camera to look where the vehicle is going, but thrust is commanded in S\mathcal{S}, not B\mathcal{B}, so lateral body velocity is no costlier than forward and a policy can satisfy Lψ\mathcal{L}_{\psi} while flying broadside. We close this with a penalty on the body-frame lateral velocity,

Lslip=vlat2(∥v∥+1),vlat=(vb)y(17)\mathcal{L}_{\mathrm{slip}}=v_{\mathrm{lat}}^{2}\left(\lVert\mathbf{v}\rVert+1\right),\qquad v_{\mathrm{lat}}=(\mathbf{v}_{b})_{y} \tag*{(17)}

where vlatv_{\mathrm{lat}} is the strafe-axis component of vb=RwbTv\mathbf{v}_{b}=R_{wb}^{\mathsf{T}}\mathbf{v}. The speed factor ∥v∥+1\lVert\mathbf{v}\rVert+1 is detached from the autograd graph, so gradient flows only through the quadratic on vlatv_{\mathrm{lat}}, making fast sideways motion expensive while leaving the small transient lateral component of a coordinated turn nearly free. Lslip\mathcal{L}_{\mathrm{slip}} carries no obstacle or scan reference, so unlike Loa\mathcal{L}_{\mathrm{oa}} it cannot be farmed by routing around geometry, and its gradient is a pure anti-strife command leaving the forward and vertical components free.

Training

We roll NN agents forward for HH steps, accumulate the discounted cost of (3), and backpropagate through the whole unrolled graph in a single backward pass, covering the dynamics, the clearance query, and the reward. Parameters are updated with AdamW under a cosine-annealed learning rate and gradient-norm clipping at gmax⁡g_{\max}, and after each iteration the simulator and recurrent states are detached, truncating the graph while preserving physical continuity. Agents that terminate are reset individually, with the discount and recurrent state zeroed for those rows only.

Real world trajectory flown by the ClearNav policy

Figure 5. Real world trajectory flown by the ClearNav policy. The drone moves left to avoid the first obstacle, then after looking at it tries to go below, yaws to the right to avoid the second, wider obstacle, and continues to the goal.

Training proceeds in two stages that carry the weights forward and continue the global iteration counter. The first stage uses an empty walled arena so the policy learns the thrust-to-motion mapping and goal reaching, and the second stage uses cluttered scenes with time-of-arrival guidance and the full objective.

Experimental Results

We validate our methods by answering four questions:

  • Q1 Does ClearNav help on the scenes it was trained on (§ 3-B)?

  • Q2 Does it help out of distribution, on obstacle configurations, densities, arena sizes, and speed bands never seen in training (§ 3-C)?

  • Q3 Does the benefit survive when the confounding factors are controlled (§ 3-D)?

  • Q4 Does the benefit survive when the obstacles move (§ 3-E)?

The first is answered in the negative on the training distribution, where the proximity term adds nothing measurable (§ 3-B). The bundle’s gains appear only out of distribution (§ 3-C). A few static scenarios where the baseline matches or beats it, and a weaker, non-significant effect on moving obstacles (§ 3-E), bound the scope of the claim.

Experiment Setup

We compare four policies:

  • B (baseline): the original DepthNav reward, i.e. (9) with the three new terms disabled (avoidance driven by LcL_c alone); stage-1 cruise speed ∼U[1,5]\sim U[1,5] m/s.

  • ClearNav (ours): the full objective activating LoaL_{\mathrm{oa}}, LslipL_{\mathrm{slip}}, and the look-ahead yaw of (15); cruise speed ∼U[0.5,10]\sim U[0.5,10] m/s, with a longer stage-1 episode limit for the slower end.

Real world trajectory flown by the baseline policy

Figure 6. Real world trajectory flown by the baseline policy. The drone drifts toward the net to the side of the course, crashes into it, and never reaches the goal.

  • OA-only (ablation): LoaL_{\mathrm{oa}} alone on top of B; appears only in the matched-velocity control (§ 3-D) and speed sweep (§ 3-E), where the full bundle was not re-run.

  • DA (DiffAero reference): the v1 policy trained in the DiffAero simulator [37], evaluated in that simulator on the same scenario specifications. § 3-F explains why this benchmarks whole stacks rather than the reward term.

This is not a single-variable ablation. ClearNav differs from B in three objective terms (LoaL_{\mathrm{oa}}, LslipL_{\mathrm{slip}}, and the look-ahead yaw reference) and the commanded-speed distribution used during stage-1 training. The latter directly causes the mean-speed gap in every table below. § 3-D isolates it with a control experiment. OA-only provides one ablation point, the proximity term alone. Separating LslipL_{\mathrm{slip}} from the look-ahead yaw reference is not attempted here.

All evaluations use held-out scenes, with seeds disjoint from training and no shared scene, layout, or start–goal pair. Both policies run under the same environment seed, so poses, goals, and obstacle placements (and trajectories, § 3-E) are paired. An episode is a success within rsucc=0.5r_{\mathrm{succ}}=0.5 m of the goal, a collision on geometry contact or leaving the stage, or a timeout otherwise. The collision radius is 0.25 m, below the 0.3 m used in training. Statistical statements are Wilcoxon signed-rank tests over scenarios, with each scenario’s paired success rate as one matched observation. We include footage of the simulation environments in the supplementary video for the reader.

In-distribution evaluation

During training, baseline and OA-only are indistinguishable on a held-out set from the stage-1 scene family, sampled every 100 iterations at 80 episodes and commanded [1,5][1,5] m/s. Both converge to ≈99%\approx99\% success and ≈1%\approx1\% collision, with identical mean speed ≈2.5\approx2.5 m/s. On the training distribution the proximity term thus buys nothing measurable, and costs nothing: it does not slow the policy, degrade goal-reaching, or destabilize training. Whether the bundle matters must be decided out of distribution.

Static generalization suite

To probe generalization we built an 18-scenario suite sweeping obstacle count ∣O∣∈[5,80]|O| \in[5, 80], shape mix, arena size L∈[10,25]L \in[10, 25] m, commanded speed band [0.5,1.5][0.5, 1.5] to [7,10][7, 10] m/s, and spatial clustering. Obstacles form a 2D Gaussian blob centered on the goal, so every path must traverse the clutter. The goal sits at the arena center and the vehicle spawns on a cylinder of radius L/2L/2. Each scenario is 16 scenes × 8 rollouts = 128 paired episodes per policy, 2304 total, with a 1500-step, 30 s limit.

Table I shows the innovations raise mean success from 90.3% to 97.1% while cutting the collision rate from 8.2% to 2.9%, a 65% relative reduction. The improvement is consistent, not driven by a few scenarios. ClearNav is better on 17 of 18 scenarios and worse on none, with one exact tie. This is significant under a Wilcoxon signed-rank test over scenarios, Holm-corrected p=3×10−4p = 3 \times10^{-4}. Pooling episodes gives 2237/2304 against 2080/2304.

Scenario∣O∣|\mathcal{O}|LLv⋆v^\star bandSuccess rate (%) DASuccess rate (%) BSuccess rate (%) ClearNavCollision rate (%) DACollision rate (%) BCollision rate (%) ClearNavMean speed (m/s) BMean speed (m/s) ClearNav
Baseline30253.0–6.075.489.896.112.710.23.92.363.53
Sparse10253.0–6.090.694.599.22.35.50.82.403.59
Dense60253.0–6.053.687.595.324.911.74.72.333.46
Spheres Heavy30253.0–6.073.890.696.913.18.63.12.373.51
Cubes Heavy30253.0–6.082.191.499.26.98.60.82.363.56
Short Dist20153.0–6.066.489.199.217.010.90.82.123.39
Slow Targets30251.5–3.057.787.599.24.07.80.81.732.10
Fast Targets30255.0–8.056.190.696.939.89.43.12.554.42
Clustered40253.0–6.051.187.592.226.310.27.02.323.49
Baseline Reseed30253.0–6.079.390.699.212.67.00.82.333.53
Very Dense80253.0–6.034.587.593.828.810.96.22.323.43
Very Sparse5253.0–6.094.6100.0100.02.20.00.02.423.56
Pure Spheres30253.0–6.078.891.499.211.07.00.82.363.54
Pure Cubes30253.0–6.082.092.299.26.36.20.82.333.58
Tight Arena12103.0–5.072.589.1100.06.310.20.01.932.87
Ultra Fast30257.0–10.026.890.694.572.09.45.52.655.09
Ultra Slow30250.5–1.51.487.598.42.74.71.61.020.93
Tight Cluster50253.0–6.036.187.589.138.18.610.92.333.45
mean61.890.397.118.28.22.92.243.39

Table I. Static generalization suite: 18 scenarios, 128 episodes per scenario per policy. DADA = DiffAero v1 (cross-simulator; § 3-F), BB = DepthNav baseline, ClearNav = ours (baseline+Loa\mathcal{L}_{oa} + Lslip\mathcal{L}_{slip} + look-ahead yaw of (15)). Best of B/ClearNav in bold.

The gain is largest where (16) predicts: dense clutter, clustering, and the tight arena. In these scenes, the baseline loses most, while the near-saturated very-sparse scenario shows no difference. The tight-cluster case is ClearNav’s weakest, with a higher collision rate, plausibly dominated by its higher speed.

This is achieved while flying faster, not slower. ClearNav’s mean speed of 3.39 m/s against B’s 2.24 m/s is a 52% increase, the opposite of the usual safety–speed trade-off. Most of the speed gap comes from the wider stage-1 training band rather than the objective terms. Whether the safety gain is attributable to the objective terms or the training band is resolved by § 3-D.

Controlling for commanded speed

To separate the proximity term from the training speed band, we re-ran a subset of the suite with the commanded band forced to U[2,4]U[2, 4] m/s for both policies on the same scenes and seeds, using OA-only rather than the full-bundle ClearNav. The full bundle was not re-run under matched velocity, so this controls the confound for LoaL_{\mathrm{oa}} alone, not the bundle. Since LslipL_{\mathrm{slip}} and the look-ahead yaw reference are not speed-band-dependent in the same way, we take what it establishes for LoaL_{\mathrm{oa}} as a lower bound on the bundle.

Table II shows success improving from 90.6% to 97.2% and collisions falling from 8.4% to 2.6%, a 70% relative reduction, over 512 paired episodes on the four re-run scenarios. The direction and magnitude of Table I survive. The two policies still differ in speed under a matched command, 2.73 vs 2.04 m/s, so the control is partial, but it rules out the strong confound: with OA-only still faster, it collides less often, which a speed-only explanation does not predict.

ScenarioSuccess (%) BSuccess (%) OA-onlyCollision (%) BCollision (%) OA-onlySpeed (m/s) BSpeed (m/s) OA-only
Baseline89.1100.09.40.02.032.71
Sparse98.498.41.61.62.092.74
Dense87.596.111.73.12.032.73
Very Dense87.594.510.95.52.012.75
mean90.697.28.42.62.042.73

Table II. Matched-velocity control, run on OA-only rather than the full-bundle ClearNav. Both policies are commanded the same v⋆∼U[2,4]v^\star\sim U[2,4] m/s band, removing the commanded-speed difference between the two training configurations. 128 episodes per scenario per policy. The full-bundle ClearNav was not re-run under matched velocity, so this controls the confound for the proximity term alone, not for the bundle; see § 3-D.

Moving obstacles

LoaL_{\mathrm{oa}} is computed from an instantaneous clearance without modeling obstacle motion, and neither policy saw a moving obstacle in training, so this suite probes transfer on both counts. Obstacles are relocated each control step on trajectories seeded identically for both policies. Eleven scenarios cover linear drift, crossing traffic, orbits about the goal, oscillating pillars, and a dense fast swarm, which we showed in the supplementary video. Five more mix movers with a fixed static layout. Each scenario is 8 scenes × 3 rollouts = 24 paired episodes per policy with a 600-step limit. We report the suite with obstacle–obstacle separation enforced and, secondarily, without it. The correction is deterministic and pairing is preserved in both variants.

Table III shows the results. With separation enforced, mean success improves from 64.0% to 73.9% and collisions fall from 36.0% to 26.1%, winning 7 scenarios, losing 3 and tying 1, but this does not reach significance at n=11n = 11, p=0.084p = 0.084. Without separation, the effect is of similar magnitude, 68.6% → 76.1% with p=0.19p = 0.19, and in the mixed scenarios ClearNav leads 80.0% to 71.7%, again not significant. We interpret this as no evidence that ClearNav hurts on moving obstacles and a weak, consistent-sign suggestion that it helps, with 24 episodes per scenario too few to establish it. The mechanism is also plausibly limited: it slows near a wall, but if drone approaches to the obstacle at 5 m/s, the safe action may be to accelerate away.

Scenario∣O∣|\mathcal{O}|vov_oSuccess (%) BSuccess (%) OursCollision (%) BCollision (%) OursSucc., no sep. BSucc., no sep. Ours
Slow Drift100.595.8100.04.20.091.795.8
Crossing102.070.870.829.229.279.270.8
Orbiting120.9–8.845.871.454.238.545.862.5
Oscillating120–4.866.785.833.34.262.5100.0
Dense Swarm181.366.783.333.316.779.291.7
Crossing v1101.066.7100.033.30.083.387.5
Crossing v3103.054.266.745.833.350.070.8
Crossing v4104.066.758.333.341.770.866.7
Crossing v5105.029.258.370.841.737.558.3
Swarm Fast182.558.350.041.750.083.362.5
Drift Fast102.083.387.516.712.570.870.8
mean64.073.936.026.168.676.1
mixed: static obstacles + movers
Static Drift6+80.895.895.84.24.2––
Static Crossing6+82.087.587.512.512.5––
Pillars Swarm10+101.566.770.833.329.2––
Dense Mixed12+121.562.562.537.537.5––
Static Orbit8+80.9–8.845.883.354.216.7––
mean71.780.028.320.0––

Table III. Moving-obstacle suite. Obstacles are relocated at the control rate on trajectories seeded identically for both policies. 24 episodes per scenario per policy. Primary columns enforce obstacle–obstacle separation; the right-hand pair repeats without it. vov_o is a range for orbiters (∣ω∣r|\omega|r, ∣ω∣∈[0.3,0.8]|\omega| \in[0.3,0.8] rad/s) and oscillators (speed varies within an episode up to the quoted peak).

The crossing-traffic sweep in Table IV isolates obstacle speed. The sweep is run on OA-only to characterize the proximity term’s transfer to dynamic obstacles. Both policies degrade sharply with crossing speed, from 80–95% success at 1 m/s to 33–38% at 5 m/s, and the ordering between them is not stable. Neither policy handles fast dynamic obstacles, unsurprising since neither saw one in training, and the proximity term does not change this.

12345
obstacle speed vov_o (m/s)
B success83.379.250.070.837.5
OA-only success95.854.258.370.833.3
B collision16.720.850.029.262.5
OA-only collision4.245.841.729.266.7

Table IV. Crossing-traffic speed sweep, run on OA-only. All five columns share obstacle seed 102, so the obstacle field and headings are identical and only the speed magnitude changes. Rates in %.

Cross-framework comparison

The proximity cost (16) is a direction-agnostic term we introduce (Sec. II-E.5). For context, the DA columns of Table I evaluate the DiffAero reference policy [37] on the same 18 scenario specifications in the DiffAero simulator. On the 18 ClearNav scenarios, DA’s mean success is 61.8% against 90.3% for B and 97.1% for ClearNav. This is not a model comparison. The stacks differ in renderer, depth resolution, dynamics, termination criteria, and episode limits, so the numbers benchmark whole stacks, not the reward term.

Real world flight

We also fly the ClearNav policy on a physical quadrotor to confirm that the simulator-trained behavior transfers to real hardware, with the policy running onboard on a Jetson Orin NX (Fig. 5). The scene holds four obstacles of different shapes along the path to the goal. The first is narrow, so the drone moves left to avoid it, then once it has looked at the obstacle it tries to go below it. Since there is ground below it does not move further and it keeps its altitude low while trying to yaw around the second obstacle, which is a wider variety, so the drone intentionally yaws to the right to clear it before continuing the rest of the trajectory to the goal. The baseline policy was not successful under the same conditions. We also tested the baseline policy in the same real-world scenario, but it flew too broadly and grazed the nets enclosing the flying area, or crashed directly into the net. We therefore conclude that ClearNav successfully transferred to real-world scenario.

Conclusion

We presented ClearNav, a navigation policy for autonomous quadrotor flight in cluttered and confined spaces, where a small platform carries only a single forward-facing depth camera and proprioception. Three reward terms proposed in this paper on penalizing high speed near obstacles regardless of direction, turning the heading toward the geodesic gradient sampled ahead of the vehicle, and making sideways flight expensive makes ClearNav a safer policy than the baseline policies trained in differentiable physics simulator. Every behavior the objective penalizes is observable at inference. On the training distribution the proximity term costs nothing measurable. On 18 held-out static scenarios, ClearNav raises success from 90.3% to 97.1% and cuts

collisions by 65%, winning 17 of 18 while flying faster. On matched velocity control isolation the proximity term preserves a 70% collision reduction. On moving obstacles the effect points the same way but does not reach significance. We also flew the ClearNav policy on a physical quadrotor with the policy running onboard, and it navigated through a cluttered scene safely that the baseline could not, confirming that the behavior transfers to real hardware. One limitation is privileged supervision. Since the collision and proximity losses use an exact omnidirectional clearance query while the policy observes only a single 89∘89^\circ depth camera, so a learned maneuver need not be supported by an observation, a gap we plan to address in future work.

References

  1. [1]F. Gao, Y. Lin, and S. Shen, “Gradient-based online safe trajectory generation for quadrotor flight in complex environments,” in 2017 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), 2017, pp. 3681–3688.DOI
  2. [2]B. Zhou, F. Gao, L. Wang, C. Liu, and S. Shen, “Robust and efficient quadrotor trajectory generation for fast autonomous flight,” IEEE Robotics and Automation Letters, vol. 4, no. 4, pp. 3529–3536, 2019.arxiv.org/abs/1907.01531
  3. [3]S. Liu, N. Atanasov, K. Mohta, and V. Kumar, “Search-based motion planning for quadrotors using linear quadratic minimum time control,” in 2017 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), 2017, pp. 2872–2879.arxiv.org/abs/1709.05401
  4. [4]B. Zhou, J. Pan, F. Gao, and S. Shen, “Raptor: Robust and perception-aware trajectory replanning for quadrotor fast flight,” IEEE Transactions on Robotics, vol. 37, no. 6, pp. 1992–2009, 2021.arxiv.org/abs/2007.03465
  5. [5]S. Xu, D. Honegger, M. Pollefeys, and L. Heng, “Real-time 3d navigation for autonomous vision-guided mavs,” in 2015 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), 2015, pp. 53–59.DOI
  6. [6]C. Richter, A. Bry, and N. Roy, Polynomial Trajectory Planning for Aggressive Quadrotor Flight in Dense Indoor Environments. Cham: Springer International Publishing, 2016, pp. 649–666.DOI
  7. [7]S. Liu, K. Mohta, N. Atanasov, and V. Kumar, “Search-based motion planning for aggressive flight in se(3),” IEEE Robotics and Automation Letters, vol. 3, no. 3, pp. 2439–2446, 2018.arxiv.org/abs/1710.02748
  8. [8]A. Dai, S. Papatheodorou, N. Funk, D. Tzoumanikas, and S. Leutenegger, “Fast frontier-based information-driven autonomous exploration with an mav,” in 2020 IEEE International Conference on Robotics and Automation (ICRA), 2020, pp. 9570–9576.DOI
  9. [9]G. Tang, W. Sun, and K. Hauser, “Learning trajectories for real-time optimal control of quadrotors,” in 2018 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), 2018, pp. 3620–3625.DOI
  10. [10]Y. Wu, X. Sun, I. Spasojevic, and V. Kumar, “Deep learning for optimization of trajectories for quadrotors,” IEEE Robotics and Automation Letters, vol. 9, no. 3, pp. 2479–2486, 2024.arxiv.org/abs/2309.15191
  11. [11]Y. Jiang, Y. Zhang, H. V. Gupta, C. Borde, and J. Geng, “A self-supervised learning approach with differentiable optimization for uav trajectory planning,” in 2026 IEEE International Conference on Robotics and Automation (ICRA), 2026.arxiv.org/abs/2504.04289
  12. [12]F. Kong, W. Xu, Y. Cai, and F. Zhang, “Avoiding dynamic small obstacles with onboard sensing and computation on aerial robots,” IEEE Robotics and Automation Letters, vol. 6, no. 4, pp. 7869–7876, 2021.DOI
  13. [13]A. Loquercio, E. Kaufmann, R. Ranftl, M. Müller, V. Koltun, and D. Scaramuzza, “Learning high-speed flight in the wild,” Science Robotics, vol. 6, no. 59, p. eabg5810, 2021.
  14. [14]J. Xing, A. Romero, L. Bauersfeld, and D. Scaramuzza, “Bootstrapping reinforcement learning with imitation for vision-based agile flight,” 8th Conference on Robot Learning (CoRL), 2024.arxiv.org/abs/2403.12203
  15. [15]J. Low, M. Adang, J. Yu, K. Nagami, and M. Schwager, “Sous vide: Cooking visual drone navigation policies in a gaussian splatting vacuum,” IEEE Robotics and Automation Letters, vol. 10, no. 5, pp. 5122–5129, 2025.arxiv.org/abs/2412.16346
  16. [16]Y. Song, M. Steinweg, E. Kaufmann, and D. Scaramuzza, “Autonomous drone racing with deep reinforcement learning,” in 2021 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), 2021, pp. 1205–1212.arxiv.org/abs/2103.08624
  17. [17]E. Kaufmann, L. Bauersfeld, A. Loquercio, M. Mueller, V. Koltun, and D. Scaramuzza, “Champion-level drone racing using deep reinforcement learning,” Nature, vol. 620, pp. 982–987, 2023.DOI
  18. [18]A. Romero, A. Shenai, I. Geles, E. Aljalbout, and D. Scaramuzza, “Dream to fly: Model-based reinforcement learning for vision-based drone flight,” in 2026 IEEE International Conference on Robotics and Automation (ICRA), 2026.arxiv.org/abs/2501.14377
  19. [19]Z. Han, X. Huang, Z. Xu, J. Zhang, Y. Wu, M. Wang, T. Wu, and F. Gao, “Reactive aerobatic flight via reinforcement learning,” IEEE Robotics and Automation Letters, vol. 10, no. 10, pp. 11014–11021, 2025.arxiv.org/abs/2505.24396
  20. [20]I. Geles, L. Bauersfeld, A. Romero, J. Xing, and D. Scaramuzza, “Demonstrating Agile Flight from Pixels without State Estimation,” in Proceedings of Robotics: Science and Systems, Delft, Netherlands, July 2024.
  21. [21]G. Malczyk, M. Kulkarni, and K. Alexis, “Reinforcement learning for active perception in autonomous navigation,” in 2026 IEEE International Conference on Robotics and Automation (ICRA), 2026.arxiv.org/abs/2602.01266
  22. [22]J. Zhang, C. Lei, C. Dai, K. Hoi, L. Wang, Z. Han, and F. Gao, “High-speed vision-based flight in clutter with safety-shielded reinforcement learning,” IEEE Robotics and Automation Letters, vol. 11, no. 8, pp. 9559–9566, 2026.DOI
  23. [23]A. E. Verraest, S. Bahnam, R. Ferede, G. C. de Croon, and C. de Wagter, “Skydreamer: Interpretable end-to-end vision-based drone racing with model-based reinforcement learning,” arXiv:2510.14783, 2025.arxiv.org/abs/2510.14783
  24. [24]E. Vytla, E. Kalavakolanu, A. Perrault, and M. McCrink, “Dream-ing falcon: Physics-informed model-based reinforcement learning for quadcopters,” arXiv:2511.18243, 2025.arxiv.org/abs/2511.18243
  25. [25]J. Lee, A. Rathod, K. Goel, J. Stecklein, and W. Tabib, “Quadrotor navigation using reinforcement learning with privileged information,” in 2026 IEEE International Conference on Robotics and Automation (ICRA), 2026.arxiv.org/abs/2509.08177
  26. [26]J. Heeg, Y. Song, and D. Scaramuzza, “Learning quadrotor control from visual features using differentiable simulation,” in 2025 IEEE International Conference on Robotics and Automation (ICRA), 2025, pp. 4033–4039.DOI
  27. [27]Y. Zhang, Y. Hu, Y. Song, D. Zou, and W. Lin, “Learning vision-based agile flight via differentiable physics,” Nature Machine Intelligence, vol. 7, no. 6, pp. 954–966, Jun 2025.DOI
  28. [28]Y. Su, F. Yu, Y. Hu, X. Niu, L. Zhang, F. Sun, and D. Zou, “Vector field augmented differentiable policy learning for vision-based drone racing,” IEEE Robotics and Automation Letters, vol. 11, no. 5, pp. 5829–5836, 2026.
  29. [29]H. Zhong, P. Chi, J. Zhao, S. Yuan, X. Gao, T.-M. Nguyen, and L. Xie, “Panodp: Learning collision-free navigation with panoramic depth and differentiable physics,” arXiv:2603.07644, 2026.arxiv.org/abs/2603.07644
  30. [30]F. Li, S. Wang, Y. Huang, F. Sun, S. Wu, Y. Yan, D. Zou, and W. Yu, “Simple but stable, fast and safe: Achieve end-to-end control by high-fidelity differentiable simulation,” arXiv:2604.10548, 2026.arxiv.org/abs/2604.10548
  31. [31]X. Wang, Z. Chen, N. Cheng, Z. Yin, and X. Shen, “Learn for variation: Efficient aav trajectory learning through a differentiable wireless world model,” arXiv:2603.18853, 2026.arxiv.org/abs/2603.18853
  32. [32]J. Y. Luo, Y. Song, W. Klemm, F. Shi, D. Scaramuzza, and M. Hutter, “Residual policy learning for perceptive quadruped control using differentiable simulation,” in 2025 IEEE International Conference on Robotics and Automation (ICRA), 2025, pp. 1–8.arxiv.org/abs/2410.03076
  33. [33]Q. Chen, J. Sun, N. Gao, J. Low, T. Chen, and M. Schwager, “Grad-nav: Efficiently learning visual drone navigation with gaussian radiance fields and differentiable dynamics,” in 2025 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), 2025, pp. 7941–7948.arxiv.org/abs/2503.03984
  34. [34]E. Xing, P. Luk, and J. Oh, “Stabilizing reinforcement learning in differentiable multiphysics simulation,” in The Thirteenth International Conference on Learning Representations, 2025.arxiv.org/abs/2412.12089
  35. [35]R. Newbury, J. Collins, K. He, J. Pan, I. Posner, D. Howard, and A. Cosgun, “A review of differentiable simulators,” IEEE Access, vol. 12, pp. 97581–97604, 2024.arxiv.org/abs/2407.05560
  36. [36]L. Metz, C. D. Freeman, S. S. Schoenholz, and T. Kachman, “Gradients are not all you need,” arXiv:2111.05803, 2021.arxiv.org/abs/2111.05803
  37. [37]X. Zhang, R. Wang, Y. Ren, J. Sun, H. Fang, J. Chen, and G. Wang, “Diffaero: A gpu-accelerated differentiable simulation framework for efficient quadrotor policy learning,” arXiv:2509.10247, 2025.arxiv.org/abs/2509.10247
  38. [38]Manolis Savva*, Abhishek Kadian*, Oleksandr Maksymets*, Y. Zhao, E. Wijmans, B. Jain, J. Straub, J. Liu, V. Koltun, J. Malik, D. Parikh, and D. Batra, “Habitat: A Platform for Embodied AI Research,” in Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), 2019.arxiv.org/abs/1904.01201

Paper details

vlnc:W_ewh6nm8k
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 11

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents