Thank you very much for your review. We will address each point in turn:
Layer unfreezing: This is an excellent suggestion! Unfortunately, we do not currently possess the computational resources to undertake this experiment, but it could be an interesting way to potentially push the performance of our approach even further.
Different LLMs: Absolutely, we agree this could be a concern! To demonstrate the impact of KD with respect to the base LLM, we employ CodeV-DeepSeek and CodeV-CodeQwen, which utilize deepseek-coder-6.7b and CodeQwen1.5-7B-Chat as the base models. These two models are two variants of CodeV, which have undergone the same Verilog fine-tuning procedure as CodeV-codeLlama. These two models are two variants of the standard CodeV model based on CodeLlama-7b-Instruct, and were trained with the same procedure. As can be seen in the table in Appendix A, the resulting performance only varied marginally after switching to those different LLMs.
Proofreading: We made a new pass and corrected everything.
Question 1: We would like to clarify that by stating "knowledge distillation has almost no effect on the AST-GNN model", we are referring to the performance of the model. As shown in the results, the performance of AST-GNN + KD does not improve significantly over AST-GNN. Furthermore, the tSNE figure is a bit misleading due the fact that the latent representation space is projected to 2D from 512D. Still, the t-SNE shows that while AST-GNN with KD aligns with the teacher model, there are some mixups in the points visible. We have modified the text to make this point more clear.
Question 2: We have added this result to Appendix B.
Question 3: It is true that the current choice of model takes a context of 16k tokens, which corresponds to about 500 lines of Verilog code. However, there has been a steady stream of new models coming out with increasingly larger contexts - for example, the huggingface model repository now stores an increasing number of large context open-source LLMs that can handle above 1M tokens (e.g. Llama-3-8B-Instruct-Gradient-4194k by gradient.ai). Thus, although the current Verilog LLMs are smaller context, there is no obstacle to fine-tuning, in principle, larger LLMs to fit the use case would the need be.
Question 4: Currently, the model is effectively trained to produce QoR estimates conditional on a fixed recipe, because of the way the labels were produced during data generation (i.e. always using the same fixed recipe). OpenROAD provides two optimization recipes for the logic synthesis process: "ABC\_AREA=1" for area optimization and "ABC\_SPEED=1" for timing optimization. The experiments in the paper adopted area optimization recipe. To test the robustness of VeriDistill under a different synthesis setting, we re-run synthesis for speed optimization (ABC\_SPEED=1 for OpenROAD hyperparameter setting). We train and evaluate all the methods under the new setup. As seen in the table below, all our claims in the paper stand well. We have added this table to Appendix D.
The performance of different Verilog models on the test dataset under the speed optimization setting:
| Method | MAE ↓ | R2 ↑ | MAPE ↓ | RSE ↓ | MAE ↓ | R2 ↑ | MAPE ↓ | RSE ↓ |
|----------------------|---------|---------|---------|---------|---------|---------|---------|---------|
| LUT-GNN (Teacher) | 0.251 | 0.955 | 0.309 | 0.045 | 0.109 | 0.948 | 0.023 | 0.052 |
| AST-XGBoost | 0.749 | 0.745 | 1.366 | 0.349 | 0.484 | 0.652 | 0.093 | 0.542 |
| AST-GNN | 0.893 | 0.661 | 1.435 | 0.339 | 0.317 | 0.604 | 0.071 | 0.396 |
| AST-GNN w/ KD | 0.872 | 0.674 | 1.418 | 0.331 | 0.324 | 0.621 | 0.082 | 0.392 |
| CodeV + Decoder | 0.991 | 0.629 | 1.69 | 0.371 | 0.367 | 0.533 | 0.086 | 0.467 |
| VeriDistill | 0.482 | 0.872 | 0.784 | 0.128 | 0.236 | 0.781 | 0.054 | 0.219 |
We should emphasize however that this is a minor point that can easily be modified if this is a concern. For example, would the practitioner be interested in the delay and area obtainable under the optimal recipe, one could imagine during label generation to run logic synthesis with 10 different recipes, and keeping the smallest obtained delay and area as labels. Our model trained on such labels would then produce an estimate of the best area and delay obtainable for a given circuit. Or, if one wanted flexibility in prediction, one could imagine adding the parameters that control the synthesis recipe as arguments of the model, so that the model would produce estimates of area and delay conditional on specific choices of synthesis parameters. We did not consider such use-cases in our work to not overburden the text, but they would be easily accommodated if the need arose.