Next Article in Journal
Neural Surrogate-Enhanced Metaheuristic Optimization for Distributed Quadrotor Swarm Control
Previous Article in Journal
LightGBM-Based Classification of Heart Failure Phenotypes Using Morpho-Energy Features from High-Resolution ECG
Previous Article in Special Issue
An Operational Hybrid SIEM Framework for OT Anomaly Detection
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Self-Organizing Neural Grove for Malware Detection in IoT Edge Devices †

1
Department of Electrical Engineering and Computer Science, National Institute of Technology (KOSEN), Kure College, 2-2-11 Agaminami, Kure-shi 737-8506, Hiroshima, Japan
2
Advanced Course, National Institute of Technology (KOSEN), Kure College, 2-2-11 Agaminami, Kure-shi 737-8506, Hiroshima, Japan
*
Author to whom correspondence should be addressed.
This is an expanded version of “Self-Organizing Neural Grove for Edge Computing” published in 2025 IEEE 13th International Conference on Intelligent Data Acquisition and Advanced Computing Systems: Technology and Applications (IDAACS), Gliwice, Poland, 4–6 September 2025; pp. 219–224.
Sensors 2026, 26(11), 3399; https://doi.org/10.3390/s26113399
Submission received: 20 April 2026 / Revised: 20 May 2026 / Accepted: 25 May 2026 / Published: 27 May 2026

Abstract

Deep learning models, particularly convolutional neural networks (CNNs), have demonstrated exceptional classification performance across various practical applications. However, their training time scales significantly with network depth, rendering them suboptimal for resource-constrained environments. As a practical alternative, multiple classifier systems (MCSs) based on self-generating neural trees provide faster training and lower computational overhead. In this study, we propose the Self-Organizing Neural Grove (SONG), an ensemble learning model featuring a novel pruning technique designed to optimize classification efficiency. We evaluate SONG’s performance on a Raspberry Pi 3, a standard edge computing platform. Through comparative experiments against an unpruned MCS, a C4.5-based MCS, and the k-nearest neighbors (k-NN) algorithm, we demonstrate that SONG achieves superior classification accuracy while substantially reducing both computation time and memory footprint. These advantages are consistent across benchmark datasets and real-world cybersecurity tasks, underscoring the high suitability of SONG for edge computing applications.

1. Introduction

Effective classifiers are essential for extracting latent information from large-scale datasets and accurately categorizing previously unseen instances [1]. Recently, multiple classifier systems (MCSs)—such as neural network ensembles [2], bagging [3], and boosting [4]—have been extensively deployed in practical applications to enhance classification accuracy [5] within these MCSs rely on conventional models, including neural networks (e.g., backpropagation and radial basis function networks) [6] and decision trees (e.g., CART and C4.5) [7,8].
Neural networks offer significant advantages, including adaptability, flexibility, and the capacity to approximate complex nonlinear mappings. However, their deployment requires the manual configuration of network architectures and hyperparameters, a process that typically demands domain expertise. Furthermore, training neural networks is computationally intensive, and selecting an optimal network structure for a specific task remains notoriously challenging. These inherent limitations restrict their practicality as base classifiers in MCSs for real-world applications.
Recent literature has extensively explored machine learning and deep learning frameworks for IoT malware detection. For instance, deep autoencoders, recurrent neural networks (RNNs), and convolutional neural networks (CNNs) have been widely deployed to analyze complex network traffic patterns, such as those provided in the N-BaIoT dataset [9,10]. While these deep learning-based approaches achieve exceptional detection rates, their significant computational overhead, intensive training times, and heavy memory footprints present critical bottlenecks for continuous, real-time deployment directly on resource-constrained IoT edge nodes [11].
To mitigate these hardware limitations, recent research has increasingly shifted toward lightweight edge-based classification approaches, commonly categorized under TinyML frameworks, model quantization, and compact tree-based ensembles [12,13]. Although specialized models—such as restricted Random Forests, quantized decision trees, or micro-machine learning (MicroML) architectures—significantly reduce processing requirements, they often introduce a rigid trade-off between classification accuracy and resource efficiency. The proposed SONG framework effectively addresses this research gap by implementing a unique two-stage pruning strategy. Unlike conventional lightweight models that uniformly compress structures at the expense of performance, SONG adaptively optimizes its tree hierarchy based on class-label distributions, thereby maintaining an exceptionally minimal physical memory footprint while fully preserving the robust generalization and classification capabilities of an ensemble system.
Self-generating neural networks (SGNNs) [14], an extension of Kohonen’s self-organizing maps (SOMs) [15], address some of these issues by offering a simpler network design and faster training. SGNNs utilize competitive learning and are implemented as self-generating neural trees (SGNTs) [16]. These characteristics make SGNNs well-suited as base classifiers in MCSs. To enhance the classification performance of SGNNs, we previously proposed ensemble self-generating neural networks (ESGNNs) [17], which aggregate multiple SGNNs in an ensemble framework. Although ESGNNs improve classification accuracy, they also increase computational cost, both in terms of training time and memory usage, proportionally to the number of SGNNs employed.
To resolve these challenges, we introduced a novel pruning method and proposed the Self-Organizing Neural Grove (SONG) [18]. This manuscript is a substantially extended version of our preliminary work presented at the 2025 IEEE 13th International Conference on Intelligent Data Acquisition and Advanced Computing Systems (IDAACS 2025) [19]. While the conference paper focused primarily on the foundational architecture of SONG, this study significantly expands the experimental validation. Specifically, the novel contributions of this extended work are summarized as follows:
  • Comprehensive Hardware Evaluation: We conducted an extensive evaluation of SONG on the Raspberry Pi 3, a widely used edge computing platform, to demonstrate its practical applicability in real-world scenarios. This evaluation includes detailed analyses of classification accuracy, inference time, and memory usage, providing a holistic view of SONG’s performance in resource-constrained environments.
  • Application to Real-World Cybersecurity: We extended the experimental scope beyond standard benchmark datasets by applying SONG to IoT malware detection using the N-BaIoT dataset, demonstrating its capability to classify malicious traffic generated by Mirai and BASHLITE (Gafgyt) botnets effectively.
  • Expanded Comparative Analysis: We strengthened the evaluation by introducing a modern, lightweight comparative baseline (a resource-constrained Random Forest) alongside the k-NN algorithm. This provides a deeper analysis of the trade-offs between classification accuracy, physical memory footprint, and inference time.
  • Refinement of Memory Optimization Metrics: We introduced a concrete conversion mechanism mapping structural unit counts to physical memory consumption in bytes, offering practical, transparent guidelines for practitioners deploying models on edge devices.

