Skip to main content
QUICK REVIEW

[Paper Review] A Parallel Way to Select the Parameters of SVM Based on the Ant Optimization Algorithm

Chao Zhang, Hong-cen Mei|arXiv (Cornell University)|May 19, 2014
Text and Document Classification TechnologiesComputer Science7 references5 citations
TL;DR

This paper proposes a parallel parameter optimization method for Support Vector Machines (SVM) using an improved Ant Colony Optimization (ACO) algorithm accelerated via OpenCL. By modeling SVM parameters C and σ as coordinates in a 2D grid and using pheromone-based ant search with cross-validation accuracy as the fitness metric, the method achieves a 95.45% classification accuracy on the Wine dataset, with convergence to optimal parameters in 500 iterations using 30 ants.

ABSTRACT

A large number of experimental data shows that Support Vector Machine (SVM) algorithm has obvious advantages in text classification, handwriting recognition, image classification, bioinformatics, and some other fields. To some degree, the optimization of SVM depends on its kernel function and Slack variable, the determinant of which is its parameters $δ$ and c in the classification function. That is to say,to optimize the SVM algorithm, the optimization of the two parameters play a huge role. Ant Colony Optimization (ACO) is optimization algorithm which simulate ants to find the optimal path.In the available literature, we mix the ACO algorithm and Parallel algorithm together to find a well parameters.

Motivation & Objective

  • To address the challenge of selecting optimal SVM parameters C and σ that significantly impact classification performance.
  • To enhance the efficiency and convergence speed of ACO-based parameter tuning by leveraging GPU-accelerated parallelism via OpenCL.
  • To integrate cross-validation accuracy as a fitness function in ACO to guide ant colony exploration toward high-performing parameter combinations.
  • To validate the effectiveness of the parallel ACO-SVM framework on real-world datasets using a scalable, portable, and architecture-agnostic computing model.

Proposed method

  • Modeling SVM parameters C and σ as coordinates in a 2D grid, where C's significant digits are mapped to the x-axis and σ's to the y-axis (0–10), enabling discrete search space representation.
  • Implementing a modified ACO algorithm where each ant constructs a path by probabilistically selecting parameter values based on pheromone levels τ and heuristic information η, using a roulette wheel selection mechanism.
  • Using cross-validation accuracy as the fitness signal: each ant's path is mapped to (C, σ), and the resulting SVM model is evaluated via k-fold cross-validation to compute accuracy, which drives pheromone update.
  • Applying OpenCL to parallelize the ant path construction and cross-validation evaluation processes, with each ant processed independently on a compute device, enabling massive parallelism across thousands of threads.
  • Updating pheromone levels using the formula Δτ(x,y) = Q / (1 - Acc_k) if ant k visits node (x,y), otherwise 0, with global pheromone decay via ρ = 0.7.
  • Terminating the algorithm when either the maximum iteration count (N_max = 500) is reached or the colony converges to a single path, ensuring stability and convergence.

Experimental results

Research questions

  • RQ1Can a parallelized ACO algorithm effectively optimize SVM parameters C and σ for improved classification accuracy?
  • RQ2How does the integration of cross-validation accuracy as a fitness function influence the convergence and performance of the ACO-based parameter search?
  • RQ3To what extent does OpenCL-based parallelization reduce the computational time of ACO-SVM parameter tuning compared to sequential execution?
  • RQ4What is the optimal balance between ant population size and convergence speed in the context of ACO-SVM parameter optimization?

Key findings

  • The proposed parallel ACO-SVM method achieved a highest classification accuracy of 95.45% on the Wine dataset, with 76 out of 88 test samples correctly classified.
  • The convergence accuracy, defined as the average cross-validation accuracy over multiple runs, reached 86.36% (76/88), indicating robust generalization.
  • The optimal parameter combination was found to be C = 18.605 and σ = 0.6643, which maximized the margin and minimized classification error.
  • The use of OpenCL enabled efficient parallelization of ant path construction and cross-validation, significantly improving scalability and performance over sequential ACO.
  • The algorithm demonstrated stable convergence within 500 iterations using 30 ants, with pheromone update rules effectively guiding the search toward high-performing parameter regions.
  • The method outperformed baseline ACO in terms of convergence speed and accuracy, validating the effectiveness of parallelization and fitness function design.

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.