Research map / Large language models / Language, safety and interpretability
VerilogLAVD: LLM-Aided Pattern Generation for Verilog CWE Detection
Xiang Long, Yingjie Xia, Li Kuang, Yao Wan, Zihao Liu
Hangzhou Dianzi University · Zhejiang University · Central South University · Huazhong University of Science and Technology
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| add VerilogLAVD (VeriPG + validated TDPs) | GPT-4o · Synthetic CWE benchmark | F1: 0.25 -> 0.57 | Improved |
| add VerilogLAVD (VeriPG + validated TDPs) | DeepSeek-V3 · Synthetic CWE benchmark | F1: 0.35 -> 0.50 | Improved |
| add CWE definitions (knowledge) to the prompt | GPT-4o · Synthetic CWE benchmark | F1: 0.21 -> 0.25 | Improved |
| add CWE definitions (knowledge) to the prompt | DeepSeek-V3 · Synthetic CWE benchmark | F1: 0.24 -> 0.34 | Improved |
| add the TDP Validator (ablation) | VerilogLAVD · TDP generation misuse (DeepSeek-V3) | total misuse rate: 36.84% -> 10.10% | Improved |
| add the TDP Validator (ablation) | VerilogLAVD · TDP generation misuse (DeepSeek-V3) | IPTR: 23.96% -> 3.49% | Improved |
| add CFG/DDG context to AST-only TDP extraction (ablation) | VerilogLAVD · Graph fusion ablation | F1: 0.53 -> 0.59 | Improved |
| add CFG/DDG context to AST-only TDP extraction (ablation) | VerilogLAVD · Graph fusion ablation | recall: 69.23% -> 61.54% | Hurt |
| use VerilogLAVD instead of CWEAT | VerilogLAVD · CWE-1280 recall | recall: 60.00% -> 84.91% | Improved |
| use VerilogLAVD instead of CWEAT | VerilogLAVD · CWE-1234 recall | recall: 75.00% -> 65.20% | Hurt |
| use VerilogLAVD instead of an agentic GPT-4o baseline | VerilogLAVD (GPT-4o) · Synthetic CWE benchmark | F1: 0.33 -> 0.57 | Improved |
Open problems in data and hallucination detection
Can hallucinations and training-data use be detected without model internals, across languages, long outputs and larger models?
- Needs internal states or token probabilities, so closed API models are out. · 19 papers state it
- Results come from small open models, not frontier or reasoning models. · 17 papers state it
- Tested only on English text in the detection setups. · 10 papers state it
Closest papers by meaning
- VeriThoughts: Enabling Automated Verilog Code Generation using Reasoning and Formal Verification (NeurIPS 2025 · similarity 0.88)
- HierSVA: A Synthesis Pipeline, Dataset, and Benchmark for LLM-Driven Hierarchical Hardware Formal Verification (NeurIPS 2026 · similarity 0.86)
- VeriLoC: Line-of-Code Level Prediction of Hardware Design Quality from Verilog Code (NeurIPS 2025 · similarity 0.85)
- CraftRTL: High-quality Synthetic Data Generation for Verilog Code Models with Correct-by-Construction Non-Textual Representations and Targeted Code Repair (ICLR 2025 · similarity 0.85)
- IRIS: LLM-Assisted Static Analysis for Detecting Security Vulnerabilities (ICLR 2025 · similarity 0.85)
- BetterV: Controlled Verilog Generation with Discriminative Guidance (ICML 2024 · similarity 0.83)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.