2. Constructing Self-Organizing Neural Grove (SONG)

This section details the pruning strategies employed in constructing the Self-Organizing Neural Grove (SONG). First, we describe the online pruning mechanism applied during the learning phase of the Self-Generating Neural Tree (SGNT). Subsequently, we explain the structural optimization method. Finally, a two-dimensional classification example is presented to illustrate the efficacy of the proposed pruning approach.

2.1. On-Line Pruning of the Self-Generating Neural Tree

The Self-Generating Neural Network (SGNN), implemented as a Self-Generating Neural Tree (SGNT), is an extension of Kohonen’s Self-Organizing Map (SOM) [15]. The SGNT is constructed directly from training data without manual intervention, functioning as a hierarchical clustering algorithm where the terminal leaves represent individual training instances.
We define the following notations:
  • Input data vector: e i R m ;
  • Node (including root and leaves): n j ;
  • Weight vector of node n j : w j R m ;
  • Number of leaves under n j : c j ;
  • Distance measure: d ( e i , w j ) ;
  • Winning leaf for input e i : n win .
The SGNT generation process is summarized in Figure 1, with subprocedures described in Table 1. The competitive learning strategy determines the winner node recursively from the root to the leaves. When a node n j contains the winner n win in its subtree, the weight vector is updated as
w j k w j k + 1 c j ( e i k w j k ) , 1 k m .
After all input vectors are assigned as leaf nodes, class labels are assigned to each leaf, and the internal node weights become the average of their descendants. The SGNT’s topology reflects the structure of the input feature space.
To better manage memory and improve generalization performance, we replace the original distance-based threshold for node creation [14] with a novel pruning criterion based on class labels. In the prune( n win ) subprocedure, if all child leaves of a given node share the identical class, these leaves are pruned, and the corresponding class label is directly assigned to the parent node.

2.2. Optimization of the SONG

While SGNTs facilitate rapid learning, their classification accuracy is frequently inferior to that of instance-based methods, such as the k-nearest neighbors (k-NN) algorithm [20]. This discrepancy arises from the lack of guaranteed proximity to the true nearest leaf for unseen data. To mitigate this limitation, SONG is constructed by aggregating the outputs of multiple SGNTs via majority voting, thereby enhancing overall classification accuracy.
However, increasing the number of constituent SGNTs incurs higher computational and memory overheads, which can impede scalability, particularly on resource-constrained edge devices. To address this trade-off, we propose a two-phase pruning strategy:
  • Merge Phase: Dense leaves are pruned if the majority class ratio among sibling leaves under a common parent exceeds a predefined threshold α (see Figure 2).
  • Evaluation Phase: The optimal threshold α is determined dynamically via 10-fold cross-validation [21] to strike a balance between classification accuracy and model complexity (see Figure 3).

