Abstract
End-to-end autonomous driving has advanced significantly, offering benefits such as system simplicity and stronger driving performance in both open-loop and closed-loop settings than conventional pipelines. However, existing frameworks still suffer from low success rates in closed-loop evaluations, highlighting their limitations in real-world deployment. In this paper, we introduce X-Driver, a unified multi-modal large language models (MLLMs) framework designed for closed-loop autonomous driving, leveraging Chain-of-Thought (CoT) and autoregressive modeling to enhance perception and decision-making. We validate X-Driver across multiple autonomous driving tasks using public benchmarks in the CARLA simulation environment, including Bench2Drive. Our experimental results demonstrate superior closed-loop performance, surpassing the current state-of-the-art (SOTA) while improving the interpretability of driving decisions. These findings underscore the importance of structured reasoning in end-to-end driving and establish X-Driver as a strong baseline for future research in closed-loop autonomous driving.
Introduction
End-to-end autonomous driving aims to replace brittle, multi-module software pipelines with a single neural network that takes in sensor data and directly outputs driving commands. While recent Multi-Modal Large Language Models (MLLMs) show promise in processing both visual data and natural language instructions, they struggle when deployed in closed-loop environments—where the car's current actions dictate its future environment.
Existing MLLM-based driving models often suffer from "hallucinations" (making up facts about the environment), lack robustness, and act as black boxes, making it difficult to trust their decisions in safety-critical scenarios. X-Driver addresses these challenges by making end-to-end driving models not only more accurate in closed-loop settings but also transparent and interpretable through structured reasoning.
Methodology
The core of X-Driver is built on LLaVA, a popular vision-language model, which is fine-tuned specifically for driving tasks. The framework introduces two major methodological improvements to standard MLLM approaches:
- Continuous Image Encoding: Instead of using discrete encoding methods (like VQ-VAE) which compress images into tokens but often lose fine-grained details, X-Driver uses a Vision Transformer (ViT) to extract continuous feature maps. This preserves crucial information about small or distant objects, such as a far-away traffic light, which is essential for safe navigation.
- Chain-of-Thought (CoT) Fusion: Rather than mapping inputs directly to steering and acceleration commands, X-Driver is trained via Supervised Fine-Tuning (SFT) to "think out loud."
Structured Reasoning Process
The model autoregressively generates a structured sequence that mirrors human driving logic:
- Perception: Identifies 3D objects (position, dimensions), traffic lights, signs, and lane information.
- Reasoning: Evaluates the scene to determine the importance of detected entities.
- Decision: Outputs the final driving action and a sequence of future waypoints.
Experimental Setup and Datasets
The model was primarily evaluated using Bench2Drive, a comprehensive closed-loop simulation benchmark built on the CARLA simulator. This dataset contains over 2 million frames and evaluates driving performance across diverse and challenging conditions, including urban streets, highways, and adverse weather. This environment allows for testing the model's ability to react to dynamic changes in the scene caused by its own previous actions.
Key Results and Insights
X-Driver was evaluated in both open-loop (predicting from static datasets) and closed-loop (actively driving in a simulator) settings, yielding several key insights:
- CoT as an Antidote to Hallucination: By forcing the model to explicitly state what it sees and why it matters before deciding how to act, the system grounds its logic in observable reality. This drastically reduces the likelihood of the model making catastrophic, unexplainable errors.
- Interpretability Improves Performance: There is often a perceived tradeoff between explainability and raw performance. In X-Driver, structuring the reasoning process actually improves driving ability. The intermediate reasoning steps act as a scaffold that guides the model to better final waypoint predictions.
- Closed-Loop Superiority: On the Bench2Drive50 benchmark, X-Driver achieved a Driving Score of 57.8 and a Success Rate of 24.0%, outperforming the previous state-of-the-art model, UniAD (which scored 49.1 and 22.0%, respectively).
- Safety and Robustness: In qualitative ablation studies, versions of the model without CoT reasoning failed to detect crossing pedestrians in low-visibility conditions. In contrast, the CoT-enabled X-Driver successfully identified pedestrians, reasoned about collision risks, and applied the brakes appropriately.
Limitations and Future Work
While X-Driver demonstrates strong results, challenges remain. The evaluation is currently confined to the CARLA simulation environment; translating these results to real-world noise and sensor degradation is a significant hurdle. Furthermore, a 24% success rate in closed-loop evaluation highlights the remaining difficulty of end-to-end autonomous driving. Future research will focus on refining human-aligned driving behaviors and reducing the computational overhead of running autoregressive MLLMs in real-time on vehicle hardware.
Summary updated