Researchers have introduced CoDiNet-ID, a confidence-aware dual-level ensemble framework designed to improve binary network intrusion detection by dynamically evaluating classifier reliability. Published in Scientific Reports, the framework addresses the challenge of distinguishing normal network traffic from malicious attack traffic across changing traffic conditions. By incorporating dynamic confidence fusion rather than relying on static combination rules, the model adapts to how trustworthy individual predictions are for each processed sample.
Modern network intrusion detection systems frequently employ stacking ensembles that merge multiple machine learning models to identify security breaches. However, conventional architectures typically fuse individual classifier outputs through rigid, predetermined rules without accounting for classifier dependability on specific instances. This structural limitation restricts system adaptability across varied network environments, motivating the development of an ensemble capable of assessing sample-level reliability in real time.
To establish the architecture, four heterogeneous base classifiers are trained using a rigorous stratified out-of-fold procedure. Within this setup, data preprocessing steps and probability calibration routines are fitted directly inside the training folds to prevent data leakage. The output probabilities produced by these base learners are subsequently calibrated through isotonic regression, ensuring that predicted likelihoods accurately reflect classification confidence before higher-level processing.
These calibrated probabilities are transformed into a specialized sixteen-dimensional meta-representation that synthesizes crucial diagnostic metrics. Specifically, this feature representation captures prediction confidence, inter-classifier agreement, weighted consensus, and statistical dispersion across the underlying models. A lightweight neural meta-learner combining Convolutional Neural Network and Gated Recurrent Unit layers processes the meta-representation, operating with just 7,553 trainable parameters to ensure minimal computational overhead and rapid inference.
The system completes classification using a Dynamic Confidence Fusion Layer that integrates the neural meta-learner output with the broader ensemble consensus and the overall attack-vote fraction. This fusion stage balances competing signals through a dataset-specific blending weight and decision threshold tuned once per dataset. Under standardized tuning protocols, the dynamic fusion mechanism demonstrates performance comparable to probability averaging, reliability-weighted consensus, and learned gating approaches.
Evaluation across ten experimental runs on the UNSW-NB15 dataset demonstrated an average accuracy of 89.62 percent, with a 95 percent confidence half-width of 0.21, and an F1-score of 0.9111. This score surpassed the best standalone base learner by 1.7 percentage points, with a 95 percent confidence interval spanning 1.4 to 1.9 points. On a stratified sample of CICIDS2017 across five runs, the model achieved 99.57 percent accuracy and 0.9959 recall, reflecting an insignificant 0.02-point difference from standalone Extra Trees under McNemar testing.
The investigation examined calibration quality through the Brier score, log loss, and expected calibration error, alongside ablation, computational-cost, per-category, and cross-dataset analyses. The researchers explicitly documented several operational limitations, noting that the evaluation remains restricted exclusively to binary detection scenarios rather than multiclass categorization. Additional acknowledged constraints include benchmark dataset artefacts and limited empirical evidence regarding cross-dataset generalization across heterogeneous operational networks.
Subject of Research: Confidence-aware dual-level ensemble framework for binary network intrusion detection
Article Title: CoDiNet-ID: a confidence-aware dual-level ensemble framework with dynamic confidence fusion for network intrusion detection
Article References: U, D., & K, S. S. (2026). CoDiNet-ID: a confidence-aware dual-level ensemble framework with dynamic confidence fusion for network intrusion detection. Scientific Reports. https://doi.org/10.1038/s41598-026-80911-5
Image Credits: AI Generated
DOI: 10.1038/s41598-026-80911-5
Keywords: CoDiNet-ID, network intrusion detection, ensemble learning, stacking ensemble, dynamic confidence fusion, binary intrusion detection, base classifiers, isotonic regression, probability calibration, meta-learner, CNN-GRU, UNSW-NB15, CICIDS2017, Extra Trees, Brier score, expected calibration error, log loss
Cite Scienmag News
Blake Davidson. (November 26, 2026). Confidence-Aware Dual-Level Ensemble Enhances Binary Network Intrusion Detection Accuracy. Scienmag. https://scienmag.com/confidence-aware-dual-level-ensemble-enhances-binary-network-intrusion-detection-accuracy/
Blake Davidson. "Confidence-Aware Dual-Level Ensemble Enhances Binary Network Intrusion Detection Accuracy." Scienmag, 26 November 2026, https://scienmag.com/confidence-aware-dual-level-ensemble-enhances-binary-network-intrusion-detection-accuracy/. Accessed 26 November 2026.
Blake Davidson. "Confidence-Aware Dual-Level Ensemble Enhances Binary Network Intrusion Detection Accuracy." Scienmag. November 26, 2026. https://scienmag.com/confidence-aware-dual-level-ensemble-enhances-binary-network-intrusion-detection-accuracy/