3. Experimental Results

3.1. Classification Problems

In this subsection, we evaluate the computational overhead (i.e., memory footprint and inference time) and classification accuracy of the proposed SONG model. The evaluation was conducted using bagging across ten benchmark datasets sourced from the UCI Machine Learning Repository [22] (summarized in Table 2).
To assess the effectiveness of the pruning strategy, we employed 10-fold cross-validation for all datasets. In both the SONG and the k-nearest neighbor (k-NN) classifier, we utilized a modified Euclidean distance measure defined as follows:
d ( x , y ) = i = 1 m a i · ( x i y i ) 2 ,
a i = 1 max j min j , ( 1 j N ) ,
where a i serves as a normalization coefficient based on the range of each attribute.
The number of base classifiers (SGNTs) in the SONG ensemble was set to K = 25 . Each experimental configuration was repeated for 100 trials, with the training data shuffled in a different order for each run to ensure statistical robustness.
All experiments were executed on a Raspberry Pi 3 Model B+, functioning as a representative edge computing environment.

3.1.1. Performance Evaluation of SONG

Table 3 presents the average memory footprint and classification accuracy of the proposed SONG framework across 100 independent trials. Memory consumption is quantified by the total unit count, defined as the sum of root, internal, and leaf nodes within the constituent SGNTs. Assuming a standard 32-bit architecture, each node unit consumes approximately 108 bytes to store pointers, weights, and structural metadata. Consequently, a model comprising 100 units requires a memory footprint of only about 10.8 KB. By establishing this direct conversion, the unit count serves as an accurate and practical proxy for physical memory consumption in edge deployments. The memory consumption of each unit varies depending on the number of features. For instance, in the balance-scale dataset with 4 features, each unit requires approximately 44 bytes, while in the letter dataset with 16 features, each unit requires approximately 140 bytes. The reported memory requirements reflect the average across all SGNTs in the ensemble.
The application of the pruning mechanism significantly reduced the average memory footprint by 65.0% to 96.6% across the evaluated datasets. Concurrently, classification accuracy exhibited improvements ranging from 0.1% to 2.9%. These results demonstrate that the structural optimization process effectively enhances both memory efficiency and predictive performance, validating SONG’s suitability for resource-constrained edge computing scenarios.
To further validate the effectiveness of SONG, we compared its performance with a conventional Multiple Classifier System (MCS) constructed using decision trees (C4.5). For both SONG and the C4.5-based MCS, the number of base classifiers was fixed at K = 25 , and bagging was employed for ensemble construction. Table 4 presents the classification accuracies obtained from these two models, averaged over 100 trials.
The SONG outperformed the C4.5-based MCS on 6 out of the 10 benchmark datasets. Notably, while the C4.5-based ensemble degraded performance on the iris dataset, SONG consistently improved classification accuracy across all evaluated problems. These findings suggest that SONG provides superior generalization capabilities, particularly on noisy datasets, while maintaining structural scalability.
To ensure the statistical reliability of the observed performance improvements, we conducted a paired t-test comparing the classification accuracies of SONG across the 100 independent trials. The statistical analysis confirmed that the accuracy improvements achieved by SONG are statistically significant (p < 0.05) for all of the 10 datasets, demonstrating that the performance gains are robust and not due to random variance.

3.1.2. Comparison with k-NN

To highlight the practical advantages of SONG, we benchmarked its performance against the classical k-nearest neighbors (k-NN) classifier. For SONG, we selected the highest classification accuracy from 100 bagging trials. For k-NN, we performed 10-fold cross-validation and selected the best accuracy among k { 1 , 3 , 5 , 7 , 9 , 11 , 13 , 15 , 25 } .
All experiments were executed on the same edge device, a Raspberry Pi 3 Model B+, with source code compiled using gcc with the -O2 optimization flag. Table 5 shows the classification accuracy, memory usage, and computation time for both SONG and k-NN.
While there exist model compression techniques for k-NN [23], they typically require considerable computational overhead during training. In our experiments, we used an exhaustive implementation of k-NN. Because k-NN retains all training samples, its memory requirement scales directly with the size of the training set.
All reported results for k-NN reflect averages over 10-fold cross-validation, following the same evaluation protocol as for SONG.
We further analyze the performance of SONG and k-NN across three key criteria: classification accuracy, memory requirement, and computation time.
As indicated in Table 5, SONG achieved higher classification accuracy than k-NN on 8 out of the 10 datasets, yielding an average improvement of 1.1%. This underscores SONG’s ability to provide more reliable generalization across diverse data distributions.
Furthermore, while SONG incurs initial computational costs for constructing and evaluating K SGNT models, its average inference time remains substantially shorter than that of k-NN for most datasets. For larger datasets, such as letter, SONG demonstrated approximately 2.33 times faster computation. Because k-NN retains all training samples, its memory footprint scales linearly with the dataset size. Conversely, SONG’s efficient node structure maintains a consistently lower memory requirement, an attribute highly advantageous for IoT and edge deployments.
The hyperparameter tuning required for k-NN (e.g., selecting optimal k) through repeated 10-fold cross-validation can be computationally expensive, especially on large datasets. In contrast, SONG, based on compact and efficient SGNTs, offers a more practical alternative. Furthermore, due to the independence of base classifiers, SONG supports parallel computation, which further enhances its scalability and suitability for deployment on edge devices.
In conclusion, SONG demonstrates favorable trade-offs among classification performance, memory efficiency, and computational cost. These characteristics make it a promising approach for large-scale data mining tasks, especially in resource-constrained environments, as compared to conventional methods such as k-NN.

