Skip to main content
QUICK REVIEW

[Paper Review] Knowledge Adaptation for Efficient Semantic Segmentation

Tong He, Chunhua Shen|arXiv (Cornell University)|Mar 12, 2019
Advanced Neural Network ApplicationsComputer Science27 references20 citations
TL;DR

This paper proposes a knowledge distillation framework for efficient semantic segmentation that improves compact student networks by transferring knowledge from a larger teacher network through feature translation and affinity distillation. By using a pre-trained autoencoder to adapt high-level features and an affinity module to preserve long-range spatial dependencies, the method boosts mIOU by 2.5 points (to 72.7) on Cityscapes with only 8% of the FLOPS of a full-precision baseline.

ABSTRACT

Both accuracy and efficiency are of significant importance to the task of semantic segmentation. Existing deep FCNs suffer from heavy computations due to a series of high-resolution feature maps for preserving the detailed knowledge in dense estimation. Although reducing the feature map resolution (i.e., applying a large overall stride) via subsampling operations (e.g., pooling and convolution striding) can instantly increase the efficiency, it dramatically decreases the estimation accuracy. To tackle this dilemma, we propose a knowledge distillation method tailored for semantic segmentation to improve the performance of the compact FCNs with large overall stride. To handle the inconsistency between the features of the student and teacher network, we optimize the feature similarity in a transferred latent domain formulated by utilizing a pre-trained autoencoder. Moreover, an affinity distillation module is proposed to capture the long-range dependency by calculating the non-local interactions across the whole image. To validate the effectiveness of our proposed method, extensive experiments have been conducted on three popular benchmarks: Pascal VOC, Cityscapes and Pascal Context. Built upon a highly competitive baseline, our proposed method can improve the performance of a student network by 2.5\% (mIOU boosts from 70.2 to 72.7 on the cityscapes test set) and can train a better compact model with only 8\% float operations (FLOPS) of a model that achieves comparable performances.

Motivation & Objective

  • To address the accuracy-efficiency trade-off in semantic segmentation, where high-resolution feature maps improve accuracy but increase computational cost.
  • To enable compact student networks with large output stride to match or exceed the performance of larger models.
  • To overcome feature distribution mismatches between student and teacher networks in knowledge distillation for dense prediction tasks.
  • To preserve long-range spatial dependencies in distilled knowledge without adding parameters or inference overhead.
  • To develop a knowledge distillation method tailored for semantic segmentation that leverages both feature-level and relational knowledge transfer.

Proposed method

  • A knowledge translator based on a pre-trained autoencoder maps high-dimensional, high-resolution features from the teacher network into a compact latent space for easier transfer to the student.
  • The knowledge adapter projects the student’s final feature maps into the same latent space as the teacher’s features to align their distributions and reduce domain shift.
  • An affinity distillation module computes non-local interactions across the entire image to capture long-range dependencies in both teacher and student features.
  • The student is trained using a multi-task loss combining cross-entropy with hard labels, knowledge distillation from the translated features, and affinity distillation from the non-local attention maps.
  • The method operates without adding parameters or inference FLOPs, making it efficient for real-time deployment.
  • The framework is trained end-to-end using standard optimization on Pascal VOC, Cityscapes, and Pascal Context benchmarks with a consistent training protocol.

Experimental results

Research questions

  • RQ1Can knowledge distillation effectively improve the performance of lightweight semantic segmentation models with large output stride?
  • RQ2How can feature distribution mismatches between student and teacher networks be mitigated during knowledge transfer in semantic segmentation?
  • RQ3To what extent can long-range spatial dependencies be preserved in distilled knowledge without increasing model complexity?
  • RQ4Can a compact student network achieve state-of-the-art performance with significantly reduced FLOPs through knowledge adaptation?
  • RQ5Does the proposed method outperform standard knowledge distillation and other lightweight models in accuracy-efficiency trade-offs?

Key findings

  • On the Cityscapes test set, the proposed method improves the student model’s mIOU from 70.2% to 72.7%, a 2.5-point gain, while using only 8% of the FLOPS of a comparable full-precision model.
  • On the Pascal VOC validation set, the method improves the MobileNetV2 baseline by 1.0 mIOU point, achieving 75.8 mIOU.
  • On the Pascal Context dataset, the method boosts the baseline performance by 1.3 mIOU points, demonstrating generalization across datasets.
  • The ablation study confirms that both the knowledge adaptation and affinity distillation modules are essential, with the latter significantly improving long-range context modeling.
  • The method outperforms other lightweight models in accuracy without introducing additional parameters or FLOPs, proving its efficiency and effectiveness.
  • Visualizations show that the proposed method produces more accurate and detail-preserving segmentation maps than both the student baseline and standard distillation.

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.