PRISM: Preference-based Reward and Uncertainty-Integrated Synthesis Minimization for RTL PPA Optimization

Armin Abdollahi, Negin Ashrafi, Mehdi Kamal, Massoud Pedram

TL;DR

PRISM is a budget-aware framework that uses Large Language Models (LLMs) to optimize Register-Transfer Level (RTL) designs for Power, Performance, and Area (PPA). By combining preference-based reward modeling with uncertainty-aware candidate selection, it achieves state-of-the-art PPA improvements while drastically reducing the need for expensive commercial synthesis tool runs.

What Problem Does This Paper Address?

In hardware design, the difference between a "working" design and a "shippable" one often comes down to PPA. Even for a fixed micro-architecture, small structural choices in the RTL code—like how arithmetic is shared or how control logic is factored—can significantly impact the final silicon.

The challenge is that the "gold standard" for measuring PPA is a full run through a commercial synthesis tool (like Synopsys Design Compiler). These runs are computationally expensive and slow, creating a massive bottleneck. While LLMs are great at generating code variants, a naive "generate and test" approach quickly collapses under the weight of synthesis costs. Engineers need a way to explore the vast space of RTL rewrites systematically without wasting their "synthesis budget" on low-quality or redundant candidates.

Methods

The authors introduce PRISM, a closed-loop optimization pipeline illustrated in Figure 1.

Fig. 1: Overview of PPA-Minimizer: closed-loop RTL optimization with LLM candidate generation, reward-model scoring, and DC- in-the-loop evaluation.

The core innovation lies in its staged filtering and intelligent selection process:

  1. Candidate Generation: An LLM (GPT-4) generates diverse RTL variants using a set of 15 specific "rewrite strategies" (e.g., resource sharing, FSM simplification, as detailed in Figure 6). A learned Policy Router decides which strategies are most promising for a given design.
  2. Fast Filtering: Candidates are first checked for functional correctness using fast simulation (iverilog). Those that fail are discarded immediately.
  3. Normalization & Proxy Extraction: Surviving candidates are normalized using Yosys to remove stylistic noise. PRISM then extracts "hardware proxies"—cheap-to-calculate features like gate counts and logic depth—that hint at the design's complexity.
  4. Preference-Based Reward Model: Instead of trying to predict absolute PPA values (which is notoriously unstable), PRISM uses a fine-tuned Qwen2.5-7B model to rank candidates. It is trained on pairwise preferences—learning to identify which of two designs is better based on prior synthesis outcomes.
  5. Uncertainty-Aware Acquisition: To avoid getting stuck in local optima, PRISM uses an ensemble of reward models. It selects candidates for synthesis that balance high predicted reward with high model uncertainty and structural diversity.
  6. Best-Tradeoff Archive (G): PRISM maintains a Pareto-optimal set of non-dominated designs. These are fed back into the loop as "seeds" for the next iteration, allowing for cumulative, compounding improvements.

Datasets

  • RTLLM v2.0: A benchmark containing diverse, compact RTL modules representing common hardware building blocks.
  • Training Data: The authors curated a large-scale dataset of ~11k Verilog modules paired with Synopsys Design Compiler (DC) reports to train their reward model.
  • Technology Nodes: Evaluation was performed across three distinct libraries: NanGate45 (45nm), NanGate15 (15nm), and ASAP7 (7nm).

Key Insights and Ideas

  • Preferences > Regressions: The "aha moment" here is that ranking is easier than regression. By training the reward model on pairwise comparisons, the system becomes much more robust to the "noisy" nature of PPA metrics across different designs and constraints.
  • The DC Bottleneck is Real: As shown in Figure 4, commercial synthesis accounts for 50% of the total runtime even in this optimized flow. This justifies the heavy investment in "cheap" filters (simulation, Yosys, and reward scoring) to ensure only the "cream of the crop" reaches the synthesis stage.
  • Compounding Interest in Code: By maintaining the "Best-Tradeoff Archive" and using it to seed new generations, PRISM moves away from "restarting from scratch" and toward a model of continuous refinement. This is critical for finding deep optimizations that a single LLM pass might miss.
  • Diversity Prevents Bias: The inclusion of a diversity penalty in the acquisition rule ensures the synthesis budget isn't wasted on ten nearly identical versions of the same optimization.

Key Results

PRISM consistently outperforms prior state-of-the-art LLM-based optimizers like ChipSeek-R1 and PPA-RTL.

  • Significant PPA Gains: Across the RTLLM v2.0 benchmark, PRISM achieved average reductions of ~23% in area, ~25% in power, and ~20% in delay (see Figure 3).
  • Sample Efficiency: The framework reaches high-quality solutions very quickly. Figure 5 shows that utility rises sharply between 15 and 30 synthesis calls, eventually saturating as it finds the limits of the rewrite space.
  • Technology Agnostic: The same pipeline and reward model worked effectively across 45nm, 15nm, and 7nm nodes without any retraining, proving that the learned "hardware intuition" generalizes well.
Fig. 5: Average % improvement over RTLLM v2.0.

Limitations and Future Work

  • Functional Equivalence: While simulation-based filtering is fast, it isn't a formal guarantee. Future work could integrate Logical Equivalence Checking (LEC) for higher confidence.
  • LLM Context Windows: For very large, complex RTL modules, the "diff-based" input to the reward model might eventually hit context window limits.
  • Testbench Quality: The effectiveness of the functional filter is strictly bounded by the quality of the provided testbench.
  • Beyond Rewriting: The authors suggest that future iterations could explore more aggressive architectural changes or cross-module optimizations that go beyond local code rewrites.

Summary updated

Abstract

This paper introduces a budget-aware, multi-objective framework (called PRISM) for RTL optimization that improves power, performance, and area (PPA) while sharply limiting expensive commercial synthesis tool calls. Starting from a synthesizable baseline and functional testbench, the method iterates through LLM-driven rewrite generation, fast compile/simulation equivalence filtering, low-cost proxy feature extraction, and selective commercial synthesis tool (Synopsys Design Compiler (DC)) evaluation. To prioritize which candidates deserve high-quality synthesis, we train a preference-based reward model using pairwise ranking supervision derived from commercial synthesis tool outcomes, and combine ensemble uncertainty with a diversity-aware acquisition rule to avoid early bias and redundant evaluations. A key advantage is that PRISM maintains a best-tradeoff set G of non-dominated designs throughout the run: G preserves the best solutions found so far, is fed back into generation and refinement, and enables consistent, cumulative improvements rather than repeatedly restarting from the baseline. Across RTLLM v2.0 modules, the approach consistently yields post-synthesis gains under fixed commercial synthesis tool call budgets, and ablations confirm that reward-guided selection and candidate dropping are central to sample-efficient progress. PRISM efficacy is evaluated across multiple technology nodes (7 nm, 15 nm, and 45 nm) using identical pipelines without retraining.
BibTeX
@misc{abdollahi2026prism,
  author = {Armin Abdollahi and Negin Ashrafi and Mehdi Kamal and Massoud Pedram},
  title = {{PRISM: Preference-based Reward and Uncertainty-Integrated Synthesis Minimization for RTL PPA Optimization}},
  year = {2026},
  eprint = {2611.11051},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.11051},
}
Figure