arXiv AI

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

arXiv:2607. 11994v1 Announce Type: cross 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.

Hugging Face Trending Papers
Jul 8

Multi-Class vs. Multi-Label BERT for CVE-to-CWE Mapping: How Taxonomy Structure Shapes the Errors

Assigning Common Weakness Enumeration (CWE) categories to Common Vulnerabilities and Exposures (CVE) records remains an important but largely manual step in vulnerability analysis. We study this task as a text classification problem and compare two modelling choices: a \emph{multi-class} formulation that predicts a single CWE per CVE and a \emph{multi-label} formulation that allows multiple assignments.

arXiv AI
Sep 17

MiST: Mid-Training LLMs for Cybersecurity

MiST (Mid-trained Security Transformer) is a suite of 8B and 32B language models tailored for cybersecurity, achieving strong performance on public benchmarks. The approach uses a mid-training stage that adapts general pre-trained models to the domain by curating a compact, expert-vetted seed corpus and generating high-quality synthetic training data, rather than continual pre-training on large raw text. MiST checkpoints improve mean cybersecurity accuracy by +13.1 and +8.6 absolute percentage points over Qwen baselines for 8B and 32B models, respectively, and provide a stronger initialization for downstream task-specific fine-tuning and reinforcement learning.

By Oded Ovadia, Elad Ben Zaken, Elad Guttman, Orly Moreno Kadosh
arXiv Computation and Language
Oct 16

LLM-Based Weak Annotation for Cybersecurity Tweet Classification: A Teacher-Student Framework

The paper introduces a Teacher-Student framework that uses a large language model (LLM) to generate weak labels for unlabeled cybersecurity tweets, enabling the training of domain‑specific pre‑trained language models (PLMs) without extensive manual annotation. Experiments demonstrate that PLMs trained solely on these LLM‑generated labels achieve F1 scores above 0.92, within 3 percentage points of fully human‑supervised models across all evaluated architectures. This approach offers a practical alternative for creating cybersecurity‑specific training data when expert annotation resources are scarce.

By Ferry Afit Kurniawan, Kazushi Okamoto, Koki Karube, Kei Harada, Atsushi Shibata
arXiv Machine Learning
Aug 27

Noise Contrastive Estimation-based Matching Framework for Low-Resource Security Attack Pattern Recognition

The paper introduces a Noise Contrastive Estimation (NCE)-based matching framework for recognizing low‑resource security attack patterns, specifically Tactics, Techniques, and Procedures (TTPs). It reframes TTP mapping as a semantic similarity matching problem rather than a traditional multi‑class classification, thereby mitigating issues of large label sets, skewed distributions, and hierarchical complexity. The proposed neural architecture employs a sampling‑based learn‑to‑compare mechanism with two objectives: an α‑balanced NCE to manage the overall mass of sampled negatives and an asymmetric focusing objective to handle incomplete annotations during individual comparisons.

By Tu Nguyen, Nedim \v{S}rndi\'c, Alexander Neth