- Rating
- 4
- Clarity
- 3
- Confidence
- 4
- Originality
- 3
- Quality
- 2
- Significance
- 2
Read review
Summary
The paper proposes a more efficient implementation of an entropy-regularized Optimal Transport (EOT). It features the following ideas.
(1) Sparsify the Hessian by first setting small entries of matrix to zero and then renormalizing .
(2) In the beginning of each outer iteration run several steps of the Sinkhorn algorithm, and use the output as a warm-start for the subsequent Newton step in inner iterations.
(3) Use a criterion from [55] for determining when to stop inner iterations.
The paper provides a theoretical analysis of convergence. Experimental results show an improvement over previous implementations of EOT.
Strengths and weaknesses
Strengths:
-
An improvement over previous implementations of EOT shown in the experimental section looks convincing.
-
Good reproducibility due to the provided Python implementation.
Weaknesses:
(1) The paper does not compare with combinatorial algorithms for Optimal Transport. The introduction says "Classical solvers for large-scale linear programs, such as interior-point methods [33] or network simplex methods [13], scale poorly and become too expensive when applied to high-dimensional datasets". However, no evidence is provided to support this claim. On the contrary, a recent paper "A Study of Performance of Optimal Transport" ( https://arxiv.org/abs/2005.01182 ) concluded the following:
"... combinatorial methods such as network simplex and augmenting path based algorithms can consistently outperform numerical matrix-scaling based methods such as Sinkhorn [Cuturi'13] and Greenkhorn [Altschuler et al'17], even in low accuracy regimes, with up to orders of magnitude speedups. "
Furthermore, a recent survey [10] writes that "A state-of-the-art general purpose solver is the Network Simplex of the LEMON C++ library [DJK11] adapted by Bonneel et al. [BvdPPH11] and found at https://github.com/nbonneel/network_simplex."
I tried the code https://github.com/nbonneel/network_simplex on a synthetic instance generated as described in Sec. 5.1 of the the submission with uniform weights (details are below). The runtime was roughly 0.1 seconds for n=m=1000, and 15 seconds for n=m=10000 (to solve the problem exactly). This time would correspond to the very beginning of the plots in Fig. 1.
For these reasons I believe that any paper on Optimal Transport should include a comparison with combinatorial algorithms. It can be debated how to compare exact algorithms with approximate algorithms. But in any case, the interesting regime is when the time is smaller than the runtime of an exact solver, which would correspond to the very beginning of the plots shown in the paper (at least for one instance). It appears that IBSN is not always the fastest in the beginning, e.g. IBSink often makes larger progress initially.
It might also be possible to stop the network simplex algorithm in the middle. It works with feasible flows, so one could measure the difference between the cost of the current solution and the optimal cost.
Codes of combinatorial algorithms are usually written in C++, while the author's implementation is in Python. To be competitive, the authors may need to optimize their code, possibly by rewriting it in C++.
(2) There may be a potential issue with the theoretical analysis (see comments below).
====
Details of my experiment
I used int64_t for "supply_type" in https://github.com/nbonneel/network_simplex . (Using 'double' was problematic since then the sum of supplies and demands was not always zero numerically, and so the code could output "INFEASIBLE"). I sampled marginals distributions from the uniform distribution on (0,1), then multiplied by a constant, rounded to integers and added a perturbation to make sure that the sum is 10000000. I ran the code on a standard laptop using 1 core (which was actually faster than with multiple cores).
Questions
-
Please address a comparison with combinatorial algorithms.
-
Step 8 of Algorithm 2 requires solving a linear system. It was not clear to me how this step is implemented. After several readings, it appears to me that the theoretical analysis assumes that this system is solved exactly while the actual implementation solves it approximately using a conjugate gradient method. Is it true? Then there is a mismatch between the analysis and the implementation, which should be highlighted.
Minor comments:
-
line 229: why is ? I think you do not need this assumption to get a bound.
-
line 278: "distance between grid coordinates". These coordinates have not been defined before, I think.
Limitations
yes
Paper formatting concerns
No concerns.
Final justification
My two main concerns were a missing comparison with combinatorial solvers and a mismatch between theory and implementation. The rebuttal addressed both points.
As the authors remark, neither IBSN nor network simplex dominates the other method. In particular, IBSN seem to perform better on some unbalanced problems. Furthermore, IBSN works completely differently from network simplex, and may be appealing since (1) it may be faster if we are interested in an approximate solutions, and (2) it may have a larger potential for parallelization.
The authors also promised to highlight the mismatch between the analysis and implementation.
I therefore have changed my rating to "bordeline accept".
Weakness 1
Thank you for this important comment. We agree that our original statement about classical LP and network simplex solvers was too broad. Following the reviewer’s suggestion, we implemented IBSN in C++ and compared it with the Bonneel/LEMON network simplex implementation on synthetic instances with a Uniform cost matrix.
The results are summarized below.
On these instances, IBSN reaches a comparable high-accuracy solution and is faster than the tested network simplex implementation, although the magnitude of the runtime advantage varies across problem sizes. The results also suggest that the relative performance may depend on the dimensions and aspect ratio of the transport problem. A more systematic study of the regimes in which sparse Newton methods or combinatorial methods are preferable is an interesting direction for future work.
We emphasize that our current C++ implementation has not yet been extensively optimized, whereas the network simplex code is a mature implementation. Further improvements in memory management, sparse matrix operations, and parallelization may therefore improve the performance of IBSN.
We will add this comparison to the revised manuscript and replace the broad claim that network simplex methods necessarily scale poorly. Instead, we will state that highly optimized combinatorial solvers can be very competitive, while IBSN also demonstrates competitive performance on some OT instances.
Finally, our main contribution is not a claim of universal superiority over combinatorial solvers. IBSN provides a new semi-dual sparse Newton realization of the inexact Bregman proximal framework, including a Hessian sparsification strategy tailored to the covariance-like semi-dual Hessian, corresponding spectral and approximation guarantees, and convergence guarantees for both the inner Newton iterations and the overall method. Further details on these contributions are provided in our response to Reviewer Utdj, Weakness 1.
Weakness 2
Thank you for pointing out this mismatch. Step 8 of Algorithm 2 requires solving the linear system
(Hρk,v+∣∣gk,v∣∣I)Δγk,v=−gk,v.
When ∣∣gk,v∣∣>0, the coefficient matrix is symmetric positive definite, and we solve this system using the conjugate gradient (CG) method. In exact arithmetic, CG obtains the exact solution in at most n iterations, where n is the dimension of the coefficient matrix.
Our current theoretical analysis assumes that this linear system is solved exactly. In the numerical implementation, however, running CG for up to n iterations would be prohibitively expensive for large-scale problems, so CG is terminated at a prescribed tolerance and the Newton direction is computed only approximately. Therefore, the reviewer is correct that there is a gap between the theoretical analysis and the practical implementation.
We made this assumption to keep the convergence analysis focused on the effects of the semi-dual formulation and Hessian sparsification. For the computational complexity discussion, we explicitly account for the approximate CG solve through the standard bound
O(κlog(1/ϵcg)),
where κ is the condition number of the coefficient matrix and ϵcg is the CG tolerance. We will clearly state this theoretical–implementation gap in the revised manuscript and list the analysis of inexact Newton directions as a limitation and direction for future work.
Minor comments:
We agree that the assumption l≪n is not needed to derive the O(ln) cost. The condition l≪n is only intended to indicate that this cost is substantially lower than the O(n2) cost in the dense case. We will revise the corresponding sentence accordingly.
We agree that the grid coordinates were not explicitly defined. In the revised manuscript, we will define the grid points used to construct the Square cost matrix and write Cij=∣∣ui−vj∣∣22, where ui and vj denote the corresponding grid coordinates.