Skip to main content
QUICK REVIEW

[Paper Review] Normalized Feature Distillation for Semantic Segmentation

Tao Liu, Xi Yang|arXiv (Cornell University)|Jul 12, 2022
Advanced Neural Network ApplicationsComputer Science6 citations
TL;DR

This paper proposes Normalized Feature Distillation (NFD), a simple yet effective knowledge distillation method for semantic segmentation that improves student model performance by normalizing feature responses to remove magnitude information, enabling more efficient distillation from original features without manual design of knowledge forms. NFD achieves state-of-the-art results on Cityscapes, VOC 2012, and ADE20K, significantly outperforming prior feature distillation methods.

ABSTRACT

As a promising approach in model compression, knowledge distillation improves the performance of a compact model by transferring the knowledge from a cumbersome one. The kind of knowledge used to guide the training of the student is important. Previous distillation methods in semantic segmentation strive to extract various forms of knowledge from the features, which involve elaborate manual design relying on prior information and have limited performance gains. In this paper, we propose a simple yet effective feature distillation method called normalized feature distillation (NFD), aiming to enable effective distillation with the original features without the need to manually design new forms of knowledge. The key idea is to prevent the student from focusing on imitating the magnitude of the teacher's feature response by normalization. Our method achieves state-of-the-art distillation results for semantic segmentation on Cityscapes, VOC 2012, and ADE20K datasets. Code will be available.

Motivation & Objective

  • To address the inefficiency and high learning difficulty of forcing student models to imitate exact feature responses from teacher models in semantic segmentation.
  • To eliminate the need for manual, prior-knowledge-based design of complex knowledge forms (e.g., attention maps, Gram matrices) in feature distillation.
  • To improve distillation performance using only original, unmodified features by focusing on normalized feature distributions.
  • To achieve state-of-the-art distillation performance with a minimal, yet highly effective, architectural modification.

Proposed method

  • NFD normalizes the feature maps of the teacher and student networks before computing the distillation loss, removing magnitude differences that hinder effective knowledge transfer.
  • The method applies L2 normalization across spatial and channel dimensions to the feature maps, preserving directional information while discarding magnitude.
  • Distillation loss is computed between the normalized feature maps of the teacher and student, using a standard L2 loss to encourage similarity in feature direction.
  • The approach is position-agnostic and effective across different distillation layers, especially at the backbone’s final layer where features are more generic and informative.
  • The method does not require additional modules, attention mechanisms, or adversarial training, making it lightweight and easy to integrate.
  • Hyperparameter sensitivity analysis confirms robustness to the weighting coefficient of the distillation loss.

Experimental results

Research questions

  • RQ1Can distillation performance be significantly improved by removing magnitude information from original features, without designing new forms of knowledge?
  • RQ2Why does direct distillation of original features often underperform, and what is the primary obstacle to effective knowledge transfer?
  • RQ3Does normalizing feature responses lead to better alignment between teacher and student features in semantic segmentation?
  • RQ4How does NFD compare to existing methods that rely on manually designed knowledge forms such as pair-wise similarity or channel-wise probabilities?
  • RQ5Does the effectiveness of NFD vary across different distillation positions in the network, such as backbone, decoder, or final prediction layers?

Key findings

  • NFD achieves state-of-the-art performance on the Cityscapes dataset, improving the student model’s mIoU from 72.65% to 75.86%.
  • On the ADE20K dataset, NFD boosts the student mIoU from 35.03% to 38.55%, demonstrating strong generalization across datasets.
  • NFD outperforms existing methods that use pair-wise similarity (73.55% mIoU), intra-class variation (73.90% mIoU), and channel-wise probability (73.98% mIoU) by a significant margin.
  • The method is most effective when distillation occurs at the last layer of the backbone, where features are most generic and informative.
  • NFD shows high robustness to hyperparameter settings, with minimal performance drop across a wide range of loss weighting coefficients.
  • The ablation study confirms that removing magnitude via normalization is more effective than designing complex knowledge forms, even when all methods use the same backbone feature layer.

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.