JMLR

skwdro: a library for Wasserstein distributionally robust machine learning

Authors
Vincent Florian Waïss Azizian Franck Iutzeler Jérôme Malick
Research Topics
Machine Learning
Paper Information
  • Journal:
    Journal of Machine Learning Research
  • Added to Tracker:
    Mar 03, 2026
Abstract

We present skwdro, a Python library for training robust machine learning models. The library is based on distributionally robust optimization using Wasserstein distances, popular in optimal transport and machine learnings. The goal of the library is to make the training of robust models easier for a wide audience by proposing a wrapper for PyTorch modules, enabling model loss' robustification with minimal code changes. It comes along with scikit-learn compatible estimators for some popular objectives. The core of the implementation relies on an entropic smoothing of the original robust objective, in order to ensure maximal model flexibility. The library is available at https://github.com/iutzeler/skwdro and the documentation at https://skwdro.readthedocs.io

Author Details
Vincent Florian
Author
Waïss Azizian
Author
Franck Iutzeler
Author
Jérôme Malick
Author
Research Topics & Keywords
Machine Learning
Research Area
Citation Information
APA Format
Vincent Florian , Waïss Azizian , Franck Iutzeler & Jérôme Malick . skwdro: a library for Wasserstein distributionally robust machine learning. Journal of Machine Learning Research .
BibTeX Format
@article{paper1006,
  title = { skwdro: a library for Wasserstein distributionally robust machine learning },
  author = { Vincent Florian and Waïss Azizian and Franck Iutzeler and Jérôme Malick },
  journal = { Journal of Machine Learning Research },
  url = { https://www.jmlr.org/papers/v27/24-1840.html }
}