arXiv:2609.03762cs.LGSep 2026

Manuscript Offprint

arXiv:2609.03762

Projected Riemannian Gradient Descent for the Bures-Wasserstein Barycenter: Dimension-Independent Linear Convergence at Unit Step Size

A. Afham

Abstract

The computation of the Bures–Wasserstein (BW) barycenter of an ensemble of positive definite matrices arises throughout machine learning, optimal transport, and quantum information. Riemannian gradient descent (RGD) at unit step size—the fixed-point iteration used in practice—converges rapidly, yet existing analyses present a dichotomy: unit-step guarantees carry worst-case exponential dependence on the dimension, while dimension-independent guarantees require small step sizes that forfeit the empirical speed. We resolve this dichotomy, not by improving the guarantees for unit-step RGD, but by proposing a Projected RGD algorithm that achieves dimension-independent linear convergence at unit step size. The achieved rate, (1−κ−3/2)(1-\kappa^{-3/2}), where κ\kappa is the condition number of the ensemble, also polynomially improves on the best small-step guarantee (κ3/2(\kappa^{3/2} versus κ5/2\kappa^{5/2} iteration complexity). The crux is a novel Projection Lemma: clipping the eigenvalues of a positive matrix to an interval [α,β][\alpha, \beta] is the closed-form, non-expansive (1-Lipschitz) BW-metric projection onto the set {S:αI≤S≤βI}\{S : \alpha I \leq S \leq \beta I\}—a statement which, unlike its known one-sided counterpart, does not follow from convexity. The projection is moreover free: it reuses an eigendecomposition the next iteration must perform in any case, so the projected and unprojected iterations cost the same per step. The same analysis covers the invariant matrix projection problem of Brahmachari et al. (2025), whose fixed-point algorithm we identify as unit-step RGD on a totally geodesic submanifold, thereby extending the dimension-independent guarantee to that setting verbatim.

1 Introduction

We consider two optimization problems on the Bures–Wasserstein (BW) manifold of positive definite matrices. The first is the computation of the BW barycenter of a probability distribution supported on the positive definite cone [AC11]. The problem is prevalent in machine learning and optimal transport—averaging covariance matrices, interpolating Gaussian distributions, and processing positive-definite features in computer vision [AC11; CNR25; CMRS20; BJL19]—and features in quantum information through Bayesian quantum tomography [AKF22], quantum cryptography & Shannon theory [KRS09; Tom15; Bei13; GW15], and quantum resource theories [WY16; Liu+17; WG03]. We first define the squared BW distance between positive semidefinite matrices P,Q∈PSD(d)P, Q \in \mathrm{PSD}(d):

B(P,Q)≡dBW2(P,Q):=Tr[P+Q]−2F(P,Q),F(P,Q):=Tr[P12QP12]=∥P12Q12∥1,(1)\mathrm{B}(P,Q) \equiv \mathrm{d}_{\mathrm{BW}}^{2}(P,Q) := \mathrm{Tr}[P+Q]-2\mathrm{F}(P,Q), \quad \mathrm{F}(P,Q) := \mathrm{Tr}\left[\sqrt{P^{\frac{1}{2}}Q P^{\frac{1}{2}}}\right] = \left\|P^{\frac{1}{2}}Q^{\frac{1}{2}}\right\|_{1}, \tag{1}

where F(P,Q)\mathrm{F}(P,Q) is the quantum fidelity [Uhl76; Joz94] between PP and QQ, and ∥A∥1:=Tr[A†A]\|A\|_1 := \mathrm{Tr}\left[\sqrt{A^\dagger A}\right] is the trace norm; see Section 2 for notation and preliminaries.

*Email: afham@nus.edu.sg

Figure

Figure 1: (a) Unit-step against small-step RGD on 30 instances of the pinned family at d=2d=2, n=5n=5, κ=100\kappa=100 (every member with spectrum {α,β}\{\alpha,\beta\} in a Haar-random eigenbasis), from the initialization S0=α+β2IS_0=\frac{\alpha+\beta}{2}I: the relative optimality gap per iteration, translucent per instance with the medians opaque. At the median, the unit step converges to machine precision in 16 iterations, the small step η=α′/(2β′)\eta=\alpha'/(2\beta') of [ACGS21] (marked every 200th iterate) in about 3300. (b) The transient exit of Example 13 (κ=300\kappa=300): the signed deviation λmin⁡(St)−α\lambda_{\min}(S_t)-\alpha of the unprojected unit-step iterates, on a symmetric log scale. The iterates at t=1,2t=1,2 (circled) fall below the floor α\alpha (dotted), by 2.98×10−12.98\times10^{-1} and 4.43×10−34.43\times10^{-3}, before re-entering at t=3t=3 and converging to the strictly interior limit λmin⁡(S⋆)−α≈2.52×10−3\lambda_{\min}(S_\star)-\alpha\approx2.52\times10^{-3} (dash-dotted). The inset shows the full trajectory of both eigenvalues against the well-conditioned band [αI,βI]:={S:αI≤S≤βI}[\alpha I,\beta I]:=\{S:\alpha I\leq S\leq\beta I\}.

Problem 1. Let (Ri)i∈[n]⊆PD(d)(R_i)_{i\in[n]} \subseteq \mathrm{PD}(d) be a collection of d×dd \times d positive definite matrices and w:=(w1,…,wn)w := (w_1, \ldots, w_n) an associated probability vector. Compute the BWBW barycenter of the distribution (Ri,wi)i∈[n](R_i, w_i)_{i\in[n]}:

S⋆:=argmin⁡S∈PD(d)12∑i=1nwiB(Ri,S)≡argmin⁡S∈PD(d)f1(S).(2)S_{\star}:=\operatorname*{a r g m i n}_{S\in\mathrm{P D}(d)}\frac{1}{2}\sum_{i=1}^{n}w_{i}\mathrm{B}(R_{i},S)\equiv\operatorname*{a r g m i n}_{S\in\mathrm{P D}(d)}f_{1}(S). \tag{2}

Throughout, the ensemble is contained in a spectral interval: αI≤Ri≤βI\alpha I \leq R_i \leq \beta I for all i∈[n]i \in [n], for some 0<α≤β<∞0 < \alpha \leq \beta < \infty, and the ratio κ:=β/α\kappa := \beta/\alpha is the ensemble's condition number. For a finite ensemble one may take α=min⁡i∈[n]λmin⁡(Ri)\alpha = \min_{i \in [n]} \lambda_{\min}(R_i) and β=max⁡i∈[n]λmax⁡(Ri)\beta = \max_{i \in [n]} \lambda_{\max}(R_i), and the same containment covers distributions of infinite support.

No closed form for the solution is known outside special cases (e.g., pairwise commuting RiR_i), but the optimum satisfies the fixed-point equation S⋆=∑i=1nwiS⋆12RiS⋆12S_\star = \sum_{i=1}^n w_i \sqrt{S_\star^{\frac{1}{2}} R_i S_\star^{\frac{1}{2}}} [AC11; BJL19].

An algorithm and a dichotomy. The standard method for Problem 1 is the fixed-point (FP) iteration of [ÁDCM16],

St+1:=St−12[∑iwiSt12RiSt12]2St−12,S0:=I,(3)S_{t+1}:=S_{t}^{-\frac{1}{2}}\left[\sum_{i}w_{i}\sqrt{S_{t}^{\frac{1}{2}}R_{i}S_{t}^{\frac{1}{2}}}\right]^{2}S_{t}^{-\frac{1}{2}},\qquad S_{0}:=I, \tag{3}

which coincides with Riemannian gradient descent (RGD) on the BW manifold at unit step size [ZP19]: St+1=ExpStBW[−∇‾f(St)]S_{t+1} = \mathrm{Exp}_{S_t}^{\mathrm{BW}}[-\overline{\nabla}f(S_t)], where ∇‾f\overline{\nabla}f is the Riemannian gradient and ExpBW\mathrm{Exp}^{\mathrm{BW}} is the Riemannian exponential map on the BW manifold. Empirically, the unit-step algorithm converges rapidly, requires no tuning, and outperforms Euclidean gradient methods, SDP solvers, and RGD with smaller step sizes [ACGS21; BRT25]. Current theory does not match this behavior; instead, it offers a dichotomy. Analyses of the unit-step algorithm carry an iteration complexity that grows as κd\kappa^d in the worst case [CMRS20]. Dimension-free guarantees exist, but only at the small step sizes η=O(1/κ)\eta = O(1/\kappa) [ACGS21],1^1 which on typical instances cost two to three orders of magnitude more iterations (Fig. 1(a)). One may thus have the practical step size or the dimension-free guarantee, but not both; Section 1.1 details both lines. This article side-steps this dichotomy by presenting a Projected BW Gradient Descent algorithm which achieves a dimension-independent linear convergence rate at unit step size: each step of the practical algorithm is composed with an exact, non-expansive projection, and the composition retains the empirical speed of the unit step while admitting the dimension-free guarantee.

