Skip to content
Conference Open access

Mitigating the Effect of Class Imbalance in Data with Hierarchical and Dependable Structure

Jul 2026 · Annual International Computer Software and Applications Conference · pp. 1471-1476 · 0 citations · 19 references
Computer Science

TL;DR

A Hierarchy-Aware RoBERTa framework that explicitly incorporates CWE structural information through learnable parent-class embeddings, preserving taxonomic consistency is proposed, suggesting that hierarchyaware representation learning is a more principled alternative to oversampling for structured vulnerability classification.

Abstract

Classifying cybersecurity vulnerabilities using the Common Weakness Enumeration (CWE) taxonomy is challenging due to extreme class imbalance and strong hierarchical dependencies among weakness categories. Although oversampling techniques such as Synthetic Minority Oversampling Technique (SMOTE) and Adaptive Synthetic Sampling (ADASYN) are widely adopted to mitigate class imbalance, their effectiveness for hierarchical CWE text classification remains largely unexplored. This paper proposes a Hierarchy-Aware RoBERTa framework that explicitly incorporates CWE structural information through learnable parent-class embeddings, preserving taxonomic consistency. Our experiments demonstrate that synthetic interpolation in high-dimensional embedding spaces violates the inherent parent-child constraints of the CWE hierarchy, offering only marginal benefits for classical ML models while consistently degrading deep learning architectures. Evaluated on a CWE Research Concept dataset, the proposed model achieves a weighted F1-score of 0.76 without data augmentation, outperforming all baselines with notable gains on minority classes, including the Class category whose F1-score improves from 0.49 to 0.60 over the BERT baseline. Our results suggest that hierarchyaware representation learning is a more principled alternative to oversampling for structured vulnerability classification.

Read PDF

Similar papers

Aug 2026

CSW-AL: A category-scaling weight schema for imbalanced multi-domain active learning.

This work introduces a comprehensive framework featuring a dynamic category-scaling weight mechanism that hierarchically addresses imbalance at the sample and domain levels, and builds a progressively refined "Ideal Domain" through the adaptive integration of well-performing domains.

Yanchao Li, Guanxiao Li, Xiao-Li Wang et al. · 0 citations
Conference Open access 2026

Graph–Temporal Fraud Detection with Triplet Loss under Class Imbalance

Financial fraud detection in transaction networks is challenging due to evolving attack strategies, complex relational structures, and extreme class imbalance. We propose a hybrid deep learning model that fuses Graph Convolutional Neural Networks (GCNNs) with bidirectional LSTMs enhanced by temporal attention, enabling...

Ofonime Dominic Okon, Imo Enang, B. Stephen et al. · 0 citations
#large language models Open access Sep 2026

Leakage-Aware LLM Augmentation for Attrition Prediction: A DecisionCentric Evaluation

A leakage-aware, dual-network augmentation framework that integrates the semantic reasoning of Large Language Models with the distributional rigorousness of GAN discriminators is proposed, offering HR practitioners a robust, decision-centric tool to identify at-risk employees without sacrificing transparency.

Wei-Quan Liao, Jia-You Xu, Ekaterina A. Panova · 0 citations
Open access Aug 2026

H-LLM-IM: An Adaptive Imbalance-Aware Hybrid Framework Using LLM-Based Code Embeddings for Software Vulnerability Detection

The results demonstrate that the proposed adaptive framework substantially improves minority-class vulnerability detection, achieving up to a 2.5-fold increase in F1-score and up to 83% improvement in MCC compared to the no-imbalance baseline.

Fatma Altınsoy · 0 citations
Open access Sep 2026

A Hybrid SMOTE-CTGAN and VAE-LSTM Framework for Interpretable Intrusion Detection in Imbalanced Network Traffic

The increasing sophistication of cyber threats and severe class imbalance in network traffic continue to challenge traditional intrusion detection systems. This study proposes a hybrid framework that integrates SMOTE and CTGAN for minority-class augmentation, a Bidirectional Long Short-Term Memory (Bi-LSTM) network for...

Felicia Maake, Justice Nkoana, V. Baloyi 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.