Skip to main content
QUICK REVIEW

[Paper Review] HS3: Learning with Proper Task Complexity in Hierarchically Supervised Semantic Segmentation

Shubhankar Borse, Hong Cai|arXiv (Cornell University)|Nov 3, 2021
Multimodal Machine Learning ApplicationsComputer Science7 citations
TL;DR

HS3 proposes a hierarchical supervision scheme for semantic segmentation that adapts task complexity to each intermediate layer’s representational capacity by clustering semantic classes into progressively smaller sets. By training with these reduced-complexity tasks and fusing hierarchical features via HS3-Fuse, the method achieves state-of-the-art performance on Cityscapes and NYUD-v2 without inference cost, outperforming deep supervision and manual clustering approaches.

ABSTRACT

While deeply supervised networks are common in recent literature, they typically impose the same learning objective on all transitional layers despite their varying representation powers. In this paper, we propose Hierarchically Supervised Semantic Segmentation (HS3), a training scheme that supervises intermediate layers in a segmentation network to learn meaningful representations by varying task complexity. To enforce a consistent performance vs. complexity trade-off throughout the network, we derive various sets of class clusters to supervise each transitional layer of the network. Furthermore, we devise a fusion framework, HS3-Fuse, to aggregate the hierarchical features generated by these layers, which can provide rich semantic contexts and further enhance the final segmentation. Extensive experiments show that our proposed HS3 scheme considerably outperforms vanilla deep supervision with no added inference cost. Our proposed HS3-Fuse framework further improves segmentation predictions and achieves state-of-the-art results on two large segmentation benchmarks: NYUD-v2 and Cityscapes.

Motivation & Objective

  • To address the limitation of deep supervision, which imposes identical, high-complexity tasks on all intermediate layers despite their varying representational power.
  • To enable intermediate layers to learn meaningful features by matching their supervision task complexity to their actual learning capacity.
  • To develop a principled method for automatically determining optimal class cluster counts across layers using confusion matrices from a baseline training phase.
  • To design a feature fusion framework, HS3-Fuse, that leverages hierarchical features from supervised layers to enrich final predictions.
  • To demonstrate that proper task complexity in supervision improves segmentation accuracy without increasing inference cost.

Proposed method

  • The method uses a two-step training process: first, train a deep supervision baseline to collect confusion matrices; second, use these matrices to perform hierarchical clustering of classes based on similarity.
  • A trade-off parameter θ controls the performance-complexity balance, with optimal θ derived from empirical analysis to match each layer’s capability.
  • Class clusters are formed such that earlier layers are supervised with fewer, coarser classes, while deeper layers handle more complex, finer-grained segmentation tasks.
  • The HS3-Fuse framework employs lightweight OCR modules to process features from each supervised intermediate layer, then fuses them to enrich the final prediction with hierarchical semantic context.
  • The approach uses spectral clustering on confusion matrices to avoid dependency on class embeddings, making it applicable to networks without OCR modules.
  • The final model integrates hierarchical supervision and feature fusion with no additional inference cost, maintaining efficiency.

Experimental results

Research questions

  • RQ1Can intermediate layers in deep segmentation networks learn more meaningful representations by adapting their supervision task complexity to their representational capacity?
  • RQ2What is the optimal trade-off between performance and task complexity for each intermediate layer in a segmentation network?
  • RQ3How does hierarchical supervision using automatically derived class clusters compare to manual clustering or standard deep supervision?
  • RQ4Can a fusion framework that leverages hierarchical features from multiple supervised layers further improve segmentation accuracy?
  • RQ5Is it possible to achieve state-of-the-art performance without increasing inference cost through adaptive supervision and feature fusion?

Key findings

  • HS3 achieved a mean Intersection over Union (mIoU) of 41.8% on NYUD-v2 using HRNetv2-w18-OCR, with the optimal trade-off parameter θ = 80°, and a near-optimal 41.7% mIoU using the proposed automatic method (θ = 76°).
  • On Cityscapes, HS3 with spectral clustering achieved 78.1% mIoU, outperforming both deep supervision (77.7%) and manual clustering (77.9%).
  • The HS3-Fuse framework achieved 85.7% mIoU and 71.7% iIoU on Cityscapes, setting a new state-of-the-art on the live benchmark.
  • Spectral clustering outperformed manual assignment and matched k-means, while requiring only confusion matrices instead of class embeddings, enhancing generalizability.
  • The ablation study confirmed that both over-complex (θ = 0°) and under-complex (θ = 90°) tasks degrade performance, validating the importance of balanced task complexity.
  • The method improves segmentation accuracy without adding inference cost, as the fusion and supervision are integrated during training only.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.