Abstract
Stochastic composition optimization problems, characterized by an objective function that is a composition of two nested expectations, are prevalent in reinforcement learning and risk-averse machine learning. Traditional stochastic gradient methods often suffer from biased gradient estimates or rely on complex dual transformations that can destroy problem structure. This paper introduces Stochastic Composition Duality-Free (SCDF) methods, which integrate variance reduction techniques—specifically SVRG and SAGA—into a duality-free framework. These algorithms are theoretically proven to achieve linear convergence rates for strongly convex objectives, even when individual outer functions are non-convex, and demonstrate superior empirical performance in financial portfolio management tasks.
Introduction
Many advanced machine learning problems require minimizing an objective function that is a composition of two finite sums or expected values, expressed as $F(G(x))$. This structure is common in solving Bellman equations for reinforcement learning or performing mean-variance optimization in finance.
Standard optimization algorithms like Stochastic Gradient Descent (SGD) struggle with this composition. To compute the gradient of the outer function $F$, one requires the exact value of the inner function $G(x)$. If $G(x)$ is an expectation over a massive dataset, computing it exactly at every step is computationally prohibitive. Conversely, estimating $G(x)$ with a small sample introduces a fundamental bias due to the non-linear nature of the outer function $F$. This bias typically prevents standard algorithms from converging efficiently, leading to slow sublinear rates or requiring dual-transformations that may turn a solvable convex problem into a difficult non-convex-concave saddle point problem.
The Stochastic Composition Duality-Free (SCDF) Framework
The authors propose Stochastic Composition Duality-Free (SCDF) methods to address these challenges. By avoiding Fenchel's transform, the SCDF framework maintains the original problem's convexity and avoids the "dual trap." To manage the variance and bias introduced by the inner function $G(x)$, the authors adapt two primary variance reduction techniques.
SCDF-SVRG
The SCDF-SVRG (Stochastic Variance Reduced Gradient) variant divides the training process into epochs. At the start of each epoch, it computes the exact inner function at a "snapshot" point. During the epoch, it uses stochastic samples to update the estimate, anchoring it to the snapshot to keep both variance and bias in check.
SCDF-SAGA
Unlike the epoch-based SVRG, SCDF-SAGA maintains a memory table of past gradients. It continuously updates the inner function estimate iteratively, avoiding the periodic heavy computation of full gradients required by SVRG snapshots. This makes it particularly efficient for continuous streaming or large-scale iterative updates.
Key Theoretical Insights
- Convergence Under Bias: A significant theoretical contribution is the proof that even though using SVRG/SAGA to estimate the inner function $G$ results in a biased gradient for the overall objective, the algorithms still converge. The variance of this bias is shown to shrink to zero as the algorithm approaches the optimal solution.
- Robustness to Non-Convexity: The SCDF methods achieve a linear convergence rate not just for strictly convex problems, but also when the individual outer functions ($F_i$) are non-convex, provided the overall combined objective function remains strongly convex.
- Linear Convergence: Both SCDF-SVRG and SCDF-SAGA are mathematically proven to achieve a linear convergence rate, where the error decreases exponentially with the number of iterations.
Empirical Evaluation
The authors evaluated the algorithms on a portfolio management (mean-variance optimization) task using synthetic financial data. Reward vectors were generated from random Gaussian distributions with varying condition numbers ($\kappa = 10, 30, 50$) to test the algorithms under different levels of difficulty.
In these simulations, both proposed methods exhibited clear linear convergence. SCDF-SAGA consistently outperformed all baseline methods—including standard SGD, SCGD, vanilla SVRG/SAGA, and previous compositional SVRG methods—across all tested condition numbers and mini-batch sizes.
Conclusion and Future Work
While SCDF methods provide a powerful tool for composition optimization, they are currently optimized for strongly convex and smooth objectives. The SCDF-SAGA variant also requires a memory footprint that scales linearly with dataset size, which may be a constraint for extremely large-scale applications. Future research may focus on extending these duality-free variance reduction techniques to fully non-convex settings or optimizing the memory requirements for massive datasets in deep reinforcement learning environments.
Summary updated