跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 机器学习

arXiv:2503.14153 (cs)
[提交于 2025年3月18日]

标题:Speculative Decoding for Verilog: Speed and Quality, All in One

作者:Changran Xu, Yi Liu, Yunhao Zhou, Shan Huang, Ningyi Xu, Qiang Xu
查看论文《Speculative Decoding for Verilog: Speed and Quality, All in One》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:The rapid advancement of large language models (LLMs) has revolutionized code generation tasks across various programming languages. However, the unique characteristics of programming languages, particularly those like Verilog with specific syntax and lower representation in training datasets, pose significant challenges for conventional tokenization and decoding approaches. In this paper, we introduce a novel application of speculative decoding for Verilog code generation, showing that it can improve both inference speed and output quality, effectively achieving speed and quality all in one. Unlike standard LLM tokenization schemes, which often fragment meaningful code structures, our approach aligns decoding stops with syntactically significant tokens, making it easier for models to learn the token distribution. This refinement addresses inherent tokenization issues and enhances the model's ability to capture Verilog's logical constructs more effectively. Our experimental results show that our method achieves up to a 5.05x speedup in Verilog code generation and increases pass@10 functional accuracy on RTLLM by up to 17.19% compared to conventional training strategies. These findings highlight speculative decoding as a promising approach to bridge the quality gap in code generation for specialized programming languages.
评论: Accepted by the 62nd Design Automation Conference (DAC 2025)
主题: 机器学习 (cs.LG); 硬件体系结构 (cs.AR); 计算与语言 (cs.CL)
引用方式: arXiv:2503.14153 [cs.LG]
  (或者 arXiv:2503.14153v1 [cs.LG] 对于此版本)
  https://doi.org/10.48550/arXiv.2503.14153

提交历史

来自:Changran Xu
[v1] 2025年3月18日 星期二 11:21:53 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.LG
< 上一篇   |   下一篇 >
最新 | 近期 | 2025-03
切换浏览方式为:
cs
cs.AR
cs.CL

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站