An Efficient Stochastic Optimization Method for Global Placement in VLSI Problem

Yue Yu, Yu-Hong Dai, Haijun YuarXiv 2024 · DOI

Abstract

The placement problem in very large-scale integration (VLSI) is a critical step in chip design, the goal of which is to optimize the wirelength of circuit components within a confined area while adhering to non-overlapping constraints. Most analytical placement models often rely on smooth approximations, thereby sacrificing the accuracy of wirelength estimation. To mitigate these inaccuracies, this paper introduces a novel approach that directly optimizes the original nonsmooth wirelength and proposes an innovative penalty model tailored for the global placement problem. Specifically, we transform the non-overlapping constraints into rectified linear penalty functions, allowing for a more precise formulation of the problem. Notably, we reformulate the resultant optimization problem into an equivalent framework resembling deep neural network training. Leveraging automatic differentiation techniques from deep learning, we efficiently compute the subgradient of the objective function, thus facilitating the application of stochastic subgradient methods to solve the model. To enhance the algorithm's performance, several advanced techniques are further introduced, leading to significant improvements in both efficiency and solution quality. Numerical experiments conducted on GSRC benchmark circuits demonstrate that our proposed model and algorithm achieve significant reductions in wirelength while effectively eliminating overlaps, highlighting its potential as a transformative advancement for large-scale VLSI placement.

Introduction

In Very Large-Scale Integration (VLSI) design, placement is a fundamental task involving the arrangement of millions of circuit components (cells) within a fixed silicon area. The primary objectives are twofold: minimizing the total wirelength to enhance performance and reduce power consumption, and ensuring zero overlap between components. This task is categorized as an NP-hard problem.

Historically, solvers have relied on smooth approximations of the objective functions to simplify the optimization process. While computationally convenient, these approximations often introduce inaccuracies. This research addresses these shortcomings by proposing a method to optimize the original, nonsmooth wirelength directly, utilizing a framework inspired by modern deep learning optimization techniques.

Methodology: The Deep Learning Paradigm for Placement

The core innovation of this work is the Random Batch Split Method (RBSM), which reframes physical placement as a machine learning optimization problem. By establishing a one-to-one mapping between circuit nets and network parameters, the authors leverage a decade of breakthroughs in AI optimization for hardware design.

Mapping Placement to Neural Training

As illustrated in the comparison below, the placement problem can be viewed through the lens of deep neural network training. In this framework, the block positions $(x_i, y_i)$ are treated as the trainable parameters $\omega$ of a network. The objective function, comprising wirelength and overlap penalties, serves as the loss function $\mathcal{L}$.

Comparison between standard deep learning (a) and the proposed VLSI placement framework (b).

Nonsmooth Optimization and ReLU Penalties

Traditional models often use quadratic penalties for overlaps, which can lead to vanishing gradients. This paper introduces a Rectified Linear Penalty function. By mathematically proving that the standard Half-Perimeter Wirelength (HPWL) metric and overlap penalties can be represented using Rectified Linear Units (ReLU), the researchers ensure that the solver receives a consistent gradient signal.

Illustration of the gradient calculation for overlapping blocks A and B, where the subgradient provides a clear signal for optimization.

To further refine the optimization, the authors implemented several advanced strategies:

  • Operator Splitting: Dividing the problem into "short-range" forces (resolving overlaps) and "long-range" forces (minimizing wirelength connectivity).
  • Degree-Weighted Sampling: Prioritizing "critical nets"—components with high connectivity—to accelerate convergence.
  • Stochastic Disturbances: Integrating Gaussian noise into gradients to help the optimizer escape local minima and find more globally optimal configurations.

Experimental Results

The RBSM method was evaluated using the GSRC benchmark circuits (n10 through n300). The results indicate that this deep-learning-inspired approach significantly outperforms standard Gradient Descent (GD) and ADAM optimizers in terms of final placement quality.

On the largest test case, n300, the RBSM achieved a wirelength of approximately 698,867, a substantial improvement over the 978,438 achieved by standard Gradient Descent. Furthermore, the integration of adaptive parameter adjustment—dynamically scaling penalty strengths—resulted in wirelength reductions of up to 20% compared to fixed-parameter baselines. The method successfully eliminated overlaps while maintaining superior wirelength metrics.

Conclusion and Future Work

This research demonstrates that treating VLSI placement as a deep learning optimization task offers a powerful new path for chip design. By utilizing nonsmooth metrics and automatic differentiation, the RBSM method achieves high-quality results on standard benchmarks. Future work will focus on improving computational efficiency to match industrial-scale tools and extending the model to handle massive designs with millions of cells and complex routing constraints.

Summary updated

BibTeX
@misc{yu2024efficient,
  author = {Yue Yu and Yu-Hong Dai and Haijun Yu},
  title = {{An Efficient Stochastic Optimization Method for Global Placement in VLSI Problem}},
  year = {2024},
  eprint = {2412.20425},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2412.20425},
}
Figure