Home / Journals / CMC / Online First / doi:10.32604/cmc.2026.084490
Special Issues
Table of Content

Open Access

ARTICLE

A Compact Hybrid TCN-BiGRU-TinyTransformer Framework for Fine-Grained Multiclass Intrusion Detection

Ye Lu1, Haoyang Hu*, Wenyi Chang1, Wanbin Liu1, Wenyuan Zhang2
1 School of Computer Science and Artificial Intelligence, Lanzhou University of Technology, Lanzhou, China
2 School of Mechanical and Electrical Engineering, Lanzhou University of Technology, Lanzhou, China
* Corresponding Author: Haoyang Hu. Email: email

Computers, Materials & Continua https://doi.org/10.32604/cmc.2026.084490

Received 23 April 2026; Accepted 24 June 2026; Published online 24 July 2026

Abstract

Fine-grained multiclass intrusion detection over flow-level traffic remains difficult, largely because class boundaries are often entangled, temporal dependence is non-negligible, and the label distribution is heavily long-tailed. In this study, a compact temporal convolutional network (TCN)-bidirectional gated recurrent unit (BiGRU)-TinyTransformer framework is developed to bring these issues into a single modeling pipeline: the TCN branch focuses on short-range anomalous patterns, the BiGRU branch captures bidirectional temporal structure, and the TinyTransformer branch complements them with broader contextual interaction learning. To reduce the bias induced by extreme imbalance, training is not driven by a single correction mechanism, but by a coordinated strategy that combines class-balanced (CB) sampling and weighting, label-distribution-aware margin (LDAM)-Focal loss, and staged warmup plus deferred re-weighting (DRW) optimization. On the NetFlow-based UNSW-NB15-v2 dataset (NF-UNSW-NB15-v2), the resulting model reaches 98.06% Accuracy, 98.05% Weighted-F1, and 80.19% Macro-F1. These results point to a practical improvement in fine-grained attack discrimination, especially for minority classes, without weakening overall detection performance.

Keywords

Intrusion detection; fine-grained multiclass classification; long-tailed learning; compact hybrid architecture; temporal convolutional network
  • 122

    View

  • 20

    Download

  • 0

    Like

Share Link