GridOT -- a discrete optimal transport solver on grids
Johannes Rauch, Leo Zanotti
TL;DR
The paper addresses discrete optimal transport on grids with the squared Euclidean cost, a problem relevant to image processing. It introduces a high-performance C++ implementation of Schmitzer's sparse multi-scale solver, leveraging a modified network simplex from the LEMON library and internal neighborhood updates to avoid restarts. The main contributions are a memory-safe, template-based design that achieves roughly 2–4× speedups on the DOTmark benchmark and an open-source release. This work demonstrates practical gains for grid-based OT and provides a foundation for extending sparse, multi-scale techniques to other geometries and cost functions.
Abstract
We provide an improved implementation of Schmitzer's sparse multi-scale algorithm for discrete optimal transport on grids. We report roughly 2-4 times faster runtimes on the DOTmark benchmark. The source code is open source and publicly available.
