Trade-off between rule compression and detection error in SDN anomaly detection

The coordination of software-defined networking (SDN) and programmable data planes enables anomaly-detection results to be translated into switch-side enforcement rules. However, installing one fine-grained rule per flow makes table occupancy, update traffic, and controller bookkeeping grow with the flow population. We propose an error-constrained coarse-grained flow-table compression method that aggregates five-tuple rules carrying anomaly confidence scores. New candidates are generated from joint address-prefix, port-bucket, and protocol templates and filtered by coverage and their actual mean/maximum confidence errors. Incremental merges update representative scores and historical error summaries, while heuristic promotion controls controller-history release. A temporary/stable lifecycle separates logical exact-entry removal from controller-history deletion; fine-first matching gives priority only to exact rules still present in the table. Periodic revalidation checks active coarse decisions against updated flow-level decisions to detect confidence drift. On 12,000-flow traces, the accuracy-oriented configuration retains 4686 entries with a 60.95% compression ratio on CIC-IDS2017 and 9816 entries with an 18.20% compression ratio on CIC-IDS2019. An aggressive configuration reaches 99.08% compression on CIC-IDS2019 without revalidation, but its detection rate collapses under a stale-rule stress case; revalidation every 100 coarse hits restores the detection rate to 86.71%, with 57.64% compression and 49.66% net inference avoidance. Controlled one-million-flow scaling and BMv2/P4 functional tests further assess algorithmic scalability and software-target behavior.

Authors

Institutions

Publication Details

Journal
Journal of King Saud University - Computer and Information Sciences
Published
2026-11-30
DOI
https://doi.org/10.1007/s44443-026-01474-z
Primary Topic
Network Packet Processing and Optimization
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Trade-off between rule compression and detection error in SDN anomaly detection

Qinglei Qi, Jinjiang Liu, Chengqi Ruan, Xiao Tian et al.
Journal of King Saud University - Computer and Information Sciences
Network Packet Processing and Optimization
article

Trade-off between rule compression and detection error in SDN anomaly detection

Qinglei Qi, Jinjiang Liu, Chengqi Ruan, Xiao Tian, Donglai Xu, Junchao Gao
article en

Abstract

The coordination of software-defined networking (SDN) and programmable data planes enables anomaly-detection results to be translated into switch-side enforcement rules. However, installing one fine-grained rule per flow makes table occupancy, update traffic, and controller bookkeeping grow with the flow population. We propose an error-constrained coarse-grained flow-table compression method that aggregates five-tuple rules carrying anomaly confidence scores. New candidates are generated from joint address-prefix, port-bucket, and protocol templates and filtered by coverage and their actual mean/maximum confidence errors. Incremental merges update representative scores and historical error summaries, while heuristic promotion controls controller-history release. A temporary/stable lifecycle separates logical exact-entry removal from controller-history deletion; fine-first matching gives priority only to exact rules still present in the table. Periodic revalidation checks active coarse decisions against updated flow-level decisions to detect confidence drift. On 12,000-flow traces, the accuracy-oriented configuration retains 4686 entries with a 60.95% compression ratio on CIC-IDS2017 and 9816 entries with an 18.20% compression ratio on CIC-IDS2019. An aggressive configuration reaches 99.08% compression on CIC-IDS2019 without revalidation, but its detection rate collapses under a stale-rule stress case; revalidation every 100 coarse hits restores the detection rate to 86.71%, with 57.64% compression and 49.66% net inference avoidance. Controlled one-million-flow scaling and BMv2/P4 functional tests further assess algorithmic scalability and software-target behavior.

Journal of King Saud University - Computer and Information SciencesVol. 38(10)
Nanyang Normal University (CN)
Network Packet Processing and Optimization
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon
Trade-off between rule compression and detection error in SDN anomaly detection — Qinglei Qi, Jinjiang Liu, et al. · Journal of King Saud University - Computer and Information Sciences (2026) | TGRS Research Map | TGRS