[Paper Review] SAM: Squeeze-and-Mimic Networks for Conditional Visual Driving Policy Learning
This paper proposes SAM (Squeeze-and-Mimic Networks), a conditional imitation learning framework for visual driving policy learning that leverages side tasks—such as semantic segmentation or object affordances—without requiring explicit side task prediction. It trains a 'squeeze' network to map side task annotations to driving controls, extracting a driving-relevant representation, then distills this knowledge into a 'mimic' network that uses only images, improving robustness and generalization by avoiding side-task-specific nuisances.
We describe a policy learning approach to map visual inputs to driving controls conditioned on turning command that leverages side tasks on semantics and object affordances via a learned representation trained for driving. To learn this representation, we train a squeeze network to drive using annotations for the side task as input. This representation encodes the driving-relevant information associated with the side task while ideally throwing out side task-relevant but driving-irrelevant nuisances. We then train a mimic network to drive using only images as input and use the squeeze network's latent representation to supervise the mimic network via a mimicking loss. Notably, we do not aim to achieve the side task nor to learn features for it; instead, we aim to learn, via the mimicking loss, a representation of the side task annotations directly useful for driving. We test our approach using the CARLA simulator. In addition, we introduce a more challenging but realistic evaluation protocol that considers a run that reaches the destination successful only if it does not violate common traffic rules. A video summarizing this work is available at https://youtu.be/ipKAMzmJpMs , and code is available at https://github.com/twsq/sam-driving .
Motivation & Objective
- Address the challenge of learning robust visual driving policies that generalize well despite nuisances in raw image inputs.
- Overcome limitations of prior methods that suffer from side-task estimation errors or learn driving-irrelevant features due to side-task-main-task mismatch.
- Develop a framework that leverages side task annotations not to solve the side task, but to extract driving-relevant contextual representations.
- Improve policy generalization by training a mimic network to imitate the latent features of a squeeze network trained on side task annotations, without requiring ground-truth side task predictions at inference.
- Introduce a more realistic evaluation protocol—Traffic-school—that penalizes multiple infractions (e.g., red light violations, crashes) and improves benchmark reliability over standard success rate metrics.
Proposed method
- Train a 'squeeze' network to map side task annotations (e.g., semantic segmentation) directly to driving controls, learning a representation that encodes only driving-relevant context.
- Extract deep features from the squeeze network’s hidden layers, which are trained solely for driving performance and thus exclude side-task-specific but driving-irrelevant details.
- Train a 'mimic' network to map raw images to controls, using a mimicking loss that aligns its internal features with those of the squeeze network’s representation.
- Use the mimicking loss to supervise the mimic network during training, enabling it to learn driving-relevant representations without ever seeing side task annotations at inference.
- Avoid explicit side task prediction during inference by never requiring the model to estimate side task outputs, thus eliminating estimation error risks.
- Evaluate the method in the CARLA simulator using a new benchmark, Traffic-school, which penalizes multiple types of traffic rule violations to provide a more realistic success metric.
Experimental results
Research questions
- RQ1Can side task annotations be leveraged to improve driving policy generalization without requiring explicit side task prediction during inference?
- RQ2Does learning a driving-relevant representation from side task annotations—without optimizing for the side task—lead to better robustness and performance than standard imitation learning or multi-task approaches?
- RQ3How does the proposed method compare to existing baselines in terms of success rate and compliance with traffic rules under diverse and challenging driving conditions?
- RQ4Does the mimicking loss effectively transfer driving-relevant knowledge from the squeeze network to the mimic network without introducing side-task-specific nuisances?
- RQ5Can a more realistic evaluation protocol like Traffic-school better capture policy safety and reliability than standard success rate metrics?
Key findings
- The SAM model achieves a mean success rate of 63.0 ± 1.0% on the CILRS benchmark under the Traffic-school evaluation protocol, outperforming the original CILRS method (61.0 ± 0.7%) and demonstrating improved robustness.
- On the new town/weather setting, SAM achieves a success rate of 27.0 ± 3.0% on Traffic-school, indicating improved generalization under challenging conditions compared to baselines.
- The method shows consistent performance across diverse scenarios, including dense traffic and adverse weather, due to the disentanglement of driving-relevant context from side-task-specific noise.
- The Traffic-school benchmark reveals that performance does not monotonically decrease with increasing traffic density, suggesting that some agents benefit from vehicle interactions, highlighting the importance of multi-infraction evaluation.
- The rerun of CILRS using author-released code shows comparable results to the original paper, validating the reproducibility and reliability of the benchmark and the proposed method’s performance.
- The ablation shows that the mimicking loss effectively transfers driving-relevant features from the squeeze network to the mimic network, enabling high performance even without access to side task annotations at inference.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.