Specifying and Solving Robust Empirical Risk Minimization Problems Using CVXPY
ELEric LuxenbergDhruv MalikYuanzhi LiASAarti Singh
Stephen Boyd ELEric Luxenberg
Dhruv Malik
Yuanzhi Li
ASAarti Singh

Stephen Boyd
+5
Robust empirical risk minimization (ERM) chooses model parameters to minimize the worst-case empirical loss as each data point varies over a given convex uncertainty set. This paper shows how CVXPY, a convex optimization library, automates the dualization that turns such min-max problems into tractable min-min problems. Users specify the loss and any convex uncertainty set representable by disciplined convex programming (DCP) constraints, and CVXPY handles the dualization procedure automatically. The framework works for a general class of convex losses, covering many standard regression and classification problems.

arXiv ·
· June 9, 2023