Abstract 1 Introduction: Toward Parallel Flow Algorithms 2 Preliminaries 3 Application: Flow Algorithms 4 Area-Convexity Review 5 Joint L1/Max-Norm Optimization References

Back in the Saddle: Toward Parallel Approximate Minimum-Cost Flow

Rasmus Kyng ORCID ETH Zurich, Switzerland    Aurelio L. Sulser ORCID ETH Zurich, Switzerland
Abstract

We present the first polylog-depth, nearly-linear-work parallel algorithm that achieves a (1+ε)-bicriteria approximation guarantee for undirected minimum-cost flow on expanders. Fix an undirected graph G=(V,E) with unit capacities, unit lengths, and conductance ϕ. For any feasible demand vector 𝐝 and any ε(0,1) we compute, in O~(|E|εϕ) work and O~(1εϕ) depth, a flow 𝐟 that routes 𝐝 exactly while satisfying

𝐟1+εand𝐟1(1+ε)min𝐁𝐠=𝐝𝐠1𝐠1.

This bicriteria guarantee simultaneously controls congestion and total cost, strengthens the previously studied notion of throughput error, and matches the best known ε-dependence for parallel maximum flow/transshipment on general graphs.

Our main contribution is a new saddle-point optimization method for mixed -1 optimization. Concretely, we (i) formulate a two-term regression capturing minimum-cost flow as a saddle-point problem that couples and 1 terms, (ii) construct a small-magnitude area-convex regularizer tailored to the resulting primal–dual domain (building on Sherman’s area-convexity framework [23]), and (iii) implement efficient δ-approximate maximization/minimization oracles so that Sherman’s extragradient iteration yields low iteration-count convergence.

Beyond the concrete expander result, our mixed -1 optimization toolkit appears broadly applicable and suggests a promising route toward O~(m/ε) work and O~(1/ε) depth algorithms for approximate undirected minimum-cost flow on general graphs. 111We use O^() to hide subpolynomial factors and O~() to hide polylogarithmic factors. We allow hiding such factors that depend on m, the size of the input graph, e.g., polylog(m)=O~(1). We assume polynomially bounded inputs.

Keywords and phrases:
Approximate Min-Cost-Flow, Parallel, Area-Convexity, Expanders
Category:
Track A: Algorithms, Complexity and Games
Copyright and License:
[Uncaptioned image] © Rasmus Kyng and Aurelio L. Sulser; licensed under Creative Commons License CC-BY 4.0
2012 ACM Subject Classification:
Theory of computation Convex optimization
Funding:
The research leading to these results has received funding from the starting grant “A New Paradigm for Flow and Cut Algorithms” (no. TMSGI2_218022) of the Swiss National Science Foundation.
Editors:
Sayan Bhattacharya, Danupon Nanongkai, Michael Benedikt, and Gabriele Puppis

1 Introduction: Toward Parallel Flow Algorithms

The last two decades have seen major progress on fundamental graph algorithmic questions, including, prominently, algorithms for solving flow and cut problems. A key driver of progress has been novel uses of continuous optimization. Continuous optimization plays a central role in the nearly-linear electrical flow algorithm of Spielman and Teng [25], the almost-linear time approximate undirected maximum flow and transshipment algorithms of Sherman [22, 24] and Kelner et al. [16], the O~(m3/2) time minimum-cost flow algorithm of Daitch and Spielman [7], and the almost-linear time algorithm for minimum-cost flow of Chen et al. [6], and numerous other flow and cut algorithms.

The work of Chen et al. [6] settled the time complexity of single-commodity flow problems up to subpolynomial factors. In the world of parallel algorithms, answers are much less complete. Polynomial capacity maximum flow is in RNC [18, 14] with large polynomial work but all known subquadratic work algorithms need polynomial depth. When restricting to almost or nearly-linear work, only very recently was approximate maximum flow and transshipment shown to be solvable in polylogarithmic depth [17, 2, 1] for (1+1/polylog(n)) approximation. This brings us to the frontiers of parallel flow algorithms. Here a very interesting case is the problem of undirected minimum-cost flow, defined as

minflow 𝐟 routes demand 𝐝𝐂1𝐟1𝐋𝐟1 (1)

where we seek a flow 𝐟 that routes given demands 𝐝 in an undirected graph G=(V,E) with positive edge capacities 𝒄+E and lengths 𝐥+E, and 𝐂=diag(𝒄) and 𝐋=diag(𝐥). Here 𝐂1𝐟 measures how much the flow congests the edges w.r.t. capacities 𝒄 and 𝐋𝐟1 measures the “length” of the flow w.r.t. edge lengths 𝐥. Note that the congestion threshold 𝐂1𝐟1 is without loss of generality, even in unit capacity graphs, as we can convert the more general constraint 𝐂1𝐟ρ into this case by rescaling the demand vector to 𝐝/ρ. A sequential, almost–linear-time approximation algorithm for this problem was first given by Bernstein et al. [5]. Their algorithm runs in O^(m) time and achieves throughput error ϵ=1/polylog(n). This result was later parallelized in [11], yielding O^(1) depth. Throughput error is a strictly weaker notion of approximation than the guarantees provided by earlier approximate maximum flow and transshipment algorithms. In particular, a throughput-error guarantee does not produce a flow that approximately routes the full set of demands with near-optimal objective value. Instead, it only ensures that a (1ϵ) fraction of the total demand is routed with cost no larger than the optimal cost for the full instance. The residual ϵ fraction of the demand is allowed to sit at any of the original sources/sinks, and is not generally capacity-respecting routable with ϵ times the optimal length, and hence cannot be used to construct a flow routing the demands with near-optimal objective value. By contrast, a conventional (1+ϵ)-approximation to the objective value immediately implies throughput error: one can simply scale the flow down by a factor of (1+ϵ). The converse, however, does not hold.

To illustrate the limitation of throughput error, consider a graph with two sources s1,s2 and a single sink t. Suppose the optimal solution routes (1ϵ) units of flow from s1 to t and ϵ units from s2 to t, with total length OPT=((1ϵ)+ϵn)c while respecting capacities. Assume further that routing (1ϵ) units from s1 to t with length (1ϵ)c is easy, while routing ϵ units from s2 to t requires length ϵnc and is the true source of difficulty in the instance. An algorithm with throughput error ϵ may choose to route only the easy portion of the demand, returning a flow of length OPT that routes exclusively from s1 to t, while leaving the ϵ units at s2 unrouted. However, routing this residual demand still requires length ϵncϵOPT. Thus, despite satisfying the throughput guarantee, the algorithm effectively sidesteps the hard part of the problem and yields a trivial, uninformative solution. This pathology becomes more pronounced for flow instances with greater number of sources and sinks. In contrast, our algorithm provides a conventional approximation guarantee. In the above example, it returns a flow that routes exactly (1ϵ) units from s1 to t and ϵ units from s2 to t, respects capacities up to a (1+ϵ) factor, and has a total cost of at most (1+ϵ)OPT. In this sense, unlike algorithms with only throughput-error guarantees, our approach produces a strictly nontrivial and globally meaningful solution.

Understanding the optimization landscape: What lies next in parallel flow algorithms?

While constituting striking progress, the work of Haeupler et al. [11] leaves many questions open:

  1. (Q1)

    Can we achieve stronger error guarantees beyond throughput error with a low-depth, almost-linear work algorithm?

  2. (Q2)

    Can we, for any reasonable notion of ϵ error, achieve depth O^(poly(1/ϵ)) and work O^(mpoly(1/ϵ))?

  3. (Q3)

    Can the parallel complexity be further improved to O~(mpoly(1/ϵ)) work and O~(poly(1/ϵ)) depth?

In this work, we answer these questions in the affirmative for expander graphs, while developing tools that we believe could eventually be used to answer the question affirmatively, even on general graphs.

There are major differences between the parallel approximate transshipment algorithms of Li [17], Andoni et al. [2] and maximum flow algorithms of Agarwal et al. [1] on the one hand and, on the other hand, the parallel approximate algorithm for the more general undirected minimum-cost flow of Haeupler et al. [11]. Firstly, in terms of approximation guarantees, former algorithms achieve a stronger notion of approximation in objective for a flow that routes the given demands. Secondly, the former algorithms build on gradient descent techniques for minimizing -norms, while the latter is inherently based on multiplicative weight methods that repeatedly call a low-width 1-norm minimizing oracle. The latter oracle needs to produce (1+ϵ)-approximate 1 minimizers in every iteration, while gradient descent methods make it possible to convert O~(1) approximate updates into (1+ϵ) accurate solutions in few iterations. This means that multiplicative weight methods, in this sense, place much more stringent requirements on the oracle/subroutine that is called in every iteration.

So, why not use a gradient descent method instead? Until now, the reason has been a fundamental obstacle on the optimization side: While excellent low iteration count gradient descent methods are known for -norms, no such methods are known for dealing with 1-norms or mixed - and 1-norm minimization. This is not just an issue for flow algorithms but a well-known obstacle in continuous optimization broadly. More precisely, parallelizable optimization methods for transshipment, an 1-norm minimization problem, can all be interpreted as applying -norm minimization methods on the dual of transshipment, which is an -minimization problem over vertex potentials [24, 26]. Thus, the 1-norm minimization problem is solved by “escaping” to the dual -norm minimization problem. But, the undirected minimum-cost flow problem does not allow this trick of “escaping to the dual”, because the primal problem contains both 1- and -norms, and hence the dual problem does too.

