TL;DR
This paper challenges the assumption that hierarchical structures inherently improve semantic segmentation. They demonstrate that flat classifiers, which infer parent categories from children, generalize better to new domains than traditional hierarchical methods. Furthermore, by leveraging the Poincaré ball model from hyperbolic geometry, they achieve even better calibration and competitive accuracy, suggesting hyperbolic spaces can mitigate a "parent bias" present in Euclidean representations.
What Problem Does This Paper Address?
Semantic segmentation, a task of assigning a label to every pixel in an image, often benefits from hierarchical label structures (e.g., "car" is a type of "vehicle"). Recent work has shown that incorporating these hierarchies can improve segmentation accuracy. However, this paper questions why this improvement occurs. They hypothesize that the benefits might not stem from the semantic relationships themselves but from other factors. The core problem they address is understanding the true source of accuracy gains in hierarchical segmentation and finding a more robust and generalizable approach, especially when models are applied to domains different from their training data.
Methods
The authors propose and evaluate three main approaches:
- Hierarchical Semantic Segmentation (HSSN): They use a representative hierarchical approach (HSSN) as a baseline, which explicitly models parent and child nodes.
- Flat Euclidean Classifier: They introduce a "flat" classifier where parent labels are inferred after predicting child labels using a standard Euclidean network. This serves as a strong baseline to isolate the effect of explicit hierarchy.
- Flat Hyperbolic Classifier (Poincaré Ball): This is their main novel contribution. They embed pixel features in the Poincaré ball, a model of hyperbolic space. This allows them to perform classification using hyperbolic geometry. They hypothesize that the intrinsic properties of hyperbolic space can naturally mitigate a "parent bias" observed in Euclidean embeddings.
Datasets
The models were trained on the Cityscapes dataset. Evaluation was performed on a diverse set of six datasets:
- Cityscapes
- Mapillary
- IDD
- ACDC
- BDD
- Wilddash
The latter four datasets represent more challenging visual domain shifts compared to Cityscapes.
Key Insights and Ideas
- Hierarchy isn't always the hero: The paper's central finding is that explicit hierarchical training doesn't necessarily lead to better generalization. Flat classifiers, which infer parent labels from child predictions, often outperform hierarchical methods on unseen domains.
- The "Parent Bias" in Euclidean Space: In Euclidean space, class embeddings tend to form clusters. The distances between these clusters are not uniform, leading to a bias where certain groupings of child classes into parent classes are favored, potentially hindering generalization.
- Hyperbolic Geometry to the Rescue: The Poincaré ball model of hyperbolic space exhibits properties that naturally lead to more uniform distances between class embeddings. This "flattens" the parent bias, making the model more robust.
- Calibration Matters: Beyond accuracy, the hyperbolic approach shows significantly better calibration (how well predicted probabilities reflect actual likelihoods), especially for parent nodes on challenging datasets. This suggests the model's confidence is more trustworthy.
Key Results
- Generalization: Flat classifiers (both Euclidean and hyperbolic) consistently outperformed the hierarchical HSSN model on cross-domain tests, especially on challenging datasets like BDD and Wilddash. For instance, Flat-Hyp achieved +2.21/+3.93 mIoU improvement over HSSN on BDD/Wilddash.
- Hyperbolic Advantage: The Flat-Hyp model was on par with the Flat-Euc baseline in terms of segmentation accuracy but significantly outperformed it in calibration quality, particularly for parent nodes on challenging datasets. For example, on Wilddash, Flat-Hyp achieved -5.43 cwECE improvement over HSSN.
- Qualitative Improvements: Visualizations show that the hyperbolic model produces smoother confidence maps and is less prone to misclassifications, especially in challenging scenarios like occlusions or domain shifts.
Limitations and Future Work
- Limited to Traffic Scenes: The evaluation was primarily conducted on datasets focused on traffic scenes. The authors acknowledge that testing on datasets with different taxonomic structures and visual complexities would be valuable.
- Poincaré Ball Specificity: The study focused on the Poincaré ball model. Future work could explore other conformal models of hyperbolic space.
- Further Exploration of Hyperbolic Properties: The paper suggests that the concavity of hyperbolic distance is key to its benefits. Further theoretical and empirical investigations into these properties could yield deeper insights.
Summary updated