Sunday, November 29, 2026
Science
No Result
View All Result
  • Login
  • HOME
  • SCIENCE NEWS
  • CONTACT US
  • HOME
  • SCIENCE NEWS
  • CONTACT US
No Result
View All Result
Scienmag
No Result
View All Result
Home Science News

Machine Learning DDoS Detectors Suffer Sharp Accuracy Loss on Later Traffic

November 19, 2026
in Science News
Teresa Odom
By Teresa Odom Scienmag Editorial Profile - Machine Learning
Reading Time: 6 mins read
0
Machine Learning DDoS Detectors Suffer Sharp Accuracy Loss on Later Traffic

Machine Learning DDoS Detectors Suffer Sharp Accuracy Loss on Later Traffic

65
SHARES
587
VIEWS
Share on FacebookShare on Twitter
ADVERTISEMENT

A rigorous, leakage-controlled evaluation of supervised machine learning classifiers designed to safeguard software-defined networks against distributed denial of service attacks has demonstrated that near-perfect detection scores obtained under traditional random test splits decline substantially when models confront chronologically later traffic. In an extensive benchmark assessing six popular algorithms across thousands of network flow records, top-performing tree ensembles demonstrated flawless or near-flawless discrimination when trained and tested on randomly shuffled data, but their accuracy plummeted by up to 17.8 percentage points under a strict time-ordered evaluation. The findings show that while tree-based boosting and ensemble architectures remain remarkably robust at identifying malicious flow patterns under stable conditions, standard benchmarking methodologies frequently produce an overly optimistic upper bound that conceals the vulnerability of automated intrusion detection systems to temporal distribution shifts.

Conventional perimeter defenses, including static rule-based firewalls and signature-matching intrusion detection systems, increasingly struggle to mitigate these volumetric onslaughts, particularly as malicious actors craft traffic profiles that closely mimic benign network exchanges, adopt IPv6 structures, and leverage ubiquitous packet encryption to obscure hostile payloads.

To address the pressing need for automated, high-throughput security mechanisms capable of identifying complex attack patterns without manual rule drafting, researchers have turned toward supervised machine learning algorithms trained on statistical summaries of network flows. However, prior literature has frequently suffered from methodological oversights, such as tuning feature transformations on entire datasets, ignoring computational overheads, relying on single unverified splits, or overlooking hidden data leakage embedded within benchmark attributes. To establish a dependable baseline for operational environments, researchers Atul Kumar, Bhisham Sharma, Vishesh Tanwar, and Panos Liatsis formulated a strictly isolated experimental pipeline in which missing value imputation, categorical encoding, Mutual Information feature ranking, and statistical standardisation were fitted solely upon training portions before being projected onto held-out test records.

The experimental investigation primarily evaluated two public benchmarks, centering its core comparative conclusions on the DDoS-SDN dataset generated within an emulated Mininet networking topology. Comprising 104,345 flow records characterized by 23 statistical and architectural parameters, the benchmark documents normal and adversarial exchanges across the Transmission Control Protocol, User Datagram Protocol, and Internet Control Message Protocol. To prevent trivial artificial shortcuts, the researchers removed absolute timestamps along with source and destination Internet Protocol addresses from model inputs, discarding 506 incomplete entries to yield 103,839 valid flow records, divided between 63,335 benign samples and 40,504 malicious samples. The resulting data corpus was partitioned through stratified sampling into a 70 percent training cohort consisting of 72,687 entries and a 30 percent held-out testing cohort encompassing 31,152 records, maintaining identical class ratios across partitions.

When trained on the full set of 19 behavioral flow metrics, Extreme Gradient Boosting delivered a remarkable performance, classifying every single one of the 31,152 held-out test flows without a solitary error, achieving an extraordinary 100 percent test accuracy alongside flawless precision, recall, and receiver operating characteristic curve area. Random Forest achieved similarly exceptional results, securing 99.47 percent overall accuracy while incurring merely 122 false alarms and 43 missed intrusions across the entire testing cohort. K-Nearest Neighbours attained 98.47 percent accuracy, closely followed by the Decision Tree model at 98.20 percent and the radial basis function Support Vector Machine at 96.86 percent. In sharp contrast, Logistic Regression registered as the clear underperformer, reaching only 76.64 percent accuracy and failing to flag 4,098 of the 12,151 attack instances, illustrating that flow-level malicious indicators cannot be reliably separated through linear hyperplanes.

