Skip to main content
QUICK REVIEW

[Paper Review] Structured Knowledge Distillation for Dense Prediction

Yifan Liu, Changyong Shun|arXiv (Cornell University)|Mar 11, 2019
Advanced Neural Network ApplicationsComputer Science85 references17 citations
TL;DR

This paper proposes structured knowledge distillation for dense prediction tasks, introducing pair-wise and holistic distillation schemes to transfer structural knowledge from large teacher networks to compact student networks. By modeling spatial consistency and high-order output similarities, the method improves performance on semantic segmentation, depth estimation, and object detection without increasing inference cost, achieving up to 0.9% mAP gain in object detection and higher mIoU with no additional FLOPs or parameters.

ABSTRACT

In this work, we consider transferring the structure information from large networks to compact ones for dense prediction tasks in computer vision. Previous knowledge distillation strategies used for dense prediction tasks often directly borrow the distillation scheme for image classification and perform knowledge distillation for each pixel separately, leading to sub-optimal performance. Here we propose to distill structured knowledge from large networks to compact networks, taking into account the fact that dense prediction is a structured prediction problem. Specifically, we study two structured distillation schemes: i) pair-wise distillation that distills the pair-wise similarities by building a static graph; and ii) holistic distillation that uses adversarial training to distill holistic knowledge. The effectiveness of our knowledge distillation approaches is demonstrated by experiments on three dense prediction tasks: semantic segmentation, depth estimation and object detection. Code is available at: https://git.io/StructKD

Motivation & Objective

  • To address the sub-optimal performance of existing pixel-wise knowledge distillation in dense prediction tasks by incorporating structural information.
  • To develop structured distillation schemes that preserve spatial and high-order output consistency between teacher and student networks.
  • To improve the accuracy of compact models for dense prediction without increasing computational cost or model size.
  • To demonstrate the effectiveness of structured distillation across multiple dense prediction tasks: semantic segmentation, depth estimation, and object detection.

Proposed method

  • Proposes pair-wise distillation that aligns static affinity graphs capturing short- and long-range spatial relationships in feature maps from both teacher and student networks.
  • Introduces holistic distillation using adversarial training with a fully convolutional discriminator to align higher-order structural consistency between student and teacher network outputs.
  • Employs a multi-objective loss combining task-specific loss with distillation terms to jointly optimize for accuracy and structural alignment.
  • Uses a discriminator network that takes both input image and output structure to produce a holistic embedding representing output quality, which the student network is trained to match.
  • Applies the distillation framework to various compact networks (e.g., MobileNetV2, C128-MV2) across different tasks, with no change to model architecture or inference cost.
  • Combines structured distillation with existing pixel-wise distillation for further performance gains.

Experimental results

Research questions

  • RQ1Can structured knowledge distillation improve compact network performance in dense prediction tasks by preserving spatial relationships beyond pixel-wise predictions?
  • RQ2How does pair-wise distillation, based on affinity graphs, enhance output consistency between teacher and student networks?
  • RQ3To what extent can adversarial holistic distillation capture high-order structural patterns in dense predictions?
  • RQ4Does structured knowledge distillation outperform conventional pixel-wise distillation in semantic segmentation, depth estimation, and object detection?
  • RQ5Can structured distillation be combined with existing distillation methods to further improve compact model accuracy?

Key findings

  • On the COCO object detection benchmark, structured knowledge distillation improved the mAP of the C128-MV2 student network from 30.9% to 33.9% on minival, with no increase in inference time.
  • The method achieved a 0.9% mAP gain over baseline and a 0.4% gain over pixel-wise MIMIC distillation on the same model.
  • When combined with pixel-wise distillation, the C256-MV2 student network reached 34.1% mAP on COCO test-dev, outperforming the baseline and state-of-the-art detectors with similar inference speed.
  • On Cityscapes, the proposed method achieved higher mIoU than baseline models without increasing FLOPs or parameters, demonstrating efficiency and accuracy gains.
  • Visual results showed improved detection of small, occluded, and overlapping objects when using structured distillation, confirming better structural generalization.
  • The holistic distillation scheme significantly improved performance on AP75, APs, and APl metrics, indicating stronger generalization for challenging object categories.

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.