# Poster 31123

- Kind: Poster
- Talk page and recording: https://iclr.cc/virtual/2025/poster/31123

> Transcript of the talk's recording (session_asr), made by speech recognition or taken from the host's captions. It may contain errors. The words are the speakers'; listen to the recording on the talk's page before quoting it.

Hello everyone, I'm Yi Liu from the Chinese University of Hong Kong supervised by Professor Chang Xu. It's my pleasure to present our work, Deep RTL: Bridging Wear Log Understanding and Generation with a Unified Representation Model. So first I'd like to give you some background knowledge about our work.
The recent advancements in large language models have demonstrated significant potential for automating the generation of hardware description language like Verilog from high-level natural language instructions, but there are several limitations of previous works. Firstly, they primarily focus on
where-lock degeneration, we are neglecting the equally critical task of where-lock understanding. Secondly, the datasets used by this work exhibit a weak alignment between natural language descriptions and where-lock code. And thirdly, the performance of this model still lags behind those suboptimal models like GPT-4. To address all these challenges, we present DeepHyTL.
So first, I will introduce our innovative chain of thought-based code annotation process. Starting from the original code, we will first remove its original comments and discard any junk modules. And we only keep those modules whose token length is below 2048, and if not, we will split this module into smaller code blocks for further processing.
And after we have the qualified code, we will prompt the GPT model to add a comment to the code which results in the commented code. And from this commented code we can extract line-level code snippets with its corresponding natural language descriptions. And also we will use the GPT model to generate a detailed specification from the commented code.
the planning is functionality and also the implementation process. Finally, combining the detailed specification and also the qualified code, we can generate the final high-level functional description. So compared to generating the high -level functional description directly from code, we found that this step -by-step COT-based approach can generate more accurate functional descriptions.
And this figure illustrates one example of our annotated codes. To fully leverage this potential for rich multi-level annotations, we adapt curriculum learning to fine -tune our models, and this tree-like structure illustrates our training process. Each root node here represents a subset of our data set, and the number here just shows the order of this subset being fed into our training process.
So by following this structured approach, our model gradually builds a deep understanding of Verilog code, which leads to more effective training and generate better results. Also, since we are the first to consider the task of Verilog understanding, we introduce the first benchmark consisting of 100 diverse designs with corresponding human annotated functional descriptions.
Besides, we take the initiative to apply embedding similarity and GPT score to evaluate models' understanding capabilities, which provides a more accurate measure of semantic similarity than traditional methods like Blue and Rouge score, and these scores are usually limited to surface level n-gram overlaps.
For the very low understanding results, as you can see, our model outperforms the Sotak commercial models GPT-4. And also for the very low generation, our model achieves performance on par with OpenAI's O1 preview. Notably, our DeepRTIO-220 -milling models have...
significant lay fewer parameters than those commercial models but it also achieves impressive performance so actually this highlights the high quality of our dataset and also the effectiveness of our training process so that's all for my presentation and thank you for your listening and if you have any questions you may reach out to us by email thank you
