EDAGoat: An EDA-Aware Agent for Project-Level GPU Optimization

Chengxi Li, Liang Xiao, Yutao Wang, Wenhao Lin, Xinzhuang Xiong, Han Zhao, Evangeline YoungarXiv 2026 · arXiv

TL;DR

Even expert-engineered GPU tools for chip design have "hidden" performance left on the table, but asking an AI to find it usually results in broken code. EDAGoat is a new AI agent that uses a library of expert GPU optimization patterns and a strict "mandatory validation" system to speed up these tools by up to 1.5x while ensuring the resulting chips actually work.

What Problem Does This Paper Address?

Electronic Design Automation (EDA) is the software "magic" that allows us to design chips with billions of transistors. Because these tasks are incredibly heavy, we use GPUs to speed them up. However, these tools are already written by experts. For an AI agent to improve them, it has to navigate a minefield:

  1. Complexity: It must understand both high-level host code (C++) and low-level device code (CUDA).
  2. Correctness: In EDA, "almost right" is a disaster. A faster placement tool is useless if it overlaps two components or breaks a logical connection.
  3. Irregularity: Circuit data isn't neat like a photo; it’s a messy web of connections. Standard GPU tricks often fail here.

Existing AI coding agents often "hallucinate" optimizations that introduce subtle bugs like race conditions or logic errors. The authors wanted to see if an agent could be "EDA-aware"—knowing not just how to code, but how to respect the laws of chip design.

Methods

The researchers introduced EDAGoat, an agent workflow built on two main pillars:

  • Optimization Enhancement (OE): Instead of letting the AI guess, they provided a "frozen library" of four expert GPU patterns:
  • Register Specialization: Moving data from slow memory to fast registers.
  • Incremental Reuse: Only recalculating what changed.
  • State Compaction: Making data structures leaner.
  • Subproblem Partitioning: Breaking big, messy tasks into smaller, GPU-friendly chunks.
  • Mandatory Validation (MV): This is the agent's "hall monitor." The system uses a rule-based controller that blocks the agent from submitting or even measuring performance until it provides evidence that the code passes specific EDA checks (like Boolean equivalence or wirelength bounds).
Fig. 1. How EDAGoat optimizes a GPU EDA project. (a) The agent starts from the original baseline B0 and (b) receives a frozen library of cross-project patterns and validation templates. (c) It edits and tests the project; mandatory validation requires evidence from the current build. (d) An independent evaluator checks the nominated candidate P and times it against B0. The symbol & denotes AND.

The agent follows a loop: it reads and profiles the code, applies a pattern, builds it, and then must validate it against a reference before it can move on.

Datasets

The authors built a rigorous benchmark of five expert-engineered GPU EDA projects across four task families:

  1. CULS: Logic synthesis (simplifying the "math" of the chip).
  2. InstantGR: Global routing (finding paths for wires).
  3. DREAMPlace & Xplace: Placement (deciding where components go).
  4. GCS-Timer: Timing analysis (ensuring signals arrive on time).

They tested these against 55 different circuit inputs, including "hidden" designs that the agent never saw during development to ensure the optimizations were robust.

The benchmark tasks and the strict quality checks they must pass.

Key Insights and Ideas

  • Validation is the Foundation: The biggest hurdle for AI isn't finding speed; it's staying correct. Generic agents failed 50% of the time because they introduced GPU "write races" or changed the logic of the computation.
  • Patterns vs. Enforcement: Giving the AI a "cheat sheet" of patterns (OE) helped it find faster code, but it didn't make the code more reliable. It was the Mandatory Validation (MV) that actually forced the AI to fix its own mistakes.
  • Project-Level Awareness: Unlike previous work that only looked at single GPU kernels, EDAGoat looks at the entire project. It understands how a change in a CUDA kernel might require a change in how the host CPU prepares data.

Key Results

The results were a "win-win" for speed and reliability:

  • Reliability: Using GPT-6 Astra, EDAGoat achieved a 100% "qualified delivery" rate (15/15 searches passed all checks). For the DeepSeek model, adding Mandatory Validation raised the success rate from 46% to 87%.
  • Speed: On logic synthesis (CULS), the agent achieved a staggering 3.9x speedup.
  • Overall Performance: Across all projects, the geometric mean speedup rose to 1.53x–1.57x. This is significant because these were already highly optimized tools; finding another 50% improvement is like finding a hidden gear in a race car.

Limitations and Future Work

While impressive, EDAGoat has its boundaries:

  • Search Budget: Each search was capped at 8 hours and 3 attempts. In the real world, engineers might want to run longer searches for even better results.
  • Human in the Loop: The "frozen library" of skills was distilled by human researchers. The authors suggest that future versions could automatically learn these skills from execution traces.
  • Test Quality: The system's safety depends on the quality of the validation tests. If a test is too weak, a buggy optimization might still slip through.

In short, EDAGoat proves that if you give an AI the right "expert intuition" and a very strict set of rules, it can out-optimize the human experts who built the tools in the first place.

Summary updated

Abstract

GPU acceleration has transformed electronic design automation (EDA), yet further improving expert-engineered GPU tools still demands substantial manual effort. Automating this work calls for coding agents that can trace bottlenecks across host and device code while preserving correctness and design quality. We introduce EDAGoat, to our knowledge the first EDA-aware GPU optimization agent for this task. Its optimization enhancement (OE) mode guides edits with four cross-project GPU optimization patterns. Its mandatory validation (MV) mode requires the agent to test the edited program against the EDA constraints its changes could affect. Our benchmark covers five GPU EDA projects across four task families and 55 circuit inputs, measuring complete-solve runtime and verifying the resulting designs. Each configuration runs three independent searches per project. A search qualifies only if its solver passes correctness and design-quality checks on all public and hidden inputs. With DeepSeek, generic prompting qualifies in 7 of 15 searches and OE in 6 of 15, despite a higher best speedup on four projects. Adding MV raises this to 13 of 15 and, on every project, exceeds both generic baselines in mean and best speedup and OE in mean speedup; the geometric mean of per-project mean speedups rises from 1.11x (1.36x with OE) to 1.53x. With GPT-6 Astra, EDAGoat qualifies in all 15 searches and improves both speedup metrics over generic prompting on every project, lifting the same geometric mean from 1.26x to 1.57x. These results show that agents can use EDA knowledge to find further speedups in expert-tuned tools while preserving design correctness and quality, establishing EDA-aware GPU optimization as a new direction for agent research.
BibTeX
@misc{li2026edagoat,
  author = {Chengxi Li and Liang Xiao and Yutao Wang and Wenhao Lin and Xinzhuang Xiong and Han Zhao and Evangeline Young},
  title = {{EDAGoat: An EDA-Aware Agent for Project-Level GPU Optimization}},
  year = {2026},
  eprint = {2611.27196},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.27196},
}
Figure