Learning to Exploit Multiple Vision Modalities by Using Grafted Networks

Yuhuang Hu, Tobi Delbruck, Shih-Chii Liu

Abstract

Deep learning models for computer vision typically require massive labeled datasets, which are often unavailable for specialized sensors like thermal or event-based cameras. This paper presents the Network Grafting Algorithm (NGA), a self-supervised method that adapts pretrained RGB models to new modalities by replacing their "front-end" layers. By matching feature distributions between synchronized sensor streams, NGA achieves high-performance object detection with minimal training time and no manual labels for the target modality.

Introduction

The success of deep learning in computer vision is largely predicated on the availability of massive, manually labeled datasets such as COCO or ImageNet. However, for "novel" sensors—including thermal, hyperspectral, or event-based cameras—such datasets are scarce. Event cameras, for instance, offer high dynamic range and temporal resolution by outputting asynchronous brightness changes rather than standard frames. Integrating these sensors into existing deep learning frameworks typically requires either extensive manual labeling or computationally expensive reconstruction algorithms.

Conceptual overview of the Network Grafting Algorithm (NGA) replacing the front end of a pretrained network to accommodate event-based data.

The authors propose the Network Grafting Algorithm (NGA) to address this "data hunger." The core hypothesis is that the high-level "intelligence" of a model trained on standard images can be reused by simply adapting its "eyes"—the front-end layers—to a new modality.

Methodology: The Network Grafting Algorithm

NGA implements a "front-end transplant" through a multi-stage process. First, a pretrained network (e.g., YOLOv3) is partitioned into three segments: a front end, a middle network, and the remaining layers. The original RGB front end is discarded and replaced with a new, untrained Grafted Network (GN) front end tailored to the target sensor's data format (e.g., event volumes or thermal frames).

Self-Supervised Feature Matching

Training the GN front end does not require manual labels. Instead, it utilizes synchronized recordings where a standard camera and the novel sensor capture the same scene. The training objective is to align the features produced by the GN front end with those that the original pretrained front end would have generated from the corresponding RGB image.

Detailed training pipeline of NGA, illustrating the use of feature reconstruction, style, and evaluation losses to align the grafted front end with the pretrained backbone.

As shown in the figure above, the optimization relies on three distinct loss functions:

  1. Feature Reconstruction Loss ($L_{recon}$): Measures the direct pixel-wise similarity between feature maps.
  2. Feature Evaluation Loss ($L_{eval}$): Assesses similarity after features pass through the middle layers, ensuring the backbone can process the new input.
  3. Feature Style Loss ($L_{style}$): Employs Gram matrices to ensure the statistical distribution and "texture" of the features match the original modality's characteristics.

Experimental Results

The researchers evaluated NGA across thermal and event-based domains using the FLIR Thermal Dataset, the Multi Vehicle Stereo Event Camera (MVSEC) dataset, and N-MNIST.

Performance and Efficiency

  • Thermal Detection: On the FLIR dataset, the grafted network achieved an $AP_{50}$ of 45.27, significantly outperforming the original RGB network (30.36) in challenging night scenes.
  • Event-Based Detection: On MVSEC, the grafted network reached an $AP_{50}$ of 70.35, nearly matching the performance of the original network (73.53) trained on high-quality intensity frames.
  • Training Efficiency: Because only the front-end parameters (approx. 5-8% of the total) are updated, training is exceptionally fast. NGA required only 1.5 hours on a single GPU, compared to the approximately 48 hours required for full supervised training.

Key Insights

The authors found that the depth of the graft is critical; deeper front-end replacements (the "S3" variant) provided superior results by offering more capacity for modality translation. Furthermore, visualization of the grafted features revealed that the GN front end successfully captured details in dark or overexposed regions that were invisible to the standard RGB camera.

Conclusion

NGA provides a robust framework for extending the utility of pretrained vision models to unconventional sensors without the need for massive labeled datasets. While the method requires synchronized data for training, its extreme efficiency and high performance make it a compelling alternative to traditional supervised learning or image reconstruction techniques. Future work may explore applying NGA to hyperspectral or polarization imaging.

Summary updated

BibTeX
@inproceedings{hu2020learning,
  author = {Yuhuang Hu and Tobi Delbruck and Shih-Chii Liu},
  title = {{Learning to Exploit Multiple Vision Modalities by Using Grafted Networks}},
  booktitle = {European Conference on Computer Vision},
  year = {2020},
  doi = {10.1007/978-3-030-58517-4\_6},
}
Figure