LLM4SecHW: Leveraging Domain-Specific Large Language Model for Hardware Debugging
被引:12
作者:
Fu, Weimin
论文数: 0引用数: 0
h-index: 0
机构:
Kansas State Univ, Manhattan, KS 66506 USAKansas State Univ, Manhattan, KS 66506 USA
Fu, Weimin
[1
]
Yang, Kaichen
论文数: 0引用数: 0
h-index: 0
机构:
Michigan Technol Univ, Houghton, MI 49931 USAKansas State Univ, Manhattan, KS 66506 USA
Yang, Kaichen
[2
]
Dutta, Raj Gautam
论文数: 0引用数: 0
h-index: 0
机构:
Silicon Assurance, Gainesville, FL USAKansas State Univ, Manhattan, KS 66506 USA
Dutta, Raj Gautam
[3
]
Guo, Xiaolong
论文数: 0引用数: 0
h-index: 0
机构:
Kansas State Univ, Manhattan, KS 66506 USAKansas State Univ, Manhattan, KS 66506 USA
Guo, Xiaolong
[1
]
Qu, Gang
论文数: 0引用数: 0
h-index: 0
机构:
Univ Maryland, Baltimore, MD 21228 USAKansas State Univ, Manhattan, KS 66506 USA
Qu, Gang
[4
]
机构:
[1] Kansas State Univ, Manhattan, KS 66506 USA
[2] Michigan Technol Univ, Houghton, MI 49931 USA
[3] Silicon Assurance, Gainesville, FL USA
[4] Univ Maryland, Baltimore, MD 21228 USA
来源:
2023 ASIAN HARDWARE ORIENTED SECURITY AND TRUST SYMPOSIUM, ASIANHOST
|
2023年
关键词:
Hardware Debugging;
Large Language Model;
Domain-Specific Models;
ENERGY;
D O I:
10.1109/AsianHOST59942.2023.10409307
中图分类号:
TP3 [计算技术、计算机技术];
学科分类号:
0812 ;
摘要:
This paper presents LLM4SECHW, a novel framework for hardware debugging that leverages domain-specific Large Language Model (LLM). Despite the success of LLMs in automating various software development tasks, their application in the hardware security domain has been limited due to the constraints of commercial LLMs and the scarcity of domain-specific data. To address these challenges, we propose a unique approach to compile a dataset of open-source hardware design defects and their remediation steps, utilizing version control data. This dataset provides a substantial foundation for training machine learning models for hardware. LLM4SECHW employs fine-tuning of medium-sized LLMs based on this dataset, enabling the identification a nd r ectification of bugs in hardware designs. This pioneering approach offers a reference workflow for the application of fine-tuning domain-specific LLMs in ot her research areas. We evaluate the performance of our proposed system on various open-source hardware designs, demonstrating its efficacy i n accurately identifying and correcting defects. Our work brings a new perspective on automating the quality control process in hardware design.