Paperlane

no. 7 · Tuesday 3 November 2026

DRO: A Python Library for Distributionally Robust Optimization in Machine Learning

Tianyu Wang, Jiashuo Liu, Henry Lam, Hongseok Namkoong and Jose Blanchet

math.NA · v2

Abstract

We introduce dro, an open-source Python library for distributionally robust optimization (DRO) for regression and classification problems. The library implements 15 DRO formulations and 9 backbone models, enabling 85 distinct DRO methods. Furthermore, dro is compatible with both scikit-learn and PyTorch through a unified interface, and uses approximation techniques to reduce runtime for some computationally demanding formulations. Comprehensive documentation is available at https://python-dro.org.

fields
Numerical Analysis
pdf ↗ page arXiv:2505.23565 ↗