Automatic Construction of Multi-layer Perceptron Network from Streaming Examples

Mahardhika Pratama, Choiru Za'in, Andri Ashfahani, Yew-Soon Ong, Weiping Ding

Introduction

In deep learning, network architectures are typically static, defined before training begins. While effective for stationary datasets, this approach falters in data stream environments where underlying patterns—known as concept drifts—evolve over time. A static network that is too small lacks the capacity for new complex patterns, while one that is too large overfits and wastes resources. Furthermore, adding layers mid-stream often triggers catastrophic forgetting, where the model loses previously acquired knowledge.

The NADINE Framework

To address these challenges, researchers developed NADINE (Neural Network with Dynamically Evolved Capacity). NADINE is a first-of-its-kind Multi-Layer Perceptron (MLP) that automatically adjusts its architecture—both width and depth—during the training process. Unlike many self-organizing models that use complex ensembles, NADINE maintains a standard MLP structure, making it widely applicable to tasks ranging from classification to regression.

The NADINE training pipeline, integrating drift detection, structural evolution strategies, and soft-forgetting mechanisms.

Evolutionary Pillars

The framework relies on three core mechanisms to manage its structural evolution:

  1. Network Significance (NS) for Width: NADINE utilizes a statistical approach based on bias-variance decomposition. If the network exhibits high bias (underfitting), it adds a neuron. Conversely, if high variance (overfitting) is detected, it prunes redundant units.
  2. Drift Detection for Depth: By monitoring the stream for "real drift" using an advanced Hoeffding bound with an adaptive sliding window, NADINE identifies when existing layers are insufficient. Upon detecting significant drift, it inserts a new hidden layer to capture the emerging concept.
  3. Mitigating Catastrophic Forgetting: To stabilize the network during structural changes, NADINE employs Adaptive Memory (replaying salient old examples) and Soft-Forgetting (assigning unique, adaptive learning rates to layers based on their relevance to current data).
Visual representation of structural evolution: (a-b) layer addition upon drift detection; (c-f) hidden unit growing and pruning based on bias and variance conditions.

Experimental Evaluation

NADINE was evaluated against nine diverse data stream benchmarks encompassing both classification and regression tasks. These included high-energy physics datasets (SUSY, HEPMASS), image recognition shifts (Rotated/Permuted MNIST), and real-world regression applications like SP500 stock index tracking and naval propulsion monitoring.

Key Results and Insights

NADINE consistently outperformed state-of-the-art algorithms such as Progressive Neural Networks (PNN) and Autonomous Deep Learning (ADL):

  • Superior Accuracy: On the Permuted MNIST dataset, NADINE achieved 77.65% accuracy, outperforming ADL by nearly 10%.
  • Model Compactness: By avoiding the need for local softmax layers at every hidden layer, NADINE produced more efficient models than its competitors.
  • Versatility in Regression: In SP500 index prediction, NADINE's elastic structure proved significantly more effective at tracking market volatility than fixed-structure deep neural networks.

Conclusion

NADINE demonstrates that a standard MLP architecture can be made "elastic" to handle non-stationary data streams without manual intervention. By replacing rigid, hand-tuned thresholds with statistical approximations, the model achieves robustness across varying domains. Future work aims to extend this self-organizing logic to Convolutional Neural Networks (CNNs) for complex streaming video analysis.

Summary updated

BibTeX
@inproceedings{pratama2019automatic,
  author = {Mahardhika Pratama and Choiru Za'in and Andri Ashfahani and Yew-Soon Ong and Weiping Ding},
  title = {{Automatic Construction of Multi-layer Perceptron Network from Streaming Examples}},
  booktitle = {ACM International Conference on Information and Knowledge Management},
  year = {2019},
  doi = {10.1145/3357384.3357946},
}
Figure