3.2. Cybersecurity Applications for IoT Endpoint Devices

To validate the practical applicability of the proposed approach as a cybersecurity countermeasure for IoT endpoint devices, we conducted experiments utilizing the N-BaIoT dataset [24]. The evaluation focused on network communication logs from a specific IoT device model within the dataset, specifically analyzing traffic generated during attacks by two prominent malware variants: Mirai and Gafgyt. Alongside benign (normal) traffic, the dataset comprises representative malicious traffic patterns, including ACK Scan, SYN Scan, UDP Flood, UDP Plain Flood, TCP Flood, Junk Flood, and Combo attacks. These attack vectors, which primarily execute reconnaissance or denial-of-service (DoS) campaigns, represent prevalent threats in real-world IoT deployments. Data subsets corresponding to various attack types were selected for each malware variant, assigned to distinct classes, and integrated with the benign traffic records for classification. The analytical methodology remained consistent with the procedures outlined in the previous experiments.

3.2.1. Data Preprocessing

This subsection aims to clarify the data preprocessing procedure applied to the N-BaIoT dataset used in this paper on IoT botnet attack detection. In particular, it describes the process and rationale for reducing the original 115 feature columns to 35 selected features. To ensure transparency of the processing pipeline and to enable reviewers and replication researchers to reconstruct the dataset under identical conditions, the selection criteria, exclusion criteria, and processing steps are documented in detail.

3.2.2. Data Overview

N-BaIoT (Network-Based detection of IoT botnet attacks) is a publicly available dataset constructed by a research group at Ben-Gurion University of the Negev, Israel [9]. Nine types of real IoT devices—including cameras, smart outlets, and doorbells—were infected with two botnet malware families, Mirai and BASHLITE, and network traffic was recorded both before and after infection. Table 6 summarizes the dataset, which consists of 11 CSV files corresponding to different device and attack combinations. Each file contains network traffic data with 115 features extracted from packet captures, including various statistical and protocol-specific attributes relevant for intrusion detection tasks.
Each filename follows the convention “device_number_botnet_type_attack_type.csv”. Specifically, 1_benign contains normal traffic, 1_gafgyt_ contains BASHLITE (GAFGYT) attack traffic, and 1_mirai_* contains Mirai attack traffic. All 11 files were merged to construct the training and evaluation dataset.

3.2.3. Feature Selection

The original dataset contains 115 features, which include various network traffic attributes such as packet sizes, inter-arrival times, and protocol-specific metrics. To optimize the performance of the classification model and reduce computational overhead, we applied a feature selection process based on the following statistical criteria:
  • Mean: The most fundamental statistic representing the center of a distribution. Captures shifts in traffic behavior during attacks.
  • Standard Deviation: Represents the spread of a distribution. Traffic uniformity differs markedly between normal and attack conditions.
Through this process, we reduced the feature set from 115 to 35 features, which were deemed most relevant for the classification of IoT malware attacks. This feature selection step was crucial for improving the efficiency of the classification model while maintaining high accuracy, particularly in the context of edge computing environments where computational resources are limited.

3.2.4. Preliminary Classification Experiment

Prior to the primary evaluation, a preliminary classification experiment was conducted utilizing the k-nearest neighbors (k-NN) algorithm to establish a performance baseline. The sample size was incrementally increased from 100 to 1000 instances (in increments of 100). In our preliminary experiments using small sample sizes (100 to 1000 instances), the k-NN algorithm achieved a classification accuracy approaching 100%. However, this exceptionally high accuracy was strictly limited to simplified binary classification tasks (i.e., benign vs. a single aggregated attack class) under highly controlled and balanced conditions. In contrast, the primary evaluation presented in the next section involves a much more complex multi-class classification scenario using the full dataset, which includes highly imbalanced real-world traffic patterns across multiple specific attack vectors (e.g., ACK Scan, SYN Scan, UDP Flood). This shift from a simplified binary problem to a realistic, multi-class imbalanced problem naturally explains the significant drop in k-NN’s performance to approximately 65%, underscoring the necessity of more robust models like SONG for practical IoT environments.

3.2.5. Experimental Results

In this paper, we focused on evaluating the performance of SONG in comparison to k-NN and Random Forest [25], which are commonly used classifiers in cybersecurity applications. Table 7 and Table 8 detail the performance metrics for the classification of the Gafgyt and Mirai malware attacks, respectively. While the baseline k-NN algorithm yielded an average classification accuracy of approximately 65%, the proposed SONG framework significantly outperformed it, achieving 92.86% for Gafgyt and 89.13% for Mirai. Furthermore, SONG maintained a substantially lower memory footprint and superior computational efficiency, demonstrating its robustness in handling malicious traffic classification. Notably, Random Forest classifier achieved near-perfect accuracy (99.98% for Gafgyt and 99.95% for Mirai) but at the cost of increased memory usage and longer computation times compared to SONG. In Random Forest, the depth of each decision tree was set to 5, and the number of trees was set to 25. These results underscore the practical advantages of SONG for real-time IoT malware detection, particularly in resource-constrained edge environments where both accuracy and efficiency are critical.

4. Discussion

This study demonstrates that the Self-Organizing Neural Grove (SONG) effectively bridges the gap between high classification accuracy and strict computational limits in edge computing environments. While conventional models like unpruned SGNTs or traditional C4.5 ensembles struggle with memory bloat, SONG’s label-based pruning strategy maintains a compact memory footprint without sacrificing the generalization capabilities of an ensemble approach.
When compared to state-of-the-art lightweight models, SONG offers a highly competitive trade-off. For instance, while the Random Forest classifier achieved near-perfect accuracy on the N-BaIoT dataset (99.98% for Gafgyt), it required significantly more memory and longer computation times than SONG. In resource-constrained IoT endpoints where continuous, real-time monitoring is required, SONG’s balance of high accuracy (over 89%) and minimal memory usage (approx. 42 units) makes it a highly practical alternative.
However, SONG is not without limitations. As observed in Table 5, for exceptionally small datasets such as the glass dataset (214 instances), the inference time of k-NN (0.02 s) was faster than that of SONG (0.25 s). Because k-NN’s computational cost scales linearly with the number of training samples, it holds a speed advantage when the search space is trivial. Conversely, in realistic scenarios involving massive datasets like letter or continuous IoT traffic, k-NN’s overhead becomes prohibitive, whereas SONG maintains superior scalability.
Future work will focus on expanding SONG’s applicability beyond IoT malware detection. Given its parallelizable architecture and efficient memory scaling, we plan to investigate its deployment in other real-time, resource-limited domains, such as autonomous driving sensors and smart infrastructure anomaly detection.

5. Conclusions

In this study, we investigated the performance of a multiple classifier system (MCS) based on Self-Generating Neural Trees (SGNTs), termed the Self-Organizing Neural Grove (SONG). We evaluated its computational overhead and classification accuracy on a resource-constrained edge computing platform. To enhance operational efficiency, we introduced a two-stage pruning strategy comprising online learning optimization and offline structural optimization.
Experimental evaluations, including 10-fold cross-validation on benchmark datasets, demonstrated that employing pruned SGNTs as base classifiers significantly reduces memory consumption while simultaneously improving classification accuracy compared to traditional methods like k-NN. Furthermore, experiments targeting IoT malware detection using the N-BaIoT dataset verified SONG’s practical utility in real-world cybersecurity scenarios. The framework successfully reconciled the demand for high classification accuracy with the strict computational limits of IoT endpoint devices.
These findings establish SONG as an effective, scalable, and highly practical MCS framework for large-scale data classification tasks in edge AI environments. As a direction for future work, we plan to explore parallel and distributed implementations of SONG to further extend its scalability. Additionally, we aim to evaluate the framework against a broader range of zero-day attack vectors and investigate its applicability to other domains demanding strict real-time processing, such as autonomous driving and smart infrastructure systems.

Author Contributions

Conceptualization, H.I. and I.H.; methodology, H.I.; software, H.I.; validation, H.I., T.K. and I.H.; formal analysis, I.H.; investigation, H.I. and I.H.; resources, H.I.; data curation, I.H.; writing—original draft preparation, H.I.; writing—review and editing, H.I.; visualization, H.I.; supervision, H.I.; project administration, H.I. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Data Availability Statement

