atlas

Research map / Large language models / Agents, code and math

QiMeng-SALV: Signal-Aware Learning for Verilog Code Generation

NeurIPS 2025 · Large language models › Agents, code and math · approach: LLMs for optimization and heuristics · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes QiMeng-SALV, which verifies output signals of generated Verilog modules against reference modules, extracts per-signal code segments via AST, and applies a signal-aware DPO loss on those segments to train a 7B Verilog generator.

Problem

RL for Verilog code generation lacks meaningful functional rewards because module-level correctness is rarely achieved by SFT models, so most generated samples provide no usable preference signal.

Approach

Verify correctness per output signal by simulation against a reference module, use AST dependency analysis to isolate the code segments of correct signals (even in partially incorrect modules), and compute the DPO loss only over those signal-level segments.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
apply QiMeng-SALV instead of Deepseek v3Verilog generation · RTLLM v1.1pass@1: 62.0 -> 62.6Helped
apply QiMeng-SALV instead of Deepseek v3Verilog generation · RTLLM v1.1pass@10: 72.4 -> 81.1Helped
apply QiMeng-SALV instead of Deepseek v3Verilog generation · RTLLM v2.0pass@1: 59.1 -> 62.0Helped
apply QiMeng-SALV instead of CodeV (Qwen2.5)Verilog generation · RTLLM v1.1pass@1: 39.3 -> 62.6Helped
apply QiMeng-SALV instead of CodeV (Qwen2.5)Verilog generation · RTLLM v2.0pass@1: 41.0 -> 62.0Helped
use partial correct datasets only instead of complete correct datasets only (ablation)signal-aware DPO training · RTLLM v1.1pass@1: 57.4 -> 56.0Hurt
add partial correct datasets without filtering incorrect signals to complete correct datasets (ablation)signal-aware DPO training · RTLLM v1.1pass@1: 57.4 -> 55.3Hurt
filter incorrect signals in partial-correct-only training (ablation)signal-aware DPO training · RTLLM v1.1pass@1: 56.0 -> 56.6Helped
filter incorrect signals when training on complete and partial correct datasets (ablation)signal-aware DPO training · RTLLM v1.1pass@1: 55.3 -> 62.6Helped
add SFT (ablation)Qwen2.5 base model · RTLLM v1.1pass@1: 30.1 -> 48.3Helped
add signal-aware DPO after SFT (ablation)Qwen2.5 with SFT · RTLLM v1.1pass@1: 48.3 -> 62.6Helped
increase signal-aware DPO preference-dataset size (ablation)QiMeng-SALV · RTLLM benchmarkpass@1Helped

Surprising findings

Limitations

Experimental setup

Datasets: CodeV dataset (135k cleaned from 165k GitHub Verilog modules)

Benchmarks: VerilogEval1.0 VerilogEval2.0 RTLLM v1.1 RTLLM v2.0

Metrics: pass@1 pass@5 pass@10

Baselines: GPT-4o DeepSeek-V3 CodeV Origen VeriPrefer RTLCoder VeriSeek Qwen2.5 Coder Instruct DeepSeek Coder CodeQwen1.5

Builds on: DPO CodeV Yosys LoRA

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy