arXiv:2610.26904cs.AIOct 2026

Manuscript Offprint

arXiv:2610.26904

Pareto-Optimal RTL Code Generation via Multi-Objective Reinforcement Learning with Large Language Models

Koki Takeshita, Kenji Uebayashi, Hikaru Tomonari, Masaya Tsunokake, Koichiro Yawata, Tatsuya Sasaki, Yusuke Ohtsubo, Kota Dohi, Yasuhiro Sogawa

Abstract

Recent studies have proposed reinforcement learning with verifiable rewards (RLVR) methods that enable LLMs to generate high-quality RTL circuits from natural-language specifications. Existing approaches optimize circuit PPA (Power, Performance, Area) by aggregating multiple objectives into a single scalar reward, making it difficult to simultaneously generate diverse Pareto-optimal solutions across different trade-offs such as low power, low latency, and small area. However, in practical design, the relative importance of each objective varies depending on product requirements and design constraints; thus, obtaining a diverse and high-quality candidate set is beneficial in that designers can choose a preferred trade-off a posteriori. In this work, we are the first to propose a learning method for LLM-based circuit generation that optimizes, not the quality of a single circuit, but the quality and diversity of the entire circuit set obtained through multiple generations in the PPA objective space. The proposed method consists of (1) a generation-based training pipeline that reformulates coverage improvement of the entire Pareto solution set into a sequential circuit generation problem, and (2) a reward function based on Hypervolume Contribution (HVC) that measures how much a generated circuit contributes to the Pareto front. Evaluation on the RTLLM v2 benchmark shows that the proposed method achieves +13.3 percentage points in relative Hypervolume over a baseline without PPA optimization and +14.4 percentage points over a single-objective reinforcement learning method, while also demonstrating superiority in circuit diversity.

1 Introduction

Recently, reinforcement learning with verifiable rewards (RLVR), such as GRPO, has emerged (Shao et al., 2024), and the performance of LLMs on problems requiring reasoning capabilities has improved dramatically. Led by OpenAI's o1 and o3 (OpenAI, 2024; 2025) and DeepSeek-R1 (Guo et al., 2025), subsequent models have been continuously released (Yang et al., 2025; Ettinger et al., 2025). RLVR enables the acquisition of advanced logical reasoning capabilities in tasks where the quality of answers can be automatically verified, such as mathematics, programming, and question answering.

This paradigm has also been applied to electronic design automation (EDA), particularly to the NL-Code task of generating hardware description languages (HDLs) such as Verilog (Flake et al., 2020) from natural-language specifications. Zhu et al. (2026); Wang et al. (2026) automatically verify whether a generated circuit conforms to its natural-language specification using behavioral simulators such as Icarus Verilog (Williams & Baxter, 2002), and improve specification compliance by learning with binary verification results as rewards. Chen et al. (2025); Hsiao et al. (2025) additionally estimate the PPA (Power, Performance, Area) of generated circuits using downstream circuit evaluation tools such as OpenROAD (Ajayi et al., 2019), aggregate PPA into a single scalar reward via multiplicative or weighted-sum scalarization, and perform reinforcement learning. This enables generating not only specification-compliant but also higher-performance circuits.

However, these existing studies optimize the generation quality of a single circuit under the scalarization function used during training. That is, trained models do not explicitly learn to obtain a solution set spanning different trade-offs such as low power, low latency, and small area. On the other hand, in circuit design, the relative importance of objectives such as power, delay, and area varies depending on product requirements and design constraints, and trade-offs frequently arise among these objectives. Therefore, obtaining a diverse set of Pareto-optimal candidates is beneficial because it allows designers to choose a preferred candidate a posteriori according to the desired trade-off (Dobeš et al., 2013; Vişan et al., 2022; Liu & Carloni, 2013). Furthermore, diverse and high-quality circuit candidates may be useful for generating promising parent individuals in search methods that combine LLM-based generation with evolutionary algorithms, such as AlphaEvolve (Novikov et al., 2025). (Details on the benefits of diverse and high-quality RTL generation are discussed in Section 2.2.)

In this work, for LLM-based circuit generation, we propose a learning method that aims to improve the quality and diversity in the PPA objective space of the entire circuit set obtained through multiple generations, rather than maximizing a single scalar reward for a single circuit generation. To this end, (1) we introduce a generation-based training pipeline that reformulates the set-level optimization problem of improving coverage of the entire Pareto set into a sequential decision-making problem of generating the next candidate to add, enabling learning via GRPO-based methods. (2) We introduce a reward function based on Hypervolume Contribution (HVC) that encourages the generation of solution groups close to the ideal Pareto front. For the novel problem setting of Pareto solution exploration with LLMs in circuit generation, we define an evaluation metric called relative Hypervolume (rHV) and evaluate on RTLLM v2, a standard benchmark for NL-Code tasks. The proposed method achieves +13.3 percentage points in rHV over the baseline and +14.4 percentage points over the single-objective learning method.

References (37)