Data is applicable in the UCI Machine Learning Repository: https://archive.ics.uci.edu/ml/index.php (accessed on 24 May 2026). The N-BaIoT dataset is available at https://www.kaggle.com/datasets/mkashifn/nbaiot-dataset?select=2.benign.csv (accessed on 24 May 2026).

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Han, J.; Kamber, M. Data Mining: Concepts and Techniques; Morgan Kaufmann Publishers: San Francisco, CA, USA, 2000. [Google Scholar]
  2. Haykin, S. Neural Networks: A Comprehensive Foundation, 2nd ed.; Prentice-Hall: Upper Saddle River, NJ, USA, 1999; Chapter 7. [Google Scholar]
  3. Breiman, L. Bagging predictors. Mach. Learn. 1996, 24, 123–140. [Google Scholar] [CrossRef]
  4. Freund, Y.; Schapire, R.E. A decision-theoretic generalization of on-line learning and an application to boosting. J. Comp. Sys. Sci. 1997, 55, 119–139. [Google Scholar] [CrossRef]
  5. Quinlan, J.R. Bagging, Boosting, and C4.5. In Proceedings of the Thirteenth National Conference on Artificial Intelligence; AAAI Press: Menlo Park, CA, USA; MIT Press: Cambridge, MA, USA, 1996; pp. 725–730. [Google Scholar]
  6. Bishop, C.M. Neural Networks for Pattern Recognition; Oxford University Press: New York, NY, USA, 1995. [Google Scholar]
  7. Duda, R.O.; Hart, P.E.; Stork, D.G. Pattern Classification, 2nd ed.; John Wiley & Sons Inc.: New York, NY, USA, 2000. [Google Scholar]
  8. Quinlan, J.R. C4.5: Programs for Machine Learning; Morgan Kaufmann: San Mateo, CA, USA, 1993. [Google Scholar]
  9. Meidan, Y.; Bohadana, M.; Mathov, Y.; Mirsky, Y.; Shabtai, A.; Breitenbacher, D.; Elovici, Y. N-BaIoT: Network-Based Detection of IoT Botnet Attacks Using Deep Autoencoders. IEEE Pervasive Comput. 2018, 17, 12–22. [Google Scholar] [CrossRef]
  10. Maghanaki, M.; Keramati, S.; Chen, F.F.; Shahin, M. Systematic Evaluation of Machine Learning and Deep Learning Models for IoT Malware Detection Across Ransomware, Rootkit, Spyware, Trojan, Botnet, Worm, Virus, and Keylogger. Sensors 2026, 26, 1750. [Google Scholar] [CrossRef]
  11. Prajapati, N.; Karki, B.; Gopali, S.; Namin, A.S. IoT Malware Network Traffic Detection using Deep Learning and GraphSAGE Models. In 2025 IEEE 49th Annual Computers, Software, and Applications Conference (COMPSAC); IEEE: New York, NY, USA, 2025; pp. 123–128. [Google Scholar] [CrossRef]
  12. Nagaraj, M.B.; Shettar, S.B.; Shirakanahalli, S.T.; Mudhol, P.P.; Pande, B.D. TinyML Based Smart Intrusion Detection Methods Using edgeAI—A Review. Int. J. Multidiscip. Res. 2026, 8, 1–7. Available online: https://www.ijfmr.com/research-paper.php?id=77022 (accessed on 24 May 2026).
  13. Zhang, Y.; Lu, Y.; Martinez-Rau, L.S.; Fan, Z.; Qiu, Q.; O’Flynn, B.; Bader, S. TinyML-Enabled IoT Edge Framework with Knowledge Distillation for Weed Classification. IEEE Internet Things J. 2026. [Google Scholar] [CrossRef]
  14. Wen, W.X.; Jennings, A.; Liu, H. Learning a neural tree. In Proceedings of the International Joint Conference on Neural Networks, Beijing, China, 3–6 November 1992; Volume 2, pp. 751–756. Available online: https://www.researchgate.net/publication/2638085_Learning_a_Neural_Tree (accessed on 24 May 2026).
  15. Kohonen, T. Self-Organizing Maps, 3rd ed.; Springer: Berlin/Heidelberg, Germany, 2001; pp. 105–176. [Google Scholar]
  16. Wen, W.X.; Pang, V.; Jennings, A. Self-generating vs. self-organizing, what’s different? In Neural Networks Theory, Technology, and Applications; Simpson, P.K., Ed.; IEEE Technology Update Series; IEEE Technical Activities Board: Piscataway, NJ, USA, 1996; pp. 210–214. [Google Scholar]
  17. Inoue, H.; Narihisa, H. Improving generalization ability of self-generating neural networks through ensemble averaging. In The Fourth Pacific-Asia Conference on Knowledge Discovery and Data Mining; Terano, T., Liu, H., Chen, A.L.P., Eds.; Lecture Notes in Computer Science; Springer: Kyoto, Japan, 2000; Volume 1805, pp. 177–180. [Google Scholar]
  18. Inoue, H.; Sugiyama, K. Self-organizing neural grove: Efficient neural network ensembles using pruned self-generating neural trees. Int. J. Comput. 2013, 12, 210–216. [Google Scholar] [CrossRef]
  19. Inoue, H. Self-organizing neural grove for edge computing. In 2025 IEEE 13th International Conference on Intelligent Data Acquisition and Advanced Computing Systems: Technology and Applications (IDAACS); IEEE: Piscataway, NJ, USA, 2025; pp. 219–224. [Google Scholar]
  20. Patrick, E.A.; Fischer, I.F.P. A generalized k-nearest neighbor rule. Inf. Control 1970, 16, 128–152. [Google Scholar] [CrossRef]
  21. Stone, M. Cross-validation: A review. Statistics 1978, 9, 127–139. [Google Scholar]
  22. Kelly, M.; Longjohn, R.; Nottingham, K. The UCI Machine Learning Repository. 2025. Available online: http://archive.ics.uci.edu (accessed on 20 May 2026).
  23. Zhang, B.; Srihari, S.N. Fast k-nearest neighbor classification using cluster-based trees. IEEE Trans. Pattern Mach. Intell. 2004, 26, 525–528. [Google Scholar] [CrossRef] [PubMed]
  24. Kashif, M.; Longjohn, R.; Nottingham, K. N-BaIoT: A Novel Benchmark for Evaluating Cybersecurity Solutions in IoT Environments. 2025. Available online: https://www.kaggle.com/datasets/mkashifn/nbaiot-dataset?select=2.benign.csv (accessed on 20 May 2026).
  25. Breiman, L. Random forests. Mach. Learn. 2001, 45, 5–32. [Google Scholar] [CrossRef]
