Is the Score Real? Certified Contamination Audits for LLM Hardware-Design Benchmarks with Formally Equivalent Problem Twins, Paired Significance Tests and Sealed Commit–Reveal Hold-Outs

Benchmarks for large language models (LLMs) that write Verilog are public, small and built from problems that circulate on the open web, so a model may score well because it has seen the problems rather than because it can design hardware. Recent work refreshes RTL benchmarks with new designs or maintains them with agents that detect overfitting cases, and natural-language research has produced statistical tests for contamination. What is still missing is a way to attach to a reported hardware-generation score a certificate saying how much of it survives when memorisation cannot help. This paper proposes such an audit. Each benchmark problem is turned into problem twins: variants produced by hardware-specific mutations of the specification and reference—port and signal renaming, interface reordering, state re-encoding, parameter shifts that change the correct answer—whose correctness is certified by formal equivalence checking against a structured golden model, so that original and twin are guaranteed to be equally valid tasks. A model is run on original and twin in pairs; an exact McNemar test on discordant pairs gives a p-value for the hypothesis that the model does no better on the originals, a difference-in-differences correction with control models removes any intrinsic difficulty shift introduced by the mutation, and an exact binomial interval gives a contamination-robust score. Sealed twins, committed by hash before release and revealed later, keep the audit valid for models trained after the benchmark appears. The audit uses open tools only and can be applied to any existing RTL benchmark without changing it. Concept/architecture paper analysed with symbolic models; no simulation was run and no measured results are claimed. Any numerical values quoted come from the cited sources. Simulation-based validation is planned for a follow-up paper. Self-drawn figures (scripts/make_figs.py). AI-assisted drafting; the author is responsible for the content.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-25
DOI
https://doi.org/10.5281/zenodo.24537622
Primary Topic
Embedded Systems Design Techniques
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Is the Score Real? Certified Contamination Audits for LLM Hardware-Design Benchmarks with Formally Equivalent Problem Twins, Paired Significance Tests and Sealed Commit–Reveal Hold-Outs

I-Wei Tseng
Zenodo (CERN European Organization for Nuclear Research)
Embedded Systems Design Techniques
preprint

Is the Score Real? Certified Contamination Audits for LLM Hardware-Design Benchmarks with Formally Equivalent Problem Twins, Paired Significance Tests and Sealed Commit–Reveal Hold-Outs

I-Wei Tseng
preprint en

Abstract

Benchmarks for large language models (LLMs) that write Verilog are public, small and built from problems that circulate on the open web, so a model may score well because it has seen the problems rather than because it can design hardware. Recent work refreshes RTL benchmarks with new designs or maintains them with agents that detect overfitting cases, and natural-language research has produced statistical tests for contamination. What is still missing is a way to attach to a reported hardware-generation score a certificate saying how much of it survives when memorisation cannot help. This paper proposes such an audit. Each benchmark problem is turned into problem twins: variants produced by hardware-specific mutations of the specification and reference—port and signal renaming, interface reordering, state re-encoding, parameter shifts that change the correct answer—whose correctness is certified by formal equivalence checking against a structured golden model, so that original and twin are guaranteed to be equally valid tasks. A model is run on original and twin in pairs; an exact McNemar test on discordant pairs gives a p-value for the hypothesis that the model does no better on the originals, a difference-in-differences correction with control models removes any intrinsic difficulty shift introduced by the mutation, and an exact binomial interval gives a contamination-robust score. Sealed twins, committed by hash before release and revealed later, keep the audit valid for models trained after the benchmark appears. The audit uses open tools only and can be applied to any existing RTL benchmark without changing it. Concept/architecture paper analysed with symbolic models; no simulation was run and no measured results are claimed. Any numerical values quoted come from the cited sources. Simulation-based validation is planned for a follow-up paper. Self-drawn figures (scripts/make_figs.py). AI-assisted drafting; the author is responsible for the content.

Zenodo (CERN European Organization for Nuclear Research)
Embedded Systems Design Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon