Efficient Algorithms for Computing a Partial $p$-Wasserstein Barycenter in Metric Spaces
Anonymous authors
ICLR 2027
TL;DR. We discuss the benefits and challenges of the partial Wasserstein barycenter problem for outlier-robust Wasserstein barycenters, then design efficient approximation algorithms for the problem, the first which provably run in quadratic time or less.
Abstract. Given a collection of probability distributions over a total of points in a space equipped with a pairwise distance function , the task of computing an average probability distribution with respect to the optimal transport cost is known in the literature as the Wasserstein barycenter problem. However, like OT plans, Wasserstein barycenters are also sensitive to the presence of outliers in each distribution. The -partial Wasserstein barycenter problem for , which addresses this issue, asks to compute a measure of mass for which the average unbalanced OT cost from the input distributions to this measure is minimized.
In this paper, we design provably efficient approximation algorithms for the -partial Wasserstein barycenter problem. Our first algorithm computes an approximate fixed-support -partial Wasserstein barycenter in arbitrary spaces in roughly time, where is the size of the fixed support and is a small approximation error in the mass. The second algorithm improves the run time in the free-support setting for metric spaces by a factor of at the expense of an additional approximation error in the cost of the OT plans. We additionally prove that an exact solution to the -partial Wasserstein barycenter problem can be computed in roughly time.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
ICLR 2027
Under review · 3 reviews · OpenReview
Updated 25 Nov 2026, 10:31 UTC.
- Rating
- 3/4
- Confidence
- 2/4
- Soundness
- 3/3
- Presentation
- 3/3
- Informativeness
- 3/3
Read review
Summary
The paper considers the partial p-Wasserstein Barycenter problem for general/Euclidean metrics. Here we are given a given k sets of points in a metric space and a distributions over each. (Informally) The p-Wasserstein barycenter problem asks us to a measure over a set of points as well as mappings from each input point set/distribution pairs to minimizing the cost of the (average) of these maps. The -partial variant of the problem expects the measure to have mass , that is for each map to transport an fraction of the mass of the respective to . The paper considers -approximate algorithms, where stands for multiplicative slack and we expect to have at least mass.
The main contribution of the paper is in presenting a -approximate -partial p-Wasserstein barycenter for a fix support in time (n is the total number of inputs points, k is the number of input sets, m is the size of the fixed support, is the spread of the input points).
The authors also show, assuming the support is not fixed, for d-dimensional Eucledian spaces 1) a -approximation in time, -approximation in time for ; a 2) -approximation in time. They also show that an exact solution can be computed in time.
The first approximate algorithm works through completing a binary search for the cost of the optimal solution. The decision problem in each step of the binary search can be formulated as a linear program, which is then approximately solved using multiplicative weight updates. The approximate results restricted to Euclidean metrics simmiliarly complete a binary search. The algorithm chooses a support of points and represents each input distribution with a single point through clustering, accelerating the LP-solver. The exact algorithm relies on the ellipsoid algorithm. Overall, the algorithms are natural in terms of the overall approach, but the details are technically involved.
Strengths
While the Wasserstein barycenter problem has received significant attention and is widely applied in practice, the particular relaxation (-partial) was only known to admit efficient algorithms for additive approximation (multiplicative approximation required time). The -partial notion is introduced to handle outlier solutions. While there are further variations of the problem designed to handle such cases, the authors make a compelling case of the usefullnes of this definition.
Weaknesses
Previous results for the -partial setting appear to not rely on the -relaxation. It is unclear if additive slack would not be preferable to relaxation in the objective.
Compared to how standard MWU is for solving LP-s its quite challenging to parse what modification compared to say the well known Arora et al. experts setting are needed to obtain the results. I would advise the authors to aim to make the LP solving part as black-box based on standard approaches as possible, improving readability.
Questions for the authors
No questions.
2 comments
I thank the authors for the detailed response. I maintain my review of leaning towards acceptance. I understand that the LP solving part (as its the case in many applications) doesn't follow from the black-box. I suggest to the authors to present that part based on the standard LP formulation and then what modifications are required. This might come down to personal taste, but i think since LP solving via MWU is well known, most readers would likely be convinced by just seeing what needs to be done on top of standard solvers (such as described in the rebuttal response but more in-depth).
- Rating
- 3/4(+1)
- Confidence
- 3/4
- Soundness
- 2/3
- Presentation
- 2/3
- Informativeness
- 2/3
Read review
Summary
This paper studies the partial Wasserstein barycenter problem: each input distribution transports mass to the same target measure. The authors develop a fixed-support algorithm based on synchronized -tuple flow updates and multiplicative weights. Theorem 1 gives a runtime of , with at most mass loss and transport cost bounded by the optimal cost for mass . For free support, the algorithm constructs candidate locations and compresses transport connections using pair decompositions, then reduces the resulting congestion through a second MWU procedure. The paper also extends an ellipsoid method to exact computation in fixed dimension.
Strengths
- The synchronized updates preserve equal incoming mass from every input distribution at each barycenter point. This gives a direct construction for the partial-barycenter packing LP and a useful approach to handling its multimarginal constraints. The compact formulation avoids the full transport tensor used by Le et al. (2022).
- The paper covers fixed and free supports, Euclidean and general metric spaces, and several cost-versus-runtime tradeoffs. The examples in Appendix A make the motivation for requiring a shared partial barycenter easy to understand.
Weaknesses
-
Lemma 10 needs a valid feasibility argument. It states that every feasible flow in Figure 2(i) remains feasible in Figure 2(ii), while Appendix F, Eqs. (12)–(13), evaluates the weighted constraint using arbitrary representatives. Consider a distribution with mass at each of two nearby points at unit distance from a target , and a second distribution concentrated at . Assign penalty weights to the first two points and to the second input. The original LP admits mass with weighted cost . Taking the weight- point as representative raises the full-mass weighted cost to . With and , the budget permits only mass after compression, below for . The two weights can share a permitted bucket. The proof needs to account for this distortion before using the compressed LP to reject a cost guess or prove Theorem 2's mass bound.
-
Theorem 3 needs additional computational assumptions. Appendix G.2 uses the condition on unweighted bisectors to bound the complexity of additively weighted Voronoi diagrams; the condition does not supply that bound. Lines 1525–1527 also count each -centroid computation as , although Euclidean requires a geometric-median computation. The authors should specify how these operations are performed for the stated distance class. The exact runtime also needs an encoding-length parameter: the spread does not bound the coefficient precision required by the ellipsoid result in Theorem 4.
-
Minor issues in the binary-search reduction. Sec. 2 needs an initial cost bound that includes the prescribed support . Two unit-mass inputs at have , while gives squared cost , outside . The decision tolerance and final rescaling also need separate error budgets, since .
-
Formula corrections. In Lemma 16, the individual dual variable should be . The separating hyperplane in Appendix G.2, lines 1537–1540, needs its term.
Questions for the authors
Clarify the weakness.
6 comments
Response to Reviewer HzCQ
We thank the reviewer for their meticulous and insightful reading of our work. Below, we address their concerns in detail and outline corresponding revisions for the final manuscript.
Lemma 10 and feasibility argument: We thank the reviewer for identifying the issue that the statement in Lemma 10 was imprecise in the sense that a feasible solution for Figure 2(i) does not have the same size as a feasible solution for Figure 2(ii). The lemma statement should indeed be modified to state (at a high level): "Any feasible flow in Figure 2(i) can be modified to a feasible solution in Figure 2(ii)." However, we emphasize that the counterexample described by the reviewer is not a concern since, by the construction of the pair decomposition over weighted distances, we note that two points can only be in the set for some pair if the weights of and differ by a factor of at most . The reviewer observes precisely the kind of error that is possible if we were not careful with the point weights. This is why we bucket points by weights in lines 405-410; see also lines 1142-1158.
Theorem 3 computational assumptions and bit complexity: For the purposes of exposition, we had decided to highlight the combinatorial complexity of the algorithm and hide some of the details on its algebraic complexity. In retrospect, this meant the following three details were treated imprecisely and caused unintentional confusion in the description and analysis of the algorithm. We address them here and will make the statement of Theorem 3 more precise:
-
To keep the runtime bound simple, we assumed the bit complexity of the input, i.e. total number of bits used to represent the input, is . To be precise, the ellipsoid method is a weakly polynomial time algorithm with complexity that depends on . We will make a more formal treatment of the bit complexity in revisions.
-
For , and , bisectors are piecewise-linear, so any standard model of computation works. For other values of , bisectors are algebraic varieties of fixed degree assuming is constant. We will explicitly state that the algorithm is described under the real RAM model of computation, which assumes that roots of a fixed degree polynomial can be computed in time [1,2]. Assuming the bisector is an algebraic variety of constant degree ensures that the lower envelope of the distance functions can be computed in time under the real RAM model [3]. The Voronoi diagram is simply the projection of the graph of the lower envelope of the distance functions, so the Voronoi diagram can also be computed in time.
-
Regarding the -centroid computations, we clarify that while admits an time closed-form solution, the reviewer is correct that (geometric median) and require more care to compute algebraically. It is known that for a given , the geometric median can be computed in time [4]. Moreover, for any , the centroid can be approximated up to -precision in poly$(d, k, L, \log(1/\epsilon))$ time using convex optimization, where is the bit complexity of the points [5]. As such, we can compute an -additive approximation of the barycenter in time (again is the sum of the sizes of input supports), which is what we often mean by a weakly polynomial-time exact algorithm when the output may have large precision. We will amend the manuscript to more precisely state the polynomial dependence on , , dimension , and log-precision.
Binary search reduction and initial cost bound: We appreciate the reviewer's careful check of the binary search setup. In Section 2, we will make the assumption that there exists a point of close to explicit. Otherwise, any distribution over is worse than choosing any distribution over . Additionally, we will explicitly apply the appropriate rescaling of to guarantee the desired error bound. Since this is only a small constant factor, we ignored the rescaling in the analysis.
Formula corrections: We thank the reviewer for catching these specific typos.
-
In Lemma 16, the dual variable formula will be corrected to (removing the incorrect summation over ).
-
In Appendix G.2 (lines 1537--1540), the separating hyperplane equation will be updated to correctly include term.
[1] Computational geometry: an introduction, Preparata and Shamos
[2] Arrangements and their applications, Agarwal and Sharir
[3] On the number of cells defined by a family of polynomials on a variety, Basu, Pollack, Roy
[4] Geometric median in nearly linear time, Cohen et al.
[5] Geometric algorithms and combinatorial optimization, Grötschel, Lovász, Schrijver
Thank you for the response. The corrections to Lemma 16 and the separating hyperplane are fine, and so is the rescaling of . For the initial bound, starting the search from , with the spread taken over , would avoid the extra assumption on .
My main concern about Lemma 10 remains. The response says that points sharing a set have weights within a factor of . The paper states (lines 405–410 and 1148–1150), and the construction in lines 1161–1164 uses dyadic buckets as written. Since is independent of in Theorem 2, the weights 34 and 40 can share a group, so the example does apply to the submitted version. Grouping within a factor of is the right fix, but it changes the construction, and the revised lemma ("can be modified to a feasible solution") still does not say how much mass is kept.
The same distortion affects Lemma 4 in the other direction. The LP constraint used in lines 1110–1114 charges each group at the weight of its representative, whereas Lemma 12 charges the redistributed flow at the weights of the individual points. With groups, the congestion bound becomes roughly .
Could you state the corrected Lemma 10 with an explicit bound on the retained mass (I would expect ) and confirm that Lemma 4 and the guarantee of Theorem 2 then go through? A short statement in this thread is enough.
On Theorem 3, once the -centroids are only approximated, the algorithm returns an additive approximation of the barycenter and not an exact solution. Theorem 3 and the abstract should say so and claim exactness only where the centroids can be computed exactly, as in the squared Euclidean case. The bisector assumption should also be stated for the additively weighted bisectors, since those are the boundaries of the Voronoi cells.
I will keep my score for now and I will revisit my score after the Lemma 10 argument is made precise and Theorem 3 is restated.
Response to Reviewer HzCQ Part 1
We greatly thank the reviewer for their incredible attention to detail and insightful comments. To fully address the reviewer's comments, we break our response into three separate comments.
We misunderstood their original concern regarding Lemma 10 and agree with their assessment that must be a factor in the bucketing. On lines 405-410, 1148-1150, and 1161-1164, we will bucket the weights in each such that for any . We will revise the text in the final version to remove any unintended assumptions regarding the relationship between and . The precise statement of Lemma 10 will proceed as follows:
Lemma 10. For any guess and any feasible solution to the LP in Figure 2(i) with respect to guess , there exists a guess and a feasible solution to the LP in Figure 2(ii) with respect to such that for all .
Here, we highlight the explicit construction and proof details for Lemma 10.
Proof. Suppose is a feasible solution to the LP of Figure 2(i). We construct a feasible solution to the LP of Figure 2(ii) as follows. For each and each define to be
.
Since is feasible for Figure 2(i), we conclude:
.
Moreover, by the construction of , for every , , and , we have and . We conclude that
¢_p(\tilde{f}_1, \dots, \tilde{f}_k) \leq (1 + \varepsilon)^p \cdot ¢_p(f_1, \dots, f_k).
Furthermore, since Þ(\phi_1, \dots, \phi_k, f_1, \dots, f_k) \leq Þ(\phi_1, \dots, \phi_k) = \frac{g}{\delta} for any feasible set of flows (by assumption on and the demand constraints), we also have Þ(\phi_1, \dots, \phi_k, \tilde{f}_1, \dots, \tilde{f}_k) \leq (1 + \min(\varepsilon, \delta)) \cdot \frac{g}{\delta}. As the reviewer suggested, this reduction incurs an extra distortion in the dual constraints, so rescaling the flow by a factor suffices. ◻
In the initial submission, we omitted constant rescalings of since they only incur an additional constant factor in the runtime; we will also clarify this precise constant rescaling in the final version of the paper. Finally, we are content with a distortion in the cost ¢_p because the barycenter objective function raises this cost to the power .
- Rating
- 3/4
- Confidence
- 3/4
- Soundness
- 2/3
- Presentation
- 3/3
- Informativeness
- 2/3
Read review
Summary
The paper studies the -partial Wasserstein barycenter $(\alpha $-PWB) problem, a formulation designed to build outlier-robust average probability distributions by forcing multiple unbalanced optimal transport (OT) plans to share a single target measure restricted to mass While this approach better preserves the geometric centroid nature of standard barycenters compared to methods that select outliers independently per distribution, its complex multimarginal constraints have historically made it computationally intractable. To resolve this, the authors introduce the first provably efficient approximation algorithms for the PWB problem. Their fixed-support algorithm operates in arbitrary spaces within quadratic time or less—parameterized by support size and mass approximation error—while their free-support version speeds up execution in metric spaces at the cost of an additional approximation error on the OT plans. Additionally, they establish that an exact solution to the -PWB problem can be computed in polynomial time.
Strengths
- the primary contribution is providing the very first approximation algorithms for the -partial Wasserstein barycenter problem with provable time complexities. Overcoming the complex multimarginal constraints in quadratic time or less ) is a significant computational breakthrough.
- the paper clearly articulates and illustratesthe core flaw in alternative robust Wasserstein barycenter methods, that decoupled transport plans can choose conflicting outlier regions. By forcing all input distributions to transport mass onto the exact same barycenter measure $\nu $, this work truer captures the foundational geometric centroid property of barycenters.
- this work provided a toolkit by tackling multiple settings: offering a fixed-support algorithm for arbitrary spaces, a faster free-support refinement for metric spaces, and setting a theoretical baseline by demonstrating that an exact solution can be computed in roughly time.
Weaknesses
- While the approximation algorithms run efficiently, the exact algorithm's time complexity is roughly , where k is the number of input distributions. This exponential scaling means finding exact solutions remains strictly impossible for large datasets with many input measures.
- to drop the runtime complexity by a factor of in the free-support framework, the second algorithm introduces an additional approximation error specifically to the cost of the OT plans. The paper did not thoroughly unpack how severe this cost degradation is under highly skewed or non-uniform geometric setups.
Questions for the authors
While the approximation algorithms show great performance relative to the point totals n and support size m how do their practical runtimes scale as the total number of input distributions k grows into the hundreds or thousands?
1 comment
Response to Reviewer tVUa
We thank the reviewer for their thoughtful feedback and address their main concerns below.
Time complexity of the exact algorithm: The reviewer notes a potential exponential dependence on . There is some misunderstanding as stated in Theorem 3, our exact algorithm actually runs in time, up to bit complexity and -precision factors, where is the sum of support sizes, yielding polynomial dependence on assuming is independent of ( in many realistic datasets).
Accuracy of approximation algorithms: We clarify the definitions of different approximations discussed in the paper.
-
Relative vs. Relaxed: A -relative approximate solution satisfies . Greedily removing the most expensive fraction of mass from yields a -relaxed solution (transporting mass at cost ). Thus, the relative guarantee is stronger.
-
Relaxed vs. Additive: A -relaxed solution transports mass at cost . Arbitrarily adding the unrouted mass incurs at most a -additive error, yielding a -additive approximation. Thus, the relaxed guarantee is stronger than the -additive approximation.
While standard ML optimal transport papers (e.g., Sinkhorn-based) typically guarantee additive approximations, we use -relative and -relaxed solutions for their stronger guarantees. We make a remark in the paper that -relaxation could be converted into -additive approximation, so we also present the first -additive approximation algorithm with runtime. We realize that mixing approximation types can be confusing, and we will clarify this distinction more explicitly in the text (building on lines 108–114).
Dependence on the number of distributions: From a theoretical perspective, our algorithm has quadratic dependence on in the worst case and linear number of iterations with respect to (since , the sum of input support sizes, has linear dependence on implicitly). Practically speaking, obtaining high quality solutions in time is highly nontrivial since the complexity of all the transport plans is typically : even in simple instances, the optimal barycenter often has a support of size , and every mass of the barycenter distribution is transported to at least different masses (one for each input distribution). In the revised version of the paper, we also include an experimental study exploring specifically the number of iterations our algorithm makes. On synthetically generated data, we find that the number of iterations the algorithm takes indeed scales only linearly with : for examples where for each , small error , and , we find that the iteration counts per fixed guess call of the MWU algorithm in the binary search are on average.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Response to Reviewer NvsC
We thank the reviewer for their thoughtful feedback and address their main concerns below.
Accuracy of approximation algorithms: We clarify the definitions of different approximations discussed in the paper.
Relative vs. Relaxed: A (1+ϵ)-relative approximate solution f satisfies wp(f)≤(1+ϵ)wp(f∗). Greedily removing the most expensive ϵ fraction of mass from f yields a δ-relaxed solution (transporting α−δ mass at cost ≤wp(f∗)). Thus, the relative guarantee is stronger than the relaxed guarantee.
Relaxed vs. Additive: A δ-relaxed solution transports α−δ mass at cost ≤wp(f∗). Arbitrarily adding the unrouted mass incurs at most a δ-additive error (assuming p=1 for simplicity), yielding a δ-additive approximation. Thus, the relaxed guarantee is stronger than the ϵ-additive approximation.
While standard ML optimal transport papers (e.g., Sinkhorn-based) typically guarantee additive approximation, we use (1+ϵ)-relative and δ-relaxed solutions because their guarantees are stronger. We agree that mixing approximation types can be confusing, and we will clarify this distinction more explicitly in the revised text (building on lines 108–114).
Comparison with experts MWU algorithm: Our algorithm is similar to the multicommodity flow approach from Section 3.3 of Arora et al. [1], rather than the classical experts MWU. Directly applying the experts MWU algorithm to Wasserstein barycenters causes two issues: (a) updating every weight every iteration is computationally expensive, and (b) overcommitting mass to fixed centroids requires many iterations, constrained by the LP width. Our algorithm circumvents these issues for the partial Wasserstein barycenter problem with three new ideas over the multicommodity flow algorithm, which are some of the main contributions:
Reformulating the problem as binary search over a collection of packing-like LPs, as partial Wasserstein barycenters do not form a standard packing LP. The LP we solve is not a packing LP, but since the equality ("non-packing") constraints are always satisfied by construction of the oracle, we prove that it behaves like one from the perspective of MWU.
Designing an efficient oracle for low weighted-cost k-tuples using lazy weight updates (where weight updates affect the oracle only after accumulating sufficiently).
Developing a two-level MWU structure in Section 3, featuring distinct inner and outer MWU algorithms tailored to solve the oracle efficiently.
This is the reason why we cannot present the MWU algorithm as an LP black box. In view of the reviewer's comments, we will emphasize this point and say why we cannot use the LP algorithm as a black box.
[1] The multiplicative weights update method: a meta-algorithm and applications, Arora, Hazan, Kale