PINS: Proximal Iterations with Sparse Newton and Sinkhorn for Optimal Transport

Di Wu, Ling Liang, Haizhao YangarXiv 2025 · DOI

Abstract

Optimal Transport (OT) is a fundamental tool in machine learning, yet its computational cost remains a significant barrier for large-scale applications. We introduce PINS (Proximal Iterations with Sparse Newton and Sinkhorn), a framework that achieves near-exact accuracy with high efficiency. PINS combines the stability of the Sinkhorn algorithm with the second-order convergence of a sparsified Newton’s method, all nested within an entropic proximal point loop. Our approach achieves up to 100x speedups over traditional methods and maintains numerical stability even at high precision levels ($10^{-10}$), effectively breaking the precision-stability trade-off inherent in entropic regularization.

Introduction

Optimal Transport (OT) involves finding the most efficient way to move mass between distributions. While powerful for tasks like generative modeling and domain adaptation, exact OT solutions via Linear Programming scale poorly ($O(n^6)$ per iteration). Entropic regularization, popularized by the Sinkhorn algorithm, offers a faster alternative by adding a blurring term ($\eta$). However, this introduces a trade-off: high accuracy requires a small $\eta$, which leads to numerical instability or extremely slow convergence. PINS addresses this by providing a robust, second-order optimization framework that converges to exact solutions efficiently.

The PINS Framework

The PINS algorithm utilizes a nested strategy to optimize performance and stability:

  1. Outer Loop (EPPA): The Entropic Proximal Point Algorithm (EPPA) decomposes the primary OT problem into a sequence of easier, regularized subproblems. This iterative process ensures convergence to the exact OT solution without requiring the dangerously small regularization parameters that destabilize standard Sinkhorn.
  2. Two-Phase Subproblem Solver:
    • Phase 1 (Sinkhorn Warm-up): Initial Sinkhorn iterations quickly move the solution into a favorable neighborhood.
  3. Phase 2 (Sparse Newton Refinement): Once the solution is sufficiently close, the algorithm switches to a Newton’s method. To maintain efficiency, the Hessian matrix is "sparsified" by zeroing out negligible entries, significantly reducing the computational cost of the linear system solve via Conjugate Gradient.
  4. Theoretical Robustness: The authors prove that this sparsification maintains global convergence, aligning the algorithm's computational complexity with the natural sparsity of optimal transport plans.

Experimental Evaluation

PINS was benchmarked against synthetic and real-world datasets:

  • Synthetic Data: Random cost matrices of sizes up to $400 \times 400$.
  • MNIST & Augmented MNIST: Transporting mass between handwritten digit images. The "Augmented" version tiles multiple images into a grid, creating large-scale problems with zero-intensity regions that typically challenge OT solvers.

Key Results

PINS demonstrates significant improvements in both accuracy and speed compared to existing baselines.

Convergence of PINS vs. Newton-accelerated methods on MNIST datasets.

As shown in Figure 4, PINS consistently reaches lower error levels (down to $10^{-10}$) compared to Newton-accelerated methods without the proximal loop, which often plateau or become unstable around $10^{-5}$. This highlights the importance of the EPPA framework in achieving high precision.

Performance comparison on synthetic datasets of varying dimensions.

On synthetic benchmarks (Figure 5), PINS exhibits similar dominance, maintaining stability across various problem sizes. Notably, on the "Augmented MNIST 16" dataset, PINS achieved a 100x speedup, completing in 425 seconds compared to nearly 59,000 seconds for the standard Sinkhorn-with-EPPA approach.

Discussion and Conclusion

The success of PINS stems from its ability to break the precision-stability trade-off. By using Sinkhorn as a "pre-conditioner" for a sparsified Newton method, it leverages second-order speed without the typical memory and stability penalties. While PINS requires some hyperparameter tuning (e.g., the sparsification threshold), its robustness across regularization parameters makes it a superior choice for high-precision OT. Future work may extend these techniques to semi-discrete or continuous OT settings.

Summary updated

BibTeX
@misc{wu2025pins,
  author = {Di Wu and Ling Liang and Haizhao Yang},
  title = {{PINS: Proximal Iterations with Sparse Newton and Sinkhorn for Optimal Transport}},
  year = {2025},
  eprint = {2502.03749},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2502.03749},
}
Figure