arXiv Science⌕ Search

arXiv · 2612.03176

Computing the Algebraic Wasserstein Mean on Upper Triangular Matrices

Abstract

For real upper triangular matrices with positive diagonal, we solve the algebraic equation for the Bures--Wasserstein mean by eliminating one superdiagonal at a time. The diagonal of the mean is explicit. At each subsequent entry the equation is linear in the unknown, with a strictly positive coefficient even when diagonal entries coincide. For nonnegative weights of sum one, the recursion proves existence, uniqueness, and real-analytic dependence on the inputs and weights, and gives an algorithm that computes the mean of $m$ matrices of order $n$ in $O(mn^3)$ operations and $O(mn^2)$ storage. The computed square roots also serve in a linearized solve of the same complexity and in the construction of explicit input perturbations for which a computed mean is exact. We give a local a posteriori bound for the forward error. Two alternatives to elimination, the Picard and projection iterations, converge from every starting matrix in the group. Their derivative spectra depend only on the weights and the input diagonals. The projection iteration has strictly smaller spectral radius and terminates in finitely many steps when the diagonals of the positive-weight inputs are proportional. In contrast, the error associated with a small residual can grow with the off-diagonal entries even when both spectra stay fixed.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Huajun Huang, Sejong Kim. 2026-12-02. Computing the Algebraic Wasserstein Mean on Upper Triangular Matrices. https://arxiv.science/abs/2612.03176

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite arXiv Science by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

Multiscaling in Wasserstein Spaces

We present a novel multiscale framework for analyzing sequences of probability measures in Wasserstein spaces over Euclidean domains. Exploiting the intrinsic geometry of optimal transport, we construct a multiscale transform applicable to both absolutely continuous and discrete measures. Central to our approach is a refinement operator based on McCann's interpolants, which preserves the geodesic structure of measure flows and serves as an upsampling mechanism. Building on this, we introduce the optimality number, a scalar that quantifies deviations of a sequence from Wasserstein geodesicity across scales, enabling the detection of irregular dynamics and anomalies. We establish key theoretical guarantees, including stability of the transform and geometric decay of coefficients, ensuring robustness and interpretability of the multiscale representation. Finally, we demonstrate the versatility of our methodology through numerical experiments: denoising and anomaly detection in Gaussian flows, analysis of point cloud dynamics under vector fields, and the multiscale characterization of neural network learning trajectories.

math.NA↗

Forward and backward error bounds for a mixed precision preconditioned conjugate gradient algorithm

The preconditioned conjugate gradient (PCG) algorithm is one of the most popular algorithms for solving large-scale linear systems $Ax = b$, where $A$ is a symmetric positive definite matrix. Rather than computing residuals directly, it updates the residual vectors recursively. Current analyses of the conjugate gradient (CG) algorithm in finite precision typically assume that the norm of the recursively updated residual goes orders of magnitude below the machine precision, focusing mainly on bounding the residual gap thereafter. This work introduces a framework for the PCG algorithm and provides rigorous proofs that the relative backward and forward errors of the computed results of PCG can reach the levels $O(u)$ and $O(u)κ(A)^{1/2}$, respectively, after a sufficient number of iterations without relying on an assumption concerning the norm of the recursively updated residual, where $u$ represents the unit roundoff and $κ(A)$ is the condition number of $A$. Our PCG framework further shows that applying preconditioners in low precision does not compromise the accuracy of the final results, provided that reasonable conditions are satisfied. Moreover, this framework introduces a new split PCG variant that improves upon the classical split PCG algorithm when the left preconditioner is applied in low precision. Our theoretical results are illustrated through a set of numerical experiments.

math.NA↗

A Semi-Discrete Optimal Transport Scheme for the Semi-Geostrophic Slice Compressible Model

We develop a semi-discrete optimal transport scheme for the compressible semi-geostrophic equations, a system that plays an important role in modelling large-scale atmospheric dynamics and frontogenesis. Unlike the incompressible case, the compressible equations involve variable density and internal energy, but can be recast into a variational framework that naturally couples the dynamics with an optimal transport formulation. This is done by a change to the so-called geostrophic coordinates, via a transformation inspired by the incompressible case. The discrete version of this variational formulation provides the basis for a numerical particle scheme. The implementation of this scheme presents considerable challenges, due to a non-quadratic cost function and parabolic $c$-Laguerre cells. To address these challenges, we use $c$-exponential charts to construct $c$-Laguerre tessellations efficiently, in which the cells become convex polygons. The time-continuous particle system conserves mass and energy, and the fully discrete scheme conserves them up to the time-discretisation error. We study the convergence of the scheme numerically, including a single-seed benchmark and error analysis. This work provides a significant new generalisation of existing semi-discrete optimal transport techniques, offering a robust and structure-preserving tool for simulating realistic atmospheric flows.

math.NA↗