[Paper Review] Efficient algorithms computing distances between Radon measures on R
This paper presents efficient algorithms for computing Wasserstein-type distances between Radon measures on ℝ, with a focus on the flat metric (bounded Lipschitz distance). It introduces an O(n log n) algorithm for the flat metric—critical for validating the Escalator Boxcar Train (EBT) method in transport equations—by leveraging balanced binary search trees to optimize performance over O(n²) approaches.
In this paper numerical methods of computing distances between two Radon measures on R are discussed. Efficient algorithms for Wasserstein-type metrics are provided. In particular, we propose a novel algorithm to compute the flat metric (bounded Lipschitz distance) with a computational cost O(nlogn). The flat distance has recently proven to be adequate for the Escalator Boxcar Train (EBT) method for solving transport equations with growth terms. Therefore, finding efficient numerical algorithms to compute the flat distance between two measures is important for finding the residual error and validating empirical convergence of different methods.
Motivation & Objective
- Develop computationally efficient numerical methods for measuring distances between Radon measures, especially in problems with mass growth where standard Wasserstein metrics fail.
- Address the computational bottleneck of linear programming for metric computation by proposing optimized algorithms tailored to discrete measures composed of Dirac deltas.
- Provide a practical and scalable solution for computing the flat metric, which has been shown to be essential for convergence analysis in the Escalator Boxcar Train (EBT) method.
- Introduce and analyze a normalized Wasserstein distance to handle non-conservative processes, extending applicability beyond mass-conserving systems.
- Optimize algorithmic complexity from O(n²) to O(n log n) using balanced binary search trees while maintaining correctness and numerical stability.
Proposed method
- Formulate the flat metric as a dual optimization problem over 1-Lipschitz functions, enabling reformulation into a minimum-cost flow problem.
- Represent the measure difference as a sequence of point masses with signed weights, using a data structure (funcDescription) to track cumulative fluxes and positions.
- Implement an O(n²) algorithm using array-based operations to maintain and update the funcDescription structure during iterative processing of mass points.
- Optimize the algorithm to O(n log n) by replacing arrays with balanced binary search trees (BSTs), enabling efficient insertion, deletion, and search operations.
- Use a global p_modifier to track cumulative shifts in the function space, reducing per-iteration computation costs.
- Validate performance via numerical benchmarks on randomly distributed Dirac deltas over [−1, 1], comparing O(n²) and O(n log n) variants.
Experimental results
Research questions
- RQ1Can the flat metric between two Radon measures be computed more efficiently than via general linear programming?
- RQ2What is the computational complexity of computing the flat metric for discrete measures composed of Dirac deltas, and can it be reduced below O(n²)?
- RQ3How does the choice of data structure (array vs. balanced BST) affect the runtime performance of flat metric computation in practice?
- RQ4To what extent does the structure of input data (e.g., clustered vs. uniformly spaced points) influence the performance of the proposed algorithms?
- RQ5Can the normalized Wasserstein distance provide a stable and computationally feasible alternative to standard Wasserstein metrics in non-conservative transport models?
Key findings
- The proposed O(n log n) algorithm for the flat metric achieves significantly better asymptotic complexity than the O(n²) baseline, especially for large n.
- Numerical experiments show that the O(n log n) algorithm outperforms the O(n²) version on dense, clustered inputs, where the BST structure remains balanced and efficient.
- On sparse inputs with inter-point distances > 2, both algorithms behave nearly linearly, but the O(n log n) version incurs higher overhead due to BST operations.
- The flat metric computation cost is reduced from O(n²) to O(n log n) by using balanced binary search trees to maintain the funcDescription data structure.
- The normalized Wasserstein distance is proven to be a valid metric and provides a viable alternative for non-conservative systems.
- The flat metric is shown to be essential for residual error estimation in the EBT method, justifying the development of efficient computation tools.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.