paper-with-me

홈 › Papers

Learning to Debug: LLM-Organized Knowledge Trees for Solving RTL Assertion Failures

2025-11-21 · Yunsheng Bai, Haoxing Ren arxiv

Debugging is the dominant cost in modern hardware verification, where assertion failures are among the most frequent and expensive to resolve. While Large Language Models (LLMs) show promise, they often fail to capture the precise, reusable expertise that engineers apply, leading to inaccurate responses. We propose GROVE, a hierarchical knowledge management framework that learns and organizes reusable debugging expertise into an LLM-organized knowledge tree for solving assertion failures. GROVE distills debugging knowledge from prior cases and organizes it into a vertical tree of configurable depth, with each node encoding a concise knowledge item and explicit applicability conditions. During training, GROVE uses a parallel, gradient-free loop where an LLM proposes tree modifications as structured JSON edits by learning from the cases. At test time, a budget-aware iterative zoom is performed to navigate the tree, retrieving a small set of applicable knowledge items that guide a base LLM's hypothesis generation and fix proposals. Evaluated on a suite of assertion-failure cases, GROVE delivers consistent gains in pass@1 and pass@5, demonstrating the value of structured knowledge evolution.

📄 PDF Abstract BibTeX arXiv:2511.17833

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Proq: Projection-based Runtime Assertions for Debugging on a Quantum Computer

2019-11-28 · Gushu Li, Li Zhou, Nengkun Yu, Yufei Ding 외

In this paper, we propose Proq, a runtime assertion scheme for testing and debugging quantum programs on a quantum computer. The predicates in Proq are represented by projections (or equivalently, closed subspaces of the…

Towards Counterfactual Explanation and Assertion Inference for CPS Debugging

2026-04-09 · Zaid Ghazal, Hadiza Yusuf, Khouloud Gaaloul arxiv

Verification and validation of cyber-physical systems (CPS) via large-scale simulation often surface failures that are hard to interpret, especially when triggered by interactions between continuous and discrete behavior…

ASSERTIFY: Utilizing Large Language Models to Generate Assertions for Production Code

2024-11-25 · Mohammad Jalili Torkamani, Abhinav Sharma, Nikita Mehrotra, Rahul Purandare

Production assertions are statements embedded in the code to help developers validate their assumptions about the code. They assist developers in debugging, provide valuable documentation, and enhance code comprehension.…

Few-Shot LearningPrompt Engineering

ChatDBG: Augmenting Debugging with Large Language Models

2024-03-25 · Kyla H. Levin, Nicolas van Kempen, Emery D. Berger, Stephen N. Freund

Debugging is a critical but challenging task for programmers. This paper proposes ChatDBG, an AI-powered debugging assistant. ChatDBG integrates large language models (LLMs) to significantly enhance the capabilities and …

C++ codeNavigateWorld Knowledge

SpecAlign: A Semantic Alignment Framework for SystemVerilog Assertion Generation

2026-05-24 · Jaime Rafael Imperial, Hao Zheng arxiv

Existing Large Language Model (LLM) approaches to SystemVerilog Assertion (SVA) generation primarily focus on syntactic validity and formal verification outcomes, while semantic alignment between generated assertions and…