Skip to main content
QUICK REVIEW

[Paper Review] A MapReduce based distributed SVM algorithm for binary classification

Ferhat Özgür Çatak, M. Erdal Balaban|arXiv (Cornell University)|Dec 15, 2013
Machine Learning and Data ClassificationComputer Science2 citations
TL;DR

This paper proposes a MapReduce-based distributed SVM algorithm for binary classification that scales training across cloud computing systems by partitioning datasets across nodes, collecting and merging support vectors iteratively. The method achieves up to 7.78x speedup on handwritten digit datasets and converges to near-optimal accuracy within 5–10 iterations, demonstrating scalability and stability on large-scale data using Hadoop and LibSVM.

ABSTRACT

Although Support Vector Machine (SVM) algorithm has a high generalization property to classify for unseen examples after training phase and it has small loss value, the algorithm is not suitable for real-life classification and regression problems. SVMs cannot solve hundreds of thousands examples in training dataset. In previous studies on distributed machine learning algorithms, SVM is trained over a costly and preconfigured computer environment. In this research, we present a MapReduce based distributed parallel SVM training algorithm for binary classification problems. This work shows how to distribute optimization problem over cloud computing systems with MapReduce technique. In the second step of this work, we used statistical learning theory to find the predictive hypothesis that minimize our empirical risks from hypothesis spaces that created with reduce function of MapReduce. The results of this research are important for training of big datasets for SVM algorithm based classification problems. We provided that iterative training of split dataset with MapReduce technique; accuracy of the classifier function will converge to global optimal classifier function's accuracy in finite iteration size. The algorithm performance was measured on samples from letter recognition and pen-based recognition of handwritten digits dataset.

Motivation & Objective

  • To address the computational infeasibility of training large-scale SVMs on single machines due to high kernel matrix complexity.
  • To enable scalable, distributed SVM training using cloud computing and the MapReduce paradigm.
  • To maintain high generalization performance by leveraging structural risk minimization via iterative merging of support vectors.
  • To demonstrate convergence and performance gains on real-world datasets like letter and digit recognition.

Proposed method

  • Distribute training data across multiple nodes in a Hadoop-based cloud environment using MapReduce.
  • Train a local SVM classifier on each data partition using LibSVM, extracting support vectors (SVs) from each node.
  • Use the Reduce phase to merge all local SVs into a global set of support vectors for the next iteration.
  • Iteratively retrain on updated global SVs, refining the classifier until convergence.
  • Apply 10-fold cross-validation to evaluate accuracy and hinge loss stability.
  • Measure speedup by comparing MapReduce training time against single-node baseline.

Experimental results

Research questions

  • RQ1Can a MapReduce-based distributed SVM achieve significant speedup on large-scale binary classification datasets?
  • RQ2Does iterative merging of support vectors across nodes lead to convergence toward the global optimal classifier?
  • RQ3How does the number of support vectors and hinge loss evolve across iterations in the distributed training process?
  • RQ4What is the impact of dataset size and node count on training performance and accuracy?

Key findings

  • The proposed algorithm achieved up to 6.42x speedup on the letter recognition dataset and 7.78x on the pen-based digit dataset with 10 computing nodes.
  • Hinge loss decreased significantly over iterations and stabilized by iteration 5, indicating convergence to a low empirical error.
  • The number of support vectors stabilized around 3,000 for the digit dataset and 560 for the letter dataset after 10 iterations.
  • Test accuracy reached its peak at iteration 5 and remained stable, confirming convergence to a near-global optimum.
  • The algorithm maintained high generalization performance, with average hinge loss dropping to 0.00005 on the letter recognition dataset after iteration 3.
  • The method successfully scales SVM training on big data by distributing the kernel computation and iterative refinement across cloud nodes.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.