mlsanityData to 24 Nov 2026

Causal Signal Credit Assignment for Verilog Code Generation via Counterfactual Hardware Verification

arXiv 2611.11848 ↗Submitted 9 Nov 2026cs.AI cs.SEcited by 0

Not on the map. Why?

Abstract (arXiv)

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.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 28 of its 49 references that are in the map. Submitted 9 Nov 2026.

Builds on

28 of 49 references.

References · 28

  1. 2014Adam: A Method for Stochastic Optimizationcited by 38,596
  2. 2017Proximal Policy Optimization Algorithmscited by 16,156
  3. 2024The Llama 3 Herd of Modelscited by 16,113
  4. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 15,591
  5. 2025Qwen3 Technical Reportcited by 9,994
  6. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,494
  7. 2024Qwen2.5 Technical Reportcited by 5,525
  8. 2019The Curious Case of Neural Text Degenerationcited by 3,022
  9. 2023Code Llama: Open Foundation Models for Codecited by 2,242
  10. 2024Qwen2.5-Coder Technical Reportcited by 1,301
  11. 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,241
  12. 2023VerilogEval: Evaluating Large Language Models for Verilog Code Generationcited by 277
16 more
  1. 2023ChipNeMo: Domain-Adapted LLMs for Chip Designcited by 191
  2. 2024CodeGemma: Open Code Models Based on Gemmacited by 160
  3. 2023Chip-Chat: Challenges and Opportunities in Conversational Hardware Designcited by 147
  4. 2022Benchmarking Large Language Models for Automated Verilog RTL Code Generationcited by 125
  5. 2022Large Language Models are Few-shot Testers: Exploring LLM-based General Bug Reproductioncited by 115
  6. 2023AutoChip: Automating HDL Generation Using LLM Feedbackcited by 97
  7. 2023Large Language Models for Test-Free Fault Localizationcited by 71
  8. 2024A Deep Dive into Large Language Models for Automated Bug Localization and Repaircited by 42
  9. 2023SkCoder: A Sketch-based Approach for Automatic Code Generationcited by 41
  10. 2024RTL-Repo: A Benchmark for Evaluating LLMs on Large-Scale RTL Design Projectscited by 29
  11. 2024A Pair Programming Framework for Code Generation via Multi-Plan Exploration and Feedback-Driven Refinementcited by 23
  12. 2024Preference-Guided Refactored Tuning for Retrieval Augmented Code Generationcited by 12
  13. 2024Sifting through the Chaff: On Utilizing Execution Feedback for Ranking the Generated Code Candidatescited by 7
  14. 2025QiMeng-SALV: Signal-Aware Learning for Verilog Code Generationcited by 7
  15. 2024UniTSyn: A Large-Scale Dataset Capable of Enhancing the Prowess of Large Language Models for Program Testingcited by 6
  16. 2024Contextualized Data-Wrangling Code Generation in Computational Notebookscited by 4

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025Insights from Verification: Training a Verilog Generation LLM with Reinforcement Learning with Testbench Feedback
  2. 2025TB or Not TB: Coverage-Driven Direct Preference Optimization for Verilog Stimulus Generation
  3. 2025VeriReason: Reinforcement Learning with Testbench Feedback for Reasoning-Enhanced Verilog Generation
  4. 2025VERIRL: Boosting the LLM-based Verilog Code Generation via Reinforcement Learning
  5. 2025ChipSeek: Optimizing Verilog Generation via EDA-Integrated Reinforcement Learning
  6. 2025VeriMind: Agentic LLM for Automated Verilog Generation with a Novel Evaluation Metric
  7. 2025Veritas: Deterministic Verilog Code Synthesis from LLM-Generated Conjunctive Normal Form
  8. 2025Comprehensive Verilog Design Problems: A Next-Generation Benchmark Dataset for Evaluating Large Language Models and Agents on RTL Design and Verification