TL;DR
This paper introduces the Swift Factorized Network (SFN), a real-time semantic segmentation model designed for applications like autonomous driving where high recall is critical. They propose novel network blocks and explore three methods—an importance-aware loss function, a Graph Convolutional Network (GCN) classifier, and a Maximum Likelihood (ML) decision rule—to significantly boost recall rates for important objects, even at the cost of some precision.
What Problem Does This Paper Address?
Semantic Segmentation (SS) is vital for applications like autonomous vehicles, but two major hurdles prevent its widespread adoption: efficiency and appropriate evaluation metrics. Real-time applications demand fast inference, while traditional metrics like mean Intersection over Union (mIoU) don't always capture the nuances of specific use cases. For autonomous driving, missing a critical object (like a pedestrian or car) is far more dangerous than misclassifying a safe area. Therefore, achieving a high recall rate for important objects is paramount, even if it means a slight decrease in precision or overall mIoU. This paper aims to bridge this gap by developing a fast SS network and exploring methods to prioritize high recall for critical classes.
Methods
The core of the paper is the Swift Factorized Network (SFN), built upon the SwiftNet architecture. SFN features a U-shape encoder-decoder structure with lateral connections. The key innovations lie in its Upsampling Decoder Blocks (UDBs):
- Factorized Convolution Blocks: Inspired by ERFNet, these blocks use factorized convolutions and dilated convolutions to enlarge the receptive field without significantly increasing computational cost.
- Global Convolutional Network (GCNet) Integration: Inspired by GCNet, they incorporate blocks that use larger kernel sizes to directly expand the receptive field. They explore both early and late merging strategies for GCNet features, finding early merging to be more effective.
Beyond the network architecture, the paper investigates three strategies to enhance recall:
- Importance-Aware Loss Function (IAL): This loss function assigns different weights to classes based on their importance (e.g., prioritizing cars and pedestrians over sky or trees). It modifies the standard cross-entropy loss to focus training on critical categories.
- Graph Convolutional Network (GCN) as Classifier: Instead of a standard classifier, they use a GCN to model relationships between semantic classes. This helps in selecting more meaningful features by considering inter-class dependencies.
- Maximum Likelihood (ML) Decision Rule: They propose using the ML rule, which leverages class priors (estimated from the training data), as an alternative to the standard Bayes rule. This is shown to be effective in boosting recall.
Datasets
The proposed methods were evaluated on two widely used semantic segmentation benchmarks:
- CamVid: A smaller dataset often used for real-time SS research.
- Cityscapes: A larger, more challenging dataset with higher resolution images, commonly used for evaluating state-of-the-art SS models.
Key Insights and Ideas
- Recall over mIoU for Critical Applications: The paper strongly advocates for prioritizing recall in scenarios like autonomous driving, demonstrating that a slight drop in mIoU can be acceptable if critical object detection is significantly improved.
- Receptive Field Expansion is Key: Both the factorized convolution and GCNet-inspired blocks effectively enlarge the receptive field, leading to better feature extraction without substantial computational overhead.
- IAL's Targeted Improvement: The Importance-Aware Loss function effectively pushes the model to focus on detecting high-priority objects, making it particularly suitable for safety-critical applications.
- GCN for Semantic Relationships: Using GCN as a classifier helps capture nuanced relationships between classes, leading to more robust feature selection.
- ML Rule's Recall Boost: The Maximum Likelihood decision rule offers a significant improvement in recall, especially for classes that might be underrepresented or have lower precision with standard methods.
Key Results
- SFN Performance: The proposed Swift Factorized Network (SFN) with early merging GCNet blocks achieved an mIoU of 72.2% on Cityscapes, surpassing their previous ERF-PSPNet by a significant margin and demonstrating good efficiency.
- IAL Impact: On CamVid, IAL improved the recall rate for the high-importance group (G3) by about 6.4% for the bicyclist class, with a mean recall increase. On Cityscapes, IAL also boosted recall for important categories, though it led to a notable degradation in overall mIoU.
- GCN Effectiveness: GCN improved recall for important categories in G2 and G3 on Cityscapes without significantly harming precision or IoU.
- ML Rule's Recall Advantage: The ML rule demonstrated a substantial improvement in recall rates across various classes on Cityscapes, significantly outperforming the Bayes rule in this regard.
Limitations and Future Work
- mIoU Degradation with IAL: While IAL excels at boosting recall for important classes, it can lead to a significant drop in overall mIoU, especially on datasets like Cityscapes.
- GCN Graph Definition: The performance of the GCN classifier is heavily dependent on the pre-defined graph structure. The authors suggest that a more scientific method for graph construction, or a learnable graph module, could further improve performance.
- ML Rule's Precision Trade-off: The ML rule's impressive recall gains come at the cost of precision, and it can introduce noise. The authors suggest exploring conditional probability training and better prior estimation as potential solutions.
- Future Directions: The authors plan to further explore GCNs by designing better graph search schemes and word embeddings. They also aim to investigate conditional probability-based training and combine SS with visual localization for more robust autonomous systems.
Summary updated