Recognizing that running complete high-dimensional feature extraction imposes non-trivial processing overhead on SDN controllers managing high packet arrival rates, the authors explored aggressive dimensionality reduction using a Mutual Information filter based on k-nearest-neighbour entropy estimation. The resulting ranking demonstrated that volumetric transmission measurements overwhelmingly dominate discriminative power, with byte counts, packet counts, bytes per flow, packets per flow, and packet rates capturing the five most informative behavioral indicators. When classifiers were restricted to this streamlined Top-5 feature subset, most models incurred modest accuracy penalties, including a 0.95 percentage point reduction for XGBoost, 2.57 points for Random Forest, and 4.48 points for Decision Trees. However, K-Nearest Neighbours exhibited a striking inversion: its classification accuracy surged from 98.47 percent to 99.97 percent, registering zero missed attacks and only nine false positives.

This counterintuitive performance boost for K-Nearest Neighbours underscores a fundamental principle of distance-based classification, where high-dimensional feature spaces introduce noisy, weakly correlated dimensions that dilute meaningful Euclidean and Manhattan distance metrics between nearest instances. Pruning the input space down to the five core volumetric attributes eliminated irrelevant variance, allowing the distance-weighted neighbor algorithm to map boundaries with exceptional precision. Crucially, condensing the feature space delivered transformative operational efficiencies for instance-based processing, reducing test-set evaluation time from 23.66 seconds down to just 0.21 seconds. On an individual record basis, inference latency dropped precipitously from 0.760 milliseconds to 0.007 milliseconds per flow, causing sustained throughput to leap from approximately 1,300 flows per second to over 151,000 flows per second on standard four-core central processing unit hardware.

For network deployments where preserving absolute detection fidelity takes precedence over maximizing raw processing speed, the researchers evaluated a moderate Top-12 feature configuration that incorporated additional flow durations, packet inspection counts, and directional transmission rates. Under this twelve-feature configuration, tree-based models maintained practically indistinguishable efficacy relative to their unpruned baselines, with XGBoost sustaining 99.99 percent accuracy while missing only two attacks, Random Forest maintaining 99.40 percent accuracy, and Decision Trees securing 98.23 percent accuracy. Meanwhile, K-Nearest Neighbours preserved a superior 99.31 percent accuracy alongside a favorable per-flow latency of 0.031 milliseconds. Support Vector Machines and Logistic Regression experienced minor degradations of 0.97 and 2.25 percentage points respectively, confirming that twelve targeted flow attributes capture sufficient behavioral variance to support highly reliable intrusion detection across software-defined environments.

To rigorously verify that high test-set scores were not fortuitous anomalies stemming from a singularly advantageous data split, the authors conducted stratified ten-fold cross-validation exclusively across the training data, refitting the entire pipeline from scratch within each iterative fold. The resulting standard deviations across folds remained remarkably tight at or below 0.61 percentage points for all tested configurations, aligning with held-out test scores within an ultra-narrow margin of 0.47 percentage points. Pairwise statistical significance was formally validated using McNemar tests accompanied by Holm correction for family-wise error rates across all 15 algorithmic pairings. Under the 19-feature regime, every classifier pair exhibited statistically significant differences in their discordant error distributions, confirming that performance hierarchies represented distinct mathematical behaviors rather than stochastic sampling noise.

However, the investigation revealed significant vulnerabilities when models were exposed to three progressively stricter evaluation splits designed to mimic realistic operational challenges. While removing emulated topology identifiers such as switch indicators and port numbers caused minimal accuracy shifts of no more than 0.57 percentage points, and withholding traffic from four source hosts depressed scores by up to 4.86 percentage points, chronological partitioning inflicted severe disruption. When classifiers were trained on the earliest 70 percent of recorded traffic and tested against the remaining 30 percent, non-linear classifier accuracy tumbled by between 6.67 and 17.76 percentage points, driving attack recall down to between 75 and 90 percent. When combined with Top-12 feature pruning, the temporal accuracy drop for XGBoost reached 20.13 percentage points, confirming that random sampling inadvertently leaks temporal correlations and masks model degradation against evolving traffic patterns.