Area-convexity and flow optimization

Area-convexity is a breakthrough continuous optimization technique developed by Sherman [23] to compute (1+ϵ)-approximate -norm minimizers in O~(1/ϵ) iterations, improving over the O~(1/ϵ2) iterations obtained by more basic -gradient descent methods [22, 16].

The central issue motivating Sherman’s development of area-convexity was the following: two famous accelerated gradient methods of Nesterov [20] and Nemirovski [19] can be understood as recasting a convex optimization problem as a convex-concave saddle-point minimax problem, also known as a variational approach. These methods suggests writing a problem of the form min𝑨𝒙=𝒃𝒙 as

min𝑨𝒙=𝒃max𝒚11𝒚𝒙

But, applying these methods to such a problem requires finding regularizers ϕ(𝒙) and ϕ1(𝒚) which are strongly convex w.r.t. and 1-norms respectively, while also being small in magnitude/range. Unfortunately, for the -norm, these properties are irreconcilable: any ϕ(𝒙) that is 1-strongly-convex with respect to on [1,1]d has range at least d2 on the same region (see [23] for a discussion). Sherman introduced the much weaker notion of area-convexity, and proved it suffices to perform alternating gradient ascent/descent in saddle-point optimization. Moreover, he proved that there exists a small magnitude area-convex regularizer for pairs (𝒙,𝒚)[1,1]d×Δd where Δd={𝒚d:𝒚0,𝒚11} denotes the d-dimensional simplex.

Area-convexity has also been used for 1-norm minimization, again by “escaping to the dual” [12]. Area-convex optimization for - or 1-norm minimization can be used to improve the ϵ dependence in depth and work to linear in 1/ϵ of the parallel approximate maximum flow and transshipment algorithms of Li [17], Andoni et al. [2], and Agarwal et al. [1]. For transshipment, this requires constructing a polylog(n)-approximate 1 cost approximator 𝑷 such that 𝑷, |𝑷|, 𝑷, and |𝑷| can all be applied in O~(m) time and O~(1) depth. Similarly, for maximum flow, a polylog(n)-approximate congestion approximator 𝑷 s.t. 𝑷, |𝑷|, 𝑷, and |𝑷| can all be applied in O~(m) time and O~(1) depth. Grunau et al. [10] recently gave such constructions, thus achieving O~(m/ϵ) work and O~(1/ϵ) depth for (1+ϵ)-approximate undirected maximum flow or transshipment.

1.1 Our Contributions

Our main contribution is a (1+ϵ)-bicriteria approximation algorithm for the undirected minimum cost flow (Problem 1) on unit-length, unit capacity ϕ-expanders, with work O~(mϵϕ) and depth O~(1ϵϕ). Concretely, we produce a flow 𝐟 that routes the given demands exactly while ensuring 𝐟(1+ϵ) and 𝐟1(1+ϵ)𝐟1 where 𝐟 is the optimal flow. Our bicriteria approximation generalizes (1+ϵ) objective approximation for undirected maximum flow and transshipment and is stronger than throughput error. This answers Q1 and Q2 in the affirmative for such ϕ-expanders with ϕ>Ω(1/no(1)) and Q3 when ϕ>Ω(1/polylog(n)). We can state our result formally as:

Theorem 1.1 (Parallel Undirected Minimum-Cost Flow on Expanders).

Let G=(V,E) be an undirected, unit capacity, unit length graph with conductance at least ϕ. For any feasible demand 𝐝 in the Undirected Minimum Cost Flow Problem (1), one can compute, in O~(|E|ϵϕ) work and O~(1ϵϕ) depth, a flow 𝐟 routing 𝐝 with

𝐟(1+ϵ)and𝐟1(1+ϵ)min𝐁𝐠=𝐝𝐠1𝐠1.

In order to prove Theorem 1.1, our key technical contribution is a novel gradient-descent-like method for simultaneously minimizing 1- and -norms, building on Sherman’s theory of area-convexity.

To design this new method, we have to answer a sequence of questions: (a) Does there exist a meaningful saddle-point optimization problem that solves the undirected minimum-cost flow? (b) Does a small-magnitude area-convex regularizer exist for such a saddle-point optimization problem? (c) Can we implement the resulting “update step” efficiently? We answer these questions affirmatively in the context of unit-capacity, unit length expanders.

In attempting to answer Question (a), we encounter a conceptual hurdle. Sherman’s area-convexity approach to maximum flow, as well as follow-up methods for transshipment [12], inherently uses the existence of an appropriate congestion approximator for the problem. The κ-congestion approximator 𝐏 certifies that if, for a demand 𝐝, we have 𝐏𝐝ρ, then a flow routing 𝐝 with minimal congestion has congestion between ρκ and ρ. Likewise, for a length approximator. If we attempt to generalize this to the mixed problem, we hope to have two matrices 𝐏,𝐐 such that 𝐏 is a κ-congestion approximator and 𝐏𝐝ρ,𝐐𝐝1σ implies that among all flows 𝐟 with congestion 𝐂1𝐟 at most ρ, the flow 𝐟 with the minimal length 𝐋𝐟1 has a length between σκ and σ. In general, we cannot find such matrices 𝐏,𝐐 with small κ.

Fact 1.

There is a graph such that any such 𝐏,𝐐 must have κO(|V|).

But let us consider a special case where we know how to construct an oblivious routing 𝐌, a linear operator mapping demand to flow routing the demand, that is both a κ-congestion and a κ-length approximator at the same time. Then, we immediately have that 𝐌𝐝 certifies that among all flows with 𝐂1𝐟ρ, the optimal flow 𝐟 has length 𝐋𝐟1 between σκ and σ. In general, such a matrix M cannot exist for small κ as it would contradict fact 1 for 𝐏,𝐐=𝐌. However, we observe that, for unit length, unit capacity ϕ-expanders, an adequate oblivious routing 𝐌 does exist. Crucially, this is true because a single flow, namely the electrical flow, on such a graph is simultaneously an O(log(m)/ϕ) oblivious routing for 1 and , as shown by Florescu et al. [8] (a bound of O(log(m)/ϕ2) was shown by Kelner and Maymounkov [15]); electrical flows can be computed by applying a linear operator to the demands 𝐝. In fact, it turns out that there are other even easier choices for 𝐏,𝐐 on expanders. We will therefore use 𝐏=𝐃1𝐁/2 and 𝐐=𝐁/2 instead, where 𝐃 denotes the diagonal degree matrix and 𝐁 the vertex-edge incidence matrix. This allows us to define a suitable saddle-point optimization problem for solving the undirected minimum-cost flow, and with it, an appropriate area-convex regularizer, thus answering Questions (a) and (b). Finally, we also answer Question (c) in the affirmative by designing δ-approximate minimization oracles (AMOs) for primal and dual variable updates. Below, we state our version of our main technical result on mixed and 1-norm minimization.

Theorem (Mixed -1 Optimization).

Given r>0, define 𝒳={𝐱:𝐱1 and 𝐱1s}. There exists an algorithm which, given 𝐏, 𝐐c×m with 𝐏,𝐐11 and 𝐩,𝐪m with 𝐩1, 𝐪1s, runs in O~((wrkm/t/a(𝐏,𝐐)+c+m)ε1) work, O~((dpthm/t/a(𝐏,𝐐)+1)ε1) depth and outputs either

  1. 1.

    𝐱𝒳 such that 𝐏𝐱𝐩ε and 𝐐𝐱𝐪1εs; or

  2. 2.

    𝐲,𝐳c:𝐲1,𝐳1 certifying infeasibility: 𝐱𝒳:|𝐲(𝐏𝐱𝐩)|>0 or |𝐳(𝐐𝐱𝐪)|>0.

where wrkm/t/a(𝐏,𝐐),dpthm/t/a(𝐏,𝐐) denotes the work, depth it takes to multiply an arbitrary vector 𝐱 with either one of the matrices 𝐏,𝐏,|𝐏|,|𝐏|,𝐐,𝐐,|𝐐|,|𝐐|.

The theorem above follows immediately from Corollary 2. In Corollary 2 𝐑1,𝐏,𝐩,𝐐,𝐪 corresponds to s𝐈,𝐏,𝐩,𝐐/s,𝐪/s in the theorem. Theorem 1.1 is obtained from the theorem above by instantiating the regression problems with 𝐏=𝐃1𝐁/2 and 𝐐=𝐁/2. We obtain this theorem by developing a low-iteration count optimization approach to solving the following regression problem, which in the positive case should have objective value zero:

min𝒙m𝒙1𝒙1s𝑨𝒙𝒂+1s𝑩𝒙𝒃1 (2)

Crucially, we can express this problem as a saddle-point problem:

min𝒙m𝒙1𝒙1smax𝒚c𝒛c𝒛1𝒚11𝒚(𝑨𝒙𝒂)+1s𝒛(𝑩𝒙𝒃) (3)

At this point, we can develop area-convex regularizers for the primal-dual pair (𝒙,(𝒚,𝒛)).

Why area-convexity?

To our knowledge, all prior works that use area-convexity (e.g. [23, 12, 13, 10]) treat it as a tool for improving the ϵ-dependence in iteration count of -gradient descent from scaling as 1/ϵ2 to 1/ϵ (or by escaping to the dual doing the same for 1-norm minimization). This is not why we use area-convexity: we would also obtain affirmative answers to our Questions Q1, Q2, and Q3 using a method that scales as poly(1/ϵ).

