TL;DR
This paper proposes a modular reinforcement learning (RL) framework for autonomous driving that decouples perception from control. By training a Deep Q-Network (DQN) on a low-dimensional latent semantic representation rather than raw pixels, the authors achieve a control policy that is robust to weather changes and significantly more efficient to train.
What Problem Does This Paper Address?
Training end-to-end autonomous driving policies using reinforcement learning is notoriously difficult. Raw sensor data (like RGB images) is high-dimensional and contains vast amounts of redundant information. Furthermore, RL models trained directly on pixels often fail to generalize; a model trained on a sunny day might fail in the rain because the visual features change drastically, even if the underlying road geometry remains the same.
The authors aim to bridge this gap by creating a system that is agnostic to environmental conditions (lighting, weather, climate) and computationally efficient enough to learn complex maneuvers without human-labeled steering data.
Methods
The authors introduce a two-stage modular architecture:
- Perception Module: An encoder-decoder network (a modified version of the VAE-like architecture by Larsen et al.) is trained to perform semantic segmentation.
- The Encoder compresses a $128 \times 128$ RGB image into a 64-dimensional latent vector.
- The Decoder attempts to reconstruct the semantic scene (13 classes like road, vehicles, traffic signs) from this vector.
- Crucially, once trained, only the 64D latent vector is passed to the controller. This acts as a "distilled" version of the scene, capturing essential geometry while discarding visual noise like raindrops or shadows.
- Control Module: A Deep Q-Network (DQN) is trained using the 64D latent vector as its state input.
- Action Space: To simplify training, the steering angle is quantized into three discrete values: $-0.4$ (left), $0$ (straight), and $0.4$ (right).
- Reward Function: The agent receives a reward of $+1$ for staying in the lane. Penalties (down to $-5$) are applied based on the percentage of the car that is off-road or in the wrong lane.
Datasets
The study utilizes the CARLA simulator, a high-fidelity environment for autonomous driving research.
- Training Data: The perception model was trained on data collected via random exploration in CARLA, pairing RGB images with ground-truth semantic labels.
- Semantic Labels: The authors used 13 classes, applying weighted categorical cross-entropy to account for class imbalance (e.g., "road" pixels are far more common than "traffic light" pixels).
Key Insights and Ideas
- Semantic Invariance: By using a semantic latent space, the controller sees the same "state" whether it is noon or raining. As shown in the paper's examples, the semantic labels for a curve remain identical across weather conditions, allowing the control policy to generalize effortlessly.
- Dimensionality Reduction: Moving from raw pixels to a 64D vector reduces the number of parameters in the control model, leading to faster convergence.
- Class Weighting: The authors highlight that for perception to be useful for control, rare but critical objects (like traffic signs) must be weighted more heavily during training.
Key Results
- Successful Maneuvering: The agent successfully learned to navigate and execute turns (specifically right turns) without any human-provided steering labels.
- Efficiency: While standard RL on CARLA can take up to 12 days to train on raw pixels, the authors' approach leverages the compressed state space to expedite the process.
- Exploration Strategy: The authors used an $\epsilon$-greedy strategy, starting with 90% exploration and reducing it to 5% over $10^5$ steps to ensure the agent thoroughly mapped the latent space.
Limitations and Future Work
- Jerky Control: Because the action space is limited to three discrete steering angles, the resulting driving behavior is "jerky." The authors suggest that a larger action space could smooth this out, albeit at the cost of longer training times.
- The Left-Turn Problem: The authors discovered a fascinating failure mode regarding reward discontinuities. In their specific environment setup, right turns had a "buffer" zone (the opposite lane) where rewards decreased smoothly. However, left turns often featured immediate barriers. This created a sharp jump in reward (from $+1$ to $-5$) that made the DQN struggle to converge for left turns.
- Sim-to-Real: The current work is confined to simulation. The authors identify transferring these latent-space policies to real-world vehicles as a primary goal for future research.
Summary updated