VeriDebug: A Unified LLM for Verilog Debugging via Contrastive Embedding and Guided Correction
원문 초록
Large Language Models (LLMs) have demonstrated remarkable potential in debugging for various programming languages. However, the application of LLMs to Verilog debugging remains insufficiently explored. Here, we present VeriDebug, an approach that integrates contrastive representation and guided correction capabilities for automated Verilog debugging. Unlike existing methods, VeriDebug employs an embedding-based technique to accurately retrieve internal information, followed by bug-fixing. VeriDebug unifies Verilog bug detection and correction through a shared parameter space. By simultaneously learning bug patterns and fixes, it streamlines debugging via contrastive embedding and guided correction. Empirical results show the efficacy of VeriDebug in enhancing Verilog debugging. Our VeriDebugLoc, Type model achieves 64.7 accuracy in bug fixing (Acc1), a significant improvement from the existing open-source SOTAs 11.3. This performance not only outperforms open-source alternatives but also exceeds larger closed-source models like GPT-3.5-turbo (36.6), offering a more accurate alternative to conventional debugging methods.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
CoreCodeBench: A Configurable Multi-Scenario Repository-Level Benchmark
SWE-Dev: Evaluating and Training Autonomous Feature-Driven Software Development
Less is More: Adaptive Program Repair with Bug Localization and Preference Learning
Repository-level Code Search with Neural Retrieval Methods
GREEN-CODE: Learning to Optimize Energy Efficiency in LLM-based Code Generation
CoRNStack: High-Quality Contrastive Data for Better Code Retrieval and Reranking
토론
이 논문과 연결된 포럼 글이 아직 없습니다.