Metraipolis › archive › dc_e2b6dc7b9949
Causal Signal Credit Assignment for Verilog Code Generation via Counterfactual Hardware Verification — arXiv:2611.11848
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2611.11848
- License (as archived)
- CC0-1.0
- Archived
- 2026-11-10T18:41:36.525Z
- SHA-256 of the archived text
b4b1cbf5eddce1322755d0a95790060a7b8bbc00677be09c87360b156519d5f3- Stable URL of this page
https://metraipolis.com/documento/dc_e2b6dc7b9949
How to cite
Causal Signal Credit Assignment for Verilog Code Generation via Counterfactual Hardware Verification — arXiv:2611.11848 — arXiv (en), https://arxiv.org/abs/2611.11848 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_e2b6dc7b9949 (Metraipolis archive dc_e2b6dc7b9949, sha256 b4b1cbf5eddce1322755d0a95790060a7b8bbc00677be09c87360b156519d5f3)
BibTeX
@misc{dce2b6dc7b9949,
title = {Causal Signal Credit Assignment for Verilog Code Generation via Counterfactual Hardware Verification — arXiv:2611.11848},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2611.11848},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_e2b6dc7b9949; sha256 b4b1cbf5eddce1322755d0a95790060a7b8bbc00677be09c87360b156519d5f3},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2611.11848. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Large language models have improved Verilog generation, yet functional correctness remains difficult to optimize because simulation commonly provides a coarse module-level pass/fail outcome. Such feedback discards useful evidence from partially correct RTL modules and cannot determine whether a source statement is functionally responsible for an observed output behavior. We present a new method named Causal Signal Credit Assignment (CSCA), which is a counterfactual preference-optimization framework for Verilog generation. CSCA first performs continuous signal-level behavioral verification on sampled candidate modules. It then locates output-driving assignment spans and applies five interventions while holding the remaining module and testbench fixed. The resulting changes in signal-level errors are combined with behavioral agreement to form a continuous statement credit, which is mapped to response-token weights for strict weighted direct preference optimization. This enables CSCA to learn from locally supported statements without uniformly reinforcing an otherwise incorrect response. Built on Icarus Verilog and a CodeV-derived corpus, CSCA is evaluated on VerilogEval~2.0 and RTLLM~v2.0, including both code completion and specification-to-RTL tasks. With a Qwen2.5-Coder-7B-Instruct backbone, CSCA leads the evaluated 7B-scale models and remains comparable to the much larger GPT-5.4-mini on the reported Verilog-generation benchmarks. Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.AI, nuovi lavori del giorno). Categorie arXiv: Artificial Intelligence (cs.AI) ; Software Engineering (cs.SE). Pagina del lavoro: https://arxiv.org/abs/2611.11848 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-11-10T18:37:37.525Z dalla pagina https://arxiv.org/list/cs.AI/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).