Abstract
Composition optimization problems, characterized by objective functions of the form $F(G(x))$, are central to many machine learning applications, including reinforcement learning and risk management. These problems are computationally demanding due to the complexity of compositional gradients and the inherent sampling bias in stochastic estimates. This paper presents Async-ProxSCVR, the first asynchronous parallel algorithm tailored for regularized composition optimization. By leveraging lock-free parallel execution and variance reduction techniques, Async-ProxSCVR achieves optimal convergence rates. Experimental results demonstrate that the algorithm provides near-linear speedups on multi-core systems and significantly outperforms existing state-of-the-art methods in wall-clock time.
Introduction
Many modern machine learning tasks involve "composition optimization," where the objective function is a composition of two finite-sum functions. For example, in reinforcement learning, policy evaluation via the Bellman equation can be framed as minimizing a compositional objective. These problems present two primary challenges:
- Computational Complexity: Calculating compositional gradients requires the chain rule, involving expensive Jacobian matrices that are difficult to scale.
- Sampling Bias: Standard stochastic gradient descent (SGD) fails because a random sample of the inner function does not yield an unbiased estimate of the overall gradient.
While sequential variance reduction methods have addressed these issues, they do not exploit the parallelism of modern multi-core processors. Existing asynchronous algorithms often struggle with the specific "inner-outer" structure of composition problems, leading to high per-iteration costs.
Methods
The proposed Async-ProxSCVR (Asynchronous Proximal Stochastic Compositional Variance Reduction) algorithm addresses these challenges through three key mechanisms:
- Asynchronous Parallelism: Multiple threads update a shared parameter vector $x$ without locks, maximizing CPU utilization despite potential gradient staleness.
- Variance Reduction: Utilizing an SVRG-style two-layer loop, the algorithm periodically anchors the optimization trajectory with a full gradient calculation, followed by fast stochastic updates that minimize noise.
- Efficient Compositional Estimation: To maintain low per-iteration costs, the algorithm uses mini-batches to estimate $G(x)$ and its Jacobian, avoiding the full computation at every step.
Experimental Evaluation
The algorithm was evaluated on two tasks: value function evaluation in reinforcement learning (using Markov Decision Processes) and sparse mean-variance portfolio optimization.
Convergence and Scalability
A key finding is that Async-ProxSCVR achieves a linear speedup relative to the number of processors. As shown in Figure 1, the objective curves for different thread counts remain consistent when plotted against the number of iterations, indicating that the noise from asynchronous updates is well-managed.
Comparison with Baselines
In head-to-head comparisons with state-of-the-art methods such as HOGWILD!, ASC-PG, and Async-ProxSVRG, Async-ProxSCVR demonstrates superior wall-clock performance.
The algorithm achieved approximately a 12x speedup on 16 threads compared to single-threaded execution, while maintaining the best-known query complexity of $O((n_1 + n_2 + \kappa^3) \log(1/\epsilon))$ for strongly convex cases.
Conclusion
Async-ProxSCVR effectively bridges the gap between asynchronous parallelism and composition optimization. It provides a robust framework for large-scale problems, offering linear speedups without sacrificing theoretical convergence guarantees. Future work may explore extensions to distributed parameter server architectures and methods to reduce sensitivity to hyperparameters like inner-loop length and step size.
Summary updated