BugGen: A Self-Correcting Multi-Agent LLM Pipeline for Realistic RTL Bug Synthesis
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
Hardware complexity continues to strain verification resources, motivating the adoption of machine learning (ML) methods to improve debug efficiency. However, ML-assisted debugging critically depends on diverse and scalable bug datasets, which existing manual or automated bug insertion methods fail to reliably produce. We introduce BugGen, a first of its kind, fully autonomous, multi-agent pipeline leveraging Large Language Models (LLMs) to systematically generate, insert, and validate realistic functional bugs in RTL. BugGen partitions modules, selects mutation targets via a closed-loop agentic architecture, and employs iterative refinement and rollback mechanisms to ensure syntactic correctness and functional detectability. Evaluated across five OpenTitan IP blocks, BugGen produced 500 unique bugs with 94% functional accuracy and achieved a throughput of 17.7 validated bugs per hour-over five times faster than typical manual expert insertion. Additionally, BugGen identified 104 previously undetected bugs in OpenTitan regressions, highlighting its utility in exposing verification coverage gaps. Compared against Certitude, BugGen demonstrated over twice the syntactic accuracy, deeper exposure of testbench blind spots, and more functionally meaningful and complex bug scenarios. Furthermore, when these BugGen-generated datasets were employed to train ML-based failure triage models, we achieved high classification accuracy (88.1%-93.2%) across different IP blocks, confirming the practical utility and realism of generated bugs. BugGen thus provides a scalable solution for generating high-quality bug datasets, significantly enhancing verification efficiency and ML-assisted debugging.
Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 4 of its 13 references that are in the map. First posted on arXiv 12 Jun 2025.
Builds on
4 of 13 references.
References · 4
- 2023VeriGen: A Large Language Model for Verilog Code Generationcited by 200
- 2023AutoChip: Automating HDL Generation Using LLM Feedbackcited by 83
- 2025VCDiag: Classifying Erroneous Waveforms for Failure Triage Accelerationcited by 2
- 2025Review of Machine Learning for Micro-Electronic Design Verificationcited by 1
Built on by
Citing papers per year: 2025: 1; 2026: 5.
6 papers.
- 2025PALADIN: Self-Correcting Language Model Agents to Cure Tool-Failure Casescited by 22
- 2026GRPO with State Mutations: Improving LLM-Based Hardware Test Plan Generationcited by 4
- 2026Energy per Successful Goal: Goal-Level Energy Accounting for Agentic AI Systemscited by 2
- 2026Saarthi for AGI: Towards Domain-Specific General Intelligence for Formal Verificationcited by 1
- 2026VeriPilot: An LLM-Powered Verilog Debugging Frameworkcited by 1
- 2026Diff-Based Code Corruption using LLMs for Large-Scale Bugfix Benchmarkingcited by 0
- 2026Diff-Based Code Corruption using LLMs for Large-Scale Bugfix Benchmarking27 Jun 2026
- 2026VeriPilot: An LLM-Powered Verilog Debugging Framework22 Jun 2026
- 2026Energy per Successful Goal: Goal-Level Energy Accounting for Agentic AI Systems20 May 2026
- 2026Saarthi for AGI: Towards Domain-Specific General Intelligence for Formal Verification3 Mar 2026
- 2026GRPO with State Mutations: Improving LLM-Based Hardware Test Plan Generation12 Jan 2026
- 2025PALADIN: Self-Correcting Language Model Agents to Cure Tool-Failure Cases25 Sep 2025
Similar, not cited
Close in wording, no citation either way
- 2026ACE-RTL: When Agentic Context Evolution Meets RTL-Specialized LLMs
- 2024EDA-Aware RTL Generation with Large Language Models
- 2024MAGE: A Multi-Agent Engine for Automated RTL Code Generation
- 2026Clover: A Neural-Symbolic Agentic Harness with Stochastic Tree-of-Thoughts for Verified RTL Repair
- 2026Multi-task LLMs for Bug Classification: Efficient Inference with Auxiliary Decoding Heads
- 2026HWE-Bench: Benchmarking LLM Agents on Real-World Hardware Bug Repair Tasks
- 2026AnyPoC: Universal Proof-of-Concept Test Generation for Scalable LLM-Based Bug Detection
- 2026ChipCraftBrain: Validation-First RTL Generation via Multi-Agent Orchestration