Open Access iconOpen Access

ARTICLE

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

Ye Lu1, Haoyang Hu1,*, 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 2026, 89(1), 47 https://doi.org/10.32604/cmc.2026.084490

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

Cite This Article

APA Style
Lu, Y., Hu, H., Chang, W., Liu, W., Zhang, W. (2026). A Compact Hybrid TCN-BiGRU-TinyTransformer Framework for Fine-Grained Multiclass Intrusion Detection. Computers, Materials & Continua, 89(1), 47. https://doi.org/10.32604/cmc.2026.084490
Vancouver Style
Lu Y, Hu H, Chang W, Liu W, Zhang W. A Compact Hybrid TCN-BiGRU-TinyTransformer Framework for Fine-Grained Multiclass Intrusion Detection. Comput Mater Contin. 2026;89(1):47. https://doi.org/10.32604/cmc.2026.084490
IEEE Style
Y. Lu, H. Hu, W. Chang, W. Liu, and W. Zhang, “A Compact Hybrid TCN-BiGRU-TinyTransformer Framework for Fine-Grained Multiclass Intrusion Detection,” Comput. Mater. Contin., vol. 89, no. 1, pp. 47, 2026. https://doi.org/10.32604/cmc.2026.084490



cc Copyright © 2026 The Author(s). Published by Tech Science Press.
This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
  • 163

    View

  • 36

    Download

  • 0

    Like

Share Link