paper-with-me

홈 › Papers

RuC: HDL-Agnostic Rule Completion Benchmark Generation

2026-04-30 · Arnau Ayguadé Domingo, Miquel Alberti-Binimelis, Cristian Gutierrez-Gomez, Emanuele Parisi, Razine Moundir Ghorab, Miquel Moreto, Gokcen Kestor, Dario Garcia-Gasulla arxiv

Large Language Models (LLMs) have rapidly improved in performance across code-related tasks, making their integration into Register Transfer Level (RTL) development increasingly attractive. Mimicking the behavior of inline code assistants, many benchmarks evaluate LLMs' capabilities in code completion, either assessing the generation of entire hardware modules or the completion of a single line within a module. However both of these approaches lack the ability to control the granularity of the code-completion sample size and the syntactic range of completions. To overcome these limitations, we present a framework for language-agnostic rule completion (RuC), a grammar-driven, rule-selectable benchmark generator that automatically produces RTL code-completion tasks from a set of input hardware description sources. RuC uses the target Hardware Description Language (HDL) grammar to mask syntactically defined code regions and prompts a model to regenerate them using the surrounding unmasked code as context, enabling a controlled and scalable evaluation of the domain-specific model's code-understanding capabilities, ranging from assignments to the reconstruction of entire logic blocks. We use RuC to generate two SystemVerilog rule-completion benchmarks from the Tiny Tapeout shuttle TT07 and the CVE2 RISC-V core to demonstrate RuC's applicability to a broad range of designs, and conduct a comparative study of the code completion capabilities of modern open-source LLMs across diverse settings. Results indicate that completion performance strongly depends on the model type, the grammatical structure of the masked region, and the prompting strategy. Specifically, the highest scores are obtained with Fill-in-the-Middle (FIM) prompting. These findings highlight the value of grammar-driven, arbitrarily granular benchmarks for meaningful evaluation of LLM capabilities in RTL development workflows.

📄 PDF Abstract BibTeX arXiv:2604.27780

Code (0)

등록된 구현이 없습니다.

Tasks

Code Completion

Similar Papers 제목 키워드 기반

An Improved Training Procedure for Neural Autoregressive Data Completion

2017-11-23 · Maxime Voisin, Daniel Ritchie

Neural autoregressive models are explicit density estimators that achieve state-of-the-art likelihoods for generative modeling. The D-dimensional data distribution is factorized into an autoregressive product of one-dime…

Revisiting Inferential Benchmarks for Knowledge Graph Completion

2023-06-07 · Shuwen Liu, Bernardo Cuenca Grau, Ian Horrocks, Egor V. Kostylev

Knowledge Graph (KG) completion is the problem of extending an incomplete KG with missing facts. A key feature of Machine Learning approaches for KG completion is their ability to learn inference patterns, so that the pr…

Knowledge Graph Completion

Large Language Model-Enhanced Symbolic Reasoning for Knowledge Base Completion

2025-01-02 · Qiyuan He, Jianfei Yu, Wenya Wang

Integrating large language models (LLMs) with rule-based reasoning offers a powerful solution for improving the flexibility and reliability of Knowledge Base Completion (KBC). Traditional rule-based KBC methods offer ver…

DiversityHallucinationKnowledge Base CompletionLanguage Modeling+2

Diverse capability and scaling of diffusion and auto-regressive models when learning abstract rules

2024-11-12 · Binxu Wang, Jiaqi Shang, Haim Sompolinsky

Humans excel at discovering regular structures from limited samples and applying inferred rules to novel settings. We investigate whether modern generative models can similarly learn underlying rules from finite samples …

Mamba

COINS: Dynamically Generating COntextualized Inference Rules for Narrative Story Completion

2021-06-04 · ACL 2021 5 · Debjit Paul, Anette Frank

Despite recent successes of large pre-trained language models in solving reasoning tasks, their inference capabilities remain opaque. We posit that such models can be made more interpretable by explicitly generating inte…

SentenceStory Completion