A Fast and Accurate Algorithm for the p→q Norm of Sparse Non-Negative Matrices
Marco Pirazzini, Daniel A. Spielman
Abstract
We present an algorithm that computes the p→q norm of a non-negative matrix with s nonzero entries to accuracy ε in time O~(s3/2log(1/ε)), for any p≥q≥1. The fastest algorithm previously designed for this problem has running time O~(s/ε) (Objois and Vladu, 2026), which is slower when high accuracy solutions are desired.
Our algorithm employs a surprising application of Laplacian solvers inside an Interior Point Method (IPM). We formulate the problem as a linear optimization problem over a product of power cones, and show that the Newton updates of the IPM can be computed by solving a Laplacian system in a Schur complement after subtracting a rank-2 matrix.
We also discuss an implementation of our algorithm, showing that it is practical and it outperforms optimized solvers such as MOSEK by factors of up to 20× on a variety of tasks.
When p=q=2, this quantity becomes the leading singular value of A and x becomes the singular vector.
The success of singular values and singular vectors has inspired quests to generalize them to solve new problems or improve existing solutions. Their generalization for p≥q≥1 has many potential applications, but the challenges in computing these has made them difficult to realize.
For general matrices, we only know efficient algorithms for computing these matrix norms when p=1,q=∞ or when p=q∈{1,2,∞}. The hypercontractive regime corresponds to 1≤p<q, while p≥q≥1 is the non-hypercontractive regime. For the latter, Bhaskara and Vijayaraghavan [BV11] showed that it is NP-hard to approximate ∥A∥p→q to within any constant factor for 1<q≤p<2 or 2<q≤p<∞, without any assumptions about A. For p≥2≥q, Bhattiprolu et al. [BGG+19] present a constant factor approximation algorithm using semidefinite programming. The hypercontractive regime has also received a lot of attention both for hardness of approximation results and specialized approximation algorithms [BBH+12, BGG+18, GMU25, HT26].
For non-negative matrices A, [BV11] describe a polynomial-time approximation algorithm for the case p≥q≥1. The fastest algorithm for sparse matrices with s non-zero entries and low accuracy is that of Objois and Vladu [OV26], which obtains an ε approximation in time O(s/ϵ). To obtain running time depending on log(1/ε), one can apply standard convex programming techniques to the convex formulation of [Ste05, Remark 3.4]. The cutting planes method of Jiang, Lee, Song, and Wong [JLSW20] provides the asymptotically fastest high-accuracy algorithm for dense matrices based on this approach.
Computing the p→q norm of non-negative matrices for p≥q≥1 has several applications, including oblivious routing schemes [ER09, BV11, OV26], robust optimization [Ste05], computing certifiable stopping criteria for Glauber dynamics [DGJ09], or computing certificates for bounding errors in vector-valued predictions in neural networks [CP20].
The following theorem encapsulates the guarantees of our algorithm, which is the fastest for high accuracy solutions in sparse non-negative matrices.
Theorem 1. On input a non-negative matrix A∈Rm×n with s non-zero entries, two numbers p≥q≥1, and aε>0, Algorithm 1 computes a(1−ε) multiplicative approximation to ∥A∥p→q in expected time O(s23logε1).
The randomization in the algorithm appears inside calls to Laplacian solvers, and can be removed at a multiplicative cost of no(1) in running time [CGL+20].
Table 1 compares the running times of algorithms for this problem. For square matrices, ours becomes faster than the application of cutting planes [JLSW20] when s<n2. Our algorithm becomes faster than that of Objois and Vladu [OV26] when ε<1/s. For s≤O(n) and ε≤1/n2, our algorithm is faster than both of these by a factor of n3/2.
1.1 Techniques and proof overview
We begin by formulating ∥A∥p→q as a linear optimization problem over a convex set that can be expressed as the intersection of affine constraints with a product of power cones. To the best of
Table 1: Comparison of different algorithms for approximating the p→q norm of a non-negative matrix. Assume the matrix is square or moderately tall, i.e. m≤O(n).
Algorithm
Runtime
s≤O(n)(sparse input)
ε≤O(n−c)(high accuracy)
c=21
c=2
[BV11]
O(εn3s)
O(εn4)
O(n4+c)
O(n29)
O(n6)
[OV26]
O(εs)
O(εn)
O(n1+c)
O(n23)
O(n3)
[JLSW20]
O((ns+n3)logε1)
O(n3logε1)
O(n3)
O(n3)
O(n3)
This work
O(s23logε1)
O(n23logε1)
O(n23)
O(n23)
O(n23)
our knowledge, this is different from the convex formulations previously studied for this problem [Ste05, OV26].
This convex set has an efficient self concordant barrier function with complexity parameter bounded by O(s) (Section 3). Therefore, we use a standard short-step path-following interior point method (IPM) to solve the resulting problem [NN94, Ren01], which converges to an ε-approximate solution in O(slogs/ε) iterations.
As the convex set over which we optimize only depends on the non-zero structure of the input matrix A but not on its entries, we can derive a closed form for the analytic center of the convex body over which we optimize. This makes the initialization of the IPM straightforward (Lemmas 7 and 8). Termination is even easier because no rounding is required (Lemma 9).
The reason this leads to a fast algorithm is that we can use Laplacian solvers to quickly solve the linear equations that arise at each step of the IPM. More precisely, after eliminating a diagonal block in the Hessian matrix of the barrier function, the Schur complement can be decomposed as an M-matrix with known diagonal scaling, plus a rank-2 matrix (Theorem 10), which is exactly the type of linear systems that can be solved quickly by combining Laplacian solvers and Woodbury's matrix identity. To conclude the argument, it suffices to show that the error introduced by Laplacian solvers is small enough to produce a valid approximate Newton step, but large enough to solve the system quickly, for all iterations (Lemma 11).
The use of Laplacian solvers inside IPMs and the analysis of the impact of their approximate solves is now mature (See, e.g. [DS08, Mad13, LS14, KRSS15, KRS15, CMSV17, vdBLN+20, vdBLL+21, GLP22, DGG+22] and following work). However, it is surprising that they can be applied here. The previous applications of Laplacian solvers inside IPMs of which we are aware are for problems that have graph structure, and which concerned differences of functions across edges in a graph. Neither edges nor differences of functions appear in our problem.
On top of the strong theoretical guarantees of Theorem 1, our algorithm is also practical. In Section 6, we discuss an implementation of Algorithm 1 which performs faster than commercial solvers such as MOSEK [ApS24] on a variety of matrices (both sparse and dense) and accuracy targets.
1.2 Related work
Aside from singular values, there are several other linear algebraic notions that have been generalized to ℓp geometries and studied under a computational lens to improve results based on numerical linear algebra primitives [Ovs26]. Some notable examples include p-norm regression [BCLL18, JLS22, AKPS24], and p-Laplacian eigenvalues [Amg03, BH09, HB10]. The p-norm regression problem can be thought of as a generalization of the least squares problem when p=2, while the p-Laplacian eigenvalues correspond to the second smallest Laplacian eigenvalue when p=2. Fast algorithms have been designed for the special case of p-norm regression restricted to graphs (p-norm flows), see e.g. [KRS15, AS20, CKL+25].
The first published polynomial-time algorithm for the p→q matrix norm problem was given by Bhaskara and Vijayaraghavan [BV11], and it consists of a non-linear power method originally proposed by Boyd [Boy74]. The nearly-linear time algorithm by Objois and Vladu [OV26] is inspired by the non-linear power method but it implements a much more efficient potential function argument. To the best of our knowledge, all current high-accuracy solvers for this problem are based on applying techniques for general convex optimization to the convex formulation from [Ste05], and our work is the first to explicitly leverage the structure of the feasible convex set.
2 Preliminaries
2.1 Notation and linear algebra background
We will use boldface capital letters to denote matrices, e.g. A∈Rm×n and boldface lower case letters to denote vectors, e.g. z∈Rm. We denote the inner product of vectors x,y∈Rn by ⟨x,y⟩=∑i=1nx(i)y(i). We let Δn denote the n-dimensional simplex, {x∈Rn:x≥0,∑i=1nx(i)≤1}. A square symmetric matrix A∈Rn×n is positive definite, written A≻0, if all its eigenvalues are positive. Given a positive definite matrix A, the A-norm is defined as
∥x∥A=x⊤Ax=∥A21x∥2
We will use big-O notation throughout to emphasize asymptotics in upper bounds. The notation O hides polynomials in logarithms of the size parameters (m,n,s), but not the accuracy parameters (δ,ε).
2.1.1 Dual norms
For p>1, the p-norm of a vector x is given by
∥x∥p=def(i∑∣x(i)∣p)1/p.
Throughout this paper we let p∗ be the solution to the equation
p1+p∗1=1.
The dual of the p-norm is the p∗-norm. It satisfies
∥x∥p=∥y∥p∗=1max⟨x,y⟩.
2.1.2 SDD matrices, M-matrices, and Laplacian solvers
A PSD matrix M is an M-matrix if it has non-positive off-diagonal entries. A symmetric matrix A is diagonally dominant (SDD) if for all j, A(j,j)≥∑i=j∣A(i,j)∣. If a positive definite matrix M≻0 is an M-matrix, then there exists a diagonal matrix D with positive diagonal entries such that DMD is SDD.
Systems of linear equations in SDD matrices can be solved in nearly-linear time [ST14, KMP14, CKM +14, JS25]. We make critical use of the fact that the algorithms for solving these are in fact linear operators.
The following theorem summarizes these results in a form similar to that which appears in Kyng et al. [KRS15, Theorem A.4].
Theorem 2. Let L∈Rn×n be a positive definite SDD matrix with s non-zero entries and 0<δ<1. There exists an algorithm STSOLVE that takes L and δ as input and in expected time O(s) computes a program SOLVEL, such that for every vector b∈Rn
SOLVEL(b)=Pb,
for a symmetric linear operator P such that
(1−δ)L−1⪯P⪯(1+δ)L−1.
The program SOLVEL runs in time O(slogδ1).
Deterministic variations are available at the cost of an additional factor of no(1) in running time [CGL +20].
2.1.3 Woodbury identity
We will encounter matrices that can be expressed as the sum of SDD matrices with matrices of rank 2. It states that for an invertible matrix A∈Rn×n and matrices U∈Rn×k, C∈Rk×k, V∈Rk×n with C invertible, the matrix A+UCV is invertible if and only if C−1+VA−1U is invertible, and it satisfies
(A+UCV)−1=A−1−A−1U(C−1+VA−1U)−1VA−1
In particular, when C=I and V=U⊤, we have
(A+UU⊤)−1=A−1−A−1U(I+U⊤A−1U)−1U⊤A−1(1)
2.1.4 Schur complement
Suppose we want to solve equations in a positive definite square matrix A∈R(n1+n2)×(n1+n2)
A=(A(S1,S1)A(S2,S1)A(S1,S2)A(S2,S2))
where the rows and columns are partitioned in two blocks S1,S2 such that ∣S1∣=n1 and ∣S2∣=n2. If the matrix A(S2,S2) is invertible, then the Schur complement of A with respect to S2 is defined as
The problem of solving systems of linear equations in A can be reduced to that of solving a system of equations in A∖S2 followed by a system of equations in A(S2,S2):
This decomposition provides efficiency gains when systems in A(S2,S2) are easy to solve, such as when it is diagonal, and when systems in the Schur complement A∖S2 are easy to solve.
We will use the following variational characterization of the Schur complement from [BV04].
Lemma 3. For any x1∈RS1
x1⊤(A∖S2)x1=x2∈RS2min(x1x2)⊤A(x1x2)
and the minimum is attained at x2=−A(S2,S2)−1A(S2,S1)x1
2.2 Convex optimization
2.2.1 Self-concordant barrier functions
For a smooth function F:Rn→R with Hessian H(x)=∇2F(x), we define the Hessian norm of a vector h∈Rn as ∥h∥x=h⊤H(x)h.
Definition 4 ([NN94]). Let K⊆Rn be a closed and convex set with nonempty interior. A smooth function F:int(K)→R is self-concordant if its third derivative is uniformly bounded by a twice the Hessian norm cubed.
∣D3F(x)[h,h,h]∣≤2∥h∥∇2F(x)3∀x∈int(K),h∈Rn
Moreover, F is a ν-self-concordant barrier function if it diverges to +∞ at the boundary and
∣⟨∇F(x),h⟩∣≤ν∥h∥∇2F(x)
The constant ν>0 is often called the “complexity parameter” of F. For any x∈/int(K), we extend the barrier function as F(x)=+∞. We list some useful properties of self-concordant barrier functions that we will use throughout this paper, see [NN94, Proposition 2.3.1].
(SC1) For an affine map T(x)=Ax+b, the function F1(x)=F(T(x)) is ν-self-concordant
(SC2) For two self-concordant functions F1(x) and F2(x) with complexity parameters ν1 and ν2, respectively, the function F(x)=F1(x)+F2(x) is (ν1+ν2)-self-concordant.
2.2.2 Interior Point Methods
Interior point methods (IPMs) were introduced by the seminal works of Dikin [Dik67] and Karmarkar [Kar84] to solve linear programming problems efficiently, and were later extended by Nesterov and Nemirovskii [NN94] to general convex optimization. Let K⊆Rn be a closed convex set and consider the constrained linear optimization problem, for a fixed c∈Rn,
x∗=argx∈Kmin⟨c,x⟩
Let η>0 and F:K→R be a self-concordant barrier function for K with complexity parameter ν, and consider the regularized (unconstrained) linear problem Φη(x) with central path xη
Φη(x)=defF(x)+η⟨c,x⟩xη∗=defargx∈RnminΦη(x)
The intuition behind the IPM approach is to use the barrier function to ensure the problem stays feasible, while smoothly penalizing points that are close to the boundary of K. When the central path parameter η is small, Φη “looks like” F, so the central path will be away from the boundary.
On the other hand, when η is large, Φη encodes more structure from the linear component ⟨c,x⟩, so the central path will be closer to the boundary in the proximity of the (constrained) optimum. If the function F is easy to minimize, then a natural strategy for approaching x∗ (and the one used successfully by IPMs) is to start close to the minimizer of F (also called the analytic center of K), and then follow the central path while increasing η.
The iterative phase of interior point method follows the central path {xη∗}η≥0 by alternating Newton updates for x and multiplicative updates for the central path parameter η. Let H(x)=∇2F(x) and recall Newton's method for function minimization, 1
x+=x−H(x)−1∇Φη(x)=defx+Δη(x)
Define the Newton decrement as the Hessian norm of the Newton step
λη(x)=∥H(x)−1∇Φη(x)∥x=∥Δη(x)∥x
This controls the quadratic convergence region of Newton's method, which is the key invariant used to analyze the convergence of IPMs. We will be interested in the convergence of Newton's method under approximate Newton steps Δη(x) in the following sense:
∥Δη(x)−Δη(x)∥x≤δ∥Δη(x)∥x(3)
There are many different versions of IPMs, and the following theorem suffices for our application. See Appendix A for more details.
Theorem 5. Let x0∈int(K) and 0<η0<1 satisfy λη0(x0)≤101, 0<ε<1, and 0<δ<51. Then there exists a constant C>1 such that after ⌈Cνlogεη0ν⌉ iterations each involving a δ-approximate Newton step in the sense of (3), we reach a point x∈int(K) satisfying
⟨c,x⟩−⟨c,x∗⟩≤ε
Moreover, if ν≥40 we can set C=22.
The typical choice for x0 is an approximation of x0∗, which is also called the analytic center. This is convenient because it is the global minimizer of the self-concordant barrier F, and it does not depend on η. The initial η0 is then chosen to be as large as possible while ensuring λη0(x0)≤101. To turn Theorem 5 into an efficient algorithm, we need F to be an efficient self-concordant barrier for K, i.e. we need to be able to compute gradient and Hessian efficiently.
2.2.3 The power cone
For 0<α<1, the 3-dimensional power cone is defined as
Kα={x∈R3:x(1)≥0,x(2)≥0,∣x(3)∣≤x(1)αx(2)(1−α)}
The following function is a self-concordant barrier for the power cone with complexity parameter ν=3, which is a result of Chares [Cha09].
3 A convex formulation of non-negative matrix norm
Let p≥q>1 and let A∈R≥0m×n be a non-negative matrix. We formulate the problem of computing ∥A∥p→q as a linear optimization problem over a convex set. Following [BV04, Example 3.1], we write
which follows from the definition of dual norms. Since the matrix A is non-negative, v⊤Au≤∣v∣⊤A∣u∣, so the maximizers are non-negative. We then make the entrywise change of variables y=up,z=vq∗ to obtain the form
We can focus on the non-zero entries of A, since if A(i,j)=0 the contribution of A(i,j)Γ(i,j) is 0 and is achieved by Γ(i,j)=0. If A has rows or columns that are identically zero, then we can remove them without changing either the norm or the conic program, since the corresponding z(i) or y(j) can be set to zero. Let S be the set of non-zero entries of A, with s=∣S∣, and write i∼j,j∼i if (i,j)∈S. Then, the program above has m+n+s variables and s power cone constraints and 2 affine constraints, where max(m,n)≤s≤nm. In the rest of the paper, we always assume we are working with sparse representations of matrices. For (i,j) such that A(i,j)>0, let ki,j∈{1,...,s} be the index of the pair (i,j) when ordering the non-zero entries of A lexicographically (i.e. flattening row-wise).
2They prove a more general statement, but this suffices for our applications.
Let K be the feasible set of the optimization problem (5), then the next lemma shows that K is convex and has an efficient self-concordant barrier.
Lemma 6. For any p≥q>1 and non-negative matrix A∈Rm×n, the set K⊆Rm+n+s defined in (5) is convex and the function F:int(K)→R
is a self-concordant barrier function for K with complexity parameter ν=3s+2.
Proof. Let α=q∗1 and β=p1. The constraint on Γ(i,j), z(i), and y(j), together with non-negativity of z(i) and y(j), correspond to membership in the following affine slice of the 4-dimensional power cone
(z(i),y(j),1,Γ(i,j))∈Kα,β(7)
This is equivalent to adding an extra variable and just setting it to one. Consider the affine map Pi,j(x)=(x(i),x(m+j),1,x(m+n+ki,j)), then the set (5) has the following conic (hence convex)
The set (8) has a natural (efficient) self-concordant barrier function which is obtained by summing the barrier functions for each individual power cone, i.e. Fα,β (4) for Kα,β and the log barrier for the linear inequalities, which is exactly (6). 3 Since (7) is just an affine restriction of the power cone, its complexity parameter is at most 4, i.e. the complexity of the barrier on the 4-dimensional space (SC1). We can improve this bound to 3.
Denoting t=(z,y,1,γ), G=Fα,β, H=∇2G(t), U={1,2,4}, and B=H(U,U). Since G(ct)=G(t)−4logc, we have ∇G(t)=−Ht and t⊤Ht=4. Moreover, for any vector h∈R4 with h(3)=1, t−h∈/int(K), so the Dikin ellipsoid property [NN94, Theorem 2.1.1] implies h⊤Hh≥1. By Lemma 3, this is is a lower bound to the the scalar Schur complement σ=H∖U. Define f(x,y,γ)=G(t), then completing teh square gives
∇f⊤B−1∇f=t⊤Ht−σ=4−σ≤3
This means that each restricted barrier has complexity parameter at most 3, and summing over all barriers and using (SC2) shows that the complexity parameter of F satisfies ν≤3s+2.
Consider the vectors a=vec(A)∈Rs, and γ=vec(Γ)∈Rs. Since they are vector representations of matrices, we will abuse notation and adopt two-dimensional indexing to make the edge structure explicit, e.g. γ(i,j)=γ(ki,j). Denoting aˉ=(0,0,a)∈Rm+n+s, we can write the convex optimization problem (5) as
max⟨aˉ,x⟩=−min⟨−aˉ,x⟩s.t.x∈Ks.t.x∈K
3When p = q, technically we use the self-concordant barrier of Chares since Kα,β is defined for p > q. However, the rest of the argument and the analysis are unchanged.
4 An interior point method for ∥A∥p→q
Interior point methods (IPM) are a family of algorithms designed to solve linear (or more generally, convex) optimization problems over convex sets with efficient self-concordant barriers (see Section 2.2). Since (5) is a conic program with an efficient barrier, it is natural to consider an algorithm based on IPM for it, which is described in Algorithm 1. See Appendix B for the closed form of the derivatives of the self-concordant barrier (6).
Without loss of generality, we assume max(i,j)∈SA(i,j)≤1. Otherwise we can first compute Amax=max(i,j)∈SA(i,j) in linear time and work with the matrix A′=Amax1A (Step 3 of Algorithm 1).
The analytic center for (6) can be computed in closed form in linear time. Let di be the number of non-zero entries in the i-th row of A and ej be the number of non-zeros in the j-th column. Note that ∑i=1mdi=∑j=1nej=s.
Lemma 7. The minimizer for the self-concordant barrier (6) is given by x0=(z0,y0,γ0), where
Proof. Since the function F is strictly convex and twice differentiable, its minimizer is unique and can be found by solving the first-order conditions ∇F(z0,y0,γ0)=0. Setting the gradient with respect to γ to zero forces γ0(i,j)=0 for each (i,j)∈S (see equation (17)). This simplifies the remaining derivatives, for example the gradient with respect to z becomes (see equation (15))
∂z(i)∂Fγ=0=−(1+q∗1)z(i)di+1−Z1
where Z=∑i=1mz(i). Crucially, this does not depend on y, and we can solve it by isolating z(i) and summing the equations to deal with the Z term.
The formula for y(j) follows from identical calculations starting from (16), and the fact that they can be computed in linear time follows simply by the fact that computing di and ej for all i,j requires a single scan over the matrix A.
We can use this to initialize the parameter η0 to order s−21.
Lemma 8. If we set x0 as in Lemma 7 and choose
η0=10s2,
then λη0(x0)≤101.
Proof. We want to set η0 such that λη0(x0)=101, for the x0=(z0,y0,γ0) defined in Lemma 7. Since x0 is the exact minimizer of F(x), we have ∇F(x0)=0, hence ∇Φη(x0)=−η(0,0,a)=−ηaˉ.
Lemma 9. The vector u computed by Algorithm 1 satisfies
∥u∥p∥Au∥q≥(1−ε)∥A∥p→q
Proof. Combining Theorem 5 and Lemma 8, and using the fact that ν=3s+2 and δ=61<51, we conclude that after ⌈22(3s+2)log2ε10(3s+2)s⌉≤⌈100slogεs⌉ iterations of the IPM, 4 we find a feasible point x=(z,y,γ) satisfying
We can directly produce a stronger guarantee by extracting an approximate solution. Let Y=∑jy(j) and Z=∑iz(i), and define u=(Yy)p1 and v=(Zz)q∗1. We have \|\boldsymbol{u}\|_p^p = \|\boldsymbol{v}\|_q^q_* = 1, and using
4Whenever s≥20, this bound holds for any 0<ε<1. We ignore issues of small s since we can deal with it separately and solve it in constant time to inverse polynomial accuracy.
5If γ has negative entries, we can safely change their sign since that can only improve the objective.
To turn Algorithm 1 into an efficient algorithm, we need to show that we can perform δ-approximate Newton steps for the barrier function (6) quickly for constant accuracy δ<51.
5 Fast Newton step using Laplacian solvers
In this section we will show how to efficiently compute δ-approximate Newton steps for any fixed feasible point x=(z,y,γ)∈int(K). We can do it by computing the Schur complement of the Hessian matrix H=H(x) and recognizing that it can be written as a symmetric M-matrix plus a rank-2 term, so it can be solved efficiently using Woodbury's identity and fast Laplacian solvers.
Let w=(z,y) and recall the Hessian matrix (26)
H=(HwHwγ⊤HwγHγ)
Since Hγ is diagonal, we reduce this system by computing the Schur complement (2)
H∖γ=Hw−HwγHγ−1Hwγ⊤
Theorem 10. The Schur complement of the Hessian matrix of the self-concordant barrier (6) with respect to γ can be written as
H∖γ=M+VV⊤
Where M∈R(m+n)×(m+n) is a symmetric M-matrix with at most 4s non-zero entries, and V∈R(m+n)×2. Moreover, the matrix
D=(Diag(z)00Diag(y))
has positive diagonal entries and makes DMD strictly diagonally dominant.
Proof. Define the following functions, for a≥0,b≥0 and 0≤∣c∣<aq∗1bp1.
If we identify this matrix with its (m+n)×(m+n) lift padded by zeroes, we can decompose the first term of Hw as a sum over “edges” plus a rank-2 matrix.
Hw=(i,j)∈S∑Hw(i,j)+VV⊤
Consider now the Schur correction term Hw,γHγ−1Hw,γ⊤. As discussed in Appendix B, the matrix Hwγ can be thought of as the unsigned edge-vertex incidence matrix of a bipartite graph with biadjacency matrix given by A and weights given by (24) and (25). Since Hγ is diagonal, Hγ−1 is simply re-scaling all the edge weights by (23). Therefore, we can define the matrix HSC(i,j) using the functions μz,μy,μγ, and write the Schur correction term as a sum over edges.
Both remainders are strictly positive because r<1 and p≥q. To conclude the proof, let D(i,j)=Diag(z(i),y(j)) padded with zeroes, and consider again its 2×2 restriction on a fixed edge where we drop the indices, then
The first term is the Laplacian matrix of an edge with non-negative weight, and the second term is a diagonal matrix with positive diagonal entries, which implies that D(i,j)M(i,j)D(i,j) is a strictly symmetric diagonally dominant M-matrix, so each local edge matrix is an M-matrix. The matrix M is the sum of the zero-padded edge matrices, and it has non-zero rows or columns because every vertex is incident to at least one edge. Therefore, M is itself a symmetric M-matrix with scaling factor D=Diag(z,y).
We can construct D in linear time and each D(i,j)M(i,j)D(i,j) in constant time, so the matrix DMD can be constructed in time O(s), since it is a sum over edges. Each edge matrix has 4 non-zero entries, so M has at most m+n+2s≤4s non-zero entries.
5.1 The algorithm
Let 0<δ<1. From Theorem 2, there is an algorithm STSOLVE which on input L,δ computes a program SOLVEL such that, for every b∈Rn, it returns SOLVEL(b) = Pb for some symmetric matrix P satisfying
(1−δ)L−1⪯P⪯(1+δ)L−1(10)
Letting x~=SOLVEL(b), this guarantees the following local norm bound
∥x~−L−1b∥L≤δ∥L−1b∥L(11)
We can use this to construct an algorithm MSOLVE with the same local norm approximation guarantee.
Output: Vector x∈Rn such that ∥x−M−1b∥M≤δ∥M−1b∥M whenever
SOLVEL = STSOLVE(DMD,δ)
1 u=SOLVEL(Db)
2 x=Du
3 return x
We can now present an algorithm for solving systems of the form (M+VV⊤)x=b, as the Schur complement of the Hessian of the barrier 6 from Theorem 10. This is based on Woodbury identity, i.e.
(M+VV⊤)−1=M−1−M−1V(I+V⊤M−1V)−1V⊤M−1(12)
Algorithm 3: SCHURSOLVE
Input : Positive definite SDD matrix L∈Rn×n with s non-zero entries, diagonal matrix D∈Rn×n with strictly positive diagonal entries, matrix V=(v1,v2)∈Rn×2, accuracy parameter 0<δ<1, vector b∈Rn
Output: Vector x∈Rn such that ∥x−A−1b∥A≤δ∥A−1b∥A, where
A=D−1LD−1+VV⊤
Algorithm 3 runs in total time O(slogδ1), which is dominated by construction of the approximate Laplacian solver and its three applications in steps 1-3. Note that these are three calls of the solver for the same L and δ, so they apply the same linear operator to the different right-hand sides. The additional work coming from the VV⊤ term is in step 5, which is a 2×2 linear system that can be formed in O(s) time and solved in constant time. If we replace the applications of MSOLVE with exact M−1, we obtain an exact solution to the system, which follows from substituting into (12).
We can use Algorithm 3 to compute the full Newton step
(HwHwγ⊤HwγHγ)(ΔwΔγ)=−(gwgγ)
Algorithm 4: NEWTONSOLVE
Input : Matrix A∈Rm×n with s non-zero entries, accuracy parameter δ>0, point x=(z,y,γ)∈int(K), central path parameter η>0, exponents p≥q>1.
Output: Vector Δ∈Rm+n+s such that ∥Δ−Δ∥x≤δ∥Δ∥x, where Δ=−H(x)−1∇Φη(x).
We will use Algorithm 4 as the key IPM subroutine for computing approximate Newton steps in Algorithm 1. The following Lemma establishes the desired approximation guarantees.
Lemma 11. Let x=(z,y,γ)∈int(K), H=∇2F(x), 0<δ<1 and η>0. Let Δ=−H−1∇Φη(x) be the Newton step and Δ be the output of Algorithm 4, then
∥Δ−Δ∥H≤δ∥Δ∥H
Moreover, Δ is computed in time O(slogδ1).
Proof. We begin by observing that one way to solve a system of equations HΔ=b is to compute the Schur complement H∖γ and solve
The Newton step is a special case of this where b=−∇Φη(x), but our analysis works for general b∈Rm+n+s. Theorem 10 establishes the decomposition
B=H∖γ=M+VV⊤
Therefore, Algorithm 4 is implementing an approximate solution Δ to Δ by solving (13) and (14) applying Woodbury's identity to (13) and replacing applications of exact inverses M−1 with the approximate version given by MSOLVE. More precisely, recall that SOLVEL implicitly constructs a matrix P satisfying (10), so MSOLVE (Algorithm 2) is equivalent to applying a matrix P1 such that
(1−δ)M−1⪯P1⪯(1+δ)M−11+δ1M⪯P1−1⪯1−δ1M
On the other hand, SCHURSOLVE (Algorithm 3) is implementing Woodbury's identity to solve a system for B=M+VV⊤ replacing M−1 with P1, so it applies the operator (P1−1+VV⊤)−1 to approximate B−1. Therefore,
This lets us approximate the approximation error in the A-norm with the same error incurred by the inner Laplacian solver. Let Δw=SCHURSOLVE(L,D,V,δ,bw)=(P1−1+VV⊤)−1bw, then
We now lift this approximation error from the B-norm to the H-norm. This follows from the variational characterization of Schur complements. Setting x1=Δw−Δw and x2=−Hγ−1Hwγ⊤(Δw−Δw)=(Δγ−Δγ) in Lemma 3 implies
∥(Δw−Δw,Δγ−Δγ)∥H=∥Δw−Δw∥B≤δ∥Δw∥B
To conclude the proof, we complete the following square.
∥(Δw,Δγ)∥H2=∥Δw∥B2+∥Δγ+Hγ−1Hwγ⊤Δw∥H2
In particular,
∥(Δw−Δw,Δγ−Δγ)∥H≤δ∥Δw∥A≤δ∥(Δw,Δγ)∥H
The runtime analysis follows from the fact that steps 1 through 7 and 9 – 10 can be performed in time O(s), and invoking SCHURSOLVE requires time O~(slogδ1). □
Typically, Laplacian solvers are used as algorithms producing approximate solutions x~ on inputs L,δ,b with the L-norm approximation property
∥x~−L−1b∥L≤δ∥L−1b∥L
This is clearly weaker than Theorem 2, however it would be a natural starting point in the analysis since it suggests the natural proof strategy for Lemma 11 of “lifting” the approximation property from L to M to B to H. While the first and last step work directly, the second step does not work if we allow for errors to depend on the right-hand sides of the linear systems. Therefore, using the stronger form of Laplacian solvers as fixed linear operators is necessary for our analysis.
We can now conclude the proof of the main theorem.
Proof of Theorem 1. If q=1, we can compute the norm exactly in O(s) time because it has the following closed form.
∥A∥p→1=∥A⊤1∥p∗
Therefore, we can assume p≥q>1, which is exactly the regime where Algorithm 1 applies. By Lemma 9, after T≤O(slogεs) Algorithm 1 computes a point u∈Rn such that
∥u∥p∥Au∥q≥(1−ε)∥A∥p→q
Initialization can be performed in O(s) time (Lemma 7), and each iteration requires O~(s) time (Lemma 11 with δ=Θ(1)). Therefore, the total algorithm runtime is O~(s23logε1). □
6 Experiments
We implemented our algorithm in Julia to compare its performance against state of the art solvers. We applied a few modifications to the algorithm to make it practical, in particular we used a long step IPM approach as described in [BV04, Section 11.3]. The algorithm is still a primal-only path-following IPM, where we use the dual only to construct certificates to monitor the duality gap for deciding when to stop. Two other notable modifications we made for practical purposes are replacing the simplex constraints in (5) with equality constraints and using projected Newton steps, and we used the cheapest version of the Laplacian solver of [GKS26] which only builds the approximate Cholesky preconditioner without any Chebyshev iterations.
Comparison of 3 → 2 norm algorithms for A ≥ 0
Figure 1: Runtime of different algorithms to compute ∥A∥3→2 for different target accuracies, median over 5 random matrices. (Left). Dense matrices with random entries in [0,1] of size 100×100. (Right). Sparse binary matrices of size 1000×1000 where each entry is sampled iid with probability 4/1000, and the diagonal is set to 1, so the average sparsity is highly concentrated around 5000.
We compared our algorithm with an implementation of [OV26], 6 together with two standard conic solvers (Clarabel [GC24] and MOSEK [ApS24]) available in Julia applied to the same program as our IPM (5). We also tuned the Mosek implementation by having it optimize the dual of (5) and use the native 4-dimensional power cone for the case p>q. 7 In this section, we focus on p=3 and q=2, and show similar results for (p,q)∈{(2,1.5),(3,3)} in Appendix C.
6.1 Hardware and software details
All experiments were ran on an Apple Macbook Air (2022) with M2 CPU (8 cores, 4 performance and 4 efficiency) and 16GB of memory. We used Julia 11.1.2 with the following packages: Laplacians 1.4.1, SparseArrays 1.11.0, CHOLMOD 5.2.0, OpenBLAS 0.3.27, JuMP 1.24.0, MathOptInterface 1.36.0. The conic programming solvers we used are Clarabel.jl 0.11.0 and Mosek 11.0.22, called through Mosek.jl 11.0.1 and MosekTools.jl 0.15.10.
6.2 Results
Our algorithm is significantly faster than the baselines on both dense and sparse matrices, as shown in Figure 1, across different levels of accuracy. The algorithm from [OV26] is faster for low-accuracy solutions on dense matrices, but it quickly becomes too slow at moderate accuracy, due to the 1/ε dependence on runtime. We implemented two versions of our algorithm: one solving the Schur complement of the Hessian using the approximate Cholesky solver of [GKS26], and one using optimized standard software for sparse Cholesky decomposition (CHOLMOD [CDHR08]). The former is the closest match to the algorithm analyzed in the paper (Algorithm 4), and it is the fastest algorithm for sparse matrices, where it beats the optimized general solver.
Comparison of 3 → 2 norm algorithms for A ≥ 0, binary 5000×5000
Figure 2: Performance of different algorithms for computing 3→2 norms of large scale non-negative matrices. Each point represents a single random matrix sampled at that sparsity level. (Left.) Medium accuracy solutions ε=10−4. (Right.) High accuracy solutions ε=10−8.
6Written using Claude.
7Since JuMP and MOI only support the 3-dimensional power cone and decompose 4-dimensional cones using 3D ones, this was implemented directly with the Mosek Julia API, as opposed to MosekTools.
We also investigated the performance of our algorithm on larger scale matrices, which is represented in Figure 2. Algorithm 1 is even stronger here, computing high accuracy norms in 20×(23×) faster than CHOLMOD (MOSEK) at s=105 and 9.3×(14.6×) faster than CHOLMOD (MOSEK) at s=5×105. At these scales, these differences are non-trivial.
The improvement between CHOLMOD and MOSEK is mostly explained by leveraging the structure of the program (5) and performing a Schur complement, which solves a much smaller system. The second source of improvement in our algorithm is the fast Laplacian solver, which makes a significant difference on large matrices.
Our implementation of Algorithm 1 is available at the following GitHub repository.
We discovered the conic formulation of the problem and started to investigate using interior point methods to perform the optimization. ChatGPT-6 Pro suggested the acceleration of the interior point method by the use of Laplacian solvers. We substantially simplified the proof and exposition, with some assistance from ChatGPT-6 Pro. All experiments were designed by the authors, and we used Claude Code for implementation. We used ChatGPT and Claude to check all the calculations in the paper and the implementations.
The paper was entirely written by the authors, who verified the correctness and originality of all content, including code and references.
References
[AKPS24] Deeksha Adil, Rasmus Kyng, Richard Peng, and Sushant Sachdeva. Fast algorithms for ℓp-regression. Journal of the ACM, 71(5):1–45, 2024.
[Amg03] S Amghibech. Eigenvalues of the discrete p-Laplacian for graphs. Ars Combinatoria, 67:283–302, 2003.
[ApS24] MOSEK ApS. MOSEK optimizer API for Julia, 2024.
[AS20] Deeksha Adil and Sushant Sachdeva. Faster p-norm minimizing flows, via smoothed q-norm problems. In Proceedings of the Fourteenth Annual ACM-SIAM Symposium on Discrete Algorithms, pages 892–910. SIAM, 2020.
[BBH +12] Boaz Barak, Fernando GSL Brandao, Aram W Harrow, Jonathan Kelner, David Steurer, and Yuan Zhou. Hypercontractivity, sum-of-squares proofs, and their applications. In Proceedings of the forty-fourth annual ACM symposium on Theory of computing, pages 307–326, 2012.
[BCLL18] Sébastien Bubeck, Michael B Cohen, Yin Tat Lee, and Yuanzhi Li. An homotopy method for lp regression provably beyond self-concordance and in input-sparsity time. In Proceedings of the 50th Annual ACM SIGACT Symposium on Theory of Computing, pages 1130–1137, 2018.
[BGG+19] Vijay Bhattiprolu, Mrinalkanti Ghosh, Venkatesan Guruswami, Euiwoong Lee, and Madhur Tulsiani. Approximability of p→ q matrix norms: generalized krivine rounding and hypercontractive hardness. In Proceedings of the Thirtieth Annual ACM-SIAM Symposium on Discrete Algorithms, pages 1358–1368. SIAM, 2019.
[BH09] Thomas Bühler and Matthias Hein. Spectral clustering based on the graph p-Laplacian. In Proceedings of the 26th annual international conference on machine learning, pages 81–88, 2009.
[Boy74] David W Boyd. The power method for ℓp norms. Linear Algebra and its Applications, 9:95–101, 1974.
[BV04] Stephen Boyd and Lieven Vandenberghe. Convex optimization, volume 1. Cambridge university press, Cambridge, 2004.
[BV11] Aditya Bhaskara and Aravindan Vijayaraghavan. Approximating matrix p-norms. In Proceedings of the twenty-second annual ACM-SIAM symposium on Discrete Algorithms, pages 497–511. SIAM, 2011.
[CDHR08] Yanqing Chen, Timothy A Davis, William W Hager, and Sivasankaran Rajamanickam. Algorithm 887: Cholmod, supernodal sparse cholesky factorization and update/downdate. ACM Transactions on Mathematical Software (TOMS), 35(3):1–14, 2008.
[CGL+20] Julia Chuzhoy, Yu Gao, Jason Li, Danupon Nanongkai, Richard Peng, and Thatchaphol Saranurak. A deterministic algorithm for balanced cut with applications to dynamic connectivity, flows, and beyond. In 2020 IEEE 61st Annual Symposium on Foundations of Computer Science (FOCS), pages 1158–1167, 2020.
[Cha09] Robert Chares. Cones and interior-point algorithms for structured convex optimization involving powers and exponentials. PhD thesis, UCLouvain, 2009.
[CKL+25] Li Chen, Rasmus Kyng, Yang Liu, Richard Peng, Maximilian Probst Gutenberg, and Sushant Sachdeva. Maximum flow and minimum-cost flow in almost-linear time. Journal of the ACM, 72(3):1–103, 2025.
[CKM+14] Michael B Cohen, Rasmus Kyng, Gary L Miller, Jakub W Pachocki, Richard Peng, Anup B Rao, and Shen Chen Xu. Solving SDD linear systems in nearly mlog1/2n time. In Proceedings of the forty-sixth annual ACM symposium on Theory of computing, pages 343–352, 2014.
[CMSV17] Michael B Cohen, Aleksander Mądry, Piotr Sankowski, and Adrian Vladu. Negative-weight shortest paths and unit capacity minimum cost flow in o~ (m 10/7 log w) time*. In Proceedings of the Twenty-Eighth Annual ACM-SIAM Symposium on Discrete Algorithms, pages 752–771. SIAM, 2017.
[CP20] Patrick L Combettes and Jean-Christophe Pesquet. Lipschitz certificates for layered network structures driven by averaged activation operators. SIAM Journal on Mathematics of Data Science, 2(2):529–557, 2020.
[DGG + 22] Sally Dong, Yu Gao, Gramoz Goranci, Yin Tat Lee, Richard Peng, Sushant Sachdeva, and Guanghao Ye. Nested Dissection Meets IPMs: Planar Min-Cost Flow in Nearly-Linear Time. In Proceedings of the 2022 ACM-SIAM Symposium on Discrete Algorithms, pages 124–153. SIAM, 2022.
[DGJ09] Martin Dyer, Leslie A Goldberg, and Mark Jerrum. Matrix norms and rapid mixing for spin systems. The Annals of Applied Probability, pages 71–107, 2009.
[Dik67] Iliya Iosiphovich Dikin. Iterative solution of problems of linear and quadratic programming. In Soviet Math. Dokl., volume 8, pages 674–675, 1967.
[DS08] 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.
[ER09] Matthias Englert and Harald Räcke. Oblivious routing for the lp-norm. In 2009 50th Annual IEEE Symposium on Foundations of Computer Science, pages 32–40. IEEE, 2009.
[GC24] Paul J. Goulart and Yuwen Chen. Clarabel: An interior-point solver for conic programs with quadratic objectives, 2024.
[GKS26] Yuan Gao, Rasmus Kyng, and Daniel A. Spielman. Ac(k): Robust solution of laplacian equations by randomized approximate cholesky factorization. SIAM Journal on Scientific Computing, 48(3):A1643–A1684, 2026.
[GLP22] Yu Gao, Yang P. Liu, and Richard Peng. Fully Dynamic Electrical Flows: Sparse Maxflow Faster Than Goldberg-Rao. In 2021 IEEE 62nd Annual Symposium on Foundations of Computer Science, pages 516–527. IEEE, Feb 2022.
[GMU25] Larry Guth, Dominique Maldague, and John Urschel. Estimating the matrix pq norm. SIAM Journal on Matrix Analysis and Applications, 46(3):2080–2092, 2025.
[HB10] Matthias Hein and Thomas Bühler. An inverse power method for nonlinear eigenproblems with applications in 1-spectral clustering and sparse PCA. Advances in neural information processing systems, 23, 2010.
[HT26] Samuel B Hopkins and Stefan Tiegel. Algorithms with polynomially-improved approximation factors for the 2→q norm, and applications. arXiv preprint arXiv:2605.25303, 2026.
[JLS22] Arun Jambulapati, Yang P Liu, and Aaron Sidford. Improved iteration complexities for overconstrained p-norm regression. In Proceedings of the 54th Annual ACM SIGACT Symposium on Theory of Computing, pages 529–542, 2022.
[JLSW20] Haotian Jiang, Yin Tat Lee, Zhao Song, and Sam Chiu-wai Wong. An improved cutting plane method for convex optimization, convex-concave games, and its applications. In Proceedings of the 52nd Annual ACM SIGACT Symposium on Theory of Computing, pages 944–953, 2020.
[JS25] Arun Jambulapati and Aaron Sidford. Ultrasparse ultrasparsifiers and faster laplacian system solvers. ACM Transactions on Algorithms, 21(3):1–49, 2025.
[Kar84] Narendra Karmarkar. A new polynomial-time algorithm for linear programming. In Proceedings of the sixteenth annual ACM symposium on Theory of computing, pages 302–311, 1984.
[KMP14] Ioannis Koutis, Gary L Miller, and Richard Peng. Approaching optimality for solving SDD linear systems. SIAM Journal on Computing, 43(1):337–354, 2014.
[KRS15] Rasmus Kyng, Anup Rao, and Sushant Sachdeva. Fast, provable algorithms for isotonic regression in all ℓp-norms. Advances in neural information processing systems, 28, 2015.
[KRSS15] Rasmus Kyng, Anup Rao, Sushant Sachdeva, and Daniel A. Spielman. Algorithms for Lipschitz Learning on Graphs. In Peter Grünwald, Elad Hazan, and Satyen Kale, editors, Proceedings of The 28th Conference on Learning Theory, volume 40 of Proceedings of Machine Learning Research, pages 1190–1223, Paris, France, 03–06 Jul 2015. PMLR.
[LAV17] Jinchao Li, Martin S Andersen, and Lieven Vandenberghe. Inexact proximal Newton methods for self-concordant functions. Mathematical Methods of Operations Research, 85(1):19–41, 2017.
[LS14] Yin Tat Lee and Aaron Sidford. Path finding methods for linear programming: Solving linear programs in o (vrank) iterations and faster algorithms for maximum flow. In 2014 IEEE 55th Annual Symposium on Foundations of Computer Science, pages 424–433. IEEE, 2014.
[Mad13] Aleksander Madry. Navigating central path with electrical flows: From flows to matchings, and back. In 2013 IEEE 54th Annual Symposium on Foundations of Computer Science, pages 253–262. IEEE, 2013.
[NN94] Yurii Nesterov and Arkadii Nemirovskii. Interior-point polynomial algorithms in convex programming. SIAM, 1994.
[OV26] Etienne Objois and Adrian Vladu. Approximating q→p norms of non-negative matrices in nearly-linear time. In 43rd International Symposium on Theoretical Aspects of Computer Science (STACS 2026), pages 69–1. Schloss Dagstuhl–Leibniz-Zentrum für Informatik, 2026.
[Ovs26] Max Ovsiankin. Computation and applications of euclidean and normed representations of massive data. arXiv preprint arXiv:2609.06329, 2026.
[Ren01] James Renegar. A mathematical view of interior-point methods in convex optimization. SIAM, 2001.
[RX22] Scott Roy and Lin Xiao. On self-concordant barriers for generalized power cones. Optimization Letters, 16(2):681–694, 2022.
[ST14] Daniel A. Spielman and Shang-Hua Teng. Nearly linear time algorithms for preconditioning and solving symmetric, diagonally dominant linear systems. SIAM Journal on Matrix Analysis and Applications, 35(3):835–885, 2014.
[Ste05] Daureen Steinberg. Computation of matrix norms with applications to robust optimization. Research thesis, Technion-Israel University of Technology, 2, 2005.
[vdBLL+21] Jan van den Brand, Yin Tat Lee, Yang P. Liu, Thatchaphol Saranurak, Aaron Sidford, Zhao Song, and Di Wang. Minimum cost flows, MDPs, and ℓ1-regression in nearly linear time for dense instances. In Proceedings of the 53rd Annual ACM SIGACT Symposium on Theory of Computing, STOC '21, pages 859–869. ACM, June 2021.
[vdBLN+20] Jan van den Brand, Yin-Tat Lee, Danupon Nanongkai, Richard Peng, Thatchaphol Saranurak, Aaron Sidford, Zhao Song, and Di Wang. Bipartite Matching in Nearly-linear Time on Moderately Dense Graphs. In 2020 IEEE 61st Annual Symposium on Foundations of Computer Science (FOCS), pages 919–930. IEEE, Nov 2020.
A Details on Interior Point Methods
The specific IPM used to prove Theorem 5 corresponds to a primal short-step path following IPM, which was introduced by [NN94] and simplified by [Ren01] under exact Newton steps. The inexact Newton step analysis closely follows the one of [LAV17].
Theorem 12. Let x0∈int(K) and η0 satisfy λη0(x0)≤101, and let 0≤δ≤51. Let Δη(x) be an approximate Newton step satisfying the local norm guarantee (3), and iteratively update x and η as follows.
x+=x+Δη(x)η+=(1+20ν1)η
Then λη+(x+)≤101. In particular, we reach an approximate solution to xηT∗ after T≤⌈21νlogη0ηT⌉ iterations.
We will prove Theorem 12 using two standard lemmas. The first auxiliary Lemma is a simplification of [LAV17, Theorem 2] when working with pure Newton steps and no penalty function h(x)=0.
Lemma 13 (Inexact Newton step). Let F:K→R be a self-concordant function and x∈int(K) be a point such that λ(x)=λ<1. If Δ approximates the Newton step as ∥Δ−Δ(x)∥x≤δ∥Δ(x)∥x for some δ<min{21,λ1−λ}, then x+=x+Δ satisfies
λ(x+)≤(1−(1+δ)λ)2δλ+(1+δ)λ2
The second auxiliary Lemma is an elementary result from [Ren01, Eq. 2.4.5].
Lemma 14 (Path update step). Let F be a self-concordant barrier function with complexity parameter ν, and let x∈int(K). For any η>0 and α>0, a multiplicative scaling of the barrier parameter η+=(1+α)η satisfies
λη+(x)≤(1+α)λη(x)+αν
Proof of Theorem 12. Let λ=λη(x)≤101 and α=20ν1. We bound λη+(x+) as a function of λη(x+) using the path update step (Lemma 14), and then bound λη(x+) as a function of λη(x) using the Newton step (Lemma 13).
The bound on the number of iterations immediately follows from
ηT=(1+20ν1)Tη0⟺T=log(1+20ν1)logη0ηT
Since log(1+x1)≥x+11 for any x≥1, a sufficient condition for a large enough such T is
T=⌈21νlogη0ηT⌉
The final auxiliary Lemma controls how close an approximate minimizer for Φη(x) is to the minimizer of the constrained linear problem as a function of η. Recall a useful property of self-concordant functions.
(SC3) For any x,y∈int(K) with ∥x−y∥x<1, we can swap the reference point for the local norm and still get a bound on their distance,
∥x−y∥y≤1−∥x−y∥x∥x−y∥x
Lemma 15 (Termination). For any x∈int(K) such that λη(x)≤101, we have
⟨c,x⟩−⟨c,x∗⟩≤67ην
Proof. This is again a standard result in path-following IPMs adapted to our settings. Eq. (2.4.4) from [Ren01] states that, if ∥x−xη∗∥xη∗≤β, then
⟨c,x⟩−⟨c,x∗⟩≤(1+β)ην
Proposition 2.2.8 from [Ren01] implies that
∥x−xη∗∥x≤λη(x)+(1−λη(x))33λη(x)2≤71
We can use (SC3) to change the reference point of the local norm,
∥x−xη∗∥xη∗≤1−∥x−xη∗∥x∥x−xη∗∥x≤61
which concludes the proof.
We can combine the IPM inductive theorem and the termination lemma to prove Theorem 5.
Proof of Theorem 5. From Theorem 12, we need ⌊21νlogη0ηT⌋ iterations to reach a point xT such that ληT(xT)≤101. Set ε=6ηT7ν, then Lemma 15 implies that
⟨c,xT⟩−⟨c,x∗⟩≤ε
This means that the number of iterations needed is
T≤⌈21νlog6εη07ν⌉≤⌈22νlogεη0ν⌉
The final inequality is valid for any 0<η0<1, 0<ε<1 and large enough ν≥40.
B Gradient and Hessian of the barrier function
In this section we collect the formulas for the gradient and Hessian of the self-concordant barrier function (6). To help readability, we recall the explicit form of the barrier here. Let Z=∑iz(i) and Y=∑jy(j),
The Hessian of the barrier function is highly structured. First, note that the gradient of the edge variables γ(i,j) (17) depends only on γ(i,j) and not γ(i′,j′) for (i′,j′)=(i,j), so the Hessian restricted to γ is diagonal. Moreover, (17) only depends on the row/column variables corresponding to the edge (i,j), so its derivative with respect to z(i′) or y(j′) for i′=i and j′=j is zero. The non-zero Hessian entries are as follows.
The Hessian matrix can be represented as follows, where the rows and columns are indexed according to x=(z,y,γ).
H=HzHzy⊤Hzγ⊤HzyHyHyγ⊤HzγHyγHγ
There is an even simpler representation of the Hessian by grouping the row and column variables into a single vector w=(z,y) and focusing on γ.
H=(HwHwγ⊤HwγHγ)(26)
where
Hw=(HzHzy⊤HzyHy)Hwγ=(HzγHyγ)
This way of looking at the Hessian is particularly useful because Hγ is diagonal, so solving systems of equations in H reduces to solving systems of equations in the Schur complement of H with respect to Hγ. Also note that every column of Hwγ is supported on two entries, one in the z block and one in the y block. In particular, this can be thought of as the unsigned edge-vertex incidence matrix of a bipartite graph with incidence matrix given by A and vertex weights given by (24) and (25).
C Experiments on different matrix norms
In this section, we report the performance of our algorithms for (p,q)∈{(2,1.5),(3,3)} on experiments analogous to Section 6. This demonstrates that our algorithm remains practical for a wide range of norms, and it beats current alternatives by a wide margin.
Figure 3: Runtime of different algorithms to compute ∥A∥2→1.5 for different target accuracies, median over 5 random matrices. (Left). Dense matrices with random entries in [0,1] of size 100×100. (Right). Sparse binary matrices of size 1000×1000 where each entry is sampled iid with probability 4/1000, and the diagonal is set to 1, so the average sparsity is highly concentrated around 5000.
Figure 4: Performance of different algorithms for computing 2→1.5 norms of large scale non-negative matrices. Each point represents a single random matrix sampled at that sparsity level. (Left.) Medium accuracy solutions ε=10−4. (Right.) High accuracy solutions ε=10−8.
Figure 5: Runtime of different algorithms to compute ∥A∥3→3 for different target accuracies, median over 5 random matrices. (Left). Dense matrices with random entries in [0,1] of size 100×100. (Right). Sparse binary matrices of size 1000×1000 where each entry is sampled iid with probability 4/1000, and the diagonal is set to 1, so the average sparsity is highly concentrated around 5000.
Figure 6: Performance of different algorithms for computing 3→3 norms of large scale non-negative matrices. Each point represents a single random matrix sampled at that sparsity level. (Left.) Medium accuracy solutions ε=10−4. (Right.) High accuracy solutions ε=10−8.
As witnessed in Figure 5, some implementations are fragile when p = q, and fail to reach convergence. Our algorithm is slower when p = q compared to p > q, but it always converges to the target accuracy, and it still comfortably outperforms the other baselines. This might be due to the differences in the 3D and 4D power cones, and it would be interesting to investigate this further.