The dimension-free analysis of [ACGS21] requires the iterates to remain in the well-conditioned set [αI,βI]:={S:αI≤S≤βI}[\alpha I, \beta I] := \{S : \alpha I \leq S \leq \beta I\} determined by the ensemble. The unit-step iterates cannot escape [αI,βI][\alpha I, \beta I] through the ceiling:2^2 S≤βI⇒ExpSBW[−η∇‾f(S)]≤βIS \leq \beta I \Rightarrow \mathrm{Exp}_S^{\mathrm{BW}}[-\eta \overline{\nabla} f(S)] \leq \beta I for any η∈[0,1]\eta \in [0,1], a consequence of the convexity of S↦λmax⁡(S)S \mapsto \sqrt{\lambda_{\max}(S)} along the generalized geodesics traced by the gradient step [CMRS20; ACGS21; BRT25]. However, the floor enjoys no such protection: S↦λmin⁡(S)S \mapsto \sqrt{\lambda_{\min}(S)} fails to be concave along generalized geodesics—in contrast to its concavity along barycenters [ACGS21, Thm. 6, Rem. 3]—so no step-size-independent lower eigenvalue bound is available. Example 13 (Appendix A) gives an instance (d=2d=2, n=3n=3, κ=300\kappa=300) in which the ensemble, the current iterate, and the barycenter all lie in the interior of [αI,βI][\alpha I, \beta I], yet the next two unit-step iterates have minimal eigenvalue strictly below α\alpha. Thus at unit step size, the arguments underpinning existing dimension-free rates fail. The exit is transient as the ultimate convergence of unit-step RGD to the barycenter is known. In the aforementioned example, the iterate permanently returned to the well-conditioned set after two steps, converging to a limit that lies strictly above the floor α\alpha (see Fig. 1(b)). Moreover, such instances had to be adversarially constructed; on random instances the exit never occurred from the canonical initialization.3^3

Such transient exits are avoided in the analysis of [ACGS21] by choosing sufficiently small step sizes (η=O(κ−1)\eta = O(\kappa^{-1})). The cost of the small step sizes is demonstrated in Fig. 1(a) on the smallest instructive case, d=2d=2: unit-step RGD gains nearly a decimal digit of accuracy per iteration and reaches the double-precision floor within 16 iterations at the median, whereas the small step η=α′/(2β′)\eta = \alpha'/(2\beta') associated with the dimension-free analysis of [ACGS21]4^4 needs about 3300 iterations for the same accuracy. The factor between the two is essentially independent of the target accuracy and across 30 random instances of this family its median is 202 (range 141 to 399).

A step of RGD at any step size evaluates the same map—nn transport maps St−1#RiS_t^{-1} \# R_i, each an eigendecomposition—and the step size only scales the resulting displacement, so a unit step and a small step cost the same to compute. An iteration count is therefore a wall-clock count, and the practitioner who chooses η=1\eta=1 saves two to three orders of magnitude of computation, on every instance. This is why the unit step is the algorithm used in practice, and why a guarantee for it is highly desired. As elaborated upon later, we supply this guarantee through a remedy that is standard in constrained optimization: if the iterates do not natively stay in the region of interest, enforce membership by projection—provided the projection is cheap and does not undo the progress of the gradient step. We show that both requirements are met on the BW manifold, at essentially zero additional cost. The projection is constructed in Section 3.2, the full algorithm is stated as Algorithm 1 in Section 3.3, and its convergence is proved in Section 4.

1^1Their results allow for a refined condition number κ′:=β′/α′≤κ\kappa' := \beta' / \alpha' \leq \kappa; see Remark 11. 2^2Provided the ensemble satisfies Ri≤βIR_i \leq \beta I, as it does by the choice of β\beta. 3^3In randomized trials (Section 5) no exit was ever observed from the prescribed initialization of Section 3.3. From randomly rotated feasible initializations, exits occurred on a fraction 10−510^{-5} to 2×10−42 \times 10^{-4} of the instances at n=3n=3, the fraction growing as κ\kappa ranges over 10210^2 to 10310^3. At n=5n=5 no exit was ever observed. 4^4Strictly, their analysis prescribes the smaller step α′/(2∑i=1nwiλmax⁡(Ri))≤α′/(2β′)\alpha'/(2\sum_{i=1}^n w_i \lambda_{\max}(R_i)) \leq \alpha'/(2\beta'); every small-step comparison in this article runs at the larger α′/(2β′)\alpha'/(2\beta'), which is conservative in their favor.

