TL;DR
FSNet is a novel framework that jointly trains a semantic segmentation network alongside a dedicated failure detection network to identify pixel-level errors in real-time. By granting the failure detector access to the segmentation model's internal features, FSNet achieves a significant performance leap—up to 12.3% improvement—in identifying misclassifications across both familiar and novel driving environments.
What Problem Does This Paper Address?
Semantic segmentation—the task of labeling every pixel in an image (e.g., "road," "pedestrian," "car")—is the bedrock of autonomous vehicle perception. However, even the best models fail when they encounter "out-of-distribution" scenarios like extreme weather, motion blur, or unfamiliar city layouts.
The real danger isn't just the error itself, but the vehicle's lack of awareness that an error has occurred. Existing methods for "introspection" (a model's ability to monitor its own performance) often treat the segmentation model as a black box, relying only on final outputs or external uncertainty metrics. These approaches struggle to scale to the complex, unconstrained environments where self-driving cars operate.
Methods
The authors introduce FSNet, a framework consisting of two interconnected components: a semantic segmentation network ($S$) and a failure detection network ($F$).
Key technical innovations include:
- Internal Feature Exploitation: Unlike previous "observer" models, FSNet’s failure detector has direct access to the internal convolutional features and logits (raw prediction scores) of the segmentation network.
- Multi-Branch Failure Encoder: The failure detector uses two encoders to process a rich set of inputs: the original image, internal features, and four distinct "views" of the segmentation logits (1x1 convolutions, maximum softmax values, entropy maps, and predicted labels).
- Joint Training Strategy: The authors employ a two-step training process. First, the segmentation network is trained to convergence. Then, both networks are optimized jointly using a combined loss function. This allows the failure detector to learn from the entire dataset rather than a small, separate "failure set," which is common in prior work.
Datasets
The framework was evaluated on three major autonomous driving benchmarks:
- Cityscapes: Used for training and "in-distribution" testing (familiar environments).
- BDD100k: Used for "out-distribution" testing (unseen environments).
- Mapillary Vistas: Used for "out-distribution" testing (unseen environments).
Key Insights and Ideas
- The "Aha!" of Joint Training: The authors discovered that joint optimization is only effective if the segmentation network converges first. Attempting to train both from scratch simultaneously leads to poor results, as the failure detector can't learn to identify errors from a model that hasn't learned to segment yet.
- Rich Features Beat Simple Metrics: By feeding the failure detector internal features ($e$ in Figure 2) and entropy maps, the model gains a much more nuanced understanding of why a prediction might be shaky compared to just looking at the final class label.
- OOD Advantage: Interestingly, FSNet performs exceptionally well on out-of-distribution data. Because the segmentation network makes more errors in these novel settings, the failure detector has more "signal" to work with, allowing it to flag inaccurate regions more reliably.
Key Results
FSNet significantly outperforms the previous state-of-the-art (SynthCP) and standard baselines like Maximum Softmax Probability (MSP).
- Quantitative Gains: In the AUPR-Error metric (which measures how well the model identifies incorrect pixels), FSNet improved performance by 12.30% on Cityscapes, 9.46% on BDD100k, and 9.65% on Mapillary.
- Segmentation Integrity: Crucially, the joint training process did not degrade the original segmentation performance. In fact, it slightly improved per-class accuracy by about 4% on Cityscapes.
- Risk-Coverage: As shown in the Risk-Coverage curves, FSNet maintains a lower "selective risk" (the probability of an undetected error) across all levels of data coverage compared to all other methods.
Limitations and Future Work
While FSNet shows impressive results, the authors note a few areas for further exploration:
- Training Complexity: The two-step joint training process requires careful hyperparameter tuning to ensure both networks optimize harmoniously.
- Architecture Specificity: The current study focused on FCN8 and DeepLabV2 backbones. Testing the framework on more modern, transformer-based segmentation architectures would be a logical next step.
- Downstream Integration: The paper focuses on detecting the failure; future work could investigate how an autonomous system should react once a pixel-level failure is flagged (e.g., switching to a safe state or relying more on LiDAR).
Summary updated