Figure 1. SGNT algorithm.
Figure 1. SGNT algorithm.
Sensors 26 03399 g001
Figure 2. The merge phase.
Figure 2. The merge phase.
Sensors 26 03399 g002
Figure 3. The evaluation phase.
Figure 3. The evaluation phase.
Sensors 26 03399 g003
Table 1. Sub procedures of the SGNT algorithm.
Table 1. Sub procedures of the SGNT algorithm.
Sub ProcedureSpecification
c o p y ( n j , e i / w w i n ) Create n j , copy e i / w w i n as w j in n j .
c h o o s e ( e i , n 1 ) Decide n w i n for e i .
l e a f ( n w i n ) Check n w i n whether n w i n is a leaf or not.
c o n n e c t ( n j , n w i n ) Connect n j as a child leaf of n w i n .
p r u n e ( n w i n ) Prune leaves if the leaves have the same class.
Table 2. The brief summary of the datasets. N is the number of instances, m is the number of attributes.
Table 2. The brief summary of the datasets. N is the number of instances, m is the number of attributes.
DatasetNmClasses
balance-scale62543
breast-cancer-w69992
glass21496
ionosphere351342
iris15043
letter20,0001626
liver-disorders34562
new-thyroid21553
pima-diabetes76882
wine178133
Table 3. The average memory requirement and classification accuracy of 100 trials for the bagged SGNT in the SONG. The standard deviation is given inside the bracket on classification accuracy ( × 10 3 ).
Table 3. The average memory requirement and classification accuracy of 100 trials for the bagged SGNT in the SONG. The standard deviation is given inside the bracket on classification accuracy ( × 10 3 ).
Memory RequirementClassification Accuracy
DatasetPrunedUnprunedRatioPrunedUnprunedRatio
balance-scale112.38861.1213.10.87 (5.69)0.847 (7.82)+2.3
breast-cancer-w28.59897.433.190.972 (2.24)0.968 (2.6)+0.4
glass104.11297.7735.00.721 (11.7)0.716 (12.8)+0.5
ionosphere54.3472.1411.50.893 (7.48)0.868 (7.79)+2.5
iris15.11208.687.240.964 (4.55)0.961 (4.74)+0.3
letter6225.0827,028.5623.00.956 (0.8)0.955 (0.72)+0.1
liver-disorders154.58471.7332.770.625 (14.12)0.608 (16.97)+1.7
new-thyroid49.55298.2316.610.952 (6.32)0.949 (6.76)+0.3
pima-diabetes205.91045.1819.70.75 (7.27)0.73 (8.71)+2.0
wine14.31239.045.990.965 (4.95)0.96 (5.57)+0.5
Average696.393181.9916.80.8670.856+1.1
Table 4. The pruned MCS and the MCS based on C4.5 with bagging.
Table 4. The pruned MCS and the MCS based on C4.5 with bagging.
MCS Based on SGNTMCS Based on C4.5
DatasetSGNTMCSRatioC4.5MCSRatio
balance-scale0.7820.87+8.80.7950.827+3.2
breast-cancer-w0.9570.972+1.50.9460.963+1.7
glass0.6410.721+80.6640.757+9.3
ionosphere0.8530.893+40.8970.92+2.3
iris0.9490.964+1.50.9530.947−0.6
letter0.8790.956+7.70.8800.938+5.8
liver-disorders0.580.625+4.50.6350.736+10.1
new-thyroid0.9350.952+1.70.930.94+1
pima-diabetes0.70.75+5.00.7490.767+1.8
wine0.950.965+1.50.9270.949+2.2
Average0.8230.869+4.40.8370.874+3
The bold values indicate the best performance between the pruned MCS based on SGNT and the MCS based on C4.5 for each dataset.
Table 5. The classification accuracy, the memory requirement, and the computation time of 100 trials for the best pruned SONG and k-NN.
Table 5. The classification accuracy, the memory requirement, and the computation time of 100 trials for the best pruned SONG and k-NN.
Classification Acc.Memory RequirementComputation Time (s)
DatasetSONG k -NNSONG k -NNSONG k -NN
balance-scale0.8830.899114.46562.50.550.85
breast-cancer-w0.9760.97326.67629.10.790.51
glass0.7560.706115.97192.60.250.02
ionosphere0.9090.85753.87315.91.530.21
iris0.9730.9613.491350.090.02
letter0.9580.9616214.218,000167.27389.76
liver-disorders0.6640.647199.37310.50.350.2
new-thyroid0.9680.96753.57193.50.170.01
pima-diabetes0.7660.753188.46691.21.261.28
wine0.9830.97710.86160.20.20.05
Average0.8840.873699.092119.117.2539.29
The bold values indicate the best performance between the pruned SONG and k-NN for each dataset.
Table 6. Summary of the N-BaIoT dataset.
Table 6. Summary of the N-BaIoT dataset.
FilenameBotnet TypeAttack Type
1_benign.csvNoneBenign
1_gafgyt_scan.csvGAFGYTScan
1_gafgyt_udp.csvGAFGYTUDP Flood
1_gafgyt_tcp.csvGAFGYTTCP Flood
1_gafgyt_junk.csvGAFGYTJunk Flood
1_gafgyt_combo.csvGAFGYTCombo
1_mirai_ack.csvMiraiACK Scan
1_mirai_syn.csvMiraiSYN Scan
1_mirai_scan.csvMiraiScan
1_mirai_udp.csvMiraiUDP Flood
1_mirai_udpplain.csvMiraiUDP Plain Flood
Table 7. Comparative performance of the SONG, k-NN, and Random Forest for the classification of Gafgyt attack types.
Table 7. Comparative performance of the SONG, k-NN, and Random Forest for the classification of Gafgyt attack types.
GafgytSONGkNNRandom Forest
acc. (%)92.8665.2599.98
memory req. (units)42.890133
comp. time (s)0.3060.0960.552
The bold values indicate the best performance among the three classifiers for each malware type.
Table 8. Comparative performance of the SONG, k-NN, and Random Forest for the classification of Mirai attack types.
Table 8. Comparative performance of the SONG, k-NN, and Random Forest for the classification of Mirai attack types.
MiraiSONGkNNRandom Forest
acc. (%)89.1364.3899.95
memory req. (units)42.2490100
comp. time (s)0.2720.0990.544
The bold values indicate the best performance among the three classifiers for each malware type.
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Inoue, H.; Komura, T.; Hashimoto, I. Self-Organizing Neural Grove for Malware Detection in IoT Edge Devices. Sensors 2026, 26, 3399. https://doi.org/10.3390/s26113399

AMA Style

Inoue H, Komura T, Hashimoto I. Self-Organizing Neural Grove for Malware Detection in IoT Edge Devices. Sensors. 2026; 26(11):3399. https://doi.org/10.3390/s26113399

Chicago/Turabian Style

Inoue, Hirotaka, Tsukasa Komura, and Ibuki Hashimoto. 2026. "Self-Organizing Neural Grove for Malware Detection in IoT Edge Devices" Sensors 26, no. 11: 3399. https://doi.org/10.3390/s26113399

APA Style

Inoue, H., Komura, T., & Hashimoto, I. (2026). Self-Organizing Neural Grove for Malware Detection in IoT Edge Devices. Sensors, 26(11), 3399. https://doi.org/10.3390/s26113399

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop