paper-with-me

홈 › Papers

Understanding and Mitigating Errors of LLM-Generated RTL Code

2025-08-07 · Jiazheng Zhang, Cheng Liu, Long Cheng, Xiaowei Li, Huawei Li arxiv

Despite limited success in large language model (LLM)-based register-transfer-level (RTL) code generation, the root causes of errors remain poorly understood. To address this, we conduct a comprehensive error analysis, finding that most failures arise not from deficient reasoning, but from a lack of RTL programming knowledge, insufficient circuit understanding, ambiguous specifications, or misinterpreted multimodal inputs. Leveraging in-context learning, we propose targeted correction techniques: a retrieval-augmented generation (RAG) knowledge base to supply domain expertise; design description rules with rule-checking to clarify inputs; external tools to convert multimodal data into LLM-compatible formats; and an iterative simulation-debugging loop for remaining errors. Integrating these into an LLM-based framework yields significant improvement, achieving 98.1% accuracy on the VerilogEval benchmark with DeepSeek-v3.2-Speciale, demonstrating the effectiveness of our approach.

📄 PDF Abstract BibTeX arXiv:2508.05266

Code (0)

등록된 구현이 없습니다.

Tasks

Code Generation

Similar Papers 제목 키워드 기반

Understanding and Mitigating Human-Labelling Errors in Supervised Contrastive Learning

2024-03-10 · Zijun Long, Lipeng Zhuang, George Killick, Richard McCreadie 외

Human-annotated vision datasets inevitably contain a fraction of human mislabelled examples. While the detrimental effects of such mislabelling on supervised learning are well-researched, their influence on Supervised Co…

Contrastive LearningRepresentation Learning

Mitigating hallucinations and omissions in LLMs for invertible problems: An application to hardware logic design automation

2025-11-25 · Andrew S. Cassidy, Guillaume Garreau, Jay Sivagnaname, Mike Grassi 외 arxiv

We show for invertible problems that transform data from a source domain (for example, Logic Condition Tables (LCTs)) to a destination domain (for example, Hardware Description Language (HDL) code), an approach of using …

How to Detect and Defeat Molecular Mirage: A Metric-Driven Benchmark for Hallucination in LLM-based Molecular Comprehension

2025-04-10 · Hao Li, Liuzhenghao Lv, He Cao, Zijing Liu 외

Large language models are increasingly used in scientific domains, especially for molecular understanding and analysis. However, existing models are affected by hallucination issues, resulting in errors in drug design an…

Computational EfficiencyDecoderDrug DesignHallucination

HalluciDoctor: Mitigating Hallucinatory Toxicity in Visual Instruction Data

2023-11-22 · CVPR 2024 1 · Qifan Yu, Juncheng Li, Longhui Wei, Liang Pang 외

Multi-modal Large Language Models (MLLMs) tuned on machine-generated instruction-following data have demonstrated remarkable performance in various multi-modal understanding and generation tasks. However, the hallucinati…

AttributecounterfactualHallucinationHallucination Evaluation+1

Pre-training for Spoken Language Understanding with Joint Textual and Phonetic Representation Learning

2021-04-21 · Qian Chen, Wen Wang, Qinglin Zhang

In the traditional cascading architecture for spoken language understanding (SLU), it has been observed that automatic speech recognition errors could be detrimental to the performance of natural language understanding. …

Automatic Speech RecognitionAutomatic Speech Recognition (ASR)Language ModelingLanguage Modelling+6