《RTLMarker:通过硬件水印框架保护 LLM 生成的 RTL 版权.pdf》由会员分享,可在线阅读,更多相关《RTLMarker:通过硬件水印框架保护 LLM 生成的 RTL 版权.pdf(24页珍藏版)》请在三个皮匠报告上搜索。
1、RTLMarker:Protecting LLM-Generated RTL Copyright via a Hardware Watermarking FrameworkKun Wang,Kaiyan Chang,Mengdi Wang,Xingqi Zou,Haobo Xu,Yinhe Han,Ying Wang*Outline Introduction Background RTLMarker Evaluation ConclusionLarge Language ModelTranslationCode GenerationChatSummarySearchReasoningLarge
2、 Language ModelRTL CodeLogic synthesisNetlistExpert-writtenHigh-level codespecificationRTL CodeLogic synthesisNetlistspecificationLarge Language ModelNature language Electronic Design Automation(EDA)flow LLM for hardware design Risks of LLMs Fake news Malicious/Vulnerable code Sensitive content Priv
3、ate data leaks Fraud Security vulnerabilityWe need to embed watermarks to RTL code generated by LLM!Outline Introduction Background RTLMarker Evaluation ConclusionLLM Watermark Text Watermark:WLLM Code Watermark:SWEETWLLM1 SWEET21 John Kirchenbauer,Jonas Geiping,Yuxin Wen,Jonathan Katz,Ian Miers,and
4、Tom Goldstein.2023.A watermark for large language models.In InternationalConference on Machine Learning.PMLR,1706117084.2 Taehyun Lee,Seokhee Hong,Jaewoo Ahn,Ilgee Hong,Hwaran Lee,Sangdoo Yun,Jamin Shin,and Gunhee Kim.2023.Who wrote this code?watermarking for code generation.arXiv preprint arXiv:230
5、5.15060(2023).LLM WatermarkEffectivenessRobustnessTransparencywatermarkTrade-offThe watermarks should be effectively embedded and detectable.The watermark should preserve the code quality and remain inconspicuous.The watermark should be resilient to common attack methods,such as string replacement a
6、ttacks.LLM Watermark Embedding watermarks to LLM-generated RTL code presents the following challenges:Existing methods cannot guarantee the correctness of the watermarked RTL code.There is a tradeoff between the transparency and effectivenessof watermarks.Watermarks at the Register Transfer Level(RT