Skip to main content
QUICK REVIEW

[Paper Review] AISYN: AI-driven Reinforcement Learning-Based Logic Synthesis Framework

Ghasem Pasandi, Sreedhar Pratty|arXiv (Cornell University)|Feb 8, 2023
VLSI and FPGA Design TechniquesEngineering3 citations
TL;DR

This paper proposes AISYN, an AI-driven reinforcement learning framework for logic synthesis that replaces greedy optimization with intelligent, exploratory decision-making. By training Q-learning and A3C agents to guide logic rewriting, AISYN reduces total cell area by up to 69.3% and power by 1% on industrial benchmarks, significantly improving Quality of Results (QoR).

ABSTRACT

Logic synthesis is one of the most important steps in design and implementation of digital chips with a big impact on final Quality of Results (QoR). For a most general input circuit modeled by a Directed Acyclic Graph (DAG), many logic synthesis problems such as delay or area minimization are NP-Complete, hence, no optimal solution is available. This is why many classical logic optimization functions tend to follow greedy approaches that are easily trapped in local minima that does not allow improving QoR as much as needed. We believe that Artificial Intelligence (AI) and more specifically Reinforcement Learning (RL) algorithms can help in solving this problem. This is because AI and RL can help minimizing QoR further by exiting from local minima. Our experiments on both open source and industrial benchmark circuits show that significant improvements on important metrics such as area, delay, and power can be achieved by making logic synthesis optimization functions AI-driven. For example, our RL-based rewriting algorithm could improve total cell area post-synthesis by up to 69.3% when compared to a classical rewriting algorithm with no AI awareness.

Motivation & Objective

  • To address the limitations of classical logic synthesis tools, which rely on greedy algorithms and often get trapped in local minima.
  • To improve Quality of Results (QoR) in logic synthesis by leveraging reinforcement learning (RL) to escape suboptimal solutions.
  • To demonstrate that AI-driven optimization can significantly reduce key metrics like area, delay, and power in digital circuit design.
  • To validate the framework on both open-source benchmarks and real industrial-scale circuits with millions of cells.
  • To show that offline RL training is practical, with inference times in seconds, making integration into EDA toolchains feasible.

Proposed method

  • The framework uses a Q-learning agent to explore and select optimal logic rewriting operations on a Directed Acyclic Graph (DAG) representation of a circuit.
  • A3C (Asynchronous Advantage Actor-Critic) is employed as an alternative RL algorithm to improve training stability and convergence.
  • The state space is defined by structural and functional features of the circuit nodes, enabling the agent to reason about local transformations.
  • The action space includes all valid logic rewriting operations, such as substitution and factoring, with rewards based on post-synthesis metrics like area and power.
  • Representation learning is used to embed complex circuit structures into low-dimensional vectors for effective RL policy learning.
  • The trained RL agents guide the logic rewriting phase before standard technology mapping, improving final QoR.

Experimental results

Research questions

  • RQ1Can reinforcement learning effectively guide logic rewriting to escape local minima in NP-hard logic synthesis problems?
  • RQ2To what extent can RL-based optimization reduce total cell area compared to classical greedy rewriting?
  • RQ3How does the performance of RL-based synthesis scale on industrial-scale circuits with over 2 million cells?
  • RQ4Can RL-driven optimization achieve measurable improvements in power consumption post-place-and-route?
  • RQ5Is the computational cost of RL inference acceptable within the context of a full chip synthesis flow?

Key findings

  • The Q-learning-based rewriting algorithm reduced total cell area by up to 69.3% compared to a classical rewriting algorithm on open-source benchmarks.
  • The A3C-based agent achieved consistent improvements across all tested benchmarks, with inference times under 5 seconds for most circuits.
  • On an industrial block with over 2 million cells, AISYN reduced total power consumption by approximately 1% post-place-and-route, a significant improvement given the maturity of industrial tools.
  • The training runtimes ranged from minutes to hours, but were acceptable since training is performed offline and only once per agent.
  • Inference runtimes were consistently under 10 seconds for most circuits, with even the slowest case (log2) at 30.6 seconds, making integration into EDA flows practical.
  • Normalized results showed that AISYN achieved 0.998 of the baseline toggle rate, 0.984 of the combinational logic power, and 0.990 of the total power, indicating strong QoR improvements.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.