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

Yunsheng Bai, Haoxing Ren
11/21/2025
cs.AIcs.SE

No confident code implementation found for this paper.

Abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{bai2025learning,
  title  = {Learning to Debug: LLM-Organized Knowledge Trees for Solving RTL Assertion Failures},
  author = {Yunsheng Bai and Haoxing Ren},
  year   = {2025},
  eprint = {2511.17833},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2511.17833v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2511.17833.svg)](https://codeofpaper.com/paper/2511.17833)

Discussion