Instead, our goal was to develop a saddle-point optimization problem where the primal-dual variable pairs live in domains for which a low-iteration count optimization method is known, and then try to show that even after adding together different such terms, we can solve the problem with low iteration complexity. However, saddle-point optimization generally requires a strongly convex regularizer for the primal or dual variables, or both (see [19, 20, 21] and many other works). This meant we could not apply such methods, because of the non-existence of small range, -strongly convex regularizers. But, Sherman’s area-convexity theory provides precisely a toolset for saddle-point optimization in the presence of of constraints and generalizes to our context. We view this idea as our main contribution.

We note that all core technical ingredients that our result builds on have been available since Sherman introduced area-convexity in 2017222Before the work of Florescu et al. [8], the work of Kelner-Maymounkov [15] would have yielded an additional 1/ϕ factor in our work and depth. [23]. But area-convexity is difficult to work with, which seems to have prevented the realization that it generalizes beyond - or 1-norm minimization to simultaneously handle both. Our area-convex regularizers are in some ways simpler than those of Sherman, and we hope this work will increase the accessibility of these tools.

Open problem: O~(mϵ) work, O~(1ϵ) depth undirected minimum-cost flow on general graphs. Our methods suggest an approach to approximate undirected minimum-cost flow on general graphs: Design a suitable saddle-point problem with an area-convex regularizer, and develop a method for solving the corresponding update problems. This theory will have to bypass folklore lower bounds on non-existence of high-quality simultaneous - and 1-oblivious routing on general graphs, which might be possible using length-constrained congestion-minimizing oblivious routing [9].

1.2 Organization of the Remaining Paper

After the preliminaries, in Section 3 we assume the mixed 1 theorem stated in Contribution 1.1. Under this assumption, we derive our main theorem (Theorem 1.1), which provides a parallel undirected minimum–cost flow solver on expanders.

After this application section, we then “open the black box”: we develop the mixed 1 optimization theorem itself. We begin by reviewing the relevant definitions, lemmas, and the extragradient iteration theorem for area–convexity established by Sherman [23] in Section 4. With this machinery in place, we construct in Section 5 an area–convex regularizer tailored to our mixed 1 problem, prove that the regularizer is well–behaved (its magnitude is small), and design an approximate maximization oracle for it. These ingredients then allow us to instantiate Sherman’s extragradient iteration Theorem 10, completing the proof of the mixed 1 theorem promised in the contribution section.

2 Preliminaries

2.1 Graphs

Throughout the paper all graphs are directed: a graph is a pair G=(V,E), and E is a set of directed edges. We represent undirected graphs via directed graphs: whenever we refer to an “undirected” graph, we mean a directed graph in which for every edge e1=(u,v) with capacity 𝐜(e1) there is also an antiparallel edge e2=(v,u) with capacity 𝐜(e2), and moreover these two antiparallel edges have equal length. We denote by 𝐁V×E the directed edge-incidence matrix: 𝐁v,e=1 iff e enters v, 𝐁v,e=1 iff e leaves v, and 𝐁v,e=0 otherwise. We denote by 𝐃 the out–degree matrix. Given an undirected capacitated graph G=(V,E,𝐜), a flow 𝐟E routes a demand vector 𝐝V with v𝐝(v)=0. The flow is feasible if 𝐟(e)𝐜(e) for all eE. A demand 𝐝 with v𝐝(v)=0 is feasible if there exists a feasible flow routing 𝐝. For a graph G=(V,E,𝐜,𝐥), let 𝐂 and 𝐋 be the diagonal matrices with 𝐜 and 𝐥 on the diagonal. We also define 𝐫=r(𝐥e𝐜e)e, where the scaling factor r will always be specified in context, and we let 𝐑 be the diagonal matrix with 𝐫 on the diagonal.

2.2 Linear Algebra

For the vector space n, we denote by d𝐱i:n the linear form d𝐱i(𝐱)=𝐱i. We denote by , the standard Hermitian inner product on n. We denote by Δd={𝒚d:𝒚0,𝒚11} the d–dimensional simplex. For a matrix 𝐌d×n we denote by |𝐌| the entrywise absolute value of 𝐌. Moreover, for 𝐌d×n we write wrkm/t/a(𝐌) and dpthm/t/a(𝐌) for the work and depth (respectively) required to compute any of 𝐌𝐱, 𝐌𝐱, |𝐌|𝐱, or |𝐌|𝐱 on an arbitrary vector 𝐱. For matrices 𝐌1,,𝐌k, we set

wrkm/t/a(𝐌1,,𝐌k) =maxiwrkm/t/a(𝐌i)
dpthm/t/a(𝐌1,,𝐌k) =maxidpthm/t/a(𝐌i).

3 Application: Flow Algorithms

3.1 Undirected Minimum-Cost Flow on Expanders

We now study how the minimum-cost flow problem can be solved efficiently on expander graphs. To recall, we define the approximate undirected minimum-cost flow problem as the problem: Given an undirected graph G=(V,E,𝐜,𝐥) with capacity 𝐜, length 𝐥 and a feasible demand 𝐝d, return a flow 𝐟E routing 𝐝, i.e. 𝐁𝐟=𝐝, such that

𝐂1𝐟1+ϵand𝐋𝐟1(1+ϵ)min𝐁𝐠=𝐝𝐂1𝐠1𝐋𝐠1. (4)

We observe that if we know the optimal value

1r:=min𝐁𝐠=𝐝𝐂1𝐠1𝐋𝐠1,

then equation (4) is equivalent to 𝐱1+ϵ and 𝐑𝐱1(1+ϵ), where 𝐑=r𝐋𝐂. The diagonal vector of 𝐑, we denote by 𝐫. In the following, we will not have access to the correct value of r, but we will binary search for an approximation. With this perspective, we aim to find a vector 𝐱 in the region

𝒳={𝐱[0,1]E:i𝐫i𝐱i1}.

such that 𝐂𝐱 routes the demand 𝐝. To find such a vector and in order to binary search the correct value of r, we state a key corollary that provides such a vector 𝐱 or provides a certificate that no such vector exists, in which case we will decrease r. The proof is deferred to Section 5.

Corollary 2.

There exists an algorithm that, given 𝐏,𝐐c×m with 𝐏,𝐐𝐑111 and 𝐩,𝐪c with 𝐩,𝐪11, runs in work O~((wrkm/t/a(𝐏,𝐐)+m)ε1), depth O~((dpthm/t/a(𝐏,𝐐)+1)ε1), and outputs either

  1. 1.

    𝐱𝒳 such that 𝐏𝐱𝐩ε and 𝐐𝐱𝐪1ε; or

  2. 2.

    𝐲,𝐳c:𝐲1,𝐳1 certifying infeasibility: 𝐱𝒳:|𝐲(𝐏𝐱𝐩)|>0 or |𝐳(𝐐𝐱𝐪)|>0.

The above corollary provides a way to either approximately satisfy a system of linear inequalities or to produce a dual certificate demonstrating infeasibility. We now instantiate this general result for the specific matrices that arise from routing problems.

Lemma 3.

Let 𝐌p,𝐌qc×n satisfy 𝐌p𝐁𝐂1 and (𝐌q𝐁𝐂)𝐑111. Let 𝐝m satisfy 𝐌p𝐝,𝐌q𝐝11. Then there is an algorithm that in work O~((wrkm/t/a(𝐌p𝐁𝐂,𝐌q𝐁𝐂)+c+m)ε1) and depth O~((dpthm/t/a(𝐌p𝐁𝐂,𝐌q𝐁𝐂)+1)ε1) outputs either

  1. 1.

    a feasible flow 𝐟 with 𝐑𝐂1𝐟11 and 𝐌p(𝐁𝐟𝐝)ε,𝐌q(𝐁𝐟𝐝)1ε; or

  2. 2.

    a dual certificate (𝐲,𝐳) proving that 𝐱𝒳:𝐟=𝐂𝐱 such that 𝐁𝐟=𝐝.

The next proof simply applies Corollary 2 with a direct substitution of the relevant matrices.

Proof.

The lemma is an immediate instantiation of Corollary 2. Concretely set 𝐏=𝐌p𝐁𝐂, 𝐐=𝐌q𝐁𝐂, 𝐩=𝐌p𝐝 and 𝐪=𝐌q𝐝. The stated operator norm bounds imply the hypotheses of the corollary, and the corollary gives either the approximate primal flow (case 1) or the dual infeasibility certificate (case 2) with the claimed work/depth bound. Having established this lemma, we recall a crucial combinatorial Lemma about flow routings in expanders. It can be considered folklore; a proof can be found in [4]. It states that if the amount of demand on every vertex is bounded by the degree, we can route the demand simultaneously with small congestion and small cost, where the quality scales as the inverse of the expansion factor.

Lemma 4 (Lemma 5.12 in [4]).

Let G=(V,E) be a ϕ-expander. Consider any demand 𝐝V:j𝐝j=0 such that for every vertex v,|𝐝(v)|deg(v). Then, there exists a flow 𝐟 in G that routes 𝐝 with 𝐟=10log(n)/ϕ and 𝐟1=10log(n)𝐝1/ϕ.

We now arrive at the main result of this subsection, which shows that we can efficiently compute a near-optimal minimum-cost flow on an expander graph. See 1.1 We now describe the proof strategy for this theorem. The idea is to repeatedly test the feasibility of routing the demand 𝐝 under a guessed congestion scale r, and to use binary search to refine this guess until we achieve an approximately optimal value. The feasibility tests themselves are implemented by invoking Lemma 3 as a black box.

Proof.

Let us denote by m the number of undirected edges in G. The proof proceeds by reducing to Lemma 3 and then binary searching a length scale r. For 𝐑=r𝐈,𝐃1𝐁,r𝐁𝐑112, i.e. the operators we will feed into Lemma 3 satisfy the required norm bounds (up to the constant factor 2). We remark for the reader that as mentioned in the preliminaries 𝐃 denotes the diagonal degree matrix. Because the demand 𝐝 is feasible, 𝐃1𝐝1, and by choosing r sufficiently small we may ensure r𝐝11. As we will see below, we may always choose r sufficiently small to satisfy this inequality.

Feasibility predicate.

Fix a target approximation parameter ϵ(0,1). We will use Lemma 3 as a black-box feasibility test:

Feasible(r):=“There exists 𝐠 with 𝐁𝐠=𝐝,𝐠1+ϵ2,and 𝐑𝐠11+ϵ2?”

Recall 𝐑=r𝐈 so 𝐑g1=r𝐠11 iff 𝐠11/r. We implement Feasible(r) by invoking Lemma 3 with the operator matrices

𝐌p=12𝐃𝟏,𝐌q=r2𝐈n,

and with the Lemma accuracy parameter

ε=ϕ10logmϵ4=ϕϵ40logm. (5)

The choice (5) ensures that the additive errors produced by the lemma translate into multiplicative (1±ϵ/2) guarantees on the final norms; the constant factors are chosen to satisfy the norm bounds. The lemma returns one of two outcomes:

  1. 1.

    a flow 𝐟 with 𝐌p(𝐁𝐟𝐝)ε and 𝐌q(𝐁𝐟𝐝)1ε. Lemma 4 implies that there exists a correction flow 𝐠 routing 𝐁𝐟𝐝 with 𝐠,𝐑𝐠1ϵ/4. We can repeat the procedure k many times and obtain a sequence of flows (𝐟i)ik such that the correcting flow of i𝐟i has congestion and a length of at most ϵk4k. By taking k=Ω(log(|V|)) large enough, routing the residual demand along any paths by a flow 𝐠 incurs additional congestion and a length of at most ϵ/2 333We could, for example, use electrical flow routing, which is computable in parallel. Hence, the returned flow 𝐟^=𝐠+ik𝐟i routes the demand 𝐝 and

    𝐟^ 𝐠+ik𝐟iϵ/2+𝐟0+ϵ0<i14iϵ/2+1+ϵ31+ϵ
    𝐟^1 𝐠1+ik𝐟i1ϵ/2+𝐟01+ϵ0<i14iϵ/2+1+ϵ31+ϵ

    This certifies that Feasible(r) is true.

  2. 2.

    a dual certificate (𝐲,𝐳) that there does not exist a flow 𝐠 with 𝐁𝐠=𝐝,𝐠,𝐑𝐠11.

Therefore, each invocation of the lemma provides a robust yes/no answer for Feasible(r) (with the “yes” case producing an approximate primal flow and the “no” case providing a dual witness).

Initialization of the binary search interval.

By Lemma 4, the quantity

T:=min𝐁𝐠=𝐝𝐠1𝐠1

satisfies the bounds 𝐝1T 10logm𝐝1/ϕ. Equivalently, the threshold value 1/r for which Feasible(r) changes its truth value lies in [𝐝1,10𝐝1logm/ϕ)]; hence

r[ϕ10𝐝1logm,1𝐝1]. (6)

Thus we may initialize the binary search interval to

slow=𝐝1,shigh=10log(m)ϕ𝐝1,

and we are guaranteed that the true threshold lies inside this interval. This in particular establishes the bound r𝐝11 that we assumed in the beginning.

Binary search and termination.

Let k be maximal such that (1+ϵ/4)k(10log(m))/ϕ. We perform binary search on the ordered sequence (slow(1+ϵ/4)i)ik. We initialize ilow=0,ihigh=k For a midpoint imid we evaluate Feasible(1/(slow(1+ϵ/4)imid)) by calling Lemma 3 with accuracy ε as in (5). If the lemma returns feasible, then we know that Tslow(1+ϵ/4)imid+1 and we set ihighimid+1, otherwise ilowimid. We stop when ilow+1=ihigh. This stopping rule guarantees that the final returned value of shigh approximates T to multiplicative (1±ϵ/4) accuracy, i.e. shigh(1+ϵ4)1Tshigh. Hence, the flow 𝐟 associated with r=1/slow satisfies

𝐟1(1+ϵ4)slow(1+ϵ4)(1+ϵ4)T(1+ϵ)T.
Iteration count and work/depth bound.

The initial sequence length is

log((10log(m))/ϕ)log(1+ϵ/4)4log((10log(m))/ϕ)ϵ

Therefore the number of binary search iterations required is

O(log10logmϕ+log1ϵ)=O~(1+log(1/ϵ)).

Each invocation of Lemma 3 (with parameter ε=Θ(ϕϵ/logm)) requires

O~((wrkm/t/a(𝐃1𝐁,r𝐁)+m)(ε)1)=O~(mϵ10logmϕ) work
O~((dpthm/t/a(𝐃1𝐁,r𝐁)+1)(ε)1)=O~(1ϵ10logmϕ) depth

where we used the operator norm bounds from expansion. Multiplying by the O(log(1/ϵ)+log(10logm/ϕ)) binary search iterations yields O~(mϵϕlog(1/ϵ)) work and O~(1ϵϕlog(1/ϵ)) depth as claimed.

4 Area-Convexity Review

In this section, we provide a brief review of the fundamentals of the concept of area-convexity. These results are crucial for the discussion in the Section 5.

Definition 5.

A δ-approximate minimization oracle (δ-AMO) for ϕ:𝒞d takes input 𝐩d, and outputs 𝐳𝒞 such that, 𝐩𝐳ϕ(𝐳)+δsup𝐳𝒞𝐩𝐳ϕ(𝐳)=:ϕ(𝐩).

A δ-approximate minimization oracle (AMO) generalizes the idea of computing a convex conjugate or performing an exact minimization. Rather than finding the exact maximizer of 𝐩𝐳ϕ(𝐳), it allows an additive error of δ.

Definition 6.

A function ϕ is area-convex with respect to 𝐉 on a convex set 𝒞, iff, for all 𝐱,𝐲,𝐳𝒞,

ϕ(𝐱+𝐲+𝐳3)13(ϕ(𝐱)+ϕ(𝐲)+ϕ(𝐳))133(𝐳𝐲)𝐉(𝐲𝐱)

Area-convexity is a geometric generalization of classical convexity. While standard convexity constrains the value of ϕ at the midpoint of two points, area-convexity introduces a third point and a skew-symmetric matrix 𝐉 that captures rotational or “area-preserving” behavior. The additional term involving 𝐉 modifies convexity to reflect curvature along oriented triangles rather than line segments – this makes it particularly useful in settings involving symplectic or complex geometry.

Definition 7.

We define the complex Loewner order on the Hermitian matrices {𝐏m×m:𝐏=𝐏} as 𝐏𝐐 iff 𝐱m:𝐱(𝐏𝐐)𝐱0.

The complex Loewner order provides a way to compare Hermitian matrices based on their action on all vectors. If 𝐏𝐐, then 𝐏 dominates 𝐐 in a quadratic sense – every vector experiences at least as much “energy” under 𝐏 as under 𝐐. This ordering is central in matrix analysis and is crucial in expressing curvature conditions for area-convex functions.

 Remark 8.

It is easy to verify that the complex Loewner order defines a partial order. It satisfies, in particular, transitivity.

The Loewner order’s partial ordering structure ensures consistency when reasoning about matrix inequalities – if 𝐏𝐐 and 𝐐𝐂, then 𝐏𝐂. This makes it a natural tool for linking differential properties of functions (like Hessians) to global convexity properties.

Theorem 9 ([23]).

Let ϕ be twice differentiable on a convex set 𝒞 and 𝐉 skew-Hermitian,

  1. 1.

    If ϕ is area-convex w.r.t. 𝐉 on the interior of 𝒞, then 2ϕ(𝐳)i𝐉 for all 𝐳 in the interior.

  2. 2.

    If 2ϕ(𝐳)i𝐉 for all 𝐳𝒞, then ϕ is area-convex w.r.t 13𝐉 on 𝒞.

If ϕ is continuous on the closure of 𝒞, then ϕ is area-convex w.r.t 13𝐉 on the closure of 𝒞.

This theorem bridges the geometric notion of area-convexity with the analytical condition on the Hessian of ϕ. The first part says that if ϕ behaves in an area-convex way, its curvature (via the Hessian) dominates the imaginary part of 𝐉. The converse connects matrix inequalities to global area-convexity, showing that certain second-order conditions suffice for this generalized convexity to hold. The result thus provides a powerful differential characterization of area-convex functions.

Theorem 10 ([23]).

