A Generalize Hardware Debugging Approach for Large Language Models Semi-Synthetic, Datasets
Large Language Models (LLMs) have precipitated emerging trends towards intelligent automation. However, integrating LLMs into the hardware debug domain encounters challenges: the datasets for LLMs for hardware are often plagued by a dual dilemma – scarcity and subpar quality. Traditional hardware debug approaches that rely on experienced labor to generate detailed prompts are not cheaply scalable. Similarly, strategies that depend on existing LLMs and randomly generated prompts fail to achieve sufficient reliability. We propose a directed, semi-synthetic data synthetic method that leverages version control information and journalistic event descriptions. To produce high-quality data, this approach utilizes version control data from hardware projects combined with the 5W1H (Who, What, When, Where, Why, How) journalistic principles. It facilitates the linear scaling of dataset volumes without depending on skilled labor. We have implemented this method on a collected dataset of open-source hardware designs and fine-tuned fifteen general-purpose LLMs to enable their capability in hardware debugging tasks, thereby validating the efficacy of our approach.
Authors
- Xuan Zhang (ORCID: https://orcid.org/0000-0002-0482-5435)
- Kaichen Yang (ORCID: https://orcid.org/0000-0003-1027-6708)
- Yier Jin (ORCID: https://orcid.org/0000-0002-8791-0597)
- Yifang Zhao (ORCID: https://orcid.org/0000-0002-2658-2585)
- Shijie Li (ORCID: https://orcid.org/0000-0001-9421-7064)
- Weimin Fu (ORCID: https://orcid.org/0000-0002-9623-6522)
- Xiaolong Guo (ORCID: https://orcid.org/0009-0007-1192-6203)
Institutions
- Michigan Technological University (US)
- University of Science and Technology of China (CN)
- Northeastern University (US)
- Kansas State University (US)
Publication Details
- Journal
- IEEE Transactions on Circuits and Systems I Regular Papers
- Published
- 2024-11-26
- DOI
- https://doi.org/10.1109/tcsi.2024.3487486
- Citations
- 6
- Primary Topic
- Topic Modeling
- Type
- article
- Field-Weighted Citation Impact
- 2.08
Funders
- National Science Foundation