arXiv paper· LLM robustness evaluation for hardware verification (EDA / code generation)· empirical study

Robustness of LLM-Generated SystemVerilog Assertions to Semantics-Preserving RTL Transformations

FNU Aditi

cs.LG

Quick verdict

Metamorphic evaluation: 9.7–27% of correct LLM assertion behaviors break under semantics-preserving RTL rewrites; small scale (40 programs) limits scope.

Summary

The paper asks whether correctness of LLM-generated SystemVerilog assertions survives semantics-preserving rewrites of the source RTL. From the VERT dataset (20,000 records), the author filters to a 9,157-record conditional-control pool and builds a stratified 40-program evaluation set covering 295 assignment behaviors (280 under operand reordering). Two open code models — Qwen2.5-Coder-7B and DeepSeek-Coder-V2-Lite, both 4-bit MLX checkpoints — generate assertions with an identical prompt under greedy decoding, and three transformations are applied: operand reordering, deterministic identifier renaming, and redundant parenthesization. Correctness is scored per assignment behavior via a truth-table Boolean equivalence scorer, with 10,000-replicate clustered bootstraps treating the RTL program as the experimental unit. Invariance failure ranges from 9.7% to 27.0% across the six model–transformation conditions: DeepSeek-Coder-V2-Lite improves aggregate accuracy from 53.9% to 63.7% under renaming while losing 19.5% of originally correct behaviors, and redundant parenthesization is most disruptive for both models. Manual review of 30 correct-to-wrong transitions attributes losses to dropped path predicates, branch-polarity errors, and related substantive failures rather than scorer artifacts. Key limitations: a small controlled sample (38–40 clusters; only one of six accuracy-delta confidence intervals excludes zero), two 4-bit-quantized models under a single prompt, a restricted Boolean abstraction scorer not validated against simulation or formal tools, synthetic VERT data, and an experimental artifact that is promised but not yet demonstrably released.

Review complete

Assessment at a glance

LLM robustness evaluation for hardware verification (EDA / code generation)

4

risk flags identified

● high 0

● medium 2

● low 2

Reproducibility readinessmedium
Code & data availablenot stated
Review confidencehigh
AI text signal0/20 passages flagged
Deep research viable

5 strengths · 5 weaknesses · 5 author questions

AI text signal = Binoculars zero-shot detector score over 20 sampled passages (Fast-DetectGPT co-reported) — absence does not prove human authorship, and a flag does not imply misconduct.

Levels reflect verification complexity — not a quality score. Evolve never rates your paper.

Key claims under review

  • Across all six model–transformation conditions, 9.7%–27.0% of assignment behaviors that were correct on the original RTL become incorrect after a semantics-preserving transformation (Table 3).
  • Aggregate accuracy and behavioral stability are distinct properties: DeepSeek-Coder-V2-Lite improves accuracy from 53.9% to 63.7% under identifier renaming while 19.5% of its originally correct behaviors fail (Section 4.2).
  • Redundant parenthesization (T3) produces the highest invariance failure for both models (21.8% Qwen, 27.0% DeepSeek) despite changing no non-parenthesis tokens (Section 5.2).
  • The measured correct-to-wrong losses are substantive generation failures — dropped path predicates, branch-polarity errors, Boolean-structure corruption — not scorer artifacts (Section 4.3, Table 5).

Strengths

  • Decouples aggregate accuracy from behavioral stability

    Section 3.7 defines conditional robustness, invariance failure, and any-flip rate as first-class metrics; Section 4.2/Table 3 shows DeepSeek T2 gaining +9.8 accuracy points (53.9%→63.7%) while 19.5% of baseline-correct behaviors (31/159) flip — invisible to point accuracy and made vivid in Figure 3.

  • Statistically disciplined uncertainty treatment

    Section 3.8 uses a clustered bootstrap (10,000 replicates) resampling RTL programs rather than treating 280–295 correlated behaviors as independent, and explicitly frames CIs as descriptive rather than significance tests.

  • Losses are manually validated, not just counted

  • Transformations conservatively and transparently defined

  • Internally consistent, honest reporting

