Abstract
LiloDriver is a lifelong learning framework designed to address the "long-tail" problem in autonomous driving—handling rare, safety-critical events that static training sets often miss. By integrating a memory-augmented planner with the reasoning capabilities of Large Language Models (LLMs), LiloDriver enables continuous adaptation without expensive retraining. Evaluated on the nuPlan benchmark, it achieves state-of-the-art performance, particularly in complex, unpredictable environments, by using the LLM as a strategic commander for a robust rule-based controller.
Introduction: The Long-Tail Challenge
Autonomous driving systems excel in common traffic, but they struggle with the "long-tail" problem—the infinite variety of rare, safety-critical events, such as chaotic construction zones or specific pedestrian interactions, that are difficult to capture in a static training set.
Current motion planners generally fall into three categories, each with significant drawbacks:
- Rule-based: Reliable but too rigid for novel situations.
- Data-driven: Powerful but prone to overfitting and "catastrophic forgetting" when updated.
- Knowledge-driven (LLMs): Excellent at reasoning but slow, prone to "hallucinations," and difficult to evaluate in closed-loop settings.
LiloDriver bridges these gaps by creating a system that "learns for life," accumulating experiences in a structured memory bank and using an LLM to select the optimal driving strategy for the current context.
Methods: A Four-Stage Architecture
LiloDriver utilizes a modular architecture designed for continuous adaptation:
- Environment & Perception: The system processes vectorized maps and agent histories into a structured format.
- Scene Encoder: A neural network (MLP + LSTM + Transformer) compresses this data into a "latent embedding." A Prototype Loss ($L_{PRO}$) ensures that similar driving scenarios are grouped together in this mathematical space.
- Memory & Planner Generation: This is the core of the lifelong learning capability. The system stores embeddings of past experiences and uses Incremental DBSCAN to group new, rare scenarios. For each cluster, it identifies optimal parameters for a rule-based planner via grid search.
- Reasoning & Execution: Instead of generating raw coordinates, an LLM (LLaMA-7B) acts as a "strategic commander." It analyzes the scene description and retrieves "few-shot" examples from memory to select or refine behavior planner parameters. Execution is handled by a robust, high-frequency (10Hz) rule-based controller.
Datasets and Evaluation
LiloDriver was evaluated using the nuPlan benchmark, an industry standard for large-scale closed-loop testing.
- Val14-split: Used for general performance assessment across common scenarios.
- Test14-hard: A subset designed to test generalization in rare, complex situations like high-speed merges or pickup zones.
Key Insights
- Strategic LLM Integration: By having the LLM select parameters for a rule-based planner (like PDM-Closed) rather than generating trajectories directly, the system combines "common sense" reasoning with the safety of classical control theory.
- Data Efficiency: While the initial Scene Encoder requires ~1000 samples, the lifelong memory module needs only about 10 samples to adapt to a new long-tail scenario, enabling real-time learning from rare events.
- Stability via Synthetic Data: To prevent "catastrophic interference," the system uses synthetic data generation—sampling around existing scenario "prototypes"—to maintain a stable memory structure.
Key Results
LiloDriver demonstrated significant advantages over existing paradigms:
- State-of-the-Art Performance: On the
Val14-split, LiloDriver achieved a score of 93.33, outperforming previous leaders like PlanAgent (93.26). - Long-tail Mastery: On the
Test14-hardbenchmark, the fine-tuned LiloDriver reached 72.10, a notable improvement over the base model's 69.92. - Robustness and Interpretability: The system maintains high scores in control robustness and provides textual "chain of thought" reasoning for its decisions.
Limitations and Future Work
Despite its success, challenges remain. There is a frequency mismatch between the LLM's 15-second reasoning window and the vehicle's 10Hz control requirement. Future work will focus on tighter alignment between high-level reasoning and low-level execution, incorporating multi-modal memory (e.g., raw sensor data), and reducing the computational latency of running 7B-parameter models on automotive hardware.
Summary updated