VeriLadder: A Multi-Agent Specification Refinement System for Tool-Verified Verilog Datasets
Abstract
Training data is a bottleneck in AI, especially for large language models (LLMs) that write Verilog, because register-transfer-level (RTL) code is rarely published and existing datasets mostly check code for syntax, not instruction correctness. This paper presents VeriLadder, a five-level Verilog dataset, and the multi-agent framework that builds it, in which LLM agents write and revise specifications, and EDA tools (a synthesizer and a formal equivalence checker) decide what is accepted. Its levels follow an engineer's checks. Level 1 labels designs from two large Verilog corpora, namely RTLCoder and PyraNet, with synthesis results, failure causes, critical warnings and post-synthesis metrics. 28% of RTLCoder designs fail synthesis and are kept as negatives. Level 2 grades each instruction on four specification qualities, and low grades predict failed rebuilds. Level 3 rewrites each instruction into a refined specification and accepts it only if an LLM from another model family, reading only that specification, writes a circuit formally equivalent to the original. This raises the share of rebuildable designs from 26.1% to 78.2%, keeping every failed specification with its counterexample. Levels 4 and 5 add verified paraphrases and one-fact variants, hard negatives that differ only in one behavior from the verified design. VeriLadder labels the synthesizability of 716,627 designs and, from RTLCoder, provides 11,247 refined specifications, 32,393 paraphrases and 8,397 one-fact variants. Fine-tuning Qwen2.5-Coder-7B-Instruct on VeriLadder raises functional pass@1 from 31.7% to 50.0% on VerilogEval v2 and from 35.0% to 45.2% on RTLLM v2. The dataset and fine-tuned models are publicly available.
Create a lesson
Related papers
Persuasion from Within: Model-Based Insider Attacks in Multi-Agent LLM Debate and Consensus
Shared title terminology · Bangyan Ju, Xiaolin Sun, Yibin Hu et al.
SMAD: A Semantics-Guided Multi-Agent Framework for Unsupervised Time-Series Anomaly Detection
Shared title terminology · Qinghua Liu, Junpeng Wang, Mingzhi Hu et al.
SLICR: Strategy Logic-Guided Multi-Agent Reinforcement Learning
Shared title terminology · Arshia Rafieioskouie, Matthew Lucas, Tzu-Han Hsu et al.
Beyond Self-Critique: Epistemic Convergence Control for Multi-Agent Research Verification
Shared title terminology · Chrisantus Eze
Learning Inside Types: Epistemic Typestates for Safe Multi-Agent Reinforcement Learning
Shared title terminology · Lorenzo Bacchiani, Mario Bravetti, Giovanni Pau et al.
MVAgent: Per-Video Agents under Global Coordination for Multi-Video Understanding
Shared title terminology · Kewei Wei, XueXiang Wen, Bocheng Hu et al.