Views
No views yet




Franco Terranova, Sana Rekbi, Abdelkader Lahmadi, Isabelle Chrisment. Multi-Taxonomy Vulnerability Classification with Hierarchically Finetuned Language Models. The 23rd Conference on Detection of Intrusions and Malware & Vulnerability Assessment (DIMVA '26).
| Property | Value |
|---|---|
| Taxonomy | MITRE ATT&CK Enterprise Subtechniques |
| Task | Multi-label text classification |
| Input | Vulnerability description (e.g., CVE summary) |
| Output | One or more ATT&CK identifiers |
| Number of labels | 175 |
| Number of samples | 231,009 |
| Latest CVE update included | 17/06/2026 |
| Split | train (60%), val (20%), test (20%) |
| LRAP | MRR | Coverage Error | Label Ranking Loss | P@1 | P@3 | P@5 | R@1 | R@3 | R@5 |
|---|---|---|---|---|---|---|---|---|---|
| 0.9071 | 0.9409 | 20.00 | 0.0208 | 0.9255 | 0.9044 | 0.8417 | 0.1279 | 0.3757 | 0.5522 |
| Micro P | Micro R | Micro F1 | Macro F1 | Weighted F1 | Hamming Loss | Subset Accuracy |
|---|---|---|---|---|---|---|
| 0.8420 | 0.7650 | 0.8017 | 0.3859 | 0.7905 | 0.0286 | 0.6777 |
1from transformers import AutoTokenizer, AutoModelForSequenceClassification
2import torch
3
4tokenizer = AutoTokenizer.from_pretrained("Sana9/distilbert-vuln2attack-flat")
5model = AutoModelForSequenceClassification.from_pretrained("Sana9/distilbert-vuln2attack-flat")
6
7text = "Buffer overflow vulnerability in OpenSSL allows remote attackers to execute arbitrary code."
8
9with torch.no_grad():
10 probs = torch.sigmoid(
11 model(**tokenizer(text, return_tensors="pt", truncation=True)).logits
12 )[0]
13
14predictions = {
15 model.config.id2label[i]: p.item()
16 for i, p in enumerate(probs)
17 if p > 0.5
18}
19
20print(predictions)1@inproceedings{terranova2026multitaxonomy,
2 author = {Franco Terranova and Sana Rekbi and Abdelkader Lahmadi and Isabelle Chrisment},
3 title = {Multi-Taxonomy Vulnerability Classification with Hierarchically Finetuned Language Models},
4 booktitle = {Proceedings of the International Conference on Detection of Intrusions and Malware, and Vulnerability Assessment (DIMVA)},
5 year = {2026},
6 month = jul,
7 address = {Chania, Crete, Greece},
8 note = {HAL identifier: hal-05500820v2}
9}