← Lab /AI/ML

Open-weight LLMs generate STIX for CAV CVEs with high accuracy for assets

Open-weight LLMs can reliably produce structured threat information for autonomous vehicle vulnerabilities, achieving high F1 for SDO and CWE but low for SRO and ATT&CK

AI/ML arXiv 17 Jul 2026 Measurement Simulation evidence

Published as “Evaluating Open-Weight LLMs for Generating Structured Threat Information for Autonomous Vehicle Vulnerabilities”

Why it matters

Automating CVE-to-STIX conversion can speed up automotive threat analysis and enable more systematic vulnerability prioritization.

Summary

Open-weight LLMs can generate structured STIX from CAV CVE text with up to 0.94 F1 for object extraction, 0.63 F1 for relationship extraction, and 0.99 F1 for CWE mapping, especially when using dynamic few-shot prompting; however, ATT&CK technique mapping remains difficult and relationship extraction is comparatively weak.

What they found 1

  1. Dynamic few-shot prompting yields the highest object extraction performance.

    “For example, Phi-4 achieves an SDO extraction F1 score of 0.94 under dynamic few-shot, while Qwen-Coder achieves a relationship extraction F1 score of 0.63.”

Caveats 4

  • Relationship extraction tops out at only 0.63 F1, far below the 0.94 F1 for object extraction.
  • Complete ATT&CK mapping remains challenging because a CVE can involve multiple valid techniques.
  • complete ATT&CK mapping remained more challenging because one CVE can involve multiple valid attack techniques.
  • relationship extraction remains more complex than object extraction because models must identify the relevant STIX Domain Objects, determine the correct source and target objects, and assign the appropriate relationship type.

What’s new here 4

  • Introduces the first CAV-focused CVE-to-STIX benchmark (CAV-STIXGen) linking CVE descriptions to STIX, CWE, and ATT&CK annotations.
  • Evaluates a broad set of open-weight LLMs (4B-120B parameters) on this task across three prompting strategies.
  • Analyzes how prompting (contextless, STIX-guided, dynamic few-shot) impacts each sub-task (SDO, SRO, CWE, ATT&CK).
  • Explores a multi-agent pipeline that decomposes generation into specialized stages.