Introduction
End-to-end deep learning models for autonomous driving, which map raw camera pixels directly to control commands like steering angles, have shown significant promise. However, these models are notoriously brittle when faced with domain shifts. A vehicle trained in sunny conditions often fails when encountering rain, fog, or different lighting. The conventional solution—collecting and labeling massive datasets for every possible environmental condition—is prohibitively expensive and time-consuming. This paper explores a modular approach to domain generalization, enabling a vehicle to transfer driving knowledge from a known "source" domain to an unseen "target" domain without additional manual labeling.
Modular System Architecture
The proposed solution moves away from monolithic end-to-end networks in favor of a modular design. The system is split into two primary components:
- Perception Module: An encoder-decoder architecture. The encoder compresses raw input images into a low-dimensional (64-D) latent vector, while the decoder reconstructs semantic labels (e.g., identifying road, sidewalk, and vehicles) from this vector.
- Control Module: A separate neural network that maps the latent vector directly to a steering angle.
By decoupling perception from control, the system can be updated for new environments by recalibrating the "eyes" (perception) while keeping the "brain" (control) fixed.
Master-Servant Domain Adaptation
To handle new weather conditions without new labels, the researchers implemented a "Master-Servant" architecture utilizing Generative Adversarial Networks (GANs):
- The Master: A perception module pre-trained on a source domain (e.g., sunny weather) where ground-truth semantic labels are available.
- The Generator: A CycleGAN is used to translate images from the source domain to the target domain (e.g., rainy weather). CycleGAN is ideal here because it learns to translate styles between domains using unpaired images.
- The Servant: A new perception module trained for the target domain. Its goal is to produce a latent vector for a rainy image that matches the Master’s latent vector for the corresponding (translated) sunny image.
This alignment ensures that the control module receives a consistent mathematical representation of the scene, regardless of the visual noise introduced by weather.
Semantic Invariance and Latent Alignment
The core hypothesis of this work is semantic invariance: while weather conditions drastically alter pixel values (reflections, colors, and textures), the underlying structure and meaning of the scene remain constant. A road remains a road, and a turn remains a turn.
By forcing the latent spaces of different weather-specific encoders to align, the model learns to ignore transient environmental noise and focus on these invariant semantic features.
Experimental Results
The architecture was tested using the CARLA simulator across 15 distinct weather conditions, ranging from clear noon to hard rain at sunset. The researchers focused on the complex task of turning corners, which requires precise control.
- Success Rate: The "Modular Servant" approach achieved a 96% success rate across all 15 weather conditions.
- Baseline Comparison: A standard end-to-end model trained only on sunny weather achieved only a 22% success rate, crashing frequently in rainy or low-light conditions.
- Data Efficiency: The modular approach, trained on labels for only one condition, performed as well as a model trained with ground-truth labels for all fifteen conditions simultaneously.
Conclusion and Future Work
This modular approach demonstrates that latent space alignment via GANs is a powerful tool for domain adaptation in autonomous driving. It allows vehicles to adapt to new climates without the need for exhaustive manual data labeling.
Future research will address current limitations, such as performance degradation in extreme visibility loss (e.g., heavy rain at sunset) where GAN-based reconstruction becomes unstable. Additionally, extending this framework to dynamic environments with pedestrians and moving traffic, and validating the architecture on real-world sensor data, remain critical steps toward deployment.
Summary updated