arXiv · 2612.02483
When LLMs Meet SBFL: Combining Semantics and Spectra for RTL Bug Localization
Abstract
Accurately localizing the statements responsible for functional bugs is essential for efficient debugging of register-transfer-level (RTL) designs. Spectrum-based fault localization (SBFL) ranks suspicious statements using execution evidence, but its effectiveness depends strongly on test-vector quality, and its statistical scores often cannot distinguish the root cause from structurally related statements. Large language models (LLMs) provide complementary semantic evidence: they can precisely identify the buggy statement when their reasoning is correct, but may produce severe long-tail ranking errors when it fails. These contrasting characteristics suggest that LLM reasoning and SBFL should be integrated rather than treated as competing alternatives. Based on this observation, we propose LASER, a bidirectional framework in which LLM semantics improve spectrum construction while spectrum evidence stabilizes LLM reasoning. LASER introduces LLM-guided spectrum augmentation, which uses semantic guidance from the LLM to configure heuristic mutations of the bug-revealing test. The resulting tests are used to construct informative passing and failing execution spectra. LASER further introduces constraint-aware buggy-statement reasoning, which uses SBFL suspiciousness as an execution-grounded prior to constrain LLM-based semantic reranking and suppress unstable predictions.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Jianan Mu, Yuxuan Zou, Jiaping Tang, Jing Ye, Jiaxi Zhang, Huawei Li. 2026-11-25. When LLMs Meet SBFL: Combining Semantics and Spectra for RTL Bug Localization. https://searcharxiv.org/abs/2612.02483
Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Search arXiv by Indiciae: BibTeX · RIS.