The study’s critical feature-level audit of the secondary benchmark, APA-DDoS, provided an equally profound cautionary lesson regarding public machine learning security datasets. Although initial evaluations on its 151,200 packet records showed several algorithms achieving near-perfect metrics, granular investigation revealed pervasive data leakage. Specifically, capture timestamps directly encoded target class categories, while the binary TCP push flag served as a deterministic structural separator that isolated ACK floods from PSH-ACK floods with absolute fidelity. Stripping away operational identifiers and constant features caused the remaining nine attributes to collapse into merely 65 unique feature combinations across the entire dataset. When the push flag was removed, 21 feature combinations possessed conflicting ground-truth labels, imposing an insurmountable mathematical accuracy ceiling of 75.78 percent and demonstrating why APA-DDoS is unsuitable for ranking model performance.

Evaluating hardware demands on an Intel Xeon 2.20 gigahertz system demonstrated that lightweight tree architectures and linear formulations execute inference in less than 0.001 milliseconds per record, making them viable for line-rate inspection within high-bandwidth routing environments. Conversely, Support Vector Machines required substantial training intervals exceeding 39 seconds while demanding 0.49 to 0.66 milliseconds per inference classification, rendering them impractical for dynamic software-defined control loops. The authors emphasize that their investigation reflects offline central processing unit benchmarks within simulated Mininet testbeds rather than real-time execution inside production software-defined networking switches. Consequently, future research must validate these lightweight pipelines against live controller hardware, explore embedded and metaheuristic optimization schemes, examine adaptive temporal deep learning architectures, and integrate automated mitigation actions to defend contemporary network fabrics against evolving distributed threats.

Subject of Research: Machine learning evaluation and feature selection for software-defined network DDoS detection

Article Title: Machine learning methods for DDoS attack detection in software-defined networks

Article References: Kumar, A., Sharma, B., Tanwar, V., & Liatsis, P. (2026). Machine learning methods for DDoS attack detection in software-defined networks. International Journal of Information Security, 25(6), Article 180. https://doi.org/10.1007/s10207-026-01354-7

Image Credits: AI Generated

DOI: 10.1007/s10207-026-01354-7

Keywords: software-defined networking, ddos attack detection, machine learning, xgboost, random forest, k-nearest neighbours, mutual information, feature selection, time-ordered evaluation, data leakage, network flow analysis, intrusion detection systems, mcnemar test, dataset auditing, apa-ddos, ddos-sdn, inference latency, openflow

Cite Scienmag News

Teresa Odom. (November 19, 2026). Machine Learning DDoS Detectors Suffer Sharp Accuracy Loss on Later Traffic. Scienmag. https://scienmag.com/machine-learning-ddos-detectors-suffer-sharp-accuracy-loss-on-later-traffic/

Teresa Odom. "Machine Learning DDoS Detectors Suffer Sharp Accuracy Loss on Later Traffic." Scienmag, 19 November 2026, https://scienmag.com/machine-learning-ddos-detectors-suffer-sharp-accuracy-loss-on-later-traffic/. Accessed 29 November 2026.

Teresa Odom. "Machine Learning DDoS Detectors Suffer Sharp Accuracy Loss on Later Traffic." Scienmag. November 19, 2026. https://scienmag.com/machine-learning-ddos-detectors-suffer-sharp-accuracy-loss-on-later-traffic/

Tags: apa-ddosdata leakagedataset auditingDDoS attack detectionddos-sdnfeature selectioninference latencyintrusion detection systemsK-nearest neighboursMachine learningMcNemar testmutual informationNetwork Flow AnalysisOpenFlowRandom Forestsoftware-defined networkingtime-ordered evaluationXGBoost
Share26Tweet16
Previous Post

