[Paper Review] SPSA-FSR: Simultaneous Perturbation Stochastic Approximation for Feature Selection and Ranking
This paper proposes SPSA-FS, a novel wrapper-based feature selection algorithm that accelerates convergence in feature selection by integrating the Barzilai-Borwein (BB) method with the Simultaneous Perturbation Stochastic Approximation (SPSA) framework. By smoothing step size and gradient estimates, SPSA-FS achieves significantly reduced computational cost with minimal accuracy loss, outperforming baseline wrapper methods—especially in regression tasks—by attaining lower inaccuracy rates (1−R²) with fewer features.
This manuscript presents the following: (1) an improved version of the Binary Simultaneous Perturbation Stochastic Approximation (SPSA) Method for feature selection in machine learning (Aksakalli and Malekipirbazari, Pattern Recognition Letters, Vol. 75, 2016) based on non-monotone iteration gains computed via the Barzilai and Borwein (BB) method, (2) its adaptation for feature ranking, and (3) comparison against popular methods on public benchmark datasets. The improved method, which we call SPSA-FSR, dramatically reduces the number of iterations required for convergence without impacting solution quality. SPSA-FSR can be used for feature ranking and feature selection both for classification and regression problems. After a review of the current state-of-the-art, we discuss our improvements in detail and present three sets of computational experiments: (1) comparison of SPSA-FS as a (wrapper) feature selection method against sequential methods as well as genetic algorithms, (2) comparison of SPSA-FS as a feature ranking method in a classification setting against random forest importance, chi-squared, and information main methods, and (3) comparison of SPSA-FS as a feature ranking method in a regression setting against minimum redundancy maximum relevance (MRMR), RELIEF, and linear correlation methods. The number of features in the datasets we use range from a few dozens to a few thousands. Our results indicate that SPSA-FS converges to a good feature set in no more than 100 iterations and therefore it is quite fast for a wrapper method. SPSA-FS also outperforms popular feature selection as well as feature ranking methods in majority of test cases, sometimes by a large margin, and it stands as a promising new feature selection and ranking method.
Motivation & Objective
- Address the slow convergence of the Binary SPSA (BSPSA) algorithm in wrapper-based feature selection.
- Reduce computational cost in feature selection while preserving high predictive accuracy.
- Improve efficiency in identifying optimal feature subsets for both classification and regression tasks.
- Balance runtime and accuracy in wrapper methods by integrating adaptive step size and gradient estimation.
- Demonstrate superior performance of SPSA-FS compared to existing wrapper methods, especially in regression with limited feature sets.
Proposed method
- Adapt the Simultaneous Perturbation Stochastic Approximation (SPSA) algorithm for binary feature selection using a stochastic pseudo-gradient descent framework.
- Integrate the Barzilai-Borwein (BB) method to dynamically adjust the step size, improving convergence speed and stability.
- Use simultaneous perturbations to estimate the gradient of the performance metric (e.g., misclassification error or R²) with only two function evaluations per iteration, regardless of feature dimensionality.
- Apply a binary representation of feature subsets (0 for excluded, 1 for included) and update the subset via stochastic approximation using the gradient estimate.
- Maintain an average gradient estimate across iterations to reduce variance and improve convergence reliability.
- Combine the BB method’s adaptive step size strategy with SPSA to reduce computational overhead while maintaining solution quality.
Experimental results
Research questions
- RQ1Can the integration of the Barzilai-Borwein method with SPSA improve convergence speed in wrapper-based feature selection without sacrificing accuracy?
- RQ2How does SPSA-FS compare to other wrapper methods in terms of misclassification error across diverse classification datasets?
- RQ3To what extent does SPSA-FS reduce inaccuracy (1−R²) in regression tasks when using fewer explanatory features compared to baseline wrappers?
- RQ4Does SPSA-FS achieve a better trade-off between computational cost and predictive performance than BSPSA and other wrapper algorithms?
- RQ5In which scenarios (classification vs. regression, feature count) does SPSA-FS demonstrate the most significant advantage over existing methods?
Key findings
- SPSA-FS achieved significantly lower computational cost than BSPSA while maintaining comparable or better accuracy in feature selection.
- In regression tasks, SPSA-FS outperformed other wrapper methods by achieving lower inaccuracy rates (1−R²) even with as few as 30% of features used.
- SPSA-FS reached optimal performance with fewer features than other methods, with performance differences becoming marginal only when all features were used (100% feature set).
- For classification tasks, SPSA-FS achieved higher accuracy than other wrappers in some datasets, with performance differences being marginal when it underperformed.
- The integration of the BB method with SPSA reduced the number of model retraining iterations required, leading to faster convergence without significant loss in solution quality.
- SPSA-FS demonstrated robustness across diverse datasets, including Sonar, Libras, Musk, USPS, and Boston Housing, with consistent improvements in efficiency and accuracy.
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.