Weaknesses

  • Very small controlled sample

  • The scorer is a single, partially audited oracle

  • Two 4-bit quantized checkpoints, one prompt

  • Reproducibility promised, not delivered

  • Contract violations blended into headline failure rates

Full Review Report

$1.99 · one-time

Unlock the complete preliminary analysis Evolve produced for this paper.

Report preview

Scope & Claims

This is a controlled metamorphic-robustness study of LLM-based SystemVerilog Assertion (SVA) generation (arXiv 2609.05658). The research questions (Section 3.1) ask how aggregate accuracy changes under semantics-preserving RTL rewrites, what fraction of baseline-correct behaviors stay correct, and what error modes appear in flips. The central claim is deliberately narrow (Section 1): on a 40-program controlled subset of VERT, SVA correctness is materially sensitive to operand reordering (T1), deterministic identifier renaming (T2), and redundant parenthesization (T3), with 9.7%–27.0% of baseline-correct assignment behaviors flipping to incorrect across six model–transformation conditions (Table 3). The authors explicitly disclaim causal attribution and any claim about model 'understanding' — a claim discipline that matches the evidence presented.

The remaining sections cover Methodology Assessment, Statistical Evidence, Results & Reproducibility, Limitations & Risks, and Verdict & Recommendations.

  • All 5 strengths & 5 weaknesses, analyzed in detail
  • 4 risk flags with severity, section & reviewer questions
  • Methods & statistical evidence assessment
  • 5 questions a peer reviewer would ask
  • Full six-dimension evaluation report & recommendations

One-time purchase · this paper only

One-time purchase, this paper only. AI-generated preliminary analysis — not peer review.

Frequently asked questions

What is 'invariance failure' in this paper?

It is the fraction of assertion behaviors that an LLM answered correctly on the original RTL but incorrectly after a semantics-preserving rewrite of the same RTL (IF = 1 − conditional robustness). In this study it ranges from 9.7% (Qwen under operand reordering) to 27.0% (DeepSeek under redundant parenthesization).

Do semantics-preserving RTL transformations always hurt LLM assertion accuracy?

No. DeepSeek-Coder-V2-Lite's aggregate accuracy actually improved under operand reordering (+5.0 points) and identifier renaming (+9.8 points, 53.9%→63.7%), yet it simultaneously lost 16.1%–19.5% of behaviors it originally answered correctly — the paper's point is that net accuracy and stability are different properties.

Which models were evaluated and how?

Two open code models — Qwen2.5-Coder-7B-Instruct and DeepSeek-Coder-V2-Lite-Instruct, both as 4-bit MLX checkpoints on an Apple M1 with 16 GB memory — using one fixed prompt, greedy decoding, and a 1,536-token limit, on a stratified 40-program, 295-behavior subset of the public VERT dataset.

Is the code or data for this study available?

The paper (Section 7) states that an experimental artifact including preprocessing scripts, transformed inputs, the exact prompt, raw generations, and bootstrap analysis is 'intended' to be released, but no repository link or concrete availability is given in the text; the VERT source dataset itself is public.

About this review

This is an AI-generated preliminary review by Evolve.Pub, produced from the openly available text of the paper. It is not peer review and does not represent the authors' views. The canonical record of the paper is at the publisher link above.

Go deeper on this paper

Reproduce ResultsNot feasible for this paper — the core results cannot be re-derived by sandboxed code simulation.

Wrote a paper? Stress-test it before reviewers do.

Upload your manuscript for the same structured scrutiny — reasoning, statistics, evidence, figures, and reproducibility.

Scan your paper
Robustness of LLM-Generated SystemVerilog Assertions to Semantics-Preserving RTL Transformations | Evolve.Pub