[Paper Review] An Online Method for A Class of Distributionally Robust Optimization with Non-Convex Objectives
This paper proposes a duality-free online stochastic method for distributionally robust optimization (DRO) with non-convex objectives, transforming the min-max DRO problem into a stochastic compositional optimization via KL divergence regularization. The method achieves state-of-the-art convergence complexity and accelerates training by over 2x on large-scale deep learning tasks, including imbalanced datasets, while avoiding high-dimensional dual variables and enabling online learning.
In this paper, we propose a practical online method for solving a class of distributionally robust optimization (DRO) with non-convex objectives, which has important applications in machine learning for improving the robustness of neural networks. In the literature, most methods for solving DRO are based on stochastic primal-dual methods. However, primal-dual methods for DRO suffer from several drawbacks: (1) manipulating a high-dimensional dual variable corresponding to the size of data is time expensive; (2) they are not friendly to online learning where data is coming sequentially. To address these issues, we consider a class of DRO with an KL divergence regularization on the dual variables, transform the min-max problem into a compositional minimization problem, and propose practical duality-free online stochastic methods without requiring a large mini-batch size. We establish the state-of-the-art complexities of the proposed methods with and without a Polyak-Łojasiewicz (PL) condition of the objective. Empirical studies on large-scale deep learning tasks (i) demonstrate that our method can speed up the training by more than 2 times than baseline methods and save days of training time on a large-scale dataset with $\sim$ 265K images, and (ii) verify the supreme performance of DRO over Empirical Risk Minimization (ERM) on imbalanced datasets. Of independent interest, the proposed method can be also used for solving a family of stochastic compositional problems with state-of-the-art complexities.
Motivation & Objective
- To address the inefficiency of stochastic primal-dual methods in DRO with non-convex objectives, particularly due to high-dimensional dual variables and poor online learning support.
- To develop an online, scalable algorithm that avoids maintaining a full dual vector of size $ n $, reducing memory and computational costs.
- To establish optimal convergence rates for DRO under both general and Polyak-Łojasiewicz (PL) conditions, improving upon existing stochastic compositional methods.
- To enable practical application in deep learning, especially for robust training on large-scale and imbalanced datasets.
Proposed method
- Transform the min-max DRO problem into a compositional minimization problem using KL divergence regularization on dual variables, enabling a duality-free formulation.
- Derive an equivalent objective: $ F_{ ext{dro}}(\mathbf{w}) = \lambda \log\left(\frac{1}{n}\sum_{i=1}^{n} \exp(\ell(\mathbf{w};\mathbf{z}_i)/\lambda)\right) + r(\mathbf{w}) $, which is a stochastic compositional problem.
- Propose a novel online stochastic algorithm, RECOVER, that uses variance reduction techniques (e.g., SPIDER) to achieve optimal sample complexity.
- Integrate adaptive step sizes and mini-batch sampling to reduce gradient variance and improve convergence without requiring large mini-batch sizes.
- Leverage the structure of the exponential family in the compositional objective to enable efficient online updates and avoid explicit dual variable maintenance.
- Establish theoretical convergence guarantees under both general and PL conditions, with complexity bounds matching or improving upon state-of-the-art.
Experimental results
Research questions
- RQ1Can we design an online DRO algorithm that avoids maintaining a high-dimensional dual variable $ \mathbf{p} \in \mathbb{R}^n $, enabling scalable and memory-efficient training?
- RQ2Can we achieve optimal convergence complexity for non-convex DRO problems without relying on primal-dual decomposition?
- RQ3How does the proposed method perform in practice on large-scale deep learning tasks with imbalanced data?
- RQ4Can the method be generalized to solve a broader class of stochastic compositional problems with optimal sample complexity?
Key findings
- The proposed method achieves over 2x speedup in training time on a large-scale dataset with ~265K images compared to baseline methods.
- The method reduces training time by days on large-scale deep learning tasks, demonstrating strong practical scalability.
- Empirical results confirm that DRO with the proposed method significantly outperforms Empirical Risk Minimization (ERM) on imbalanced datasets.
- Theoretical analysis establishes state-of-the-art sample complexity for non-convex DRO under both general and Polyak-Łojasiewicz (PL) conditions.
- The method achieves optimal convergence rate with $ O(1/\epsilon) $ sample complexity, matching the best-known bounds for stochastic compositional problems.
- The algorithm is fully online and does not require prior knowledge of data size $ n $, making it suitable for sequential data processing.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.