| Post Reply | RetroFed Forums Forum Index » Security |
| Author | Message | ||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Cedric
lemmy.ml
cedric@lemmy.mlJoined: 2020-09-02 |
We recently made significant improvements to our CNVD severity classifier and the underlying Vulnerability-CNVD dataset, prompted by a thorough independent review from Eric Romang. These changes ship in VulnTrain v3.0.0, released today. What happenedEric opened VulnTrain#19 with a detailed technical analysis of the dataset and model. His key findings:
His full analysis, code, and data are available at eromang/researches/CNVD-Dataset-Validation. What we fixedData leakageWe implemented a Class imbalance experimentsWe tested four loss strategies to improve Low-class recall:
Every strategy that improved Low recall caused disproportionate Medium recall loss. The Low/Medium vocabulary overlap in CNVD descriptions makes this a data-level ceiling, not a loss-function problem. Eric's own experience with the CyberScale Phase 1 project — predicting 4-class CVSS bands from CVE descriptions using ModernBERT-base — reached the same conclusion: nothing moved the needle beyond ~2pp. Adjacent severity classes share vocabulary because vulnerability descriptions are formulaic. We defaulted to uniform loss and documented the Low class limitation. Dataset improvementsThe Vulnerability-CNVD dataset now includes:
The RMSV effectThe RMSV regulations deserve attention. Before September 2021, CNVD published vulnerability details for most of the IDs it reserved. After the regulations took effect, publication rates dropped sharply. As a result, the CNVD dataset is increasingly sparse for recent years and the model's training data is concentrated in pre-2022 entries. Users should be aware of this temporal bias. CNVD reserves 50,000–100,000 vulnerability IDs per year but publishes full details for only a fraction. As noted above, the publication rate has declined significantly:
Model cardThe model card is now dynamically generated from actual training metrics and documents the known limitations: Low-class recall, keyword dependency, negation blindness, and CVE overlap. Links
AcknowledgmentsThanks to Eric Romang for his detailed and constructive analysis. His work directly led to these improvements and confirmed that the model adds real value (+12pp over a keyword heuristic baseline) despite its limitations. FundingAIPITCH aims to create advanced artificial intelligence-based tools supporting key operational services in cyber defense. The project leader is NASK National Research Institute. The international consortium includes:
Funded by the European Union. Views and opinions expressed are however those of the author(s) only and do not necessarily reflect those of the European Union or the European Cybersecurity Competence Centre. |
||||||||||||||||||||||
| 2 Original | |||||||||||||||||||||||
| Post Reply |
Back to top |