arXiv:2611.21678v1 cs.AR

RTLReviewBench: LLM 하드웨어 리뷰어는 버그를 거의 놓치지 않지만 올바른 RTL을 습관적으로 거부한다

RTLReviewBench: LLM Hardware Reviewers Rarely Miss Bugs but Routinely Reject Correct RTL

Yasir Mahmud

제출 2026-11-18

한국어 초록

하드웨어 팀은 레지스터 전송 수준(RTL) 코드를 검토하도록 대규모 언어 모델(LLM)에 점점 더 많이 요청하고 있으나, 모델이 시뮬레이션 없이 올바른 모듈과 버그가 있는 모듈을 구별할 수 있는지는 불분명하다. 본 논문은 버그가 있는 Verilog 모듈과 올바른 Verilog 모듈 114쌍으로 구성된 벤치마크 RTLReviewBench를 소개한다. 각 쌍은 하나의 명세를 공유하고, 버그가 있는 모듈 대부분은 LLM 코드 생성기의 실제 실패 사례이며, 모든 레이블은 시뮬레이션으로 확인되었다. 상용 및 오픈 웨이트 모델 12개를 평가한 결과 일관된 비대칭성을 발견하였다. 리뷰어는 버그가 있는 코드를 거의 수락하지 않지만 올바른 코드를 자주 거부하며, 놓친 버그 하나당 다섯 건이 넘는 오거부가 발생하였다. 합성 변이체는 문제의 일부를 가린다. 동일한 설계에서 모델은 주입된 버그를 실제 버그보다 훨씬 적게 놓친다. 모델이 판정을 내리기 전에 추론하도록 하면 성능이 낮은 리뷰어의 오거부가 크게 줄어들며, 통제된 절제 실험은 추론하라는 지시보다 출력에서 추론이 나타나는 위치가 더 중요함을 보여 준다. 반면 샘플링과 다수결 투표는 도움이 되지 않는다. 블라인드 감사 결과, 올바르게 나온 일부 "버그" 판정은 거짓 기술적 주장에 근거하고 있음도 드러났다. 벤치마크, 향후 모델을 위한 더 어려운 분할, 모든 모델 응답, 평가 코드를 https://github.com/yasirmahmud/RTLReviewBench 에 공개한다.

원문 초록

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 원문에서 확인하세요.

  1. arXiv:2611.21678v1제출 시각 미확인

함께 살펴볼 논문

공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.

공통 태그로 연결된 공개 논문이 아직 없습니다.

토론

이 논문과 연결된 포럼 글이 아직 없습니다.