Macro Placement by Wire-Mask-Guided Black-Box Optimization

The development of very large-scale integration (VLSI) technology has posed new challenges for electronic design automation (EDA) techniques in chip floorplanning. During this process, macro placement is an important subproblem, which tries to determine the positions of all macros with the aim of minimizing half-perimeter wirelength (HPWL) and avoiding overlapping. Previous methods include packing-based, analytical and reinforcement learning methods. In this paper, we propose a new black-box optimization (BBO) framework (called WireMask-BBO) for macro placement, by using a wire-mask-guided greedy procedure for objective evaluation. Equipped with different BBO algorithms, WireMask-BBO empirically achieves significant improvements over previous methods, i.e., achieves significantly shorter HPWL by using much less time. Furthermore, it can fine-tune existing placements by treating them as initial solutions, which can bring up to 50% improvement in HPWL. WireMask-BBO has the potential to significantly improve the quality and efficiency of chip floorplanning, which makes it appealing to researchers and practitioners in EDA and will also promote the application of BBO. Our code is available at https://github.com/lamda-bbo/WireMask-BBO.

Paper

Similar papers

Peer review

Reviewer n9zj5/10 · confidence 4/52023-07-05

Summary

This paper proposes a new black-box optimization framework, called WireMask-BBO, for macro placement, which is an important problem in the electronic design automation (EDA) community. By using different black-box optimization algorithms, The experiments show it can achieve improvements (shorter half-perimeter wirelength (HPWL)) over previous methods.

Strengths

The general framework WireMask-BBO proposed by this paper somewhat provides new angle for macro placement problem. The paper is well-written and it is easy to follow.

Weaknesses

The scalability of the proposed method is doubtful because Bayesian optimization and evolutionary algorithm may not be suitable for large-scale problems. The experiments are insufficient. The experiments don’t compare with the state-of-the-art macro placement method. The experiments don’t compare the runtime of the proposed method with other methods.

Questions

(1) How about the performance comparison with the state-of-the-art macro placement method in the experiments? (2) How about the runtime of the proposed method and compare it with other methods? (3) Is it necessary to tune hyperparameters extensively to achieve good results in the experiments?

Rating

5: Borderline accept: Technically solid paper where reasons to accept outweigh reasons to reject, e.g., limited evaluation. Please use sparingly.

Confidence

4: You are confident in your assessment, but not absolutely certain. It is unlikely, but not impossible, that you did not understand some parts of the submission or that you are unfamiliar with some pieces of related work.

Soundness

2 fair

Presentation

2 fair

Contribution

2 fair

Limitations

Yes

Reviewer KNNs5/10 · confidence 4/52023-07-06

Summary

This paper presents a framework using BBO for macro placement in VLSI designs. Any placement solution for a set of macros can be optimized using the wire masks (presented in a prior work using RL) where the optimization goal is to minimize the HPWL of the output. In addition to random inputs, the framework can also be used for further enhancement of any existing solutions.

Strengths

The work tackles a critical problem in VLSI designs. The idea of casting the placement problem to a BBO is interesting and novel. This framework can be used to further improve any existing solutions for the macros. This can be used as another step in PnR with reasonable runtime. Overall, the paper explains the problem, the existing solutions, and the proposed work clearly.

Weaknesses

The idea of casting the placement problem to a BBO is interesting and novel. However, as the authors admit in Section 1 that this work does not develop any new BBO algorithm. To the reviewer, the experimental results are not extensive and convincing; this is described in the limitation section. The paper also states in the conclusion that it can only place macros but not standard cells without explanation, which limits the application of the proposed work to the actual VLSI problem. On the other hand, this framework can be used to further improve any existing solutions for the macros. This can be used as another step in PnR with reasonable runtime.

Questions

Why is EA-based framework better than the other two BBO algorithms? Why cannot the proposed framework used for standard cell placement? Can't you use a more fine-grained canvas for the problem, where the standard cells are larger than the grid size?

Rating

5: Borderline accept: Technically solid paper where reasons to accept outweigh reasons to reject, e.g., limited evaluation. Please use sparingly.

Confidence

