mlsanityData to 14 Oct 2026

VeriLeaky: Navigating IP Protection vs Utility in Fine-Tuning for LLM-Driven Verilog Coding

arXiv 2503.13116 ↗First posted 17 Mar 2025cs.CR cs.AR cs.LGcited by 11

Not on the map. Why?

Abstract (arXiv)

Large language models (LLMs) offer significant potential for coding, yet fine-tuning (FT) with curated data is essential for niche languages like Verilog. Using proprietary intellectual property (IP) for FT presents a serious risk, as FT data can be leaked through LLM inference. This leads to a critical dilemma for design houses: seeking to build externally accessible LLMs offering competitive Verilog coding, how can they leverage in-house IP to enhance FT utility while ensuring IP protection? For the first time in the literature, we study this dilemma. Using LLaMA 3.1-8B, we conduct in-house FT on a baseline Verilog dataset (RTLCoder) supplemented with our own in-house IP, which is validated through multiple tape-outs. To rigorously assess IP leakage, we quantify structural similarity (AST/Dolos) and functional equivalence (Synopsys Formality) between generated codes and our in-house IP. We show that our IP can indeed be leaked, confirming the threat. As defense, we evaluate logic locking of Verilog codes (ASSURE). This offers some level of protection, yet reduces the IP's utility for FT and degrades the LLM's performance. Our study shows the need for novel strategies that are both effective and minimally disruptive to FT, an essential effort for enabling design houses to fully utilize their proprietary IP toward LLM-driven Verilog coding.

Key facts. Cited by 11 papers in the map (data through 14 Oct 2026). Builds on 37 of its 56 references that are in the map. First posted on arXiv 17 Mar 2025.

Builds on

37 of 56 references.

References · 37

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2024The Llama 3 Herd of Modelscited by 14,715
  3. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  4. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  5. 2020Extracting Training Data from Large Language Modelscited by 2,189
  6. 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 885
  7. 2021Asleep at the Keyboard? Assessing the Security of GitHub Copilot's Code Contributionscited by 431
  8. 2023VerilogEval: Evaluating Large Language Models for Verilog Code Generationcited by 252
  9. 2023VeriGen: A Large Language Model for Verilog Code Generationcited by 200
  10. 2023ChipNeMo: Domain-Adapted LLMs for Chip Designcited by 174
  11. 2023RTLLM: An Open-Source Benchmark for Design RTL Generation with Large Language Modelcited by 148
  12. 2023Chip-Chat: Challenges and Opportunities in Conversational Hardware Designcited by 140
25 more
  1. 2020You Autocomplete Me: Poisoning Vulnerabilities in Neural Code Completioncited by 131
  2. 2023ChatEDA: A Large Language Model Powered Autonomous Agent for EDAcited by 122
  3. 2023ChipGPT: How far are we from natural language hardware designcited by 105
  4. 2023AutoChip: Automating HDL Generation Using LLM Feedbackcited by 83
  5. 2023RTLCoder: Outperforming GPT-3.5 in Design RTL Generation with Our Open-Source Dataset and Lightweight Solutioncited by 71
  6. 2023GPT4AIGChip: Towards Next-Generation AI Accelerator Design Automation via Large Language Modelscited by 61
  7. 2023TrojanPuzzle: Covertly Poisoning Code-Suggestion Modelscited by 60
  8. 2024OriGen:Enhancing RTL Code Generation with Code-to-Code Augmentation and Self-Reflectioncited by 56
  9. 2021CoProtector: Protect Open-Source Code against Unauthorized Training Usage with Data Poisoningcited by 47
  10. 2023A Comprehensive Overview of Backdoor Attacks in Large Language Models within Communication Networkscited by 42
  11. 2024AutoBench: Automatic Testbench Generation and Evaluation Using LLMs for HDL Designcited by 41
  12. 2023Controlling the Extraction of Memorized Data from Large Language Models via Prompt-Tuningcited by 40
  13. 2024Survey of different Large Language Model Architectures: Trends, Benchmarks, and Challengescited by 32
  14. 2024AssertLLM: Generating and Evaluating Hardware Verification Assertions from Design Specifications via Multi-LLMscited by 31
  15. 2024CorrectBench: Automatic Testbench Generation with Functional Self-Correction using LLMs for HDL Designcited by 24
  16. 2024PreCurious: How Innocent Pre-Trained Language Models Turn into Privacy Trapscited by 23
  17. 2024LLMs and the Future of Chip Design: Unveiling Security Risks and Building Trustcited by 20
  18. 2024LLM-Aided Testbench Generation and Bug Detection for Finite-State Machinescited by 17
  19. 2024RTL-Breaker: Assessing the Security of LLMs against Backdoor Attacks on HDL Code Generationcited by 15
  20. 2024Privacy in Fine-tuning Large Language Models: Attacks, Defenses, and Future Directionscited by 14
  21. 2024LLMPirate: LLMs for Black-box Hardware IP Piracycited by 7
  22. 2024Discovering and exploring cases of educational source code plagiarism with Doloscited by 6
  23. 2020ASSURE: RTL Locking Against an Untrusted Foundrycited by 3
  24. 2024CodeCloak: A Method for Evaluating and Mitigating Code Leakage by LLM Code Assistantscited by 3
  25. 2022CoFHEE: A Co-processor for Fully Homomorphic Encryption Execution (Extended Version)cited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 5; 2026: 6.

11 papers.