RTLReviewBench:LLM硬件审查器很少漏掉Bug,却常误拒正确RTL
RTLReviewBench: LLM Hardware Reviewers Rarely Miss Bugs but Routinely Reject Correct RTL
RTLReviewBench基准包含114对匹配的Verilog模块(每对共享同一规格,Bug模块多为LLM代码生成器的真实失败案例,标签均经仿真确认),评测12个商用与开源模型后发现一致的不对称性:审查器很少接受有Bug的代码,却频繁拒绝正确代码,误拒数量超过漏检Bug的五倍以上。
arXiv:2611.21678v1 Announce Type: new Abstract: Hardware teams increasingly ask large language models (LLMs) to review register-transfer level (RTL) code, yet it is unclear whether a model can tell a correct module from a buggy one without simulating it. We introduce RTLReviewBench, a benchmark of 114 matched pairs of buggy and correct Verilog modules. Each pair shares one specification, most buggy modules are real failures of LLM code generators, and every label is confirmed by simulation. Evaluating 12 commercial and open-weight models, we find a consistent asymmetry: reviewers rarely accept buggy code but often reject correct code, producing more than five false rejections for every missed bug. Synthetic mutants hide part of the problem: on the same designs, models miss far fewer injected bugs than real ones. Asking a model to reason before it commits to a verdict sharply reduces false rejections for weaker reviewers, and a controlled ablation shows that where the reasoning appears in the output matters more than the instruction to reason, whereas sampling and majority voting do not help. A blinded audit further shows that some correct "buggy" verdicts rest on false technical claims. We release the benchmark, a harder split for future models, all model responses, and the evaluation code at https://github.com/yasirmahmud/RTLReviewBench
来源:arXiv (Robotics + Hardware + Signal) · arxiv.org