Introduction
Convex composition optimization is a critical class of problems in modern machine learning, particularly in reinforcement learning (e.g., Bellman equation evaluation) and finance (e.g., mean-variance portfolio optimization). These problems involve minimizing an objective function of the form $F(g(x))$, where both $F$ and $g$ are expectations or finite sums of functions. Specifically, we consider the case where $F(u) = \frac{1}{n} \sum_{i=1}^n F_i(u)$ and $g(x) = \frac{1}{m} \sum_{j=1}^m g_j(x)$.
A major challenge in solving these problems is the computational cost of the gradient, which requires calculating a full Jacobian matrix, costing $O(m+n)$ per step. While stochastic methods like SGD and variance-reduced variants (SVRG) exist, their application to compositional objectives has historically led to suboptimal sample complexity. This paper introduces the Stochastic Compositional Variance Reduced Gradient (SCVRG) algorithm, which achieves near-optimal complexity by leveraging structural convexity and a novel dynamic epoch scaling strategy.
The SCVRG Algorithm
The proposed SCVRG algorithm builds upon the standard SVRG framework but introduces a significant modification: increasing inner loop lengths. Like SVRG, SCVRG operates in epochs. At the start of each epoch, a full gradient and Jacobian are computed at a reference point to anchor the variance reduction.
The key innovation lies in the "inner loop" where stochastic steps are taken. Unlike previous compositional SVRG methods that use a fixed number of inner steps, SCVRG doubles the number of inner loop iterations in each successive epoch. Combined with a shrinking adaptive step size, this approach amortizes the high cost of full-batch computations as the algorithm converges toward the optimal solution. This dynamic scaling effectively decouples the total number of samples ($m+n$) from the target error tolerance ($\epsilon$).
Theoretical Advancements
The authors prove that SCVRG achieves a sample complexity of $O((m+n)\log(1/\epsilon) + 1/\epsilon^3)$. This represents a substantial improvement over the previous state-of-the-art method, VRSC-PG, which has a complexity of $O((m+n)^{2/3}/\epsilon^2)$.
Crucially, SCVRG is shown to be near-optimal because its dependence on the dataset size $(m+n)$ is optimal up to a logarithmic factor. The algorithm is particularly superior in regimes where the dataset is large relative to the required precision—specifically when $m+n$ falls between $1/\epsilon^{1.5}$ and $1/\epsilon^6$.
Empirical Evaluation
The performance of SCVRG was evaluated using real-world financial datasets from the CRSP (Center for Research in Security Prices) database for sparse mean-variance portfolio optimization. The experiments covered large-scale 100-portfolio datasets and medium-scale 25-portfolio datasets segmented by regions.
Key Results
Empirical results consistently demonstrate that SCVRG outperforms established baselines such as Accelerated Gradient Descent (AGD), Stochastic Compositional Gradient Descent (SCGD), and variance-reduced methods like ASC-PG and VRSC-PG.
As shown in the figures, SCVRG (the blue solid line) achieves a lower objective gap significantly faster than its competitors across various datasets. The dynamic epoch scaling allows it to maintain a steep convergence rate, proving highly robust across different dataset sizes and regional distributions.
Conclusion
SCVRG provides a powerful and theoretically grounded approach to convex composition optimization. By intelligently scheduling computations through increasing inner loops, it overcomes the sample complexity bottlenecks of previous methods. While the current work assumes bounded constraint sets and smooth components, it sets a new benchmark for efficiency in large-scale compositional learning tasks.
Summary updated