[Paper Review] Reinforced Wasserstein Training for Severity-Aware Semantic Segmentation in Autonomous Driving
This paper proposes a severity-aware semantic segmentation loss based on Wasserstein distance with a learnable ground metric to improve safety in autonomous driving. By modeling misclassification severity through a task-specific cost matrix and optimizing via reinforcement learning in the CARLA simulator, the method significantly reduces collision rates and increases driving distance, outperforming cross-entropy and importance-aware baselines on CamVid and Cityscapes.
Semantic segmentation is important for many real-world systems, e.g., autonomous vehicles, which predict the class of each pixel. Recently, deep networks achieved significant progress w.r.t. the mean Intersection-over Union (mIoU) with the cross-entropy loss. However, the cross-entropy loss can essentially ignore the difference of severity for an autonomous car with different wrong prediction mistakes. For example, predicting the car to the road is much more servery than recognize it as the bus. Targeting for this difficulty, we develop a Wasserstein training framework to explore the inter-class correlation by defining its ground metric as misclassification severity. The ground metric of Wasserstein distance can be pre-defined following the experience on a specific task. From the optimization perspective, we further propose to set the ground metric as an increasing function of the pre-defined ground metric. Furthermore, an adaptively learning scheme of the ground matrix is proposed to utilize the high-fidelity CARLA simulator. Specifically, we follow a reinforcement alternative learning scheme. The experiments on both CamVid and Cityscapes datasets evidenced the effectiveness of our Wasserstein loss. The SegNet, ENet, FCN and Deeplab networks can be adapted following a plug-in manner. We achieve significant improvements on the predefined important classes, and much longer continuous playtime in our simulator.
Motivation & Objective
- To address the limitation of cross-entropy loss in semantic segmentation, which treats all misclassifications equally regardless of real-world severity.
- To model inter-class misclassification severity using a predefined or learned ground metric in the Wasserstein distance framework.
- To improve safety in autonomous driving by prioritizing correct recognition of high-risk classes (e.g., pedestrians, vehicles) over low-risk ones.
- To enable end-to-end training with a plug-in loss that enhances standard networks like SegNet, ENet, FCN, and Deeplab without architectural changes.
- To validate the method in a simulated driving environment using reinforcement learning, demonstrating improved driving safety and robustness.
Proposed method
- Define a ground metric for the Wasserstein distance as a severity matrix reflecting the real-world impact of misclassifying one class as another.
- Use an increasing function of the severity matrix as the ground metric to stabilize optimization and improve generalization.
- Implement an actor-critic reinforcement learning framework in the CARLA simulator to jointly learn the optimal ground metric and driving policy.
- Apply the Wasserstein loss as a plug-in replacement for cross-entropy in standard segmentation networks, enabling end-to-end training.
- Use fast approximate solutions for Wasserstein distance in self-supervised domain adaptation with non-one-hot pseudo-labels.
- Fine-tune segmentation models using the proposed loss and evaluate performance via driving metrics such as collision-free distance and success rate in CARLA.
Experimental results
Research questions
- RQ1Can a severity-aware loss based on Wasserstein distance improve semantic segmentation safety in autonomous driving?
- RQ2How does modeling misclassification severity through a learnable ground metric affect driving performance in simulation?
- RQ3Can the proposed loss be effectively integrated into standard segmentation architectures without architectural changes?
- RQ4Does the reinforcement learning-based adaptation of the ground metric lead to more robust and safer driving policies?
- RQ5How does the method compare to cross-entropy and importance-aware losses in terms of driving safety and segmentation accuracy?
Key findings
- The proposed method increased the average distance between collisions with pedestrians from 9.24 km to 28.25 km in the New Town setting, nearly tripling the safe driving distance.
- In the New Weather setting, the average distance between collisions with pedestrians improved from 2.53 km to 7.82 km, demonstrating robustness to environmental changes.
- Using Deeplab with the adaptive Wasserstein loss (A-ℒdᵢⱼ) achieved a 40.3 km success rate in the regular traffic CARLA scenario, outperforming the baseline Deeplab (30.5 km) and IAL (35.2 km).
- The method improved the success rate of autonomous driving from 58.2% to 65.7% in 10-hour demonstration scenarios, indicating enhanced policy generalization.
- The Wasserstein loss stabilized after 300,000 training steps and maintained performance without further tuning, suggesting robustness to training duration.
- The method achieved significant improvements on predefined high-impact classes (e.g., person, vehicle) while maintaining strong performance on standard mIoU metrics.
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.