Higher Tooth Decay Linked to Lower Oral Health Self-Efficacy in Pregnancy

Next Post

Review Reveals Broad Economic and Humanistic Burden of Duchenne Muscular Dystrophy

Related Posts

Three-Dimensional Electrification Model Predicts Intense Electric Fields Generated Inside Desert Dust Storms
Science News

Three-Dimensional Electrification Model Predicts Intense Electric Fields Generated Inside Desert Dust Storms

November 29, 2026
SGLT2 Inhibitor Initiation Associated with Lower Small Bowel Cancer Incidence
Medicine

SGLT2 Inhibitor Initiation Associated with Lower Small Bowel Cancer Incidence

November 29, 2026
Flood Adaptation Reduces Macroeconomic Climate Losses in Kazakhstan Scenario Evaluation
Earth Science

Flood Adaptation Reduces Macroeconomic Climate Losses in Kazakhstan Scenario Evaluation

November 29, 2026
Biflavonoid Agathisflavone Shows Predicted Kinase Binding and Moderate Toxicity in Screening
Chemistry

Biflavonoid Agathisflavone Shows Predicted Kinase Binding and Moderate Toxicity in Screening

November 29, 2026
Review Evaluates Synthetic Strategies and Medicinal Potential of Azaindole Scaffolds
Technology and Engineering

Review Evaluates Synthetic Strategies and Medicinal Potential of Azaindole Scaffolds

November 29, 2026
LncRNA GSEC Regulates CXCL8 Axis in Oral Squamous Cell Carcinoma Progression
Cancer

LncRNA GSEC Regulates CXCL8 Axis in Oral Squamous Cell Carcinoma Progression

November 29, 2026
Next Post
Review Reveals Broad Economic and Humanistic Burden of Duchenne Muscular Dystrophy

Review Reveals Broad Economic and Humanistic Burden of Duchenne Muscular Dystrophy

  • Mothers who receive childcare support from maternal grandparents show more optimized

    Mothers who receive childcare support from maternal grandparents show more parental warmth, finds NTU Singapore study

    27657 shares
    Share 11059 Tweet 6912
  • University of Seville Breaks 120-Year-Old Mystery, Revises a Key Einstein Concept

    1061 shares
    Share 424 Tweet 265
  • Bee body mass, pathogens and local climate influence heat tolerance

    682 shares
    Share 273 Tweet 171
  • Researchers record first-ever images and data of a shark experiencing a boat strike

    546 shares
    Share 218 Tweet 137
  • Groundbreaking Clinical Trial Reveals Lubiprostone Enhances Kidney Function

    531 shares
    Share 212 Tweet 133
Science

Embark on a thrilling journey of discovery with Scienmag.com—your ultimate source for cutting-edge breakthroughs. Immerse yourself in a world where curiosity knows no limits and tomorrow’s possibilities become today’s reality!

RECENT NEWS

  • Three-Dimensional Electrification Model Predicts Intense Electric Fields Generated Inside Desert Dust Storms
  • SGLT2 Inhibitor Initiation Associated with Lower Small Bowel Cancer Incidence
  • Flood Adaptation Reduces Macroeconomic Climate Losses in Kazakhstan Scenario Evaluation
  • Biflavonoid Agathisflavone Shows Predicted Kinase Binding and Moderate Toxicity in Screening

Categories

  • Agriculture
  • Anthropology
  • Archaeology
  • Athmospheric
  • Biology
  • Biotechnology
  • Blog
  • Bussines
  • Cancer
  • Chemistry
  • Climate
  • Earth Science
  • Editorial Policy
  • Marine
  • Mathematics
  • Medicine
  • Pediatry
  • Policy
  • Psychology & Psychiatry
  • Science Education
  • Science News
  • Social Science
  • Space
  • Technology and Engineering

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 5,151 other subscribers

© 2026 Scienmag - Science Magazine

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
No Result
View All Result
  • HOME
  • SCIENCE NEWS
  • CONTACT US

© 2026 Scienmag - Science Magazine

Discover more from Science

Subscribe now to keep reading and get access to the full archive.

Continue reading