Let 𝐉 be skew-Hermitian, 𝒞 compact-convex, and ϕ:𝒞[ρ,0]. Suppose ϕ is area-convex with respect to 23𝐉 on 𝒞, and Φ is a δ-AMO for ϕ. Define a sequence by 𝐳(0)=𝟎, 𝐳(t+1)=𝐳(t)+Φ~(𝐉𝐳(t)) where Φ~(𝐩)=Φ(𝐩+2𝐉Φ(𝐩)). Then, for all t>0, we have 1t𝐳(t)𝒞 and δ+ρ/tmax𝐳𝒞𝐳𝐉(𝐳(t)/t). Each iteration requires O(1) calls to Φ, O(1) applications of 𝐉, and O(1) vector additions.

This theorem connects area-convexity to algorithmic performance. It shows that if a regularizer ϕ satisfies area-convexity with respect to 𝐉 and we have access to a δ-approximate minimization oracle Φ, then an iterative procedure using 𝐉 and Φ can generate approximate saddle points efficiently. Intuitively, the 𝐉 operator introduces a rotational dynamics that stabilizes the update process, while area-convexity ensures convergence bounds on the averaged iterates.

5 Joint L1/Max-Norm Optimization

We begin by describing the feasible set for our optimization problem. This domain captures both the and 1 constraints simultaneously, allowing us to treat them in a unified framework. In general, we consider the domain

𝒳τ(𝐫,i[𝐬i,𝐭i])={𝐱i[𝐬i,𝐭i]:i𝐫i𝐱iτ}

for our primal variable 𝐱, this captures both the and the 1 constraints. With this definition in place, we now turn to the main algorithmic result establishing the existence of efficient procedures for solving certain joint 1/ min-max problems.

Theorem 11.

There exists an algorithm, given a non-empty 𝒳=𝒳2(𝐫,i[𝐬i,𝐭i]) and 𝐏,𝐐c×d with 𝐏,𝐐𝐑112, runs in O~((wrkm/t/a(𝐏,𝐐)+c+d)log(mini𝐫iϵ)ε1) work, O~((dpthm/t/a(𝐏,𝐐)+1)log(mini𝐫iϵ)ε1) depth and outputs 𝐱𝒳, (𝐲,𝐳)Δc×[0,1]c such that

εmax𝐱𝒳,(𝐲,𝐳)Δc×[0,1]c𝒜(𝐱,(𝐲,𝐳))𝒜(𝐱,(𝐲,𝐳))

where 𝒜(𝐱,(𝐲,𝐳))=𝐲𝐏𝐱+𝐳𝐐𝐱.

The theorem guarantees an approximate saddle point under both 1 and constraints with polylog overhead in work/depth. The next corollary specializes this result to a more concrete case where additional linear terms appear in the objective.

Corollary 12.

There exists an algorithm, given 𝐏,𝐐c×m and 𝐩,𝐪m with 𝐏,𝐩1,𝐐𝐑11,𝐪12, runs in O~((wrkm/t/a(𝐏,𝐐)+c+m)log(mini𝐫iϵ)ε1) work, O~((dpthm/t/a(𝐏,𝐐)+1)log(mini𝐫iϵ)ε1) depth and outputs 𝐱𝒳=𝒳1(𝐫,[0,1]m), (𝐲,𝐳)Δm×[0,1]m such that

εmax𝐱𝒳,(𝐲,𝐳)Δm×[0,1]m𝒜(𝐱,(𝐲,𝐳))𝒜(𝐱,(𝐲,𝐳))

where 𝒜(𝐱,(𝐲,𝐳))=𝐲𝐏𝐱+𝐳𝐐𝐱𝐩𝐲𝐪𝐳.

We now explain how this corollary follows as a direct consequence of Theorem 11.

Proof of Corollary 12.

Observe that the matrix [𝐩|𝐏] has -norm at most 2, [𝐪|𝐐𝐑1] has 1-norm at most 2 and [1]×𝒳=𝒳2((1𝐫),[1]×[0,1]m), thus Corollary 12 follows immediately from Theorem 11. Corollary 12 implies Corollary 2.

Proof of Corollary 2.

We call Corollary 12 with the vectors [𝐩𝐩],[𝐪𝐪] and the matrices [𝐏𝐏],[𝐐𝐐]. Corollary 12 gives the conclusion for (𝐱,(𝐲1,𝐲2),(𝐳1,𝐳2))[0,1]m×Δ2m×[0,1]2m

max(𝐲1,𝐲2)Δ2m(𝐲1𝐲2)(𝐏𝐱𝐩)+max𝐳1,𝐳2[0,1]m(𝐳1𝐳2)(𝐐𝐱𝐪)
=max𝐲Δ2m,𝐳[0,1]2m𝔄(𝐱,(𝐲,𝐳))ϵ+max𝐱[0,1]m𝔄(𝐱,(𝐲,𝐳))
=ϵ+max𝐱[0,1]m(𝐲1𝐲2)(𝐏𝐱𝐩)+(𝐳1𝐳2)(𝐐𝐱𝐪).

Either, we have that max𝐱[0,1]m(𝐲1𝐲2)(𝐏𝐱𝐩)+(𝐳1𝐳2)(𝐐𝐱𝐪)=0 in which case the chain of inequalities above implies item 1 of Corollary 2 or max𝐱[0,1]m(𝐲1𝐲2)(𝐏𝐱𝐩)+(𝐳1𝐳2)(𝐐𝐱𝐪)>0 and we can conclude item 2 of Corollary 2. The next section develops the regularization framework used in proving area-convexity, which is the key analytic ingredient underlying the optimization guarantee.

5.1 An area-convex regularizer for Theorem 11

To control the curvature of the optimization landscape, we define an appropriate regularizer ϕ. This regularizer links the primal and dual variables in a structured way and ensures the stability of the algorithm. We introduce the regularizer ϕ(𝐱,(𝐲,𝐳))=αi,j𝐏¯i,jport(𝐱j,𝐲i)+𝐐¯i,j𝐫j1port(𝐳i,𝐫j𝐱j), where port(x,y)=x2y2+βylogy and where the matrix 𝐏¯i,j=|𝐏ij|𝐏i,1,𝐐¯i,j=|𝐐ij|𝐫j𝐐,j1 (w.l.o.g., we may assume that no row of 𝐏 and no column of 𝐐 is zero; otherwise, drop them). We note that each row of 𝐏¯ and each column of 𝐐¯𝐑𝟏 sums to one, that 𝐏¯,𝐐¯𝐑11=1, and that 𝐏¯i,j|𝐏ij|/2,𝐐¯i,j|𝐐ij|/2 (since, by assumption, 𝐏,𝐐𝐑112). To get a handle on the regularizer on the Hessian of the regularizer, we introduce the function H(𝐱,(𝐲,𝐳))=αi,j𝐏¯i,jhji(𝐱,𝐲)+𝐐¯i,jhij(𝐳,𝐱) where hji(𝐱,𝐲)=𝐲id𝐱j,d𝐱j+β𝐲id𝐲i,d𝐲i. One should understand it as the diagonal terms of the Hessian 2ϕ, we will argue that H approximates 2ϕ in -Loewner order. The outline of the argument is the same as in the paper of Sherman. In Lemma 13, we bound the the image of the regularizer, in Claim 14 we argue that H approximates 2ϕ in -Loewner order, which will be helpful for arguing that ϕ is area-convex in Lemma 15. In Lemma 21, we argue that there exists an δ-AMO for ϕ for this we need to argue for stability in 𝐲 in claims 20. No argument for stability is necessary for 𝐱,𝐳.

Lemma 13.

Forall 𝐱𝒳,𝐲Δc,𝐳[0,1]c:|ϕ(𝐱,(𝐲,𝐳))|O~(α(1+β))

This lemma provides a uniform bound on ϕ across the feasible domain, which will be essential when arguing about its curvature properties.

Proof.
|ϕ(𝐱,(𝐲,𝐳))| =α(i,j𝐏¯i,jport(𝐱j,𝐲i)+𝐐¯i,j𝐫j1port(𝐳i,𝐫j𝐱j))
=O(α(1+β)i𝐲i|log(𝐲i)|j𝐏¯i,j)
+O(α(1+β)j(𝐫j𝐱j|log(𝐫j𝐱j)|i𝐐¯i,j𝐫j1))
=O(α(1+β)(i𝐲i|log(𝐲i)|+j𝐫j𝐱j|log(𝐫j𝐱j)|))
=O~(α(1+β)).

where we used in the second equality that 𝐱[0,1]m,𝐳[0,1]c,(𝐫i𝐱i)iΔm,𝐲Δc, and thus port(𝐱j,𝐲i)(1+β)𝐲i|log(𝐲i)| and port(𝐳i,𝐫j𝐱j)(1+β)𝐫j𝐱j|log(𝐫j𝐱j)|. in the third, equality we used that 𝐏¯,𝐐¯𝐑11=1. Next, we show that the quadratic form H closely approximates the Hessian of ϕ, which is crucial for establishing curvature control.

Lemma 14.

For β>0 large enough, 12H(𝐱,(𝐲,𝐳))2ϕ(𝐱,(𝐲,𝐳))2H(𝐱,(𝐲,𝐳)).

Proof.

We can express the Hessian of port as 2port(𝐱j,𝐲i)=hji(𝐱,𝐲)+𝐱jd𝐱j,d𝐲i+𝐱jd𝐲i,d𝐱j. We note that for all a=a1+ia2,b=b1+ib2

