MINIMA: Modality Invariant Image Matching

Jiangwei Ren, Xingyu Jiang, Zizhuo Li, Dingkang Liang, Xin Zhou, Xiang Bai

Introduction

Image matching—the process of finding pixel-level correspondences between two views—is a cornerstone of computer vision. While RGB-to-RGB matching has seen massive leaps thanks to deep learning, cross-modal matching (e.g., matching an Infrared image to an RGB photo) remains a significant challenge.

The primary hurdle is the modality gap: different sensors represent the same scene using vastly different pixel intensities, gradients, and noise patterns. Historically, researchers tried to solve this by designing "modality-invariant" features or training on specialized datasets. However, these datasets are difficult to collect, requiring perfectly aligned sensors and expensive manual labeling. Consequently, existing models often fail to generalize when faced with new environments or sensor types.

Methodology: The MINIMA Framework

The core philosophy of MINIMA is that data scaling beats architectural complexity. Instead of inventing a new matching module, the authors focus on building a massive, high-quality synthetic dataset called MD-syn.

The MINIMA framework: A generative data engine creates pseudo-modalities from source RGB data to fine-tune standard matching models in a two-stage process.

The Data Engine

The authors developed a "data engine" that takes existing, large-scale RGB datasets (like MegaDepth) and uses generative models to create "pseudo-modalities":

  • Infrared: Generated using StyleBooth fine-tuned with LoRA on real RGB-IR pairs.
  • Depth/Normal: Generated using DepthAnything V2 and DSINE.
  • Event: Simulated using log-photocurrent changes to mimic event-based cameras.
  • Artistic Styles: Oil painting and sketch styles are added to increase visual diversity.

Because these pseudo-modalities are generated from existing RGB data, they "inherit" perfect ground-truth labels (camera poses and depth maps) for free, bypassing the traditional labeling bottleneck.

Training Pipeline

The training happens in two stages:

  1. Stage 1 (Pre-train): Train a standard matching model (like LightGlue, LoFTR, or RoMa) on multi-view RGB data.
  2. Stage 2 (Fine-tune): Fine-tune the model on randomly selected cross-modal pairs from the MD-syn dataset.

Experimental Results

The authors evaluated MINIMA on a wide battery of real-world datasets, including METU-VisTIR (RGB-IR), DIODE (RGB-Depth), and DSEC (RGB-Event), as well as zero-shot testing on Remote Sensing (SAR, Maps) and Medical (Retina, MRI) domains.

Quantitative comparison: MINIMA variants achieve superior accuracy across diverse modalities (left) while maintaining competitive inference speeds (right).

Key Findings

  • Accuracy Boost: On the real RGB-IR (METU-VisTIR) dataset, MINIMA-LightGlue increased the Area Under the Curve (AUC) of pose estimation by over 400% compared to the original version.
  • State-of-the-Art Performance: MINIMA-RoMa (the dense version) achieved an AUC@10° of 60.70% on RGB-IR, significantly outperforming XoFTR (34.64%), which was specifically designed for that task.
  • Universal Generalization: Surprisingly, a model trained on synthetic IR, Depth, and Normal maps generalizes remarkably well to completely unseen modalities like SAR (Synthetic Aperture Radar) and medical scans. This suggests that learning to ignore specific intensity shifts helps the model ignore intensity shifts in general.

Conclusion

MINIMA demonstrates that existing SOTA matchers are already powerful enough to handle cross-modality; they simply lacked the right data to learn invariance. While generative "pseudo-modalities" aren't perfect—there is still a slight domain gap between generated and raw sensor outputs—the scale of the MD-syn dataset (480 million pairs) provides a robust foundation for multi-modal vision tasks. Future work may involve expanding the data engine to exotic sensors like LiDAR or integrating more physics-based simulations.

Summary updated

BibTeX
@inproceedings{ren2025minima,
  author = {Jiangwei Ren and Xingyu Jiang and Zizhuo Li and Dingkang Liang and Xin Zhou and Xiang Bai},
  title = {{MINIMA: Modality Invariant Image Matching}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  doi = {10.1109/cvpr52734.2025.02147},
}
Figure