mlsanityData to 14 Oct 2026

BugGen: A Self-Correcting Multi-Agent LLM Pipeline for Realistic RTL Bug Synthesis

arXiv 2506.10501 ↗First posted 12 Jun 2025cs.SE cs.LGcited by 6

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

  1. 2023VeriGen: A Large Language Model for Verilog Code Generationcited by 200
  2. 2023AutoChip: Automating HDL Generation Using LLM Feedbackcited by 83
  3. 2025VCDiag: Classifying Erroneous Waveforms for Failure Triage Accelerationcited by 2
  4. 2025Review of Machine Learning for Micro-Electronic Design Verificationcited by 1

Built on by

Cited by year (2026 to 14 Oct)

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

6 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026ACE-RTL: When Agentic Context Evolution Meets RTL-Specialized LLMs
  2. 2024EDA-Aware RTL Generation with Large Language Models
  3. 2024MAGE: A Multi-Agent Engine for Automated RTL Code Generation
  4. 2026Clover: A Neural-Symbolic Agentic Harness with Stochastic Tree-of-Thoughts for Verified RTL Repair
  5. 2026Multi-task LLMs for Bug Classification: Efficient Inference with Auxiliary Decoding Heads
  6. 2026HWE-Bench: Benchmarking LLM Agents on Real-World Hardware Bug Repair Tasks
  7. 2026AnyPoC: Universal Proof-of-Concept Test Generation for Scalable LLM-Based Bug Detection
  8. 2026ChipCraftBrain: Validation-First RTL Generation via Multi-Agent Orchestration