TL;DR
OWLed is a training-free model compression framework designed to make large language models (LLMs) efficient enough to run locally on autonomous vehicles. By leveraging domain-specific driving data for calibration and protecting critical "outlier" features, OWLed achieves high sparsity without sacrificing the perception and decision-making capabilities required for safe driving.
What Problem Does This Paper Address?
Integrating LLMs into autonomous driving (AD) systems is a game-changer for handling complex, "long-tail" road scenarios thanks to their advanced reasoning and common-sense understanding. However, deploying a multi-billion-parameter model directly onto a vehicle's onboard computer faces severe hardware constraints. Relying on cloud-based APIs isn't a viable alternative either, as network latency and connectivity drops can be catastrophic in real-time driving environments.
To run LLMs locally, researchers turn to network pruning (removing unnecessary weights). Unfortunately, traditional pruning requires expensive fine-tuning. Newer "one-shot" pruning methods avoid fine-tuning but typically apply uniform sparsity across all layers and calibrate the model using generic web text (like the C4 dataset). This paper addresses this gap by introducing a non-uniform, domain-specific pruning strategy tailored precisely for the unique demands of autonomous driving.
Methods
The authors introduce OWLed (Outlier-weighed Layerwise Pruning for Efficient Autonomous Driving), which builds upon the Outlier-Weighed Layerwise (OWL) sparsity strategy.
The core methodology consists of two key innovations:
- Layerwise Outlier Distribution (LOD): LLMs contain specific "outlier features"—activations with significantly higher magnitudes that hold critical semantic information. OWLed calculates an outlier ratio for each layer. Instead of pruning every layer equally, it assigns non-uniform sparsity ratios: layers with a high concentration of outlier features are kept dense, while less critical layers are pruned more aggressively.
- Domain-Specific Calibration: Rather than using standard text datasets to measure feature importance, OWLed uses vector representations of actual driving scenarios. This ensures that the weights preserved are those most critical to driving tasks like tracking vehicles, reading traffic lights, and predicting steering angles.
Datasets
The framework was evaluated using the driving QA dataset from the LLM-Driver benchmark. This dataset includes:
- 100k samples for vector encoder pre-training.
- 10k samples for fine-tuning.
- 1k samples for evaluation.
The calibration data used to compute the outlier distributions was collected from a custom-built 2D simulator containing continuous driving data across 15 diverse virtual environments with randomized traffic conditions.
Key Insights and Ideas
- The Encoder is a Critical Bottleneck: The autonomous driving architecture uses a small vector encoder (9.1M parameters) to translate sensor data into tokens for the massive LLM (6.7B parameters). Through ablation studies, the authors discovered that pruning the encoder severely degrades performance, even though it is three orders of magnitude smaller than the LLM. Because the encoder acts as the foundational "translator" of the environment, even minor pruning distortions propagate and disrupt the LLM's downstream reasoning.
- Driving Data Beats Generic Text for Calibration: Using domain-specific driving vectors for calibration yields significantly better pruning outcomes than generic text corpora.
- Sparsity as a Regularizer: Interestingly, at a mild sparsity level of 0.2 (20% weights removed), the pruned model actually outperformed the unpruned dense model in traffic light detection accuracy ($ACC_{TL}$). This suggests that pruning can act as a regularizer, reducing model capacity just enough to prevent overfitting.
Key Results
The authors compared OWLed against three state-of-the-art pruning baselines: Magnitude pruning, Wanda, and standard OWL across various sparsity ratios (0.1 to 0.5).
- Perception & Control: As shown in the evaluation curves, OWLed consistently maintains lower car detection errors ($E_{car}$), pedestrian detection errors ($E_{ped}$), and lateral control/steering errors ($E_{lat}$) at higher sparsity levels (0.3 and 0.4) compared to other methods.
- Language Understanding: Using GPT-3.5 to grade the quality of the driving decisions and explanations, OWLed achieved a score of 6.94 out of 10 at 40% sparsity, noticeably outperforming standard OWL (6.36) and Wanda (6.14).
Limitations and Future Work
A primary limitation of OWLed is that its outlier distribution is pre-computed based on calibration data. In highly dynamic, chaotic, or entirely unseen driving environments, these pre-calculated distributions might fail to capture the sudden complexity of the scene, potentially leading to degraded performance.
To further push the boundaries of local deployment, the authors note that future work will focus on combining this layerwise pruning approach with weight low-rank factorization and quantization techniques.
Summary updated