IDEAS home Printed from https://ideas.repec.org/a/spr/joptap/v202y2024i3d10.1007_s10957-024-02491-6.html
   My bibliography  Save this article

Specifying and Solving Robust Empirical Risk Minimization Problems Using CVXPY

Author

Listed:
  • Eric Luxenberg

    (Stanford University)

  • Dhruv Malik

    (Carnegie Mellon University)

  • Yuanzhi Li

    (Carnegie Mellon University)

  • Aarti Singh

    (Carnegie Mellon University)

  • Stephen Boyd

    (Stanford University)

Abstract

We consider robust empirical risk minimization (ERM), where model parameters are chosen to minimize the worst-case empirical loss when each data point varies over a given convex uncertainty set. In some simple cases, such problems can be expressed in an analytical form. In general the problem can be made tractable via dualization, which turns a min-max problem into a min-min problem. Dualization requires expertise and is tedious and error-prone. We demonstrate how CVXPY can be used to automate this dualization procedure in a user-friendly manner. Our framework allows practitioners to specify and solve robust ERM problems with a general class of convex losses, capturing many standard regression and classification problems. Users can easily specify any complex uncertainty set that is representable via disciplined convex programming (DCP) constraints.

Suggested Citation

  • Eric Luxenberg & Dhruv Malik & Yuanzhi Li & Aarti Singh & Stephen Boyd, 2024. "Specifying and Solving Robust Empirical Risk Minimization Problems Using CVXPY," Journal of Optimization Theory and Applications, Springer, vol. 202(3), pages 1158-1168, September.
  • Handle: RePEc:spr:joptap:v:202:y:2024:i:3:d:10.1007_s10957-024-02491-6
    DOI: 10.1007/s10957-024-02491-6
    as

    Download full text from publisher

    File URL: http://link.springer.com/10.1007/s10957-024-02491-6
    File Function: Abstract
    Download Restriction: Access to the full text of the articles in this series is restricted.

    File URL: https://libkey.io/10.1007/s10957-024-02491-6?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:spr:joptap:v:202:y:2024:i:3:d:10.1007_s10957-024-02491-6. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Sonal Shukla or Springer Nature Abstracting and Indexing (email available below). General contact details of provider: http://www.springer.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.