Guojun Zhang,
Zhexuan Gu,
Yancheng Yuan, Defeng SunContact: {guojun.zhang, zhexuan.gu}@connect.polyu.hk, {yancheng.yuan, defeng.sun}@polyu.edu.hk
Find the open-source solver at https://github.com/PolyU-IOR/HOT
HOT is designed to solve the reduced 2D optimal transport model which can be formulated as a standard linear programming problem:
The HOT solver runs fast! 😊
Apart from the high computational efficiency, HOT also enjoys a significant advantage in memory usage compared to most other popular algorithms. 😄
We provide an example here to demonstrate the usage of the HOT solver. For computing Kantorovich-Wasserstein distance between two images, you only have to specify the image paths and desired resolutions.
We provide a notebook color_transfer.ipynb to demonstrate the usage of the HOT solver in color transfer. Some examples are shown below
@article{zhang2025hot,
title={HOT: An efficient Halpern accelerating algorithm for optimal transport problems},
author={Zhang, Guojun and Gu, Zhexuan and Yuan, Yancheng and Sun, Defeng},
journal={IEEE Transactions on Pattern Analysis and Machine Intelligence},
year={2025},
publisher={IEEE}
}