Abstract
This paper proposes a new support vector machine (SVM) optimization scheme based on an improved chaotic fly optimization algorithm (FOA) with a mutation strategy to simultaneously perform parameter setting turning for the SVM and feature selection. In the improved FOA, the chaotic particle initializes the fruit fly swarm location and replaces the expression of distance for the fruit fly to find the food source. However, the proposed mutation strategy uses two distinct generative mechanisms for new food sources at the osphresis phase, allowing the algorithm procedure to search for the optimal solution in both the whole solution space and within the local solution space containing the fruit fly swarm location. In an evaluation based on a group of ten benchmark problems, the proposed algorithm's performance is compared with that of other well-known algorithms, and the results support the superiority of the proposed algorithm. Moreover, this algorithm is successfully applied in a SVM to perform both parameter setting turning for the SVM and feature selection to solve real-world classification problems. This method is called chaotic fruit fly optimization algorithm (CIFOA)-SVM and has been shown to be a more robust and effective optimization method than other well-known methods, particularly in terms of solving the medical diagnosis problem and the credit card problem.
Introduction
Support Vector Machines (SVMs) are powerful tools for classification tasks, yet their efficacy is highly sensitive to two interdependent factors: hyperparameter tuning and feature selection. Specifically, the penalty parameter $C$ and the kernel bandwidth $\gamma$ must be precisely calibrated to balance model complexity against error. Simultaneously, the "curse of dimensionality" necessitates the identification of relevant features to prevent overfitting and ensure computational efficiency.
Traditional approaches often address these challenges sequentially or rely on basic optimization algorithms like the Fruit Fly Optimization Algorithm (FOA), which frequently converge on local optima. This research introduces the Chaotic Fruit Fly Optimization Algorithm (CIFOA), a novel framework designed to optimize SVM parameters and feature subsets concurrently, leveraging chaos theory and advanced mutation strategies to ensure global search capability.
Methodology: The CIFOA-SVM Framework
The CIFOA-SVM improves upon the standard FOA metaphor—where flies use smell (osphresis) and vision to locate food—through three primary innovations:
- Chaotic Initialization: To prevent initial population clumping, the algorithm employs Logistic Mapping. This chaotic mathematical function ensures a more uniform and effective distribution of the swarm across the search space compared to random initialization.
- Dual-Stage Mutation Strategy: The algorithm incorporates a mutation probability ($mr = 0.8$) to dynamically switch between a Global Searching Stage and a Local Searching Stage. This allows the swarm to explore the entire solution space while maintaining the ability to fine-tune solutions near promising locations.
- Weighted Fitness Function: Success is evaluated through a multi-objective fitness function. Beyond simple accuracy, the function rewards high sensitivity and specificity while penalizing models that rely on excessive features or support vectors, promoting model sparsity.
Experimental Design
The algorithm's performance was validated through a two-tiered evaluation process:
- Mathematical Benchmarks: CIFOA was tested against 12 continuous functions (e.g., Sphere, Ackley, Griewank) to assess its raw optimization power relative to established methods like Particle Swarm Optimization (PSO).
- Real-World Applications: The CIFOA-SVM was applied to five UCI repository datasets covering medical diagnosis (Wisconsin Diagnostic Breast Cancer, Pima Indians Diabetes, Parkinson’s Disease) and financial risk assessment (German Credit Data, Australian Credit Approval).
Key Results and Insights
CIFOA-SVM demonstrated significant improvements over standard Genetic Algorithms (GA) and PSO across several metrics:
- Classification Accuracy: The model achieved a peak accuracy of 98.21% on the Breast Cancer (WDBC) dataset.
- Feature Sparsity: In the Parkinson’s Disease dataset, the algorithm reduced the feature count from 22 to approximately 12 without compromising accuracy, highlighting its ability to filter noise.
- Convergence and Robustness: CIFOA reached global optima faster than competing algorithms and exhibited lower standard deviation across multiple runs, indicating superior reliability.
The study underscores that chaotic sequences, being deterministic yet non-repeating, explore search spaces more efficiently than pure randomness. Furthermore, the simultaneous optimization of features and parameters captures synergies that sequential methods overlook.
Conclusion and Future Directions
The CIFOA-SVM represents a robust advancement in machine learning optimization, particularly for high-stakes fields like medical diagnostics and finance. While currently tailored for SVMs, future research may extend this chaotic optimization framework to other classifiers such as Artificial Neural Networks or Naïve Bayes. Additionally, exploring multi-class classification and heterogeneous swarm dynamics remains a promising avenue for further enhancing algorithmic diversity and performance.
Summary updated