The second problem we consider is the invariant matrix projection problem of [BRT25], which generalizes Problem 1 and unifies certain problems of interest in quantum information [BRT25, Sec. 7].

Problem 2. Given a projective unitary representation U:={Ui}i∈[n]⊆U(d)\mathcal{U} := \{U_i\}_{i \in [n]} \subseteq \mathrm{U}(d) and R∈PD(d)R \in \mathrm{PD}(d),

min⁡S∈P12B(R,S)≡min⁡S∈Pf2(S),(4)\min_{S \in \mathcal{P}} \frac{1}{2} \mathrm{B}(R, S) \equiv \min_{S \in \mathcal{P}} f_2(S), \tag{4}

where P:={P∈PD(d):[P,Ui]=0\mathcal{P} := \{P \in \mathrm{PD}(d) : [P, U_i] = 0 for all Ui∈U}U_i \in \mathcal{U}\} is the set of invariant positive matrices.

Brahmachari, Rubboli, and Tomamichel [BRT25] introduced a modified fixed-point iteration to solve the above problem:

St+1:=St−12[Φ(St12RSt12)]2St−12,S0=I,(5)S_{t+1}:=S_{t}^{-\frac{1}{2}}\left[\Phi\left(\sqrt{S_{t}^{\frac{1}{2}}R S_{t}^{\frac{1}{2}}}\right)\right]^{2}S_{t}^{-\frac{1}{2}},\qquad S_{0}=I, \tag{5}

where Φ(X):=1n∑iUiXUi†\Phi(X):=\frac{1}{n}\sum_i U_i X U_i^\dagger is the twirling map associated with U\mathcal{U}. In [Afh25], the author showed that this update is unit-step BW gradient descent for the modified objective 12B(R,Φ(S))\frac{1}{2}\mathrm{B}(R,\Phi(S)) over the full positive definite manifold; Appendix E gives an arguably more elegant interpretation as unit-step BW gradient descent on the submanifold of invariant matrices, which we prove is totally geodesic. Brahmachari, Rubboli, and Tomamichel [BRT25] proved linear convergence of their algorithm, but—echoing the barycenter situation—with a worst-case dependence on the dimension.

Remark 3. The invariant matrix projection problem generalizes the BW barycenter problem [BRT25]. We nonetheless analyze the two separately: the barycenter is the more widely used of the two problems, and treating it on its own keeps the constants and the notation simpler.

Projection is all you need. In this article we present a Projected Bures–Wasserstein Gradient Descent (Projected BW-GD) algorithm: unit-step BW gradient descent composed, at each iteration, with an exact BW-metric projection onto the well-conditioned set [αI,βI][\alpha I, \beta I]. We prove that this algorithm converges linearly at rate (1−κ−3/2)(1 - \kappa^{-3/2}) for both Problems 1 and 2, with no dependence on the dimension. To our knowledge this is the first dimension-free guarantee for any unit-step method on these problems; moreover, the iteration complexity κ3/2log⁡(1/ϵ)\kappa^{3/2} \log(1/\epsilon) improves polynomially on the best known dimension-free guarantee, O(κ5/2log⁡(1/ϵ))O(\kappa^{5/2} \log(1/\epsilon)) at step size 1/(2κ)1/(2\kappa) [ACGS21]. Note that we do not claim to show the dimension-independent convergence of the FP algorithm. What we guarantee is that by merely incorporating an eigenvalue-clipping operation at every iteration, we can construct a Projected RGD algorithm, which reduces to the standard FP algorithm whenever the iterates land in [αI,βI][\alpha I, \beta I], and converges at a dimension-independent rate to the barycenter S⋆S_\star (see Theorem 10 for a precise statement). Note that the guarantee comes at no additional cost: clipping reuses an eigendecomposition the following iteration must perform in any case, so the projected and unprojected iterations cost essentially the same per step, except for an O(d)O(d) difference (see Section 3.3) which is dominated by the O(d3)O(d^3) cost of the eigendecompositions.

References (59)