Remote Sensing Object Counting with Online Knowledge Learning

Shengqin Jiang, Bowen Li, Fengna Cheng, Qingshan Liu, Hang, Renlong, Liu, QingshanarXiv 2023 · DOI

Abstract: Efficient models for remote sensing object counting are urgently required for applications in scenarios with limited computing resources, such as drones or embedded systems. A straightforward yet powerful technique to achieve this is knowledge distillation, which steers the learning of student networks by leveraging the experience of already-trained teacher networks. However, it faces a pair of challenges: Firstly, due to its two-stage training nature, a longer training period is essential, especially as the training samples increase. Secondly, despite the proficiency of teacher networks in transmitting assimilated knowledge, they tend to overlook the latent insights gained during their learning process. To address these challenges, we introduce an online distillation learning method for remote sensing object counting. It builds an end-to-end training framework that seamlessly integrates two distinct networks into a unified one. It comprises a shared shallow module, a teacher branch, and a student branch. The shared module serving as the foundation for both branches is dedicated to learning some primitive information. The teacher branch utilizes prior knowledge to reduce the difficulty of learning and guides the student branch in online learning. In parallel, the student branch achieves parameter reduction and rapid inference capabilities by means of channel reduction. This design empowers the student branch not only to receive privileged insights from the teacher branch but also to tap into the latent reservoir of knowledge held by the teacher branch during the learning process. Moreover, we propose a relation-in-relation distillation method that allows the student branch to effectively comprehend the evolution of the relationship of intra-layer teacher features among different inter-layer features. Extensive experiments demonstrate the effectiveness of our method.

Introduction

Remote sensing (RS) object counting—estimating the number of cars, buildings, or ships from satellite or drone imagery—is a critical task for urban planning and environmental monitoring. However, it is computationally expensive because targets are often tiny, densely packed, and set against complex backgrounds. Deploying these models on resource-constrained hardware like drones requires significant model compression.

Example of remote sensing object counting in a dense urban environment.

While Knowledge Distillation (KD) is a popular way to compress models by having a large "teacher" network guide a small "student," traditional offline KD suffers from two major drawbacks. First, it is a two-stage process requiring a fully trained teacher before student training begins, which is time-consuming. Second, static teachers only provide final outputs, failing to share the "learning journey" or latent insights gained during training.

Methodology: The OnKL Net Framework

To overcome these limitations, we propose OnKL Net, an end-to-end framework that utilizes Online Knowledge Learning. Unlike traditional methods, OnKL Net integrates the teacher and student into a single-stage training pipeline.

Comparison between (a) the traditional two-stage distillation method and (b) our proposed online one-stage method.

1. Unified Architecture

The network consists of three primary components:

  • Shared Shallow Module: The initial layers are shared between both branches to extract primitive features like edges and corners, ensuring both branches process the same fundamental visual information.
  • Teacher Branch: A high-capacity branch (based on VGG-16) that acts as a mentor, utilizing prior knowledge to guide the student.
  • Student Branch: A lightweight version of the teacher with only 1/4 of the channels, optimized for rapid inference on embedded systems.

2. Relation-in-Relation Distillation (RiRD)

The core innovation is the RiRD method, which moves beyond simple pixel-by-pixel feature matching. It focuses on the "flow" of information through two types of relations:

  • Intra-layer Relation: Captures how pixels within a single layer relate to one another, preserving spatial patterns.
  • Inter-layer Relation: Models how these spatial relationships evolve as data moves from deep to shallow layers.

By mimicking this evolution, the student learns the high-level logic the teacher uses to abstract information, which is particularly effective for identifying small, repetitive targets in complex RS backgrounds.

Experimental Results

We evaluated OnKL Net on the RSOC and STAR datasets. The results demonstrate that high accuracy does not require massive models:

  • Efficiency: OnKL Net uses only 0.76M parameters, a massive reduction compared to the standard P2PNet's 19.2M.
  • Speed: It achieves an inference speed of 319.9 FPS on an NVIDIA RTX 3090, nearly 4x faster than the baseline P2PNet (88.6 FPS).
  • Training Time: The online approach reduced training time by approximately 40% compared to traditional two-stage distillation.
  • Accuracy: On the RSOC "Large-vehicle" dataset, OnKL Net achieved a Mean Absolute Error (MAE) of 12.27, significantly outperforming the two-stage distillation baseline (MAE 21.97).

Conclusion

OnKL Net provides a highly efficient solution for remote sensing object counting by training teacher and student branches simultaneously. This online approach allows the student to tap into the teacher's latent reservoir of knowledge during the learning process. Future work will explore using Neural Architecture Search (NAS) to further optimize the student structure and extending the framework to other tasks like change detection.

Summary updated

Abstract

Efficient models for remote sensing object counting are urgently required for applications in scenarios with limited computing resources, such as drones or embedded systems. A straightforward yet powerful technique to achieve this is knowledge distillation, which steers the learning of student networks by leveraging the experience of already-trained teacher networks. However, it faces a pair of challenges: Firstly, due to its two-stage training nature, a longer training period is essential, especially as the training samples increase. Secondly, despite the proficiency of teacher networks in transmitting assimilated knowledge, they tend to overlook the latent insights gained during their learning process. To address these challenges, we introduce an online distillation learning method for remote sensing object counting. It builds an end-to-end training framework that seamlessly integrates two distinct networks into a unified one. It comprises a shared shallow module, a teacher branch, and a student branch. The shared module serving as the foundation for both branches is dedicated to learning some primitive information. The teacher branch utilizes prior knowledge to reduce the difficulty of learning and guides the student branch in online learning. In parallel, the student branch achieves parameter reduction and rapid inference capabilities by means of channel reduction. This design empowers the student branch not only to receive privileged insights from the teacher branch but also to tap into the latent reservoir of knowledge held by the teacher branch during the learning process. Moreover, we propose a relation-in-relation distillation method that allows the student branch to effectively comprehend the evolution of the relationship of intra-layer teacher features among different inter-layer features. Extensive experiments demonstrate the effectiveness of our method.
BibTeX
@misc{jiang2023remote,
  author = {Shengqin Jiang and Bowen Li and Fengna Cheng and Qingshan Liu and Hang, Renlong and Liu, Qingshan},
  title = {{Remote Sensing Object Counting with Online Knowledge Learning}},
  year = {2023},
  eprint = {2303.10318},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2303.10318},
}
Figure