(𝐱id𝐱j,d𝐲i+𝐱id𝐲i,d𝐱i)((a𝟙jb𝟙i),(a𝟙jb𝟙i))=𝐱ja¯b+𝐱jb¯a

and
hji(𝐱j,𝐲i)((a𝟙jb𝟙i),(a𝟙jb𝟙i)) =𝐲ia¯a+β𝐲ib¯b=𝐲i(a12+a22)+β𝐲i(b12+b22) =(𝐲ia12+β𝐲ib12)+(𝐲ia22+β𝐲ib22)

Since 𝐱j[0,1], 2(|a1b1|+|a2b2|)𝐱ja¯b+𝐱jb¯a2(|a1b1|+|a2b2|). Consider the two terms separately. For the first case, we make a case distinction 𝐲iβ|b1||a1| and 𝐲iβ|b1||a1| while for the second case we make a case distinction 𝐲iβ|b2||a2| and 𝐲iβ|b2||a2|. This allows one to find that

hji(𝐱,𝐲)((a𝟙jb𝟙i),(a𝟙jb𝟙i))β2|a¯b+b¯a|

Provided that β is large enough, we have that hji(𝐱,𝐲)/22port(𝐱j,𝐲i)2hji(𝐱,𝐲). Note also that 2port(𝐳i,𝐫j𝐱j)=𝐫j(hij(𝐳,𝐱)+𝐳id𝐳i,d𝐱j+𝐳id𝐱j,d𝐳i) and thus hij(𝐳,𝐱)/2𝐫j12port(𝐳i,𝐫j𝐱j)2hij(𝐳,𝐱). This concludes the argument. Having controlled the Hessian approximation, we can now prove that ϕ is area-convex with respect to an appropriate matrix 𝐉.

Lemma 15.

ϕ is area-convex w.r.t. 23𝐉 where 𝐉=αβ63[0[𝐏𝐐][𝐏𝐐]0].

Proof.

By Lemma 14, it suffices to prove H(𝐱,𝐲)/323𝐉. We note that the H is a sum of scaled q functions. It thus suffices to verify that

𝐏¯ijhji(𝐱,𝐲)+𝐏ij(iβ2d𝐱j,d𝐲iiβ2d𝐲i,d𝐱j) 0 (7)
𝐐¯ijhij(𝐳,𝐱)+𝐐ij(iβ2d𝐳i,d𝐱jiβ2d𝐱j,d𝐳i) 0 (8)

Note that this is equivalent to

𝐏¯ijhji(𝐱,𝐲)+|𝐏ij|(iβ2d𝐱j,d𝐲iiβ2d𝐲i,d𝐱j) 0 (9)
𝐐¯ijhij(𝐳,𝐱)+|𝐐ij|(iβ2d𝐳i,d𝐱jiβ2d𝐱j,d𝐳i) 0 (10)

because if 𝐏i,j,𝐐i,j<0 the sesquilinear form on the left hand side of (7),(8) evaluated on ((𝐚,𝐛),(𝐚,𝐛))(d×c)×(d×c) is the same as the sesquilinear form on left hand side of (9), (10) evaluated on ((𝐚,𝐛),(𝐚,𝐛)). Since 𝐏¯ij|𝐏ij|/2 and 𝐐¯ij|𝐐ij|/2, it suffices to prove that hji(𝐱,𝐲)+(iβd𝐱j,d𝐲iiβd𝐲i,d𝐱j)0. We observe that for any a,b,1𝐲i(βb¯+i𝐲ia¯)(βbi𝐲ia)0 implies that

hji(𝐱,𝐲)+(iβd𝐱j,d𝐲iiβd𝐲i,d𝐱j) =
𝐲id𝐱v¯d𝐱v+β𝐲id𝐲i¯d𝐲i+iβd𝐱j,d𝐲iiβd𝐲i,d𝐱j =
1𝐲iβd𝐲ii𝐲id𝐱j,βd𝐲ii𝐲id𝐱j 0.

This yields the conclusion of the lemma.

5.2 Approximate Maximum Oracle for Theorem 11

We now turn to the algorithmic aspect – constructing an approximate maximum oracle (AMO) for ϕ. The AMO allows us to efficiently compute near-optimal responses in the min-max game. Before, we discuss the actual algorithm, we should discuss how to evaluate the so-called Lambert function as we will use it to compute our primal response.

5.2.1 Lambert Function

The Lambert function W defines for a restricted region the inverse function of f(w)=wexp(w). For our purposes, it suffices to restrict the discussion to W:[0,)[0,). The function is implicitly defined by W(x) is the unique root of the wexp(w)x for w[0,1]. An very tight bound for large values of W can be found by the following easy lemma:

Lemma 16.

For xe,log(x)loglog(x)W(x)log(x)loglog(x)+loglog(x)log(x)

Proof.

Note that f(w) is strictly monotone and f(log(x)+loglog(x))=(1loglog(x)log(x))x<x and
f(log(x)+loglog(x)+loglog(x)/log(x))=(1loglog(x)log(x)+loglog(x)log(x)2)xexp(loglog(x)log(x))>x.

This implies the bounds. There does not exist a closed form solution of the Lambert function, but we can evaluate W(x) efficiently using the projected Newton-Raphson method.

Lemma 17.

