HARP: Hierarchical Adaptive Ranking with Preference-Adaptive Fusion for Query-Based CVE Prioritization
Organizations: University of Virginia · NEC Laboratories America
Abstract
Vulnerability prioritization is inherently preference dependent, since the same CVE can receive different remediation priority under different operational preference scenarios. Existing scoring systems and ranking methods typically assume a fixed criterion. In practice, organizations already operate under a preference scenario, but this preference is often implicit and difficult to express as a written prompt instruction, while triage queries usually do not encode it. Past validated triage cases under the current scenario are more readily available. We study query-based CVE prioritization in this setting and propose HARP, a graph-grounded multi-view framework that ranks candidates from a natural-language query together with a support bank of historical labeled examples from the current preference scenario, without requiring an explicit textual summary of that scenario. HARP retrieves evidence from a vulnerability knowledge graph, scores candidates with policy-conditioned global, enterprise, and user views, and fits view-fusion weights from sampled supports. Experiments across three preference scenarios and multiple backbone LLMs show that HARP outperforms multiple baselines, expressing our method's effectiveness.
Figures & tables
| Setting | Method | Importance | Exploit_First | Patch_Order | ||||||
| P@k | MAP@k | MRR@k | P@k | MAP@k | MRR@k | P@k | MAP@k | MRR@k | ||
| Non-LLM | Industrial Signals | 0.4945 | 0.3594 | 0.3304 | 0.5057 | 0.3672 | 0.3385 | 0.4966 | 0.3621 | 0.3327 |
| BM25 | 0.4882 | 0.3783 | 0.3319 | 0.4566 | 0.3487 | 0.3066 | 0.4755 | 0.3703 | 0.3277 | |
| GPT-OSS-20B | HARP | 0.5685 | 0.4598 | 0.4194 | 0.5758 | 0.4534 | 0.4123 | 0.5921 | 0.4833 | 0.4414 |
| Global | 0.4700 | 0.4208 | 0.3541 | 0.4422 | 0.3946 | 0.3228 | 0.4634 | 0.4168 | 0.3495 | |
| Enterprise | 0.4852 | 0.4357 | 0.3709 | 0.4730 | 0.4167 | 0.3505 | 0.5117 | 0.4522 | 0.3876 | |
| Backbone LLM | Method | Importance | Exploit_First | Patch_Order | ||||||
| P@k | MAP@k | MRR@k | P@k | MAP@k | MRR@k | P@k | MAP@k | MRR@k | ||
| GPT-OSS-20B | HARP | 0.5685 | 0.4598 | 0.4194 | 0.5758 | 0.4534 | 0.4123 | 0.5921 | 0.4833 | 0.4414 |
| Mixed Support Bank | 0.5340 | 0.4395 | 0.3985 | 0.5175 | 0.4180 | 0.3765 | 0.5585 | 0.4580 | 0.4175 | |
| No Regularization | 0.5601 | 0.4526 | 0.4128 | 0.5204 | 0.4051 | 0.3706 | 0.5605 | 0.4431 | 0.4076 | |
| Equal Weight | 0.5317 | 0.4380 | 0.3974 | 0.5192 | 0.4197 | 0.3776 | 0.5608 | 0.4604 | 0.4190 | |
| Random Weight | 0.4056 | 0.3109 | 0.2926 | 0.4115 | 0.3204 | 0.2963 | 0.4106 | 0.3071 | 0.2881 | |
Appendix figures & tables6 assets
Supplementary material from the paper’s appendix.
Appendix
| Backbone | Importance | Exploit_First | Patch_Order | ||||||
| P@k | MAP@k | MRR@k | P@k | MAP@k | MRR@k | P@k | MAP@k | MRR@k | |
| GPT-OSS-20B | 0.0082 | 0.0068 | 0.0061 | 0.0084 | 0.0069 | 0.0062 | 0.0079 | 0.0068 | 0.0062 |
| Llama3-8B | 0.0054 | 0.0058 | 0.0056 | 0.0055 | 0.0060 | 0.0057 | 0.0053 | 0.0059 | 0.0056 |
| Qwen2.5-7B-Instruct | 0.0038 | 0.0042 | 0.0040 | 0.0034 | 0.0039 | 0.0039 | 0.0030 | 0.0028 | 0.0036 |
| Feature | Contribution Rule |
| exploit | if KNOWN_EXPLOITED ; if has_exploit is true; otherwise |
| severity | If base_score exists, ; otherwise use severity mapping |
| patch | if has_patch_in_references is true; otherwise |
| attack_vector | NETWORK: ; ADJACENT: ; LOCAL: ; PHYSICAL: ; otherwise |
| recency | |
| version_info |
| Policy | exploit | severity | patch | attack | recency | version | reference | cwe | platform | scope |
| global_balanced | 2.5 | 2.0 | 0.5 | 0.8 | 0.5 | 0.3 | 0.3 | 0.2 | 0.1 | 0.2 |
| global_exploit_first | 3.5 | 1.0 | 0.3 | 0.5 | 0.6 | 0.2 | 0.2 | 0.1 | 0.0 | 0.2 |
| global_severity_first | 2.0 | 2.5 | 1.0 | 0.5 | 0.3 | 0.5 | 0.2 | 0.2 | 0.1 | 0.2 |
| global_recent | 1.5 | 1.0 | 0.5 | 0.3 | 2.5 | 0.3 | 0.5 | 0.2 | 0.1 | 0.2 |
| global_version_aware | 1.5 | 1.5 | 1.0 | 0.4 | 0.3 | 2.0 | 0.3 | 0.2 | 0.2 | 0.2 |
| enterprise_patch | 2.0 | 1.0 | 2.0 | 0.3 | 0.2 | 0.6 | 0.4 | 0.1 | 0.1 | 0.2 |
Cybersecurity
Cybersecurity develops methods to protect digital and cyber-physical systems from attacks, vulnerabilities, data loss, and misuse.
See all 354 papers