Taming Flow Matching with Unbalanced Optimal Transport into Fast Pansharpening
Zihan Cao, Yu Zhong, Liang-Jian Deng
TL;DR
This work introduces Optimal Transport Flow Matching (OTFM), which leverages a regularized unbalanced optimal transport (UOT) formulation within a flow-matching framework to enable one-step, diffusion-free pansharpening. By relaxing marginal constraints via UOT and incorporating task-specific regularization, the model achieves high-quality fusion from PAN and LRMS data with simulation-free training and a single inference step. The approach yields competitive or superior results compared with state-of-the-art diffusion-based and regression-based methods across multiple datasets, while delivering substantially lower latency. The combination of a mapping network and a potential network enables stable training and robust generalization, facilitating practical deployment for real-time remote sensing pansharpening tasks.
Abstract
Pansharpening, a pivotal task in remote sensing for fusing high-resolution panchromatic and multispectral imagery, has garnered significant research interest. Recent advancements employing diffusion models based on stochastic differential equations (SDEs) have demonstrated state-of-the-art performance. However, the inherent multi-step sampling process of SDEs imposes substantial computational overhead, hindering practical deployment. While existing methods adopt efficient samplers, knowledge distillation, or retraining to reduce sampling steps (e.g., from 1,000 to fewer steps), such approaches often compromise fusion quality. In this work, we propose the Optimal Transport Flow Matching (OTFM) framework, which integrates the dual formulation of unbalanced optimal transport (UOT) to achieve one-step, high-quality pansharpening. Unlike conventional OT formulations that enforce rigid distribution alignment, UOT relaxes marginal constraints to enhance modeling flexibility, accommodating the intrinsic spectral and spatial disparities in remote sensing data. Furthermore, we incorporate task-specific regularization into the UOT objective, enhancing the robustness of the flow model. The OTFM framework enables simulation-free training and single-step inference while maintaining strict adherence to pansharpening constraints. Experimental evaluations across multiple datasets demonstrate that OTFM matches or exceeds the performance of previous regression-based models and leading diffusion-based methods while only needing one sampling step. Codes are available at https://github.com/294coder/PAN-OTFM.
