SanD-Planner: Sample-Efficient Diffusion Planner in B-Spline Space for Robust Local Navigation Jincheng Wang, Lingfan Bao, Tong Yang, Diego Martinez Plasencia, Jianhao Jiao, Dimitrios Kanoulas Abstract The challenge of generating reliable local plans has long hindered practical applications in highly cluttered and dynamic environments. Key fundamental bottlenecks include acquiring large-scale expert demonstrations across diverse scenes and improving learning efficiency with limited data. This paper proposes SanD-Planner, a sample-efficient diffusion-based local planner that conducts depth image-based imitation learning within the clamped B-spline space. By operating within this compact space, the proposed algorithm inherently yields smooth outputs with bounded prediction errors over local supports, naturally aligning with receding-horizon execution. Integration of an ESDF-based safety checker with explicit clearance and time-to-completion metrics further reduces the training burden associated with value-function learning for feasibility assessment. Experiments show that training with 500 500 episodes (merely 0.25 % 0.25\% of the demonstration scale used by the baseline), SanD-Planner achieves state-of-the-art performance on the evaluated open benchmark, attaining success rates of 90.1 % 90.1\% in simulated cluttered environments and 72.0 % 72.0\% in indoor simulations. The performance is further proven by demonstrating zero-shot transferability to realistic experimentation in both 2D and 3D scenes. The dataset and pre-trained models will also be open-sourced. Fig. 1 : Real-world demonstrations of SanD-Planner. Our method enables the robot to traverse cluttered environments with tight clearances, including navigating narrow passages, avoiding obstacles, and climbing stairs. 1 1 footnotetext: Corresponding author. jianhao.jiao@ucl.ac.uk The authors are with the Department of Computer Science, University College London. I Introduction The capability for robust navigation in cluttered and dynamic environments remains a fundamental challenge for general-purpose mobile robotics [ 14 , 49 ] . Classic navigation frameworks typically utilize a modular pipeline that sequentially executes perception, SLAM, and planning sub-routines [ 6 , 21 , 33 , 20 ] . While effective in structured settings, the reliance on precise mapping creates bottlenecks in dynamic environments. Furthermore, the sequential processing induces latency and compounds errors from sensor noise and drift, often compromising the system’s ability to safely adapt to abrupt changes. This has catalyzed a shift toward end-to-end navigation approaches [ 39 , 48 , 35 , 23 , 24 ] that map onboard observations directly to actions or trajectories. While deep reinforcement learning (DRL) provides a principled framework for policy acquisition [ 17 , 41 , 46 , 2 ] , it is often hindered by extreme sample inefficiency and the difficulty of reward engineering. In contrast, imitation learning (IL) bypasses these issues by learning directly from expert demonstrations. Recent advances have shown remarkable results by aggregating large-scale real-world datasets to achieve general navigation behaviors [ 40 , 42 , 5 ] . However, the success of these methods remains largely data-driven, relying heavily on the coverage and diversity of demonstrations [ 48 ] . This scaling trend highlights a common pattern: performance improvements often hinge on the expansion of the supervision pipeline rather than on learning effectively from limited data. In specific domains such as marine robotics [ 29 ] , this data scarcity is particularly difficult to overcome. While scaling IL with massive datasets has driven remarkable progress, it often entails substantial computational overhead and longer training cycles. In this paper, we explore a complementary direction by asking whether local navigation can achieve high performance in a “data desert” of limited expert demonstrations. We propose SanD-Planner , a Sa mple-Efficie n t D iffusion-based Local Planner that maps depth observations directly to smooth and parametric paths. Unlike waypoint-based methods [ 42 ] that scale the output dimension linearly with the planning horizon, SanD-Planner predicts a fixed set of eight B-spline control points. This representation embeds structural geometric priors as an inductive bias, enabling an extended horizon to mitigate myopic behavior [ 37 ] without increasing learning complexity. By construction, B-splines ensure C^{2} continuity, making smoothness an inherent property rather than a learned feature. Crucially, the local support of B-splines provides robustness against the perceptual uncertainty typical of long-range sensing; noise or occlusions in the far horizon are isolated to distal control points, preventing far-field instabilities from propagating to the immediate execution segment. Finally, we decouple trajectory generation from safety assessment via an interpretable online critic. By relegating feasibility checks to this explicit geometric module, we reduce learning complexity and allow the policy to focus exclusively on distilling the expert trajectory distribution. The contributions can be summarized as follows: • SanD-Planner : A sample-efficient, diffusion-based local planner that generates smooth, collision-avoiding paths within a clamped cubic B-spline control-point space. By leveraging this structured representation, it achieves high-performance point-goal navigation using only 500 expert trajectories, which is \approx 0.25\% of the demonstration scale required by current state-of-the-art (SoTA) baselines. • Representation Study : A systematic investigation conducted under a unified training and evaluation protocol, characterizing how trajectory representations, specifically discrete waypoints, interpolating cubic splines, and B-spline control points, impact the performance and sample efficiency of imitation learning-based local planners. • Zero-Shot Sim-to-Real Validation : Successful deployment on a Unitree Go2 quadruped robot across diverse real-world environments, as shown in Fig. 1 . This demonstrates robust, depth-only 3D navigation in unseen complex scenes without any real-world fine-tuning. • Reproducibility : We will release our complete training and evaluation framework, including the dataset and pre-trained models, upon the acceptance. II Related Work II-A Learning-based End-to-End Visual Navigation DRL is a prominent category in this domain, employing trial-and-error optimization to eliminate the need for labeled data [ 17 , 41 , 46 ] . However, DRL is notoriously sample-inefficient and relies on complex reward engineering that often proves more difficult than providing expert demonstrations [ 19 ] . IL has emerged as a practical paradigm, enabling policies to learn directly from expert behaviors [ 4 , 30 , 31 , 11 , 39 , 40 ] . Building on this foundation, recent approaches have explored generative policy ( e.g., diffusion policy) learning to model local paths as conditional distributions, capturing the inherent multi-modality of navigation [ 7 , 5 , 13 ] . However, the robustness of IL policies is fundamentally constrained by the diversity and long-tail coverage of training data, especially in complex geometric configurations [ 35 ] . Consequently, pushing the limits of end-to-end navigation has largely depended on scaling expert demonstrations [ 38 ] . This is typically achieved by aggregating large real-world datasets [ 39 , 40 ] or by generating high-quality simulation supervision at scale, rather than learning effectively from limited data. For instance, recent works such as NavDP [ 5 ] leverage high-fidelity simulators to generate extensive supervision, utilizing datasets spanning hundreds of kilometers and requiring substantial compute budgets. In contrast to the trend of data scaling, this work demonstrates that a robust local planning policy can be learned effectively with limited data by injecting structural priors. We leverage B-spline parameterization to explicitly enforce path smoothness and inherent representation-level robustness. By combining this generative policy with an explicit geometric critic for trajectory selection, we decouple safety verification from policy learning. This design enables robust navigation with significantly fewer demonstrations. II-B B-spline Representation in Navigation B-splines are standard trajectory representations [ 52 , 51 , 28 ] in motion planning, where optimizing in a compact control-point space enables efficiency under smoothness and feasibility constraints. Classical optimization-based planners exploit spline structures, such as the convex-hull property, to improve clearance and dynamic feasibility [ 52 , 50 , 34 ] . These results suggest that trajectory parameterization can serve as a powerful inductive bias for learning-based navigation. In previous works, many IL policies were supervised using single-step actions [ 30 , 31 , 43 ] , making temporal consistency an explicit learning burden [ 44 ] . To mitigate this, recent planners predict short-horizon waypoint rollouts or action sequences to encourage coherent motion [ 13 , 42 ] . Moving beyond discrete sequences, recent approaches predict sparse waypoints and convert them into cubic-spline paths [ 48 , 35 ] . In contrast, this work learns local planning directly in a clamped B-spline control-point space, thereby inheriting the continuity and convex-hull properties. Our analysis (Section IV-B ) has demonstrated that B-splines offer distinct advantages for imitation-based planners compared to waypoint or standard cubic-spline parameterizations. Fig. 2 : Overview of SanD-Planner. The pipeline tokenizes and fuses historical depth images, relative point goals, and previous velocity using a two-layer Transformer encoder. The multi-modal context conditions a diffusion policy to generate B-spline control points through iterative denoising. Finally, an geometric critic module selects the optimal plan from candidates for execution and feeds its initial velocity back to the next planning step to maintain temporal consistency. III Problem Formulation This work addresses mapless local navigation in cluttered environments by learning a collision-free goal-reaching policy. At each planning step t , the robot receives a short history of four depth images \mathcal{O}_{t}=\{\mathbf{D}_{t-3},\mathbf{D}_{t-2},\mathbf{D}_{t-1},\mathbf{D}_{t}\}, captured in the robot frame, and receives a three-dimensional relative goal \mathbf{g}_{t}=[x,y,z]^{\top} expressed in the same frame. To ensure temporal consistency across consecutive replanning cycles, we also incorporate a motion context term \mathbf{v}_{t}^{\mathrm{prev}} that encodes the heading direction of the plan executed in the previous step. These inputs are projected via domain-specific encoders f_{(\cdot)} and fused into a unified latent context \bm{\mathcal{C}}_{t}=\Phi\Big(f_{\mathcal{O}}(\mathcal{O}_{t}),\,f_{g}(\mathbf{g}_{t}),\,f_{v}(\mathbf{v}_{t}^{\mathrm{prev}})\Big) using an encoder \Phi . Instead of predicting waypoint sequences, our planner operates in the structured space of B-spline control points. We parameterize each output local trajectory \bm{\tau}_{t} as a sequence of N control points \mathcal{Q}_{t}=\{\mathbf{Q}_{t,i}\}_{i=0}^{N-1}\in\mathbb{R}^{N\times 3} in the robot frame. The objective is to generate a smooth, collision-free trajectory \bm{\tau}_{t} that efficiently connects the current pose to \mathbf{g}_{t} . To this end, we learn a conditional diffusion model p_{\theta}(\mathcal{Q}_{t}\mid\bm{\mathcal{C}}_{t}) from expert demonstrations that captures the distribution of feasible control points. During planning, the diffusion policy samples K candidate control-point sets \{\mathcal{Q}^{(k)}_{t}\}_{k=1}^{K} , which generate continuous trajectories \{\bm{\tau_{t}}^{(k)}\}_{k=1}^{K} . The optimal plan \bm{\tau}_{t}^{\star} is then selected from these candidates by minimizing a task-specific cost J , which encompasses safety constraints and efficiency. IV Methodology As illustrated in Fig. 2 , SanD-Planner presents a two-stage generate-and-select pipeline: 1) trajectory generation within a B-spline control-point space (Sections IV-B – IV-C ), and 2) critic-based selection with explicit geometric objectives (Section IV-D ). In the first stage, the policy network uses a conditional diffusion model to sample K candidate control-point sets \{\mathcal{Q}_{t}^{(k)}\}_{k=1}^{K} conditioned on the context tensor \bm{\mathcal{C}}_{t} . Subsequently, these discrete sets are mapped to continuous local trajectories via B-spline basis functions. In the second stage, a lightweight ESDF-based critic module ranks these candidates by evaluating a task-specific cost function. The trajectory with the lowest cost, \bm{\tau}_{t}^{\star} , is selected as the local plan and executed in a receding-horizon manner. The initial heading velocity of the selected trajectory is fed back as \mathbf{v}_{t+1}^{\mathrm{prev}} to condition the next planning step. IV-A Perception and Condition Encoding At each planning step t , the agent receives historical observations \mathcal{O}_{t} to capture environmental dynamics. Each depth frame is encoded using a lightweight ResNet-18 backbone f_{\mathcal{O}} [ 15 ] . To preserve fine-grained geometric details essential for local obstacle avoidance ( e.g., obstacle edges or stair steps), we extract spatial feature maps \mathbf{F}\in\mathbb{R}^{H\times W\times D} for each frame from an intermediate layer rather than the final layer. These spatial features \mathbf{F} are then flattened into a sequence of H\times W visual tokens. To maintain spatial and temporal structure, we augment each token with 2D positional embeddings [ 25 ] and a learnable temporal embedding to distinguish tokens from different time steps. The resulting visual embedding sequence is denoted as \mathbf{e}_{\mathcal{O}}=f_{\mathcal{O}}(\mathcal{O}_{t})\in\mathbb{R}^{4\times(HW)\times D} . Simultaneously, we project the relative goal \mathbf{g}_{t} and the previously executed velocity \mathbf{v}_{t}^{\mathrm{prev}} into the same latent dimension D via dedicated Multi-Layer Perceptrons, serving as encoders f_{g} and f_{v} . This yields the goal token \mathbf{e}_{g}=f_{g}(\mathbf{g}_{t}) and the velocity token \mathbf{e}_{v}=f_{v}(\mathbf{v}_{t}^{\mathrm{prev}}) . If historical velocity is unavailable ( e.g., t=0 ), a learnable null token substitutes \mathbf{e}_{v} . All tokens are then concatenated into a sequence and aggregated by a two-layer Transformer encoder \Phi . The final output serves as the multi-modal context \bm{\mathcal{C}}_{t}=\Phi([\mathbf{e}_{\mathcal{O}},\mathbf{e}_{g},\mathbf{e}_{v}]) , which is subsequently used to condition the diffusion denoising process. IV-B Trajectory Parameterization via B-Spline Control Points We represent each trajectory as a clamped cubic B-spline which inherently possesses C^{2} continuity to ensure its smoothness [ 32 , 10 , 53 ] . Given a B-spline of degree p and a set of knot vectors \mathcal{U}=\{{u}_{0},\dots,{u}_{N+p}\} , the trajectory \tau_{t} is defined as \bm{\tau}_{t}(u)\;=\;\sum_{i=0}^{N-1}B_{i,p}(u)\,\mathbf{Q}_{t,i},\qquad u\in[u_{p},u_{N}], (1) where B_{i,p}(\cdot) are the B-spline basis functions. We employ a uniform knot vector, anchoring the curve at the endpoints so that \bm{\tau}_{t}({u}_{p})=\mathbf{Q}_{t,0} and \bm{\tau}_{t}({u}_{N})=\mathbf{Q}_{t,N-1} . The control points \mathcal{Q}_{t} are defined in the robot frame, hence \mathbf{Q}_{t,0}=\mathbf{0} . This parameterization transforms the learning objective from a discrete sequence of waypoints to a compact set of control points. To characterize the efficacy of the B-spline representation, we contrast its structured geometric priors against two prevalent IL parameterizations: discrete waypoints [ 5 , 13 , 39 ] and interpolating cubic splines [ 48 , 35 ] in the following content. As illustrated in Fig. 3 , these representations exhibit differences regarding parameter compactness and inherent robustness to perceptual noise. We then discuss three advantages of B-spline parameterization with toy examples: Fig. 3 : Comparison of trajectory representations among discrete waypoints, cubic spline, and B-spline. (a) Ground-truth A* path (gray) and an 8-waypoint sequence (orange, 0.2m spacing). (b) Mean arc-length displacement \Delta(s) under identical perturbations ( 10\times disturbances). Over the first 1.5m , the B-spline deviation stays near zero, whereas the cubic spline oscillates. (c, d) We first fit the same ground-truth path with an 8-point interpolating cubic spline (c) and an 8 -point B-spline (d), and then apply the random perturbations to the last four points within a 1m radius. Owing to local support and convex hull property, B-splines avoid overshoot and better preserve the global path shape, yielding smaller deviations than cubic splines under the same perturbation range. IV-B 1 Parameter Efficiency As shown in Fig. 3 (a) and (c), modeling trajectories with control points instead of dense waypoints yields a compact manifold that simplifies the diffusion process without sacrificing expressivity. Crucially, B-splines facilitate long-horizon planning within a fixed-dimensional output space, effectively avoiding the myopia issues often encountered in traditional methods [ 37 ] . IV-B 2 Smoothness as Inductive Bias Cubic B-splines are C^{2} -continuous, ensuring smooth position, velocity, and acceleration profiles. Critically, this smoothness is a structural property of the representation rather than a feature learned from data. By predicting control points, the policy is constrained to output smooth trajectories even when trained on limited or noisy expert demonstrations, thereby simplifying the learning objective and enhancing trackability for downstream control. IV-B 3 Representation-Level Robustness Depth sensing often suffers from partial, noisy observations and occlusions, which compromise the reliability of long-range planning. B-splines offer representation-level robustness against this issue through two key properties. Local Support: A B-spline segment depends only on p+1 local control points. Consequently, noise-induced deviations in distal control points remain isolated and do not reshape the entire path. This property aligns naturally with receding-horizon planning, allowing the robot to execute a stable near-horizon segment while iteratively correcting far-horizon errors in subsequent steps. In contrast, globally coupled interpolating splines propagate local perturbations across the entire trajectory, potentially destabilizing immediate actions. Convex Hull Property: To ensure safety under distribution shifts, the representation should prevent prediction errors from amplifying into large path deviations. Since B-spline basis functions B_{i,p}(u) satisfy the partition of unity ( i.e., \sum B_{i,p}(u)=1,B_{i,p}\geq 0 ), every point on the trajectory \bm{\tau}_{t}(u) lies within the convex hull of its control points. For a predicted set with errors \mathbf{Q}^{\prime}_{t,i}=\mathbf{Q}_{t,i}+\Delta\mathbf{Q}_{t,i} , the trajectory deviation is uniformly bounded by the maximum control-point error: \max_{u}\bigl\|\bm{\tau}^{\prime}_{t}(u)-\bm{\tau}_{t}(u)\bigr\|\leq\max_{i}\bigl\|\Delta\mathbf{Q}_{t,i}\bigr\|. (2) Eq. ( 2 ) shows that B-splines prevent error amplification by providing a strict upper bound on path deviation. As shown in Fig. 3 , B-splines preserve the global trajectory shape even under perturbation, whereas interpolating splines often suffer from Runge’s phenomenon [ 12 ] , where small nodal errors induce disproportionately large overshoots. IV-C Diffusion Policy for Local Trajectory Generation IV-C 1 Diffusion in B-Spline Control-Point Space We model local planning as conditional generation in B-spline control-point space. Given the conditioning context \bm{\mathcal{C}}_{t} , the generator samples a set of control points \mathcal{Q}_{t} , which is deterministically mapped to a continuous trajectory \bm{\tau_{t}} via the B-spline representation. Let \bar{\mathcal{\mathbf{Q}}}_{t}\in\mathbb{R}^{N\times 3} denote the expert control points obtained by fitting a B-spline to an expert trajectory, and let \mathbf{x}_{0}:=\mathrm{vec}(\bar{\mathcal{\mathbf{Q}}}_{t}) be the corresponding clean control-point vector. We train a conditional DDPM [ 16 ] to model p_{\theta}(\mathbf{x}_{0}\mid\mathcal{C}_{t}) . With a predefined noise schedule \{(\alpha_{s},\sigma_{s})\}_{s=1}^{S} satisfying \alpha_{s}^{2}+\sigma_{s}^{2}=1 , the forward process is q(\mathbf{x}_{s}\mid\mathbf{x}_{0})=\mathcal{N}\!\bigl(\alpha_{s}\mathbf{x}_{0},\ \sigma_{s}^{2}\mathbf{I}\bigr),\qquad s\in\{1,\ldots,S\}, (3) where S denotes the total number of denoising steps and s is the current diffusion step. We employ the v -prediction parameterization [ 36 ] with the target defined as \mathbf{v}_{s}:=\alpha_{s}\bm{\epsilon}-\sigma_{s}\mathbf{x}_{0} , where \bm{\epsilon}\sim\mathcal{N}(\mathbf{0},\mathbf{I}) . A denoiser is trained to predict the diffusion target conditioned on the context embedding and timestep. Specifically, we use a conditional 1D U-Net over the control-point sequence with cross-attention to \bm{\mathcal{C}}_{t} and timestep embeddings injected into each block, and predict the v -parameterization target \hat{\mathbf{v}}=\hat{\mathbf{v}}_{\theta}(\mathbf{x}_{s},\bm{\mathcal{C}}_{t},s) . The training objective is the standard v -prediction loss [ 36 ] \mathcal{L}_{\text{diff}}(\theta)=\mathbb{E}_{\mathbf{x}_{0},\bm{\epsilon},s}\Bigl[\bigl\|\mathbf{v}_{s}-\hat{\mathbf{v}}_{\theta}(\mathbf{x}_{s},\mathbf{c}_{t},s)\bigr\|_{2}^{2}\Bigr]. (4) During inference, given {c}_{t} , we initialize the diffusion process from Gaussian noise and run S reverse denoising steps to sample K candidate B-spline control-point sets \mathcal{Q}_{t}^{(k)}\sim p_{\theta}(\mathcal{Q}_{t}\mid\bm{\mathcal{C}}_{t}) for k\in\{1,\dots,K\} , which are subsequently mapped to continuous local plans \{\bm{\tau}_{t}^{(k)}\}_{k=1}^{K} . IV-C 2 Temporal Consistency Receding-horizon planning under partial observability is often inherently multi-modal, where valid paths exist in distinct topological modes [ 9 ] ( e.g., bypassing an obstacle from left or right). If consecutive plans switch between these modes, the executed behavior may oscillate, yielding jittery headings and collisions [ 45 ] . To increase temporal consistency in the generated candidates, we augment the conditioning signal with an explicit previous-plan token \mathbf{v}_{t}^{\mathrm{prev}} representing the heading direction from the previously selected trajectory \bm{\tau}_{t-1}^{\star} . With a clamped cubic B-spline, the initial heading direction is proportional to the difference between first and second control points, i.e., \bm{\dot{\tau}}(0)\propto(\mathbf{Q}_{t-1,1}-\mathbf{Q}_{t-1,0}) . In our robot-centric frame, the first control point is anchored at the origin \mathbf{Q}_{t-1,0}=\mathbf{0} . The last heading direction is obtained as \mathbf{v}_{t}^{\mathrm{prev}}=\mathrm{norm}(\mathbf{Q}_{t-1,1}^{\star}) , where \mathbf{Q}_{t-1,1}^{\star} denotes the second control point of \bm{{\tau}_{t-1}}^{\star} . To simplify training and stabilize the learning process, we use privileged information for \mathbf{v}_{t}^{\mathrm{prev}} . During training process, \mathbf{v}_{t}^{\mathrm{prev}} is computed from the ground-truth expert control points \bar{\mathcal{\mathbf{Q}}}_{t,2} rather than from the previous step. For the first planning step, we use a learned null token to indicate the absence of previous-plan information. IV-D Safety-Aware Candidate Selection via the Critic Module While the diffusion policy effectively captures the multi-modal distribution of expert behaviors, the sampled trajectories are not guaranteed to satisfy safety constraints [ 27 , 18 ] . To decouple complex distribution modeling from strict safety verification, we employ a generate-and-select pipeline. At each planning t , the diffusion policy samples K candidate control-point sets \{\mathcal{Q}^{(k)}_{t}\}_{k=1}^{K} conditioned on the context \bm{\mathcal{C}}_{t} , which generate continuous trajectories \{\bm{\tau_{t}}^{(k)}\}_{k=1}^{K} . These are evaluated by an explicit geometric critic, which selects the optimal one \bm{{\tau}_{t}^{\star}} by minimizing a cost function J : \bm{\tau}_{t}^{\star}\;=\;\underset{\bm{\tau}\in\{\bm{\tau}^{(k)}_{t}\}_{k=1}^{K}}{\arg\min}\;J\!\left(\bm{\tau}\right). (5) In contrast to learning-based trajectory ranking [ 5 ] which requires extensive training and often fails under distribution shifts, we propose an explicit, analytic geometric critic. This module leverages real-time sensor data for robust safety verification without additional supervision. We discretize each candidate spline \bm{\tau}^{(k)}_{t} into M waypoints \{\mathbf{x}_{j}\}_{j=0}^{M-1} equidistantly spaced in arc length. The cost J of each path is then evaluated using the following terms. IV-D 1 Discounted Safety Cost To score the safety of each trajectory candidate, we build a robot-centric ESDF map E(\mathbf{x}) using the current depth image \mathbf{D}_{t} . Each voxel stores the signed distance to the nearest obstacle surface, where positive values indicate free space and negative values lie inside obstacles. We prioritize obstacle clearance. Since the planner operates in a receding-horizon manner and executes only the near-horizon segment before replanning, later waypoints should not be weighted equally. We design a temporal discount factor \gamma\in(0,1) to prioritize near-field safety: J_{\text{esdf}}\bigl(\tau_{t}^{(k)}\bigr)=\frac{1}{\sum_{j=0}^{M-1}\gamma^{j}}\sum_{j=0}^{M-1}\gamma^{j}\max\bigl(0,\ d_{\text{safe}}-E(\mathbf{x}^{(k)}_{j})\bigr), (6) where E(\mathbf{x}) is the ESDF value at position \mathbf{x} , and d_{\text{safe}} is the desired safety margin. This formulation imposes a weighted penalty on clearance violations, placing greater importance on the near-horizon segment of the execution path. IV-D 2 Path Efficiency To encourage the efficiency of the selected plan, we penalize unnecessary detours and prioritize candidates that terminate closest to the local goal \mathbf{g}_{t} . \displaystyle J_{\text{len}}\bigl(\bm{\tau}^{(k)}_{t}\bigr) \displaystyle=\sum_{j=0}^{M-2}\left\|\mathbf{x}^{(k)}_{j+1}-\mathbf{x}^{(k)}_{j}\right\|_{2}, (7) \displaystyle J_{\text{goal}}\bigl(\bm{\tau}^{(k)}_{t}\bigr) \displaystyle=\left\|\mathbf{x}^{(k)}_{M-1}-\mathbf{g}_{t}\right\|_{2}. The total trajectory cost for each candidate path is a weighted sum of the three terms: J\bigl(\tau_{t}^{(k)}\bigr)=\lambda_{\text{1}}\,J_{\text{safe}}\bigl(\tau_{t}^{(k)}\bigr)+\lambda_{\text{2}}\,J_{\text{len}}\bigl(\tau_{t}^{(k)}\bigr)+\lambda_{\text{3}}\,J_{\text{goal}}\bigl(\tau_{t}^{(k)}\bigr), (8) where \lambda_{\text{1}},\lambda_{\text{2}},\lambda_{\text{3}}>0 balance safety and efficiency. V Experiments This section conduct experiments to answer these questions: • Q1. How well is SanD-Planner compared to other vision-based baselines? (Section V-B ) • Q2. How does SanD-Planner scale with the number of expert trajectories ( i.e., sample efficiency)? (Section V-C ) • Q3. How does trajectory representation affect planning performance? (Section V-D ) • Q4. How does the velocity token affect planning consistency? (Section V-E ) • Q5. Can SanD-Planner generalize zero-shot to real-world and unseen complex environments? (Section V-F ) V-A Experimental Setup V-A 1 Training Dataset and Implementation Details Our training dataset is collected entirely in simulation across 10 diverse environments, including two photorealistic Matterport3D scenes [ 8 ] and eight Gazebo worlds comprising tunnels and indoor layouts [ 6 ] . To facilitate 3 D local planning, we explicitly incorporate multi-level structures ( e.g., stairs) and low-clearance obstacles. We collect 500 navigation episodes using the PCT-planner [ 47 ] as the expert to generate collision-free 3 D trajectories while logging the egocentric depth stream. To maximize data efficiency, we construct training pairs by randomly sampling sub-trajectories from each expert episode. Each segment is defined by a random start pose and a future waypoint along the same expert path, which is then fitted with a clamped cubic B-spline using eight control points. This resampling strategy generates diverse and informative labels from a limited set of demonstrations, significantly enhancing the policy’s sample efficiency. The model is trained on a desktop equipped with an NVIDIA RTX 4080 GPU, requiring approximately 5 hours to converge on the 500 -trajectory dataset. During inference, candidate trajectories are sampled using the deterministic DPM-Solver++ [ 26 ] , achieving an operational frequency of approximately 8Hz . For real-world validation in Section V-F , the system is deployed on a laptop with an RTX 4090 to ensure low-latency planning during autonomous navigation. (a) Real (b) Sim (c) Sim + noise Fig. 4 : Comparison of depth images. (a) Real-world capture. (b) Clean simulated depth. (c) Domain randomization depth. Fig. 5 : Simulation benchmark environments [ 5 ] . Left: ClutteredEnv provides diverse geometric obstacle layouts. Right: InternScenes features photorealistic indoor settings. V-A 2 Observation Domain Randomization To bridge the sim-to-real gap, we apply domain randomization to observations during training: 1) Temporal Latency: we introduce a temporal freezing mechanism to mimic compute and communication delays. With a probability of 0.1 , we either freeze the observation buffer \mathcal{O}_{t} to the latest frame or replicate individual frames from their predecessors, simulating signal loss or cold starts. 2) Sensor Noise: We emulate noise patterns characteristic of the Intel RealSense D435. Following parameters in [ 1 ] , we inject distance-dependent axial noise that scales quadratically with depth, as visualized in Fig. 4 . We also synthesize random pixel dropouts ( 0.1 probability), a stereo-occlusion band on the left margin, and spatially correlated speckle noise. Such perturbations force the policy to prioritize structural geometric cues over perfect depth measurements. V-A 3 Simulation Benchmark We evaluate SanD-Planner using the InternNav Benchmark [ 5 ] , which provides photorealistic indoor environments designed to minimize the sim-to-real gap for local obstacle avoidance. The benchmark features diverse assets and predefined start-goal pairs for point-goal navigation. To ensure a fair comparison, all baselines are evaluated under the same protocol as shown in Fig. 5 . TABLE I : Quantitative comparison on InternRobotics benchmarks. Results of the baseline methods are taken from [ 5 ] . Benchmark Environment Method SR \uparrow SPL \uparrow ClutteredEnv iPlanner 84.8 83.6 ViPlanner 72.4 72.3 NavDP 89.8 \bm{87.7} SanD-Planner \bm{90.1} 84.0 InternScenes iPlanner 48.8 46.7 ViPlanner 54.3 52.5 NavDP 65.7 60.7 SanD-Planner \bm{72.0} \bm{63.7} TABLE II : Training data and compute resources. Method Training Data Training Time iPlanner 30 k depth images 1\times\text{RTX}3090 Ti for \approx 20 h ViPlanner 80 k start-goal pairs 1\times\text{RTX}3090 for \approx 6 h NavDP 200 k trajectories 32\times\text{A}100 for 24 h Ours 0.5 k trajectories 1\times\text{RTX}4080 for \approx 5 h V-B Quantitative Performance Comparison We evaluate SanD-Planner against three SoTA visual planners: iPlanner [ 48 ] , ViPlanner [ 35 ] , and NavDP [ 5 ] , regarding the point-goal navigation task. Following the benchmark protocol, we report Success Rate (SR) and Success weighted by Path Length (SPL) [ 3 ] across 2020 episodes in ClutteredEnv and 4040 episodes in InternScenes. Notably, despite training on only 500 trajectories ( \approx\textbf{0.25\%} of the 200 k trajectories used by NavDP), SanD-Planner achieves competitive or superior performance across both benchmarks (Table I ). On the realistic InternScenes, SanD-Planner outperforms NavDP by large margins ( +6.3\% SR and 3.0\% SPL), demonstrating robust generalization to complex indoor layouts and diverse obstacle distributions. In ClutteredEnv, SanD-Planner achieves the highest 90.1\% SR while maintaining a competitive 84.0\% SPL. The slight SPL gap compared to NavDP is partly attributable to the B-spline parameterization, which embeds a structural bias toward safer, albeit more conservative, detours. However, analysis in Section V-C suggests this gap arises from the limited data scale rather than methodological constraints and could be further narrowed with additional supervision. The performance comparison between iPlanner (depth-only) and ViPlanner (depth and semantics) highlights the trade-offs of multi-modal inputs. While ViPlanner leverages semantics in InternScenes ( +5.5\% SR over iPlanner), it suffers a severe performance degradation in ClutteredEnv ( -12.4\% SR), where primitive obstacles lack well-defined semantic categories. This underscores the potential brittleness of relying on semantic cues under distribution shifts. Crucially, SanD-Planner outperforms ViPlanner on both benchmarks using depth observations alone. These results suggest that depth information provides sufficient geometric cues for general 2D collision avoidance, whereas semantics may degrade model generalization in OOD scenes when training data is limited. Finally, we distinguish our results from iPlanner and ViPlanner due to their different training paradigms; these methods learn differentiable cost maps from discrete samples ( e.g., 30 k images) rather than continuous expert trajectories. NavDP, being a full-trajectory IL-based method, serves as the most direct baseline. As detailed in Table II , SanD-Planner demonstrates superior efficiency, requiring orders of magnitude less training data and compute to achieve SoTA performance. Fig. 6 : Comparison of trajectory representations in simulation. Top-right: the scene reconstruction with the same start and goal. For each representation (discrete waypoints, cubic spline, and B-spline), we show the ego-view image and a bird-view radar visualization with 10 candidate trajectories overlaid. TABLE III : Ablation on trajectory representation. Average SR and SPL on two ClutterEnv and two InternScenes scenes. Benchmark Representation SR [%] \uparrow SPL [%] \uparrow ClutterEnv Waypoints 75.5 65.8 Cubic spline 75.0 70.6 B-spline (Ours) 93.0 83.8 InternScenes Waypoints 75.5 67.8 Cubic spline 72.0 65.8 B-spline (Ours) 83.5 72.1 V-C Sample Efficiency and Data Scaling We investigate the sample efficiency of SanD-Planner by training on trajectory-level subsets ranging from 10\% to 100\% of the full dataset. As shown in Fig. 7 , our approach exhibits monotonic performance gains as the number of demonstrations increases. Notably, the model is highly efficient even in data-scarce regimes, achieving a non-trivial 55.5\% SR with only 50 expert trajectories ( 10\% data). With 250 trajectories ( 50\% data), the model attains 65.0\% SR, recovering 76\% of its peak performance. While basic collision avoidance is established with minimal data, the SPL metric continues to improve substantially up to the full dataset scale ( 49.6\%\rightarrow 78.9\% ). This suggests that while small datasets suffice for learning safe behaviors, larger demonstration scales are essential for the planner to internalize more efficient bypass strategies and minimize unnecessary detours. V-D Ablation Study on Trajectory Representation To validate the impact of trajectory parameterization, we ablate the output representation while keeping the rest of the navigation pipeline fixed. All variants predict eight anchor points to maintain identical output dimensionality. The discrete waypoint baseline utilizes a fixed 0.2m spacing, resulting in a 1.4m lookahead. In contrast, both interpolating cubic splines [ 48 ] and our B-spline representation parameterize an extended horizon of approximately 6m . Tab. III shows that the choice of representation influences performance, with B-splines consistently outperforming the alternatives. In ClutteredEnv (episodes >20m ), discrete waypoints suffer from the myopic behavior [ 37 ] ; while they match cubic splines with \approx 75\% SR, they exhibit lower efficiency ( 65.8\% vs. 70.6\% SPL) due to suboptimal detours. Spline-based parameterizations mitigate this by enforcing smoothness and extending the planning horizon within the same parameter budget. The performance gap of B-splines highlights the critical role of local support. The interpolated cubic splines are globally coupled, causing prediction errors in occluded far-field regions to propagate backward and destabilize the immediate execution segment. Conversely, B-splines possess compact support, which effectively isolates far-field uncertainty and ensures near-field stability. In the confined InternScenesenvironment, the advantage of long-horizon planning is less pronounced due to heavy occlusions. This explains why myopic waypoints slightly outperform cubic splines in such settings. However, B-splines maintain the best overall performance, balancing near-horizon robustness with path efficiency. Qualitative results in Fig. 6 further illustrate this robustness: waypoints yield non-smooth, less trackable paths, and cubic splines amplify prediction noise across the entire curve. In contrast, B-splines generate consistent candidates with localized variations, demonstrating lower sensitivity to perceptual uncertainty. Fig. 7 : Ablation study on training data size in ClutterEnv. SR and SPL improve consistently with training dataset size. TABLE IV : Velocity-token ablation on ClutteredEnv scenes. w/o token w/ token Scene SR [%] \uparrow SPL [%] \uparrow SR [%] \uparrow SPL [%] \uparrow Scene 1 79.0 0.73 \bm{87.0} \bm{0.7}8 Scene 2 93.0 0.86 \bm{99.0} \bm{0.8}9 Average 86.0 0.80 \bm{93.0} \bm{0.84} Fig. 8 : Representative comparison of trajectory consistency with and without the velocity token. We visualize the diffusion-sampled bypass candidates (blue) at each planning step t . Without the velocity token (top), the candidate set remains highly multi-modal and dispersed, and the critic-selected solution alternates between bypass modes across consecutive replans, producing inconsistent heading directions (arrows) and eventually leading to a collision. With the velocity token (bottom), the sampled candidates are more temporally consistent, yielding stable headings and a safe bypass. The rightmost panel shows the corresponding 3D reconstructions from Depth Anything 3 [ 22 ] , where the cyan curve indicates the camera/robot trajectory. V-E Ablation Study on Velocity Token for Temporal Consistency We evaluate the impact of previous plan information on planning consistency by ablating the velocity token \mathbf{v}_{t}^{\mathrm{prev}} . As reported in Table IV , removing this temporal conditioning leads to a consistent performance drop, which confirms its necessity for trajectory reliability. Analysis reveals that collisions without \mathbf{v}_{t}^{\mathrm{prev}} frequently occur near geometrically symmetric obstacles ( e.g., pillars), where an example is shown in Fig. 8 . Under partial observability, such structures induce bimodal distributions of plausible bypass trajectories. Without velocity conditioning, the diffusion model generates dispersed, high-variance candidates at each step. Since the critic selects the optimal trajectory independently per step, the planner suffers from topological inconsistency, frequently switching between conflicting bypass modes. This results in oscillatory steering and eventual collisions. In contrast, the \mathbf{v}_{t}^{\mathrm{prev}} condition effectively regularizes the generative process, yielding concentrated candidate sets consistent with the robot’s established motion and ensuring a stable heading. V-F Real-world Experiments Real-world experiments are deployed on a Unitree Go2 quadruped robot. The platform features an Intel RealSense D 435 depth camera with an IR-pass filter, with algorithms executed on a tethered laptop. We evaluate the system’s zero-shot sim-to-real capability without any fine-tuning or domain adaptation. The planner operates at approximately 10Hz , with trajectories tracked by an onboard MPC controller [ 5 ] . To facilitate high-frequency replanning in a receding-horizon setting, we employ a warm-start strategy: subsequent planning cycles initialize from the previous solution and undergo partial denoising (starting from step 6 of 10 ). At each step, K=16 candidate trajectories are sampled in parallel, with the optimal plan selected by the geometric critic module. To assess SanD-Planner’s zero-shot generalization, we conduct experiments across diverse scenarios with static and dynamic pedestrians, as shown in Fig. 1 and Fig. 9 . Static tests include narrow mazes and cluttered office environments with tight clearances. We further evaluate outdoor navigation, where illumination changes and complex geometries present significantly more challenging perception conditions than simulation. Additionally, we demonstrate 3 D navigation capability through stair-climbing trials. Despite these challenges, SanD-Planner generates smooth, collision-avoiding trajectories, confirming the effectiveness and zero-shot capability of our method. Fig. 9 : Demonstrations of SanD-Planner in unseen environments. Depth inputs and predicted trajectories are also shown, with the selected trajectory is hightlight in green. VI Conclusion and Future Work This paper presents SanD-Planner, a sample-efficient, diffusion-based planner using clamped cubic B-spline parameterization. By predicting control points and decoupling the safety check via a critic module, our method reduces learning complexity and data dependency. Benchmarks show that with only 500 expert episodes, SanD-Planner matches or surpasses SoTA performance. Our findings suggest that: 1) B-splines isolate sensing uncertainty better than waypoints or interpolating splines, yielding more stable planning; and 2) depth sensing provides sufficient geometric cues for collision avoidance. Zero-shot real-world deployment further validates our method, enabling 2 D and 3 D navigation tasks such as point-goal navigation and stair traversal without any fine-tuning. Despite its competitive performance, SanD-Planner is limited by depth sensors regarding small or specular objects. Future work will explore integrating visual foundation models to achieve more robust metric depth estimation and environmental resilience. And even though our primary focus is on sample efficiency, the data scaling experiments reveal the model’s untapped potential. We will also plan to leverage this scalability to train on larger, more diverse datasets, aiming to extend the system’s generalization across varied environments.