2D-AEF: Low-latency sparse expert routing for network intrusion detection

Network intrusion detection systems must operate under strict latency constraints while maintaining reliable detection performance across heterogeneous traffic patterns. Traditional ensemble methods often improve predictive performance but require multiple model evaluations during inference, increasing computational costs. This paper presents 2D-AEF, a two-stage adaptive framework for network intrusion detection based on sparse conditional computation. A shallow decision-tree gatekeeper routes each traffic sample to a class-specialized expert selected through an offline search over model–feature subset pairs. Unlike conventional ensembles, only one expert is activated during inference, reducing computational overhead. The proposed framework was evaluated on UNSW-NB15 binary, UNSW-NB15 multi-class, and leakage-controlled CIC-IDS2018 robust scenarios. Experimental comparisons included strong standalone baselines and ensemble methods based on hard voting, soft voting, and stacking. Across ten random seeds, 2D-AEF achieved macro-F1 scores of 0.890, 0.461, and 0.871 on the three scenarios, respectively. While not consistently outperforming the strongest classifiers in predictive performance, the proposed framework reduced median inference latency by factors ranging from 6.5x to 12.5x compared with stacking. The results demonstrate that class-conditioned sparse routing provides an effective strategy for balancing detection performance and inference efficiency in network intrusion detection systems.

Authors

Institutions

Publication Details

Journal
Computer Networks
Published
2026-11-01
DOI
https://doi.org/10.1016/j.comnet.2026.112901
Primary Topic
Network Security and Intrusion Detection
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

2D-AEF: Low-latency sparse expert routing for network intrusion detection

Kelton Augusto Pontara da Costa, João Paulo Papa, Thiago José Lucas, Celso Lisboa et al.
3 links
Computer Networks
Network Security and Intrusion Detection
article

2D-AEF: Low-latency sparse expert routing for network intrusion detection

Kelton Augusto Pontara da Costa, João Paulo Papa, Thiago José Lucas, Celso Lisboa, Ronaldo Moreno
article en

Abstract

Network intrusion detection systems must operate under strict latency constraints while maintaining reliable detection performance across heterogeneous traffic patterns. Traditional ensemble methods often improve predictive performance but require multiple model evaluations during inference, increasing computational costs. This paper presents 2D-AEF, a two-stage adaptive framework for network intrusion detection based on sparse conditional computation. A shallow decision-tree gatekeeper routes each traffic sample to a class-specialized expert selected through an offline search over model–feature subset pairs. Unlike conventional ensembles, only one expert is activated during inference, reducing computational overhead. The proposed framework was evaluated on UNSW-NB15 binary, UNSW-NB15 multi-class, and leakage-controlled CIC-IDS2018 robust scenarios. Experimental comparisons included strong standalone baselines and ensemble methods based on hard voting, soft voting, and stacking. Across ten random seeds, 2D-AEF achieved macro-F1 scores of 0.890, 0.461, and 0.871 on the three scenarios, respectively. While not consistently outperforming the strongest classifiers in predictive performance, the proposed framework reduced median inference latency by factors ranging from 6.5x to 12.5x compared with stacking. The results demonstrate that class-conditioned sparse routing provides an effective strategy for balancing detection performance and inference efficiency in network intrusion detection systems.

Computer Networks
Universidade Estadual Paulista (Unesp) (BR)
Openalex Percentile: Top 62%
Network Security and Intrusion Detection
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