EUVIMEDAtrasti EUVIMED
Open access · CC BY 4.0

MeeDet: Efficient Malicious Traffic Detection Method via Mamba-Based Early-Exit Mechanism in IIoT Scenarios

Jiakun Sun, Pengfei Jin, Yabo Wang, Shuyuan Jin

Electronics · 2026-02-28 · 15 (5) · 1017

DOI: 10.3390/electronics15051017 ↗

At a glance

Journal article in Electronics, published online on 2026-02-28. Written by Jiakun Sun and 3 co-authors. 35 references. The full text is freely available (open access, CC BY 4.0). Funded by: National Natural Science Foundation of China.

SantraukaBibliografiniai duomenysCiteRelated studies

Abstract (original language)

Malicious traffic detection in the Industrial Internet of Things (IIoT) faces significant challenges, primarily due to the scarcity of labeled data, high inference latency on resource-constrained edge devices, and the lack of comprehensibility in deep learning models. To overcome these limitations, this paper proposes MeeDet, a novel detection framework that integrates Mamba-based state-space modeling, a dynamic early-exit mechanism, and Large Language Model (LLM)-driven comprehensibility. The proposed MeeDet operates through a four-stage pipeline. First, raw packet captures are preprocessed into header-only, standardized stride-based sequences. Second, a 12-layer unidirectional Mamba backbone is pretrained on unlabeled data using two complementary tasks: Masked Byte Modeling for byte-level semantics and Next-Flow Prediction for long-range flow-level temporal coherence. Third, the model is fine-tuned by attaching lightweight binary heads to each Mamba layer, allowing for the early termination of high-confidence benign samples and adaptive routing of ambiguous flows to deeper layers. Finally, for detected malicious samples, structured prompts containing key network traffic features are processed by an LLM to generate human-readable diagnostic reports, without affecting real-time detection latency. Extensive experiments on five public IIoT datasets demonstrate the superiority of MeeDet over existing baselines. MeeDet achieves F1-scores exceeding 0.98 on key benchmarks while significantly reducing computational overhead. Specifically, at a 1% malicious traffic ratio, MeeDet requires only 1.7 MFLOPs and 1.58 ms of average inference latency, representing a reduction of over 70% in computational cost compared to strong pretrained baselines.

Funding

  • National Natural Science Foundation of China

Cite

APA

Sun, J., Jin, P., Wang, Y., & Jin, S. (2026). MeeDet: Efficient Malicious Traffic Detection Method via Mamba-Based Early-Exit Mechanism in IIoT Scenarios. Electronics, 15(5), 1017. https://doi.org/10.3390/electronics15051017

Vancouver

Sun J, Jin P, Wang Y, Jin S. MeeDet: Efficient Malicious Traffic Detection Method via Mamba-Based Early-Exit Mechanism in IIoT Scenarios. Electronics. 2026;15(5):1017. doi:10.3390/electronics15051017

BibTeX
@article{Sun2026,
  author = {Sun, Jiakun and Jin, Pengfei and Wang, Yabo and Jin, Shuyuan},
  title = {MeeDet: Efficient Malicious Traffic Detection Method via Mamba-Based Early-Exit Mechanism in IIoT Scenarios},
  journal = {Electronics},
  year = {2026},
  volume = {15},
  number = {5},
  pages = {1017},
  doi = {10.3390/electronics15051017}
}
Start for free →