Skip to content
Conference Open access

Proto-CBANet: A Statistical Metric Learning Framework for Imbalanced Intrusion Detection

2026 · International Conference on Security and Cryptography · pp. 486-491 · 0 citations · 10 references
Computer Science

TL;DR

Pro Proto-CBANet (Prototypical Class-Balanced Attention Network), which combines a 1D-CNN with an Average-Pooling Squeeze-and-Excitation block for feature recalibration, enabling distance-based reasoning in a latent metric space, and develops an advanced variant, HPN-GLF (Hyperspherical Prototypical Network with Global-Local Fusion).

Abstract

: The detection of minority network attacks, such as User-to-Root (U2R), remains a challenge due to class imbalance. Traditional deep learning classifiers favor the majority class and exhibit large variations depending upon random initializations. We propose Proto-CBANet (Prototypical Class-Balanced Attention Network), which combines a 1D-CNN with an Average-Pooling Squeeze-and-Excitation block for feature recalibration, enabling distance-based reasoning in a latent metric space. To ensure statistical reliability, we evaluate our model across 60 random seeds. On NSL-KDD, Proto-CBANet achieves an average U2R recall of 61.07% ± 7.18%. To mitigate the trade-off between precision and recall for rare attacks, we further develop an advanced variant, HPN-GLF (Hyperspherical Prototypical Network with Global-Local Fusion). HPN-GLF integrates global learnable prototypes with hypersphere alignment, global-local semantic fusion, and dual-objective metric optimization. This advanced model reduces parameter count and FLOPs by 95% while significantly improving U2R precision from 12.95% to 59.76% and achieving the highest Macro F1 among compared methods. On NF-UNSW-NB15-v2, HPN-GLF attains a Macro F1 of 59.39% and high Shellcode recall (97.09%), indicating its promise for resource-constrained, imbalanced network security environments.

Read PDF

Similar papers

Open access Aug 2026

Investigating Contrastive Learning for Conditional Variational Autoencoders in Network Intrusion Detection

This study investigates three contrastive learning loss functions, Contrastive Loss, Soft Nearest Neighbor Loss, and Supervised Contrastive Loss, integrated into a Conditional Variational Autoencoder (CVAE) regularised via the standard Kullback-Leibler divergence objective, showing the effectiveness of integrating cont...

H. Dinh, W. Zong, Yang-Wai Chow et al. · 0 citations
Conference Open access 2026

A Lightweight NLP-CNN Framework Based on Semantic Flow Representation for Network Intrusion Detection

One lesson emerges from the experiments: putting the effort into how traffic is written down, instead of making the classifier heavier, offers an economical and workable path to intrusion detection across heterogeneous network environments.

Asmaa Benchama, Khalid Zebbara · 0 citations
Open access Aug 2026

HADS-Net: A Hybrid Attention-Based Deep Security Network for Network Intrusion Detection

The principal contribution of this work is architectural and diagnostic rather than a performance improvement: it documents that combining feature-wise attention with out-of-fold stacked generalization does not, in this setting, outperform a plain multi-layer perceptron, while incurring the highest memory footprint of...

Mahima Khanna, V. Murthy, Siva Ramavarapu et al. · 0 citations
Open access Sep 2026

Attention-augmented CNN-BiLSTM with temporal-spatial attention for imbalanced multi-class network intrusion detection

The proposed Attention-Augmented CNN-BiLSTM architecture incorporating a lightweight Temporal-Spatial Attention Module (TSAM) achieves an effective balance between computational efficiency, robustness to severe class imbalance, and accurate multi-class intrusion detection for next-generation IoT security systems.

D. Bhosale, Avinash Dhole, P. B. Deshmukh et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.