Introduction
In the era of Big Data, data streams are characterized by their infinite nature and the requirement for real-time processing. Traditional stream classification "gold standards," such as Hoeffding Trees (HT) and $k$-Nearest Neighbors ($k$NN), are robust but often struggle with adaptation speed or computational efficiency. Conversely, modern gradient descent methods, while powerful in static deep learning contexts, are frequently too sensitive to hyperparameters and initial conditions for the volatile environment of streaming data. This research explores a novel approach: utilizing Random Feature Functions (RFF) to project data into high-dimensional spaces, thereby enhancing simple learners and enabling significant scalability through GPU acceleration.
Methodology
The primary innovation presented is the use of Random Feature Functions as a preprocessing filter, effectively creating a "frozen" random projection layer.
Random Projection Layers (RPL)
Instead of training all layers of a neural network—a process prone to instability in streams—the authors employ a hidden layer with fixed, random weights. The input vector $\mathbf{x}$ is projected into a higher-dimensional space $\mathbf{z}$ using non-linear activation functions such as ReLU, Sigmoid, or Radial Basis Functions (RBF). Only the final output layer is trained using Stochastic Gradient Descent (SGD). This approach, inspired by Extreme Learning Machines, provides the predictive power of non-linear mappings without the overhead of deep architecture training.
Hybrid Models and Initialization
The study also investigates hybrid architectures, such as placing random filters before Hoeffding Trees or employing alternative learners like $k$NN or SGD at the leaves of the trees (HT-$k$NN and HT-SGD). A critical component of these random methods is the initialization of the projection range. Proper calibration of the random range ensures that the projected features effectively cover the data manifold, contributing to the model's overall stability and performance.
GPU Acceleration
To address the computational demands of high-dimensional projections, the SGD-based Random Projection models were implemented on NVIDIA GPUs using CUDA. This allows for the massive parallelization of matrix-vector multiplications, which is essential for maintaining high throughput in high-velocity streams.
Experimental Evaluation
The methods were evaluated using a diverse set of benchmarks, including synthetic streams (RBF1, HYP1, LED1, LOC1/2) and large-scale real-world datasets:
- Poker: 829,201 instances.
- Electricity: 45,312 instances.
- CoverType: 581,012 instances.
- SUSY: 5,000,000 instances from particle physics.
Results and Discussion
Predictive Performance
A key finding was the "redemption" of SGD. While standard SGD typically performs poorly on streaming data, the version paired with a Random Projection Layer (SGD-F) became highly competitive with state-of-the-art Hoeffding Tree ensembles. On the massive SUSY dataset, the RPL approach achieved 77.63% accuracy, nearly matching the 78.7% of Leveraging Bagging (LB-HT).
Interestingly, Hoeffding Trees did not see significant gains from RFF preprocessing. As HTs are inherently non-linear, the additional projection sometimes hindered performance by complicating the search for optimal splits in the expanded feature space.
Computational Efficiency
The GPU implementation provided dramatic performance improvements. For the CoverType dataset, GPU-accelerated Random Projection was 17x faster than the leading CPU-based algorithms. Similarly, an 8x speedup was observed on the Electricity dataset. Notably, while the HT-$k$NN hybrid model tied for the best overall predictive performance, it remained computationally more expensive than the SGD-based variants.
Conclusion and Future Work
Random Feature Functions offer a viable path for deploying neural-style learning in data stream environments. By providing a stable, non-linear mapping, they allow simple learners to achieve high accuracy with minimal hyperparameter tuning. However, the approach increases memory consumption due to the higher dimensionality of the feature space. Future research will focus on dynamic units—adding or pruning neurons in the random layer to adapt to concept drift—and further optimizing GPU kernels for extreme-scale data streams.
Summary updated