[Paper Review] SCOPE: Scalable Composite Optimization for Learning on Spark
This paper proposes SCOPE, a scalable composite optimization method for distributed machine learning on Apache Spark, leveraging variance reduction and efficient synchronization to achieve linear convergence. It outperforms state-of-the-art methods in both speed and scalability across real-world datasets, demonstrating superior efficiency and super-linear speedup on multi-machine clusters.
Many machine learning models, such as logistic regression~(LR) and support vector machine~(SVM), can be formulated as composite optimization problems. Recently, many distributed stochastic optimization~(DSO) methods have been proposed to solve the large-scale composite optimization problems, which have shown better performance than traditional batch methods. However, most of these DSO methods are not scalable enough. In this paper, we propose a novel DSO method, called \underline{s}calable \underline{c}omposite \underline{op}timization for l\underline{e}arning~({SCOPE}), and implement it on the fault-tolerant distributed platform \mbox{Spark}. SCOPE is both computation-efficient and communication-efficient. Theoretical analysis shows that SCOPE is convergent with linear convergence rate when the objective function is convex. Furthermore, empirical results on real datasets show that SCOPE can outperform other state-of-the-art distributed learning methods on Spark, including both batch learning methods and DSO methods.
Motivation & Objective
- To address the scalability limitations of existing distributed stochastic optimization (DSO) methods for large-scale machine learning on Spark.
- To design a method that is both computation-efficient and communication-efficient in a master-slave, fault-tolerant Spark environment.
- To achieve linear convergence for strongly convex composite optimization problems in a distributed setting.
- To outperform existing batch and DSO methods in terms of convergence speed and scalability on real-world datasets.
Proposed method
- SCOPE employs a master-slave architecture where the parameter vector is stored on the master and data is partitioned across workers.
- It uses a variance-reduced stochastic optimization framework inspired by SVRG, reducing gradient variance to enable linear convergence.
- The method performs synchronous updates via Spark's MapReduce-like bulk-synchronous parallel (BSP) model, minimizing communication overhead.
- Each worker computes local gradients on its data partition and sends them to the master, which aggregates updates and synchronizes the global parameter.
- The algorithm is designed to minimize synchronization cost by reducing the frequency of communication and leveraging local computation.
- It is implemented in Scala on Spark 1.5.2 and supports both primal and dual formulations for composite optimization problems.
Experimental results
Research questions
- RQ1Can a distributed optimization method achieve linear convergence on composite optimization problems in a Spark-based environment?
- RQ2How does SCOPE compare in convergence speed and scalability to existing batch and DSO methods on real datasets?
- RQ3What is the communication and computation efficiency of SCOPE in a multi-machine Spark cluster?
- RQ4Does SCOPE achieve super-linear speedup due to reduced communication and improved cache utilization?
- RQ5How does SCOPE's performance compare to state-of-the-art methods like CoCoA+, Splash, and MLlib's distributed L-BFGS?
Key findings
- SCOPE achieves linear convergence for strongly convex problems, as theoretically proven and empirically validated.
- On all four real datasets, SCOPE converges in fewer than five outer-loop updates, significantly outperforming other methods.
- SCOPE demonstrates super-linear speedup on the MNIST-8M dataset, with 32 machines achieving faster training than expected from linear scaling.
- The method shows stable convergence without oscillations, unlike Splash, confirming its variance-reduction properties.
- SCOPE outperforms state-of-the-art baselines including CoCoA+, CoCoA, Splash, MLlib’s L-BFGS, and LibLinear in both convergence speed and scalability.
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.