AI
Unified Labels Alone Don't Solve Cross-Dataset Cybersecurity NER Problem
Researchers find that standardizing entity labels across disparate cybersecurity datasets paradoxically underperforms single-dataset approaches, prompting a rethink of how to combine security data.
Cybersecurity named entity recognition (NER) research has long struggled with fragmented labeling schemes across different datasets, limiting the ability to pool resources and build more robust models. A new arXiv study digs into whether label standardization can unlock better generalization—and finds the answer is more complicated than expected.
The Label Fragmentation Problem#
Cybersecurity researchers rely on NER systems to automatically identify entities like malware names, vulnerabilities, and threat actors in unstructured text. However, existing datasets in this domain each define entity categories differently, making it nearly impossible to combine them into larger training corpora. This fragmentation forces researchers to pick one dataset or rebuild models from scratch when switching between sources.
Unifying Labels Across Four Datasets#
The researchers took on this challenge by attempting a coarse-grained label unification strategy spanning four cybersecurity NER datasets. They then trained RoBERTa-based models in a pairwise cross-dataset evaluation setup to measure how well unified training improved performance.
Surprising Underperformance#
The results proved counterintuitive. Models trained on the unified, combined data actually performed worse than their single-dataset counterparts across all four development sets—a finding that suggests simply aligning labels isn't sufficient to unlock the benefits of scale. To investigate whether architectural innovations might help, the team tested a multi-head model with weight sharing and a graph-based transfer model. Neither approach showed consistent improvements over the single-dataset baselines.
What Comes Next#
The work highlights hidden friction points in cross-dataset generalization: dataset differences, annotation inconsistencies, and domain-specific variations appear to matter more than label standardization alone. The authors' analysis of model predictions reveals errors and limitations that point toward deeper structural challenges requiring more targeted solutions beyond surface-level label alignment.