4: You are confident in your assessment, but not absolutely certain. It is unlikely, but not impossible, that you did not understand some parts of the submission or that you are unfamiliar with some pieces of related work.

Soundness

2 fair

Presentation

3 good

Contribution

2 fair

Limitations

The computational time for the proposed work seems to be high. Therefore, in the experimental section, the paper does not include the complex benchmark that has thousands of macros to be placed. This contradicts with the claim the paper that this approach is scalable. The evaluation of the proposed method only uses 5 random seeds. It would be more convincing if the paper includes more experimental data. The proposed framework cannot place the standard cells in the design. Therefore, the comparison between this work and the existing methods seems to be unfair.

Reviewer nUfA7/10 · confidence 5/52023-07-10

Summary

The authors propose a new placement method that is based on the black-box framework. The framework leverages the wire mask-guided information and can achieve significant placement results compared with the state-of-the-art methods.

Strengths

1. The novel method is based on black-box optimization, which has not been implemented on the placement task before. Although many RL methods have been proposed, they are not very efficient enough. Black-box optimization might be a viable direction. 2. The wire mask as the guide for generating phenotype representation is also very novel. It can quickly render a suitable solution based on the initial representation, improving efficiency. 3. The experiments are very comprehensive and solid, showing that the performance of the proposed method can consistently outperform existing methods. 4. The paper writing is well-written and easy to understand. 5. The code is open-source, improving reproducibility.

Weaknesses

1. The full placement cannot surpass the DREAMPlace, which means the proposed method can only work well in macro placement. 2. The reasons for the improvement in the congestion metric are not clear. The method does not consider the congestion metric in its search process. 3. The recent work [1] based on Maskplace should also be discussed in the related work part. [1] Lai Y, Liu J, Tang Z, et al. Chipformer: Transferable chip placement via offline decision transformer.

Questions

1. Have you tested the effect of the number of initial states on the final results? 2. Why your method can get better congestion results when you do not consider it in your method. 3. The efficient comparison only provides the clock time. However, the number of search steps is also substantial. Could you provide how many steps you use for each circuit (or how much clock time is consumed to perform a step)?

Rating

7: Accept: Technically solid paper, with high impact on at least one sub-area, or moderate-to-high impact on more than one areas, with good-to-excellent evaluation, resources, reproducibility, and no unaddressed ethical considerations.

Confidence

5: You are absolutely certain about your assessment. You are very familiar with the related work and checked the math/other details carefully.

Soundness

3 good

Presentation

3 good

Contribution

3 good

Limitations

Yes.

Reviewer nUfA2023-08-20

Thank you for your reply. The rebuttal addresses my concerns. I think this work is novel and experimental sufficiency. Although there is reviewer concern about scalability, from the research perspective, this work still has great potential with the black box optimization method. So, I still recommend this paper for acceptance.

Authorsrebuttal2023-08-20

Thanks for your appreciation.

Thanks for your appreciation. We are glad to hear that your concerns have been addressed. We will make sure to include the added results and discussion in the final version. Thank you.

Reviewer 3gz26/10 · confidence 4/52023-07-12

Summary

This paper proposes a novel black-box optimization (BBO) framework, namely WireMask-BBO, for macro placement in chip design. Specifically, it devises a post-processing technique that legalizes any searched placement solution while optimizing the half-perimeter wirelength (HPWL). The post-processing technique allows us to perform BBO algorithms to search for solutions with better HPWL. Experiments demonstrate that WireMask-BBO outperforms previous state-of-the-art (SOTA) methods, achieving better HPWL performance in less time.

Strengths

1. This paper explores BBO methods for macro placement, which may provide a new insight for the research community. 2. The proposed post-processing technique is simple yet effective. It also has a good versatility because it can be combined with other placement methods and BBO methods.

Weaknesses

1. The propose of the post-processing is purely heuristic. The motivation is unclear and intuitive explanation for the advances is insufficient. 2. The proposed method only targets on optimizing HPWL, without explicitly considering other important metrics like routing wirelength or congestion. It does not consider cells and routing either. Moreover, the framework can be hardly transferred to tasks with those metrics under consideration, which limits its real application in EDA. 3. Because introducing BBO-based methods is one of the core contributions of this paper, the authors may want to illustrate the implementation of BBO algorithms for macro placement more detailly. 4. In Algorithm 1, the macros are ordered decreasingly according to areas, while in Figure 3, the smaller macro-A is considered first. 5. A recent related work [1] is missing. [1] Lai Y, Liu J, Tang Z, et al. Chipformer: Transferable chip placement via offline decision transformer. ICML 2023.

Questions

1. Since only HPWL is considered as the objective, why does WireMask-BBO also outperforms MaskPlace in congestion? 2. What are the results of routing wirelengths? 3. Under this framework, how to take cell placement or some important yet computationally insufficient metrics into consideration?

Rating

6: Weak Accept: Technically solid, moderate-to-high impact paper, with no major concerns with respect to evaluation, resources, reproducibility, ethical considerations.

Confidence

4: You are confident in your assessment, but not absolutely certain. It is unlikely, but not impossible, that you did not understand some parts of the submission or that you are unfamiliar with some pieces of related work.

Soundness

3 good

Presentation

3 good

Contribution

3 good

Limitations

N/A

Reviewer 3gz22023-08-14

Thank you. Increase my score to 6.

I appreciate the authors' efforts in responding to my questions. I hope the authors will revise the paper accordingly. Though there are still some limitaions as we have discussed, I think the proposed framework will benefit the research community, and it deserves further study. I have raised my score from 5 to 6.

Authorsrebuttal2023-08-15

Thank you! We are working on revising the paper.

Thanks for your reply! We will make sure to revise the paper according to all reviewers’ comments and suggestions, and incorporate the added results in our revision.

Reviewer n9zj2023-08-18

Thanks for the clarification. VLSI placement is considered challenging and difficult due to the complex problem structure and the large scale (and will always be). So if a solution cannot scale, then there must be other points that are extremely attractive to designers to make it acceptable, which is not significantly identified currently.

Authorsrebuttal2023-08-19

Thanks for your feedback. However, we are confused about the concerns you expressed in the reply and are not sure if your concerns have been addressed. As to the weaknesses and questions you commented in the initial review, we believe that our response has addressed them. To be specific, we list your comments and a brief summary of our response below. - Comparison with the recent method AutoDMP (published at ISPD'23). We have conducted additional experiments to compare our WireMask-EA with AutoDMP you mentioned. Besides, we have compared WireMask-EA with another SOTA method ChiPFormer (published at ICML'23) as suggested by Reviewer 3gz2 and Reviewer nUfA. Experimental results demonstrate the superior performance of our proposed WireMask-EA. Note that these two SOTA methods are considered concurrent works according to the NeurIPS rule and ChiPFormer is even not released when we submitted this work. - Hyperparameter tuning. We introduced all the hyperparameters used in the paper. We did not tune hyperparameters extensively, and a common setting has been proven to show remarkable performance. We have added more detailed discussions on the settings of hyperparameters. - Runtime analysis and scalability. We have provided detailed runtime analysis and comparison with related methods, including two SOTA methods AutoDMP and ChiPFormer, to reveal our runtime efficiency. For the scalability of our proposed WireMask-BBO, we have shown that WireMask-BBO performs better than other related works on large-scale problems, demonstrating the better scalability of our method. We fully agree with you that the scalability of the VLSI design method is indeed a significant challenge, which is, however, hardly to be fully addressed by a single work. Solving it step by step is more realistic from the perspective of scientific research. We believe our proposed WireMask-BBO has brought significant improvements to the existing SOTA methods, as shown in our experiments. Besides, WireMask-BBO provides a new perspective, i.e., solving VLSI by black-box optimization, which can provide more insight into the design of the VLSI method and can benefit from the progress of high-dimensional black-box optimization algorithms. Thus, we think our work has enough contributions to the community: the proposed WireMask-BBO not only achieves SOTA performance and can be used to fine-tune existing placements, but also has the potential to be a new viable direction for macro placement and promote further advances. **We hope that our response has addressed your concerns, but if we missed anything please let us know.**

Authorsrebuttal2023-08-21

Add further experiments to address your concerns.

Our proposed WireMask-BBO is a general framework for macro placement, which can be equipped with any black-box optimization (BBO) algorithm. Our experiments show that even employing simple BBO algorithms has led to superior performance over previous methods. The runtime analysis and comparison have shown that WireMask-BBO is more scalable than recent methods, which can also be validated by the largest chip scales used in the experiments of different works, e.g., 8170 marcos by WireMask-BBO vs. 1329 macros by ChiPFormer [1]. As we claimed before, its versatility allows WireMask-BBO to benefit from the progress of high-dimensional BBO algorithms, e.g., efficient BBO algorithms for high-dimensional scenario can be employed to further improve the efficiency of WireMask-BBO. To show this, we select DropoutBO [2] arbitrarily, which is a Bayesian optimization (BO) algorithm for high-dimensional scenario based on random variable selection; and we have revised to implement WireMask-BBO equipped with DropoutBO on the benchmarks adaptec4 (with 1329 macros) and bigblue3 (with 1298 macros). The detailed results are shown in the following table, giving the HPWL value achieved every 50 search steps. We can clearly observe that compared with the BO algorithm TurBO [3] used in the paper, using DropoutBO can lead to significant improvement. Thus, we believe that the proposed general framework WireMask-BBO is scalable, and can bring a new viable direction for solving the important macro placement problem. We hope our further experiments and explanation can address your concerns. Thank you. | method | dataset | 50 | 100 | 150 | 200 | 250 | 300 | 350 | 400 | 450 | 500 | |------------|----------|--------------|--------------|--------------|--------------|--------------|--------------|--------------|--------------|--------------|--------------| | BO | adaptec4 | 68.28 ± 1.31 | 67.76 ± 1.36 | 67.38 ± 1.4 | 66.38 ± 0.52 | 65.75 ± 0.46 | 65.23 ± 0.89 | 64.78 ± 1.18 | 64.47 ± 1.02 | 64.36 ± 1.00 | 64.25 ± 1.07 | | DropoutBO | adaptec4 | 65.77 ± 1.65 | 65.3 ± 1.26 | 63.7 ± 0.45 | 63.25 ± 0.77 | 62.88 ± 1.03 | 61.5 ± 0.75 | 61.21 ± 0.91 | 61.18 ± 0.94 | 60.52 ± 0.97 | 60.08 ± 1.59 | | BO | bigblue3 | 72.72 ± 3.27 | 71.9 ± 4.01 | 69.43 ± 5.97 | 69.31 ± 5.99 | 69.05 ± 6.17 | 68.7 ± 6.59 | 68.66 ± 6.59 | 68.61 ± 6.58 | 68.07 ± 6.35 | 67.83 ± 6.27 | | DropoutBO | bigblue3 | 69.35 ± 3.07 | 64.41 ± 2.88 | 61.61 ± 2.31 | 61.17 ± 1.87 | 61.07 ± 1.92 | 60.7 ± 1.4 | 60.15 ± 1.81 | 59.58 ± 1.04 | 59.53 ± 0.96 | 59.03 ± 1.03 | References [1] ChiPFormer: Transferable chip placement via offline decision transformer. ICML'23. [2] High dimensional Bayesian optimization using dropout. IJCAI'17. [3] Scalable global optimization via local Bayesian optimization. NeurIPS'19.

Reviewer KNNs2023-08-21

The authors answered my questions. The proposed method opens a new research direction in VLSI placement with promising experimental results. However, this method cannot scale to the existing real-world VLSI designs, and the authors admitted that it will be hard to scale to the existing VLSI problems. It would be good to include a description in the paper of how to include this method in the existing VLSI design flows. I have raised my rating to 5.

Authorsrebuttal2023-08-21

Thanks for your reply.

Thanks for your reply! One direct way is to apply the proposed method for macro placement, and then use DREAMPlace for standard cell placement, which has been adopted in many works, e.g., DeepPR, MaskPlace and ChiPFormer. We will include a description in the final version. Thank you.

Program Chairsdecision2023-09-21

Decision

Accept (poster)

© 2026 NYSGPT2525 LLC