TL;DR
SpaceDrive infuses explicit 3D spatial awareness into Vision-Language Models (VLMs) for autonomous driving by replacing text-based coordinate tokens with a unified 3D positional encoding. This allows the model to seamlessly link visual semantics with metric geometry and directly regress precise driving trajectories, achieving state-of-the-art open-loop and robust closed-loop performance.
What Problem Does This Paper Address?
Vision-Language Models (VLMs) excel at high-level scene understanding and counterfactual reasoning, making them highly attractive for end-to-end autonomous driving. However, they suffer from a critical flaw: they are fundamentally bad at fine-grained 3D geometry.
This limitation stems from two main factors:
- Lack of 3D Grounding: VLMs are primarily pre-trained on 2D web data, meaning they struggle to associate 3D coordinates with corresponding objects and 2D perspective semantics.
- The Tokenization Flaw: Language models treat numbers textually—processing them digit-by-digit as discrete classification targets. This means a VLM doesn't inherently understand that
1.99is spatially close to2.00, leading to rough guesses, jittery trajectory predictions, and catastrophic failures in closed-loop control.
Methods
The authors introduce SpaceDrive, a framework that abandons textual digit tokens for spatial coordinates, treating them instead as explicit, continuous positional encodings (PEs).
The architecture consists of three main pillars:
- Spatial Token Injection (Perception): A frozen depth estimator (UniDepthv2) extracts metric depth from multi-view camera inputs. Patch centers from the images are projected into explicit 3D coordinates $(x, y, z)$ and encoded using a 3D sine-cosine positional encoding. These 3D PEs are added directly to the visual tokens with a learnable normalization factor ($\alpha_{PE}$) to prevent disrupting the pre-trained VLM's embedding space.
- Coordinate Tokenization (Reasoning): When text prompts or historical ego-states contain spatial coordinates, SpaceDrive bypasses the standard text tokenizer. Instead, it extracts the raw numeric values and encodes them using the exact same 3D PE encoder, creating a unified geometric language across vision, text, and history. A special indicator token (
<IND>) is placed before these encodings to prevent semantic confusion. - Continuous Regression (Planning): At the output stage, when the VLM emits the
<IND>token, the subsequent embedding is routed away from the standard language head and into a dedicated PE Decoder (a learnable MLP). This decoder directly regresses continuous 3D coordinates optimized via Huber loss, bypassing the flawed digit-by-digit text generation.
Datasets
The framework was evaluated on two major benchmarks:
- nuScenes: Used for open-loop planning evaluation. The model predicts 6 waypoints over a 3-second horizon, evaluated using L2 displacement error, collision rate, and map intersection rate.
- Bench2Drive: A challenging closed-loop benchmark executed within the CARLA V2 simulator. It features 220 short routes across 44 interactive scenarios (e.g., overtaking, merging, emergency braking), measuring Driving Score and Success Rate.
Key Insights and Ideas
- A Shared Geometric Language: By using the identical 3D sine-cosine encoder for image patches, textual prompts, and ego-history, the VLM can directly index and attend to spatially grounded visual features.
- Regression Over Classification: Swapping out the token classification head for a continuous MLP regression decoder fixes the "digit-by-digit" generation flaw of standard language models, providing the precision required for actual vehicle control.
- BEV is Not Mandatory: Unlike many modern end-to-end driving pipelines that rely on computationally heavy Bird's-Eye-View (BEV) grid transformations, SpaceDrive demonstrates that injecting explicit 3D positional context directly onto 2D image patches is sufficient for accurate spatial reasoning.
Key Results
- Open-Loop (nuScenes): SpaceDrive+ achieved state-of-the-art performance among VLM-based methods, yielding an average L2 waypoint error of 0.32m, a collision rate of 0.23%, and an intersection rate of 1.27%.
- Closed-Loop (Bench2Drive): SpaceDrive+ achieved a 78.02 Driving Score and a 55.11% Success Rate, ranking as the second-best VLM-based planner. Crucially, it completely revitalized its baseline codebase (OmniDrive), which previously failed drastically in closed-loop simulations (under 10% success rate) due to text-based trajectory collapse.
Limitations and Future Work
Despite its strong planning performance, the authors note two primary limitations:
- Uncertainty Handling: The framework currently lacks explicit mechanisms to model or output spatial uncertainty, which is vital for safety-critical deployment.
- Temporal Memory: SpaceDrive operates without multi-frame temporal memory, relying instead on historical ego-waypoints. Integrating long-horizon video or memory states remains an open direction for handling highly dynamic or occluded environments.
Summary updated