[Paper Review] Biased Stochastic First-Order Methods for Conditional Stochastic Optimization and Applications in Meta Learning
This paper proposes Biased Stochastic Gradient Descent (BSGD) for Conditional Stochastic Optimization (CSO), a class of problems with nested expectations arising in meta-learning, causal inference, and robust learning. By using mini-batches of conditional samples to construct biased gradient estimators, BSGD achieves improved sample complexity—matching or outperforming SAA in convergence rates for strongly convex, convex, and weakly convex objectives—demonstrated on MAML, invariant regression, and instrumental variable problems.
Conditional stochastic optimization covers a variety of applications ranging from invariant learning and causal inference to meta-learning. However, constructing unbiased gradient estimators for such problems is challenging due to the composition structure. As an alternative, we propose a biased stochastic gradient descent (BSGD) algorithm and study the bias-variance tradeoff under different structural assumptions. We establish the sample complexities of BSGD for strongly convex, convex, and weakly convex objectives under smooth and non-smooth conditions. Our lower bound analysis shows that the sample complexities of BSGD cannot be improved for general convex objectives and nonconvex objectives except for smooth nonconvex objectives with Lipschitz continuous gradient estimator. For this special setting, we propose an accelerated algorithm called biased SpiderBoost (BSpiderBoost) that matches the lower bound complexity. We further conduct numerical experiments on invariant logistic regression and model-agnostic meta-learning to illustrate the performance of BSGD and BSpiderBoost.
Motivation & Objective
- To address the challenge of constructing unbiased gradient estimators in Conditional Stochastic Optimization (CSO) due to its nested, compositional structure.
- To develop a practical and efficient stochastic first-order method for CSO when multiple samples from the conditional distribution are available.
- To establish theoretical sample complexity bounds for BSGD under various smoothness and convexity assumptions on the objective function.
- To provide matching lower bounds for convex CSO, validating the optimality of BSGD's convergence rates.
- To empirically validate BSGD on real-world applications including meta-learning (MAML), robust logistic regression, and instrumental variable regression.
Proposed method
- Proposes Biased Stochastic Gradient Descent (BSGD) as a first-order method for CSO, using mini-batches of conditional samples to form a biased gradient estimator.
- Derives bias and variance bounds for the gradient estimator based on the inner mini-batch size $ m $, showing that bias decreases with larger $ m $.
- Establishes convergence rates for BSGD under strong convexity, convexity, and weak convexity, with separate analysis for smooth and Lipschitz continuous outer functions $ f_{ heta} $.
- Uses a novel analysis framework to bound the expected suboptimality and stationarity error, accounting for the composition structure of CSO.
- Applies the method to three applications: robust logistic regression, model-agnostic meta-learning (MAML), and instrumental variable regression, with hyperparameters tuned per setting.
- Compares BSGD to Sample Average Approximation (SAA) and other baselines (e.g., FO-MAML, Adam) in experiments with fixed total sample size $ Q $.
Experimental results
Research questions
- RQ1Can a biased stochastic gradient method achieve better sample complexity than SAA for conditional stochastic optimization?
- RQ2What is the optimal tradeoff between bias and variance in gradient estimation for CSO under different structural assumptions?
- RQ3How does BSGD perform in practice on meta-learning (MAML), invariant regression, and instrumental variable problems?
- RQ4Are the theoretical sample complexity bounds of BSGD tight, as confirmed by matching lower bounds?
- RQ5Does BSGD outperform standard baselines like Adam and FO-MAML in terms of convergence speed and final objective value?
Key findings
- BSGD achieves $ \widetilde{\mathcal{O}}(\epsilon^{-2}) $ sample complexity for strongly convex objectives with smooth $ f_{\xi} $, matching the best-known rate for SAA.
- For convex objectives, BSGD attains $ \mathcal{O}(\epsilon^{-3}) $ complexity with smooth $ f_{\xi} $, matching the SAA rate from Hu et al. (2019).
- In the weakly convex case, BSGD achieves $ \mathcal{O}(\epsilon^{-6}) $ complexity for smooth $ f_{\xi} $, which is better than the $ \widetilde{\mathcal{O}}(\epsilon^{-8}) $ rate of SAA.
- Numerical results show BSGD outperforms SAA in invariant logistic regression, especially when $ \sigma_2 $ is large, with lower objective values across all $ Q $ and $ m $ settings.
- In MAML experiments, BSGD achieves the lowest mean objective value at $ Q = 10^7 $, with $ m = 10 $, outperforming FO-MAML and Adam in final objective and stability.
- The method demonstrates robustness across different inner batch sizes $ m $, with consistent performance and low variance, especially in high-noise settings.
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.