Skip to main content
QUICK REVIEW

[Paper Review] PEPit: computer-assisted worst-case analyses of first-order optimization methods in Python

Baptiste Goujaud, Céline Moucer|arXiv (Cornell University)|Jan 11, 2022
Advanced Optimization Algorithms ResearchMathematics6 citations
TL;DR

PEPit is a Python package that automates worst-case convergence analysis for first-order optimization methods by transforming performance estimation problems (PEPs) into semidefinite programs (SDPs). It enables users to write algorithms naturally while automatically handling SDP modeling, yielding numerically tight worst-case guarantees for methods like gradient descent, SAGA, and accelerated splitting schemes.

ABSTRACT

PEPit is a Python package aiming at simplifying the access to worst-case analyses of a large family of first-order optimization methods possibly involving gradient, projection, proximal, or linear optimization oracles, along with their approximate, or Bregman variants. In short, PEPit is a package enabling computer-assisted worst-case analyses of first-order optimization methods. The key underlying idea is to cast the problem of performing a worst-case analysis, often referred to as a performance estimation problem (PEP), as a semidefinite program (SDP) which can be solved numerically. To do that, the package users are only required to write first-order methods nearly as they would have implemented them. The package then takes care of the SDP modeling parts, and the worst-case analysis is performed numerically via a standard solver.

Motivation & Objective

  • To simplify access to worst-case convergence analyses of first-order optimization methods for both novice and expert users.
  • To automate the tedious process of formulating performance estimation problems (PEPs) as semidefinite programs (SDPs), reducing coding errors and effort.
  • To enable numerical worst-case analysis for a broad class of methods, including those with gradient, proximal, projection, or linear optimization oracles.
  • To support both standard and advanced settings, such as stochastic, composite, and accelerated methods, with Lyapunov function verification.
  • To serve as a reproducible, extensible, and pedagogical tool for verifying, tightening, or discovering new convergence guarantees.

Proposed method

  • Casts worst-case analysis of first-order methods as a performance estimation problem (PEP), formalized as a semidefinite program (SDP).
  • Automates the SDP modeling process: users write algorithms in standard Python syntax, and PEPit handles the transformation to SDP form.
  • Uses standard Python SDP solvers (e.g., Mosek, CVXPY) to numerically solve the resulting SDP and compute worst-case bounds.
  • Supports various problem classes (e.g., convex, smooth, strongly convex) and algorithmic components (e.g., prox, gradient, linear oracles).
  • Incorporates Lyapunov function search and verification via SDP, inspired by control-theoretic integral quadratic constraints (IQCs).
  • Provides a modular, open-source framework with over 50 examples, extensible for new problem classes, oracles, and algorithms.

Experimental results

Research questions

  • RQ1Can worst-case convergence guarantees for first-order methods be computed automatically and accurately using computer-assisted methods?
  • RQ2How can the complex task of formulating performance estimation problems (PEPs) as semidefinite programs be abstracted to allow intuitive user input?
  • RQ3To what extent can PEPit improve upon existing theoretical worst-case bounds, particularly in stochastic and composite optimization?
  • RQ4Can the framework be extended to support Lyapunov function discovery and verification for convergence analysis?
  • RQ5How effective is PEPit in reproducing or tightening known convergence results across diverse optimization methods and settings?

Key findings

  • PEPit computes numerically tight worst-case guarantees for first-order methods, including for point-SAGA, where it slightly improves upon the established theoretical bound $\mathbb{E}[V(x^{(t+1)})] \leq \frac{1}{1 + \mu\gamma} V(x^{(t)})$.
  • The package successfully reproduces known convergence rates for accelerated gradient methods and Douglas-Rachford splitting, with results matching theoretical expectations.
  • For point-SAGA with $n=5$ functions, PEPit’s worst-case guarantee is tighter than the reference bound, especially at high condition numbers $\kappa = L/\mu$.
  • The framework enables rapid numerical verification and potential tightening of convergence proofs, supporting reproducible research in optimization.
  • PEPit’s automated SDP modeling reduces the risk of implementation errors and allows non-experts to perform advanced worst-case analyses.
  • The package supports a wide range of optimization settings, including stochastic, composite, and monotone operator methods, with extensibility for future extensions.

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.