[Paper Review] Differentiable Spatial Planning using Transformers
This paper proposes Spatial Planning Transformers (SPT), a differentiable, attention-based planner that captures long-range spatial dependencies in obstacle maps to enable efficient, data-driven path planning. By leveraging self-attention to propagate values across unobstructed distances, SPT reduces planning iterations from O(D) to O(n_O), achieving 7–19% absolute accuracy gains over prior learned planners in navigation and manipulation tasks.
We consider the problem of spatial path planning. In contrast to the classical solutions which optimize a new plan from scratch and assume access to the full map with ground truth obstacle locations, we learn a planner from the data in a differentiable manner that allows us to leverage statistical regularities from past data. We propose Spatial Planning Transformers (SPT), which given an obstacle map learns to generate actions by planning over long-range spatial dependencies, unlike prior data-driven planners that propagate information locally via convolutional structure in an iterative manner. In the setting where the ground truth map is not known to the agent, we leverage pre-trained SPTs in an end-to-end framework that has the structure of mapper and planner built into it which allows seamless generalization to out-of-distribution maps and goals. SPTs outperform prior state-of-the-art differentiable planners across all the setups for both manipulation and navigation tasks, leading to an absolute improvement of 7-19%.
Motivation & Objective
- To develop a data-driven, differentiable planner that captures statistical regularities in real-world environments, such as wall alignment and spatial coherence.
- To overcome the limitations of classical planners that require full ground-truth maps and are slow in dynamic settings.
- To enable end-to-end learning from trajectories without ground-truth map supervision, allowing generalization to out-of-distribution maps.
- To improve planning efficiency by replacing local, iterative value propagation (e.g., via CNNs) with long-range attention-based propagation.
- To demonstrate strong generalization and performance gains in both navigation and robotic manipulation tasks under sparse and noisy supervision.
Proposed method
- SPT uses a transformer architecture with multi-head self-attention to model spatial relationships across the entire obstacle map, enabling long-range value propagation.
- The model processes the obstacle map as a set of spatial tokens, where each token attends to all others, allowing direct propagation of distance values when no obstacle blocks the path.
- Unlike convolutional networks that propagate values only over local neighborhoods, SPT’s attention mechanism enables O(n_O) iterations instead of O(D), where n_O is the number of obstacles and D is the path length.
- The planner is trained end-to-end using differentiable planning loss, allowing backpropagation through the planning trajectory to optimize for path accuracy.
- In the unknown map setting, SPT is integrated into an end-to-end framework with a learned mapper, enabling joint map construction and planning from raw observations and trajectories.
- The model is evaluated on both navigation (e.g., Gibson dataset) and manipulation (configuration space) tasks, with ablation on map size, noise, and supervision levels.
Experimental results
Research questions
- RQ1Can a transformer-based planner outperform convolutional-based planners in terms of planning accuracy and inference speed by leveraging long-range spatial attention?
- RQ2To what extent can a differentiable planner generalize to out-of-distribution maps when trained without ground-truth map supervision?
- RQ3How does the number of planning iterations scale with map size and obstacle count in attention-based vs. local propagation planners?
- RQ4Can end-to-end training of a mapper-planner system using only trajectories and sparse supervision achieve high performance in real-world settings?
- RQ5Does the model’s ability to reason over long-range spatial dependencies lead to measurable improvements in path accuracy and robustness under noisy or sparse observations?
Key findings
- SPT achieves 7–19% absolute improvement in planning accuracy over prior state-of-the-art learned planners (VIN and GPPN) across all tested navigation and manipulation setups.
- The model reduces the number of required planning iterations from O(D) to O(n_O), where D is the shortest-path distance and n_O is the number of obstacles, enabling faster inference on large maps.
- In end-to-end mapping and planning under noisy and sparse supervision, SPT achieves higher average mapping and planning accuracy than baselines, demonstrating robustness to incomplete map information.
- SPT generalizes effectively to out-of-distribution maps when trained without ground-truth map supervision, showing the feasibility of real-world deployment from real-world data.
- The model scales significantly better with increasing map size than convolutional baselines, maintaining high accuracy even on large, complex environments.
- Ablation studies confirm that long-range attention is critical to performance, as models relying on local propagation fail to generalize or require excessive iterations on large maps.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.