mlsanityData to 14 Oct 2026

Hybrid-NL2SVA: Integrating RAG and Finetuning for LLM-based NL2SVA

arXiv 2506.21569 ↗First posted 12 Jun 2025cs.CL cs.AIcited by 6

On the map: Retrieval-augmented generation → RAG pipeline design and evaluation

Abstract (arXiv)

SystemVerilog Assertions (SVAs) are critical for verifying the correctness of hardware designs, but manually writing them from natural language property descriptions, i.e., NL2SVA, remains a labor-intensive and error-prone task. Recent advances in large language models (LLMs) offer opportunities to automate this translation. However, existing models still struggle with understanding domain-specific syntax and semantics. To enhance LLM performance in NL2SVA, we propose a customized retrieval-augmented generation (RAG) framework and a synthetic fine-tuning dataset that together improve LLM's performance. To further improve lightweight models over NL2SVA, our fine-tuning dataset provides prompt-guided explanations that teach LLMs the layer-by-layer construction process of concurrent SVAs, enabling supervised fine-tuning that greatly improves syntax and functionality accuracy. To evaluate the performance of LLMs over NL2SVA, we construct the largest evaluation dataset for NL2SVA, comprising 40 Verilog designs and 229 formally verified SVAs with detailed annotations. Experimental results show that our customized RAG framework increases the number of functionality matched SVAs by 58.42% over GPT-4o-mini, while Qwen2.5-Coder-7B-Instruct fine-tuned on our fine-tuning dataset and integrated with HybridRetrieval achieves a 59.05% over the base Qwen model.

Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Placed in RAG pipeline design and evaluation, one of 15 directions in Retrieval-augmented generation. Builds on 16 of its 34 references that are in the map. First posted on arXiv 12 Jun 2025.

Builds on

16 of 34 references.

Closest ancestors · 1

Same direction, newest first

  1. 2024Improving Retrieval for RAG based Question Answering Models on Financial Documents23 Mar

Other references · 15

  1. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
  2. 2024LlamaFactory: Unified Efficient Fine-Tuning of 100+ Language Modelscited by 1,464
  3. 2024Qwen2.5-Coder Technical Reportcited by 1,203
  4. 2024Benchmarking Retrieval-Augmented Generation for Medicinecited by 331
  5. 2023nl2spec: Interactively Translating Unstructured Natural Language to Temporal Logics with Large Language Modelscited by 60
  6. 2024Don't Forget to Connect! Improving RAG with Graph-based Rerankingcited by 49
  7. 2024MAIN-RAG: Multi-Agent Filtering Retrieval-Augmented Generationcited by 44
  8. 2024AssertLLM: Generating Hardware Verification Assertions from Design Specifications via Multi-LLMscited by 31
  9. 2024ChunkRAG: Novel LLM-Chunk Filtering Method for RAG Systemscited by 23
  10. 2024ChIRAAG: ChatGPT Informed Rapid and Automated Assertion Generationcited by 16
  11. 2024AssertionBench: A Benchmark to Evaluate Large-Language Models for Assertion Generationcited by 16
  12. 2024FVEval: Understanding Language Model Capabilities in Formal Verification of Digital Hardwarecited by 10
3 more
  1. 2024Toward Conversational Agents with Context and Time Sensitive Long-term Memorycited by 8
  2. 2025Spec2Assertion: Automatic Pre-RTL Assertion Generation using Large Language Models with Progressive Regularizationcited by 8
  3. 2024Automatic High-quality Verilog Assertion Generation through Subtask-Focused Fine-Tuned LLMs and Iterative Promptingcited by 4

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 6.

6 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025SysVCoder: An LLM-Driven Framework for Systematic Generation of System-Level Design
  2. 2026SpecAlign: A Semantic Alignment Framework for SystemVerilog Assertion Generation
  3. 2025A Library of LLM Intrinsics for Retrieval-Augmented Generation
  4. 2023LLM4VV: Developing LLM-Driven Testsuite for Compiler Validation
  5. 2024MeTMaP: Metamorphic Testing for Detecting False Vector Matching Problems in LLM Augmented Generation
  6. 2024New Solutions on LLM Acceleration, Optimization, and Application
  7. 2024AutoVCoder: A Systematic Framework for Automated Verilog Code Generation using LLMs
  8. 2025V-Seek: Accelerating LLM Reasoning on Open-hardware Server-class RISC-V Platforms