NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Acceleration of Subspace Learning Machine via Particle Swarm Optimization and Parallel Processing

Hongyu Fu, Yijing Yang, Yuhuai Liu, Joseph Lin, Ethan Harrison, Vinod K. Mishra, C.-c. Jay KuoarXiv 2022

Abstract

Built upon the decision tree (DT) classification and regression idea, the subspace learning machine (SLM) has been recently proposed to offer higher performance in general classification and regression tasks. Its performance improvement is reached at the expense of higher computational complexity. In this work, we investigate two ways to accelerate SLM. First, we adopt the particle swarm optimization (PSO) algorithm to speed up the search of a discriminant dimension that is expressed as a linear combination of current dimensions. The search of optimal weights in the linear combination is computationally heavy. It is accomplished by probabilistic search in original SLM. The acceleration of SLM by PSO requires 10-20 times fewer iterations. Second, we leverage parallel processing in the SLM implementation. Experimental results show that the accelerated SLM method achieves a speed up factor of 577 in training time while maintaining comparable classification/regression performance of original SLM.

Introduction

Traditional Decision Trees (DTs) are staples of machine learning because they are interpretable and efficient. However, they are limited by their axis-parallel splits, typically evaluating a single feature at a time (e.g., "Is feature X > 0.5?"). The Subspace Learning Machine (SLM) was proposed to overcome this limitation by splitting data based on a linear combination of features, effectively finding a more discriminant 1D projection of the high-dimensional space.

While SLM often outperforms DTs and Multi-Layer Perceptrons (MLPs), it suffers from extreme computational complexity. Finding the optimal weights for linear combinations is a high-dimensional search problem. The original SLM relied on a probabilistic search—essentially a guided random search—that required thousands of iterations and was implemented in pure Python, making it impractical for large-scale applications.

Methodology

The researchers addressed these bottlenecks through two primary avenues: algorithmic optimization and high-performance software engineering.

Adaptive Particle Swarm Optimization (APSO)

To replace the slow probabilistic search, the authors implemented Adaptive Particle Swarm Optimization (APSO). PSO is a metaheuristic inspired by the collective behavior of bird flocks, where "particles" (potential weight sets) move through the search space influenced by their own best experiences and the global best-known position. The adaptive version (APSO) used here dynamically shifts between four states—Exploration, Exploitation, Convergence, and Jumpout—to avoid local optima. This logic is integrated directly into the node-splitting process of the tree building.

Algorithm 2: SLM Tree Building with APSO integration.

Parallel Processing and C++ Integration

The original Python implementation was limited by the Global Interpreter Lock (GIL). The authors rewrote the computational bottlenecks in C++, integrated them via Cython, and added support for multithreaded CPUs and NVIDIA GPUs (CUDA). This allows for the simultaneous evaluation of loss functions across thousands of potential split points, significantly reducing wall-clock time.

Key Results

The accelerated SLM was benchmarked across 15 diverse datasets, including 9 classification tasks (e.g., Iris, Wine, Banknote) and 6 regression tasks (e.g., Boston Housing, California Housing).

Efficiency and Speedup

The move to APSO reduced the number of iterations required to find an optimal projection by 90-95%. For classification, APSO required only ~110 iterations compared to the 1,000 used by the original probabilistic search. Combined with C++/CUDA parallelization, the system achieved a total training speedup factor of 577x.

Performance Parity

Despite the drastic reduction in computation time, the predictive performance remained stable. As shown in the table below, the APSO-based variants (Settings E and F) maintained or even slightly improved classification accuracy across most datasets while operating with a fraction of the iterations.

Comparison of classification accuracy and iteration counts between original and accelerated SLM variants.

Conclusion

By replacing random probabilistic searches with intelligent metaheuristic optimization and leveraging parallel hardware, the researchers have successfully mitigated the primary weakness of the Subspace Learning Machine. The resulting "Accelerated SLM" offers a high-performance alternative to traditional decision trees that is now computationally feasible for larger datasets. Future work will focus on scaling SLM to high-dimensional image data and further optimizing the APSO algorithm for direct GPU execution.

Summary updated

BibTeX
@misc{fu2022acceleration,
  author = {Hongyu Fu and Yijing Yang and Yuhuai Liu and Joseph Lin and Ethan Harrison and Vinod K. Mishra and C.-C. Jay Kuo},
  title = {{Acceleration of Subspace Learning Machine via Particle Swarm Optimization and Parallel Processing}},
  year = {2022},
  eprint = {2208.07023},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2208.07023},
}
Figure