Skip to main content
QUICK REVIEW

[Paper Review] Inter-Region Affinity Distillation for Road Marking Segmentation

Yuenan Hou, Zheng Ma|arXiv (Cornell University)|Apr 11, 2020
Advanced Neural Network ApplicationsComputer Science37 references9 citations
TL;DR

This paper proposes Inter-Region Affinity Knowledge Distillation (IntRA-KD), a novel knowledge distillation method that transfers structural scene knowledge from a large teacher network (ResNet-101) to lightweight student models for road marking segmentation. By constructing inter-region affinity graphs based on feature distribution similarities across spatial regions, IntRA-KD enables the student to learn global structural priors, achieving state-of-the-art performance on ApolloScape, CULane, and LLAMAS with 21× fewer parameters and 16× faster inference than ResNet-101.

ABSTRACT

We study the problem of distilling knowledge from a large deep teacher network to a much smaller student network for the task of road marking segmentation. In this work, we explore a novel knowledge distillation (KD) approach that can transfer 'knowledge' on scene structure more effectively from a teacher to a student model. Our method is known as Inter-Region Affinity KD (IntRA-KD). It decomposes a given road scene image into different regions and represents each region as a node in a graph. An inter-region affinity graph is then formed by establishing pairwise relationships between nodes based on their similarity in feature distribution. To learn structural knowledge from the teacher network, the student is required to match the graph generated by the teacher. The proposed method shows promising results on three large-scale road marking segmentation benchmarks, i.e., ApolloScape, CULane and LLAMAS, by taking various lightweight models as students and ResNet-101 as the teacher. IntRA-KD consistently brings higher performance gains on all lightweight models, compared to previous distillation methods. Our code is available at https://github.com/cardwing/Codes-for-IntRA-KD.

Motivation & Objective

  • Address the challenge of training small, efficient models for road marking segmentation under sparse supervision and complex real-world conditions.
  • Overcome the limitation of existing knowledge distillation methods in transferring structural scene relationships critical for accurate lane and road element prediction.
  • Improve generalization and robustness of lightweight student networks by encoding and transferring global structural priors from a large teacher model.
  • Develop a generalizable, architecture-agnostic distillation framework applicable to diverse segmentation tasks beyond road marking segmentation.

Proposed method

  • Decompose deep feature maps from both teacher and student networks into spatial regions to form nodes in a graph.
  • Construct inter-region affinity graphs by computing cosine similarity between region-level feature distribution statistics.
  • Introduce a moment pooling operator to extract statistical features (mean, variance, skewness) from each region for robust graph representation.
  • Train the student network to match the affinity graph structure generated by the teacher using a graph consistency loss.
  • Combine the inter-region affinity distillation loss with other distillation losses (e.g., attention map distillation) for complementary performance gains.
  • Apply the method end-to-end with standard segmentation heads and optimize using standard deep learning training pipelines.

Experimental results

Research questions

  • RQ1Can knowledge distillation be enhanced by transferring structural relationships between regions in a scene, rather than just feature maps or logits?
  • RQ2Does modeling inter-region feature distribution similarity improve the generalization of lightweight student models in road marking segmentation?
  • RQ3How effective is IntRA-KD compared to existing distillation methods in handling sparse annotations and challenging visual conditions?
  • RQ4Can the proposed method generalize across different backbone architectures and segmentation benchmarks?
  • RQ5What components of the graph-based distillation process contribute most to performance gains?

Key findings

  • IntRA-KD achieves 43.2 mIoU on ApolloScape using ERFNet, which has 21× fewer parameters (2.49M) and runs 16× faster (10.2ms) than the ResNet-101 teacher (52.53M parameters, 171.2ms).
  • On CULane, IntRA-KD improves ERFNet’s F1-score to 72.39, outperforming other distillation methods and showing robustness under low-light and occlusion conditions.
  • On LLAMAS, IntRA-KD achieves 0.598 mAP with ERFNet, demonstrating consistent gains across diverse road environments.
  • Ablation studies show that combining inter-region affinity distillation with attention map distillation yields the best performance (43.2 mIoU), with high-level feature distillation contributing more than middle-level features.
  • The method is robust to loss coefficient selection, maintaining consistent performance across different hyperparameter settings in {0.05, 0.10, 0.15}.
  • Qualitative results show that ERFNet-IntRA-KD produces more complete and accurate predictions on thin and long lane markings, with more structured and class-discriminative feature embeddings.

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.