Not All Patches are Equal: Sampling Matters for Visible-Infrared Pre-Training

· Source: cs.CV updates on arXiv.org · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Robotics & Autonomous Systems · Depth: Expert, extended

Summary

Visible-infrared (VIS-IR) alignment is a key pre-training task for robust multi-sensor perception. Existing methods often use uniform patch-wise contrastive learning, which is unreliable due to imaging-physics differences making some spatially paired regions less comparable. This paper introduces Importance-Aware Sampling (IAS), a plug-and-play framework that adjusts training emphasis based on patch reliability. IAS derives patch weights from infrared structural cues, learns a soft importance mask (optionally warm-started), and employs a patch curriculum learning strategy. It is compatible with both patch-/correlation-level (UNIV-style) and image-level (ImageBind-style) contrastive baselines. Extensive experiments on multiple VIS-IR benchmarks, including IR semantic segmentation, IR object detection, VIS semantic segmentation, and cross-modal retrieval, demonstrate consistent improvements. For example, IAS (UNIV-style) achieved 52.32% mIoU on MFNet, 72.23% on SCUTSEG, and 75.85% on MSRS, improving over UNIV† by 1.18, 2.58, and 0.37 points, respectively. The learnable variant adds only 0.107M parameters and 0.0418 GFLOPs.

Key takeaway

For Machine Learning Engineers designing visible-infrared pre-training pipelines, you should integrate Importance-Aware Sampling (IAS) to enhance representation learning. Uniform patch sampling introduces noisy gradients from unreliable regions, hindering model performance. By weighting patches based on their structural importance, your models will achieve more stable optimization and superior transferability across tasks like semantic segmentation and object detection. Consider implementing a learnable sampling module with a Sobel-guided warm-up for adaptive importance refinement.

Key insights

Not all VIS-IR patches are equally alignable, and weighting them by importance improves representation learning.

Principles

Method

Importance-Aware Sampling (IAS) derives patch weights from infrared structural cues, optionally learns a soft importance mask with a lightweight sampler (warm-started), and uses a patch curriculum to gradually expand from high-reliability to harder patches, reweighting contrastive loss objectives.

In practice

Topics

Code references

Best for: Research Scientist, AI Scientist, Machine Learning Engineer, Computer Vision Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by cs.CV updates on arXiv.org.