There and Back Again: Self-supervised Multispectral Correspondence Estimation

Celyn Walters, Oscar Mendez Maldonado, Mark Johnson, Richard Bowden

TL;DR

This paper introduces a spectrum-agnostic, self-supervised framework for finding dense correspondences (matching pixels) between images of different spectra, such as RGB, Near-Infrared (NIR), and Far-Infrared (FIR). By utilizing a novel cycle-consistency loss and separate encoders for different modalities, the authors achieve state-of-the-art self-supervised results across multiple spectral pairs without requiring expensive ground-truth annotations.

What Problem Does This Paper Address?

In computer vision, "correspondence estimation" is the task of identifying which pixel in Image A represents the same point in the physical world as a pixel in Image B. While this is well-studied for standard color (RGB) images, it becomes significantly harder when the images come from different sensors (e.g., a standard camera vs. a thermal camera).

The core challenges are:

  1. Lack of Photometric Consistency: Standard algorithms assume that a point in the world has the same brightness/color in both images. In multispectral imaging, this is false—a hot car might be bright white in thermal (FIR) but dark blue in RGB.
  2. Data Scarcity: Dense ground-truth data (knowing exactly where every pixel moves) is incredibly difficult to obtain for cross-spectral pairs. Human annotators struggle to recognize objects in thermal images, and precision equipment like laser scanners is expensive.
  3. Domain Specificity: Most existing solutions are "hard-coded" for a specific pair (like RGB-NIR) and don't generalize to others.

Methods

The authors propose a "spectrum-agnostic" approach based on a dual-spectrum Siamese-like architecture.

The Architecture

The model builds on PWC-Net, a popular optical flow network, but introduces a critical modification: separate encoders. Because RGB and FIR look so different, the network uses different "arms" to extract features from each spectrum. However, these arms feed into a shared decoder, forcing the network to find a common structural representation that works for both.

The "There and Back Again" (Cycle-Consistency) Loss

To train without ground truth, the authors use a cycle-consistency strategy:

  1. Forward: Warp Image A to align with Image B's viewpoint.
  2. Backward: Warp that result back to Image A's original viewpoint.
  3. Loss: If the correspondence is accurate, the final "reconstructed" Image A should be identical to the original.

Spectrum-Agnostic Losses

Since they can't compare pixel values directly across spectra, they use several clever loss functions:

  • Perceptual Feature Loss: Instead of comparing pixels, they compare high-level features extracted by a pre-trained network (VGG). This focuses on structure (edges, shapes) rather than appearance (color, heat).
  • Bidirectional Flow-Field Loss: Ensures that the "forward" flow and "backward" flow are mathematically consistent with one another.
  • Smoothing & Regularization: Prevents the model from generating "noisy" flow fields or warping pixels into impossible configurations.

Datasets

The model was evaluated on three distinct scenarios:

  1. VAP Dataset (RGB-FIR): A challenging dataset containing visible and thermal images of people. Since no dense ground truth exists, the authors used human body segmentation masks as a proxy for evaluation.
  2. PittsStereo (RGB-NIR): An automotive dataset used to test the model's ability to handle Near-Infrared light, which is closer to the visible spectrum but still distinct.
  3. KITTI 2015 (RGB-RGB): A standard benchmark for optical flow. This was used to prove that the "spectrum-agnostic" design doesn't sacrifice performance on standard tasks.

Key Insights and Ideas

  • Structure over Appearance: The "aha moment" is that while pixel values change across spectra, the underlying geometry of the scene does not. By using perceptual losses and separate encoders, the model learns to ignore "how it looks" and focus on "where it is."
  • Self-Supervision is Scalable: By removing the need for ground truth, the system can theoretically be trained on any pair of synchronized multispectral cameras, allowing for massive increases in training data.
  • Generalization: The same unmodified network architecture outperformed specialized models across three different spectral combinations (RGB-RGB, RGB-NIR, and RGB-FIR).

Key Results

  • RGB-FIR: The model significantly outperformed the PWC-Net baseline and other unsupervised methods in aligning segmentation masks, proving it can handle the massive appearance gap between thermal and visible light.
  • RGB-NIR: On the PittsStereo dataset, the model achieved a Mean RMSE of 1.08, which is competitive with state-of-the-art supervised methods that require ground truth.
  • RGB-RGB: On the KITTI 2015 benchmark, the model achieved an Average End-Point Error (AEE) of 4.53, the lowest error among all compared self-supervised approaches (beating others like UnFlow and Janai et al.).

Limitations and Future Work

The authors note that while the model is robust, it can still be susceptible to the "trivial solution" (predicting zero flow), though their feature loss largely mitigates this. Additionally, FIR sensors often have lower resolution and more noise at image boundaries, which can degrade the quality of the warped images and, consequently, the evaluation scores.

Future work could involve incorporating explicit occlusion reasoning (handling objects that appear in one view but are blocked in the other) to further refine the flow fields in complex urban environments.

Summary updated

BibTeX
@inproceedings{walters2021there,
  author = {Celyn Walters and Oscar Mendez Maldonado and Mark Johnson and Richard Bowden},
  title = {{There and Back Again: Self-supervised Multispectral Correspondence Estimation}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2021},
  url = {https://openreview.net/forum?id=FY2p0_ehSkJ},
}

Loading related content...

Figure