For all x[0,),, we can find w such that W(x)ϵ<w<W(x)+ϵ for ϵ>0 in work and depth O(log(1/ϵ)) 444Given that we have an O(log(1/ϵ) error dependence for computing W, we will, in the following, neglect this error to ease presentation..

Proof.

Recall the projected Newton-Raphson method is given by wi+1=chop(wif(wi)f(wi)) where chop(t)=max(0,t). Note that wexp(w) is a strictly increasing function and that f(0)=0exp(0)=0,f(1)=1exp(1)=e so there exists a unique root in [0,1]. Let w denote this unique root. By Taylor, we find that

0=f(w)x=f(wi)x+f(wi)(wwi)+12f′′(ζ)(wwi)2.

Thus,

|wwi+1||(wi+1f(wi)(xf(wi)))w|=|f′′(ζ)2f(wi)(wwi)2|.

We observe that f(w)=exp(w)(w+1) and f′′(w)=exp(w)(w+2). We can thus bound the coefficient by |wwi+1||wwi|2 provided our initial guess w0 satisfies |w0w|12, we can conclude that the projected Newton-Raphson method converges fast enough. Observe that by Lemma 16, log(x)loglog(x) is a good enough guess if xe2. For x smaller than e2, we observe that W(x)2 as f(2)=2exp(2)>x. We may thus try successively the initial guesses 0.5,1.5,2.5,3.5,4.5,5.5,6.5,7.5 and terminate early if the Newton-Raphson method does not converge fast enough.

5.2.2 Alternating Primal Dual Optimization yields an AMO

Given that we know how to evaluate the Lambert function, we now turn to actually constructing an approximate maximum oracle (AMO) for ϕ using alternating primal and dual maximization.

Algorithm 1 Approximate Minimizer for ϕ.

This algorithm alternates between optimizing over 𝐱 and (𝐲,𝐳), improving the objective until convergence to an approximate minimizer. The next two subroutines describe how to optimize each block efficiently.

Algorithm 2 Maximizing 𝐱.

The following lemma guarantees the correctness and work/depth bound for the 𝐱-maximization step.

Lemma 18.

Algorithm 2 returns a 𝐱𝒞 such that for all 𝐱𝒞,𝐜𝐱ϕ(𝐱,(𝐲,𝐳))+δ𝐱𝐜𝐱ϕ(𝐱,(𝐲,𝐳)) in O(log(𝐜1αβmini𝐫iδ𝐱)(c+d+wrkm/t/a(𝐏,𝐐))) work and depth O(log(𝐜1αβmini𝐫iδ𝐱)(1+dpthm/t/a(𝐏,𝐐))).

Proof.

Note that for fixed λ, the optimization problem for each variable decouples. For one variable, we want to maximize fi(𝐱i)=ai𝐱i+bi𝐱i2+ci𝐱ilog(di𝐱i),𝐱i[0,1], where ai=j(𝐜jαi𝐐¯i,j𝐳i22), dj=𝐫j>0, and bi=α(i𝐏¯i,j𝐲i2),ci=αβ𝐫ji𝐐¯i,j𝐫j1=αβ𝐫j<0 (where we used that the columns of 𝐐¯𝐑1 sum up to one). For the Lagrangian, we write i(𝐱i,λ)=fi(𝐱i)λ𝐱i. The first and second derivatives are

fi(𝐱i)=ai+2bi𝐱i+ci(log(di𝐱i)+1),fi′′(𝐱i)=2bi+ci𝐱i.

Stationary points of the Lagrangian satisfy

dd𝐱ii(𝐱i,λ)=02bi𝐱i+cilog(di𝐱i)+(ai+λ+ci)=0.

Rearranging the stationary equation gives di𝐱i=exp((2bi𝐱i+ai+λ+ci)/ci), or equivalently 𝐱iexp(2bici𝐱i)=1diexp(ai+λ+cici). If bi=0, this already defines the answer. Otherwise, we set ui=2bici𝐱i, we obtain uieui=2bicidiexp(ai+λ+cici). Hence the stationary solutions are 𝐱i=ci2biW(2bie(ai+λ+ci)/ci/(cidi)), where W denotes the Lambert W-function. By Lemma 17, we know how to efficiently evaluate the Lambert W-function up to an error of δX/2 in work O(mlog(1δX)) and depth O(log(1δX)). Let us denote by 𝐱i(λ) the argmax of i(𝐱i,λ)=fi(𝐱i)λ𝐱i. We note that

fi(𝐱i(λ))fi(𝐱i(λ^))=ddλfi(𝐱i(λ))|λ=λ~(λλ^).

By optimality, we have that dfid𝐱i(𝐱i(λ))=λ and thus d𝐱i(λ)dλ=1dfid𝐱i(𝐱i(λ))12bi+ci. Combining those two bounds, we obtain
fi(𝐱i(λ))fi(𝐱i(λ^))λ~2bi+ci(λλ^)λ2bi+ci(λλ^)O(λαβ𝐫i(λλ^)).

Moreover, λ=dfid𝐱i(𝐱i(λ))=ai+2bi𝐱i+ci(log(di𝐱i)+1)𝐜1. Taking 0λλ^αβ𝐫i𝐜1δx2, we incur an error of δX/2 due to inexact λ, which adds to the error coming from inexactly evaluating the Lambert W-function. Analogously, the next algorithm computes the best response for (𝐲,𝐳) given a fixed 𝐱.

Algorithm 3 Maximizing (𝐲,𝐳).
Lemma 19.

Algorithm 3 returns a 𝐲Δc,𝐳[0,1]c such that for fixed 𝐱𝒞,𝐝𝐲+𝐞𝐳ϕ(𝐱,(𝐲,𝐳)) is maximized.

Proof.

The maximizer of 𝐝𝐲ϕ(𝐱,(𝐲,𝐳)) also maximizes (𝐝α𝐡)𝐲αβi𝐲ilog(𝐲i), where we used that j𝐏¯ij=1. A standard computation yields the result. The maximizer of 𝐞𝐳ϕ(𝐱,(𝐲,𝐳)) also maximizes 𝐞𝐳i𝐳~i𝐱i2. Since the domain is box-constrained and there are no mixed terms in the objective, the variables decouple and it is straightforward to solve the problem for each variable. We now study the stability of the dual variables with respect to small perturbations in 𝐱. This property ensures that updates in alternating minimization behave smoothly.

Lemma 20.

Let 𝐱,𝐱𝒞. Let (𝐲,𝐳) maximize η(𝐱,(𝐲,𝐳)) and (𝐲,𝐳) maximize η(𝐱,𝐲,𝐳). Then, (1γ)𝐲𝐲(1+γ)𝐲 for γ>0 small.

Proof.

Note that 𝐡i varies by at most O(1), indeed we have that |𝐡i|=|j𝐏¯i,j𝐱j22|j|𝐏¯i,j|=1. If we pick β large enough, the claim follows by
exp(2𝐡β)softmax(𝐝αβ)softmax(𝐝αβ𝐡β)exp(2𝐡β)softmax(𝐝αβ).

Finally, combining all previous ingredients, we show that a δ-approximate maximum oracle exists and can be computed efficiently.

Lemma 21.

There is a δ-AMO for ϕ that runs in
O(log(𝐜1αβmini𝐫iδ𝐱)(c+d+wrkm/t/a(𝐏,𝐐))) work and
O(log(𝐜1αβmini𝐫iδ𝐱)(1+dpthm/t/a(𝐏,𝐐))) depth.

Proof.

We introduce the function η(𝐱,(𝐲,𝐳)):=ϕ(𝐜,𝐝,𝐞)𝐜𝐱𝐝𝐲𝐞𝐳+ϕ(𝐱,(𝐲,𝐳)). We provide an algorithm that runs in O(log(𝐜1αβmini𝐫iδ𝐱)(c+d+wrkm/t/a(𝐏,𝐐))) work and O(log(𝐜1αβmini𝐫iδ𝐱)(1+dpthm/t/a(𝐏,𝐐))) depth and returns δ-approximate minimizers to η. By Remark 22, η is strictly convex and since the domain 𝒳×Δc×[0,1]c is compact, there exists a unique minimizer. We denote the minimizer by (𝐱,(𝐲,𝐳)). We denote by 𝐱(t),𝐲(t) the exact solution to the t-th optimization problem and by 𝐱~(t) the inexact returned solution by Algorithm 2. Let us denote by Δ¯ the restricted region of Δm that 𝐲 can take values in according to Lemma 20. The proof of Lemma 4.3 follows from the general framework for analyzing alternating minimization by [3]. The proof detail below follows from [13]. To simplify notation, we write 𝜻=(𝐲,𝐳). We use 𝐱,𝜻 and 𝐱𝐱2,𝜻𝜻2 to denote the gradient with only the 𝐱 and 𝜻 components kept. Let 𝒳(t+1)={𝐱𝒳:𝐱12𝐱(t+1)}. We will first show that for all 𝜻,𝜻¯Δ¯×[0,1]c and 𝐱¯𝒳(t+1)

2η(𝐱¯,𝜻¯)=2ϕ(𝐱¯,𝜻¯)12H(𝐱¯,𝜻¯)16𝜻𝜻2η(𝐱(t+1),𝜻), (11)

where the first Loewner inequality follows from 14. We observe that

hji(𝐱¯,𝐲¯) =𝐲¯id𝐱j,d𝐱j+β𝐲¯id𝐲i,d𝐲iβ𝐲¯id𝐲i,d𝐲i
13β𝐲id𝐲i,d𝐲i

where we used claim 20 in the second Loewner inequality and

hij(𝐳¯,𝐱¯)=𝐱¯jd𝐳i,d𝐳i+β𝐱¯jd𝐱j,d𝐱j𝐱¯jd𝐳i,d𝐳i12𝐱j(t+1)d𝐳i,d𝐳i.

These two together yield the inequality (11). Now we show that for all 𝐱^𝒳(t+1) and 𝜻^Δ¯×[0,1]c,η(𝐱(t+1),𝜻(t))η(𝐱(t+1),𝜻(t+1))16(η(𝐱(t),𝜻(t+1))η(𝐱^,𝜻^)). Let 𝜻~=56𝜻(t)+16𝜻^. By the optimality of 𝜻(t+1) we have η(𝐱(t+1),𝜻(t+1))η(𝐱(t+1),𝜻~). By the optimality of 𝐱(t+1) we have 𝐱η(𝐱(t+1),𝜻(t)),𝐱(t+1)𝐱^0 which gives us
𝜻η(𝐱(t+1),𝜻(t)),𝜻(t)𝜻~ =16𝜻η(𝐱(t+1),𝜻(t)),𝜻(t)𝜻^ 16𝜻η(𝐱(t+1),𝜻(t)),𝜻(t)𝜻^+16𝐱η(𝐱(t+1),𝜻(t)),𝐱(t+1)𝐱^ =16η(𝐱(t+1),𝜻(t)),𝐰(t+1)𝐰^ (12)

where 𝐰(t+12)=(𝐱(t+1),𝜻(t)), 𝐰^=(𝐱^,𝜻^). Also define 𝜻α=(1α)𝜻(t)+α𝜻^, 𝜻~α=(1α)𝜻(t)+α𝜻~, 𝐱α=(1α)𝐱(t+1)+α𝐱^. With a slight abuse of notation, we also use 𝜻𝜻2 to also mean the Hessian with respect to the variable 𝜻. Using Taylor expansion η(𝐱(t+1),𝜻(t))η(𝐱(t+1),𝜻~)
=𝜻η(𝐱(t+1),𝜻(t)),𝜻(t)𝜻~010β(𝜻~𝜻(t))𝜻𝜻2η(𝐱(t+1),𝜻~α)(𝜻~𝜻(t))𝑑α𝑑β 16η(𝐱(t+1),𝜻(t)),𝐰(t+12)𝐰^136010β(𝜻^𝜻(t))𝜻𝜻2η(𝐱(t+1),𝜻~α)(𝜻^𝜻(t))𝑑α𝑑β 16η(𝐱(t+1),𝜻(t)),𝐰(t+12)𝐰^16010β(𝐰^𝐰(t+12))2η(𝐱α,𝜻α)(𝐰^𝐰(t+12))𝑑α𝑑β =16(η(𝐱(t+1),𝜻(t))η(𝐱^,𝜻^)),

where we used in the first inequality the inequality (5.2.2) and the definition of 𝜻~, in the second inequality we used inequality (11). Hence,

η(𝐱(t+1),𝜻(t))η(𝐱(t+1),𝜻(t+1))η(𝐱(t+1),𝜻(t))η(𝐱(t+1),𝜻~)16(η(𝐱(t+1),𝜻(t))η(𝐱^,𝜻^)).

Taking 𝜻^=12(𝜻(t)+𝜻), 𝐱^=12(𝐱(t+1)+𝐱), we find by the optimality of 𝐱(t+2) and the convexity of η

η(𝐱(t+1),𝜻(t))η(𝐱(t+2),𝜻(t+1)) η(𝐱(t+1),𝜻(t))η(𝐱(t+1),𝜻(t+1))
16(η(𝐱(t+1),𝜻(t))η(𝐱^,𝜻^))
16(η(𝐱(t+1),𝜻(t))(12η(𝐱(t+1),𝜻(t))+12η(𝐱,𝜻)))
=112(η(𝐱(t+1),𝜻(t))η(𝐱,𝜻)).

Which implies η(𝐱(t+2),𝜻(t+1))η(𝐱,𝜻)1112(η(𝐱(t+1),𝜻(t))η(𝐱,𝜻)) and therefore η(𝐱(t+1),𝜻(t+1))η(𝐱,𝜻)(1112)T(η(𝐱(1),𝜻(0))η(𝐱,𝜻)). This gives us the convergence rate.

 Remark 22.

It is easy to see that η is convex for β large enough, as

2port(x,y)=(yxxβy)

and hence det(2port(x,y))=yβyx2=βx20.

5.3 Proof of Theorem 11

Proof of Theorem 11.

The Lemmata have established that the conditions of Theorem 10 with ρ=O~(α(1+β)). Appealing to Theorem 10, we obtain in t=123αβρ(ϵ/2)1 iterations of the δ-AMO, where δ=123αβ(ϵ/2), a vector (𝐱,(𝐲,𝐳))𝒳×Δc×[0,1]c such that

ϵ123αβ(δ+ρ/t) 123αβmax(𝐱,(𝐲,𝐳))𝒳×(Δc×[0,1]c)(𝐱𝐲𝐳)𝐉(𝐱𝐲𝐳)
max(𝐱,(𝐲,𝐳))𝒳×(Δc×[0,1]c)𝔄(𝐱,(𝐲,𝐳))𝔄(𝐱,(𝐲,𝐳))

where we used in the last inequality the definition of 𝐉 from Lemma 15. Using the work/depth bound from Lemma 15 for the δ-AMO and the work/depth bound from Theorem 10, using that 𝐜1 is strongly-polynomially bounded in c+d, we obtain a work bound O~((wrkm/t/a(𝐏,𝐐)+c+d)1+ββlog(αβmini𝐫iϵ)ϵ1) and a depth bound O~((dpthm/t/a(𝐏,𝐐)+1)1+ββlog(αβmini𝐫iϵ)ϵ1).

References

  • [1] Arpit Agarwal, Sanjeev Khanna, Huan Li, Prathamesh Patil, Chen Wang, Nathan White, and Peilin Zhong. Parallel Approximate Maximum Flows in Near-Linear Work and Polylogarithmic Depth. In Proceedings of the 2024 Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), Proceedings, pages 3997–4061. Society for Industrial and Applied Mathematics, January 2024. doi:10.1137/1.9781611977912.140.
  • [2] Alexandr Andoni, Clifford Stein, and Peilin Zhong. Parallel approximate undirected shortest paths via low hop emulators. In Proceedings of the 52nd Annual ACM SIGACT Symposium on Theory of Computing, STOC 2020, pages 322–335, New York, NY, USA, June 2020. Association for Computing Machinery. doi:10.1145/3357713.3384321.
  • [3] Amir Beck. On the convergence of alternating minimization for convex programming with applications to iteratively reweighted least squares and decomposition schemes. SIAM Journal on Optimization, 25(1):185–209, 2015. doi:10.1137/13094829X.
  • [4] Aaron Bernstein, Joakim Blikstad, Thatchaphol Saranurak, and Ta-Wei Tu. Maximum flow by augmenting paths in n2+o(1) time. In 2024 IEEE 65th Annual Symposium on Foundations of Computer Science (FOCS), pages 2056–2077. IEEE, 2024. doi:10.1109/FOCS61266.2024.00123.
  • [5] Aaron Bernstein, Maximilian Probst Gutenberg, and Thatchaphol Saranurak. Deterministic decremental sssp and approximate min-cost flow in almost-linear time. In 2021 IEEE 62nd Annual Symposium on Foundations of Computer Science (FOCS), pages 1000–1008. IEEE, 2022.
  • [6] Li Chen, Rasmus Kyng, Yang P Liu, Simon Meierhans, and Maximilian Probst Gutenberg. Almost-linear time algorithms for incremental graphs: Cycle detection, sccs, st shortest path, and minimum-cost flow. In Proceedings of the 56th Annual ACM Symposium on Theory of Computing, pages 1165–1173, 2024. doi:10.1145/3618260.3649745.
  • [7] Samuel I Daitch and Daniel A Spielman. Faster approximate lossy generalized flow via interior point algorithms. In Proceedings of the fortieth annual ACM symposium on Theory of computing, pages 451–460, 2008. doi:10.1145/1374376.1374441.
  • [8] Cella Florescu, Rasmus Kyng, Maximilian Probst Gutenberg, and Sushant Sachdeva. Optimal electrical oblivious routing on expanders. arXiv preprint arXiv:2406.07252, 2024. doi:10.48550/arXiv.2406.07252.
  • [9] Mohsen Ghaffari, Bernhard Haeupler, and Goran Zuzic. Hop-constrained oblivious routing. In Proceedings of the 53rd Annual ACM SIGACT Symposium on Theory of Computing, pages 1208–1220, Virtual Italy, June 2021. ACM. doi:10.1145/3406325.3451098.
  • [10] Christoph Grunau, Rasmus Kyng, and Goran Zuzic. Acceleration for distributed transshipment and parallel maximum flow, 2025.
  • [11] Bernhard Haeupler, Yonggang Jiang, Yaowei Long, Thatchaphol Saranurak, and Shengzhe Wang. Parallel (1+epsilon)-approximate multi-commodity mincost flow in almost optimal depth and work. arXiv preprint arXiv:2510.20456, 2025. doi:10.48550/arXiv.2510.20456.
  • [12] Arun Jambulapati, Yujia Jin, Aaron Sidford, and Kevin Tian. Regularized Box-Simplex Games and Dynamic Decremental Bipartite Matching. In DROPS-IDN/v2/Document/10.4230/LIPIcs.ICALP.2022.77. Schloss-Dagstuhl - Leibniz Zentrum für Informatik, 2022. doi:10.4230/LIPIcs.ICALP.2022.77.
  • [13] Arun Jambulapati and Kevin Tian. Revisiting area convexity: Faster box-simplex games and spectrahedral generalizations. Advances in Neural Information Processing Systems, 36:57583–57596, 2023.
  • [14] R M Karp, E Upfal, and A Wigderson. Constructing a perfect matching is in random NC. In Proceedings of the Seventeenth Annual ACM Symposium on Theory of Computing - STOC ’85, pages 22–32, Providence, Rhode Island, United States, 1985. ACM Press. doi:10.1145/22145.22148.
  • [15] Jonathan Kelner and Petar Maymounkov. Electric Routing and Concurrent Flow Cutting. In Algorithms and Computation, Lecture Notes in Computer Science, pages 792–801, Berlin, Heidelberg, 2009. Springer. doi:10.1007/978-3-642-10631-6_80.
  • [16] Jonathan A Kelner, Yin Tat Lee, Lorenzo Orecchia, and Aaron Sidford. An almost-linear-time algorithm for approximate max flow in undirected graphs, and its multicommodity generalizations. In Proceedings of the twenty-fifth annual ACM-SIAM symposium on Discrete algorithms, pages 217–226. SIAM, 2014. doi:10.1137/1.9781611973402.16.
  • [17] Jason Li. Faster parallel algorithm for approximate shortest path. In Proceedings of the 52nd Annual ACM SIGACT Symposium on Theory of Computing, pages 308–321, Chicago IL USA, June 2020. ACM. doi:10.1145/3357713.3384268.
  • [18] László Lovász. On determinants, matchings, and random algorithms. In FCT, volume 79, pages 565–574, 1979.
  • [19] Arkadi Nemirovski. Prox-Method with Rate of Convergence O (1/ t ) for Variational Inequalities with Lipschitz Continuous Monotone Operators and Smooth Convex-Concave Saddle Point Problems. SIAM Journal on Optimization, 15(1):229–251, January 2004. doi:10.1137/S1052623403425629.
  • [20] Yu. Nesterov. Smooth minimization of non-smooth functions. Mathematical Programming, 103(1):127–152, 2005. doi:10.1007/s10107-004-0552-5.
  • [21] Yurii Nesterov. Dual extrapolation and its applications to solving variational inequalities and related problems. Mathematical Programming, 109(2):319–344, 2007. doi:10.1007/s10107-006-0034-z.
  • [22] Jonah Sherman. Nearly maximum flows in nearly linear time. In 2013 IEEE 54th Annual Symposium on Foundations of Computer Science, pages 263–269. IEEE, 2013. doi:10.1109/FOCS.2013.36.
  • [23] Jonah Sherman. Area-convexity, linf regularization, and undirected multicommodity flow. In Proceedings of the 49th Annual ACM SIGACT Symposium on Theory of Computing, pages 452–460, 2017.
  • [24] Jonah Sherman. Generalized preconditioning and undirected minimum-cost flow. In Proceedings of the Twenty-Eighth Annual ACM-SIAM Symposium on Discrete Algorithms, pages 772–780. SIAM, 2017. doi:10.1137/1.9781611974782.49.
  • [25] Daniel A. Spielman and Shang-Hua Teng. Nearly-linear time algorithms for graph partitioning, graph sparsification, and solving linear systems. In Proceedings of the Thirty-Sixth Annual ACM Symposium on Theory of Computing, STOC ’04, pages 81–90, New York, NY, USA, 2004. Association for Computing Machinery. doi:10.1145/1007352.1007372.
  • [26] Goran Zuzic. A simple boosting framework for transshipment. arXiv preprint arXiv:2110.11723, 2021. arXiv:2110.11723.