Skip to main content
QUICK REVIEW

[Paper Review] Faster Algorithm for Structured John Ellipsoid Computation

Cao, Yang, Li, Xiaoyu|arXiv (Cornell University)|Nov 26, 2022
Polynomial and algebraic computationComputer Science5 citations
TL;DR

This paper presents faster algorithms for computing the John Ellipsoid—a maximal volume inscribed ellipsoid in a centrally symmetric polytope defined by a matrix $A \in \mathbb{R}^{n \times d}$—using sketching and leverage score sampling. It achieves nearly input-sparsity time $\operatorname{nnz}(A) + d^{\omega}$ for sparse matrices and $n\tau^2$ time for matrices with small treewidth $\tau$, significantly improving over the prior $O(nd^2)$ bound.

ABSTRACT

The famous theorem of Fritz John states that any convex body has a unique maximal volume inscribed ellipsoid, known as the John Ellipsoid. Computing the John Ellipsoid is a fundamental problem in convex optimization. In this paper, we focus on approximating the John Ellipsoid inscribed in a convex and centrally symmetric polytope defined by $ P := \{ x \in \mathbb{R}^d : -\mathbf{1}_n \leq A x \leq \mathbf{1}_n \},$ where $ A \in \mathbb{R}^{n imes d} $ is a rank-$d$ matrix and $ \mathbf{1}_n \in \mathbb{R}^n $ is the all-ones vector. We develop two efficient algorithms for approximating the John Ellipsoid. The first is a sketching-based algorithm that runs in nearly input-sparsity time $ \widetilde{O}(\mathrm{nnz}(A) + d^ω) $, where $ \mathrm{nnz}(A) $ denotes the number of nonzero entries in the matrix $A$ and $ ω\approx 2.37$ is the current matrix multiplication exponent. The second is a treewidth-based algorithm that runs in time $ \widetilde{O}(n τ^2)$, where $τ$ is the treewidth of the dual graph of the matrix $A$. Our algorithms significantly improve upon the state-of-the-art running time of $ \widetilde{O}(n d^2) $ achieved by [Cohen, Cousins, Lee, and Yang, COLT 2019].

Motivation & Objective

  • To accelerate John Ellipsoid computation for centrally symmetric polytopes defined by a matrix $A \in \mathbb{R}^{n \times d}$.
  • To overcome the $O(nd^2)$ bottleneck in prior work [CCLY19] arising from repeated Cholesky and linear system solves.
  • To leverage sketching and leverage score sampling to reduce per-iteration cost in fixed-point iterations for $\ell_\infty$ Lewis weights.
  • To exploit low treewidth structure in $A$ to further accelerate computation, achieving $O(n\tau^2)$ time per iteration.

Proposed method

  • Proposes a sketching-based algorithm that approximates quadratic forms $a^\top B^{-1}a$ using randomized sampling, replacing expensive Cholesky decompositions.
  • Employs leverage score sampling on $\sqrt{W}A$ to sparsify the matrix $A^\top W A$, ensuring spectral approximation with high probability.
  • Uses the Matrix Chernoff bound to guarantee that the sampled matrix $\widetilde{H}(w)$ satisfies $(1-\epsilon_0)H(w) \preceq \widetilde{H}(w) \preceq (1+\epsilon_0)H(w)$ with high probability.
  • Introduces a treewidth-aware algorithm that exploits the elimination tree structure of $A^\top A$ to compute matrix-vector products in $O(n\tau^2)$ time per iteration.
  • Designs a fixed-point iteration for $\ell_\infty$ Lewis weights using the sketched matrix, with convergence in $O(\epsilon^{-1} \log(n/d))$ iterations.
  • Optimizes output by avoiding explicit computation of $A^\top V A$, instead storing only $A$ and weight vector $v$.

Experimental results

Research questions

  • RQ1Can we reduce the per-iteration cost of John Ellipsoid computation below $O(nd^2)$ for general sparse matrices?
  • RQ2Can we achieve input-sparsity time complexity $\widetilde{O}(\operatorname{nnz}(A) + d^\omega)$ for sparse matrices using sketching?
  • RQ3Can we exploit low treewidth structure in $A$ to achieve faster computation than $O(nd^2)$?
  • RQ4Does leverage score sampling with sketching preserve the necessary spectral properties for convergence in the fixed-point iteration?

Key findings

  • For sparse matrices, the algorithm runs in $O(\epsilon^{-1} \log(n/\delta) \cdot (\operatorname{nnz}(A) + \epsilon^{-1} d^\omega))$ time, achieving nearly input-sparsity.
  • For matrices with treewidth $\tau$, the algorithm runs in $O(n\tau^2)$ time per iteration, independent of $d$.
  • The algorithm guarantees that the output ellipsoid $Q$ satisfies $\frac{1}{\sqrt{1+\epsilon}} Q \subseteq P \subseteq \sqrt{d} Q$, ensuring volume approximation.
  • The new algorithm improves upon [CCLY19] for all $\epsilon \in (1/d, 1)$ when $n \geq d^\omega$, and for all matrices with small $\tau$.
  • The use of sketching reduces the per-iteration cost from $O(nd^2)$ to $O(\epsilon^{-1} \operatorname{nnz}(A) + \epsilon^{-2} d^\omega)$, with high-probability spectral guarantees.
  • The treewidth-based algorithm is always faster than [CCLY19] when $\tau \ll d$, due to the $O(n\tau^2)$ cost per iteration.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.