arXiv:2607.29283v1 cs.AR

RTLCurator: RTL 생성을 위한 라벨 효율적인 데이터 큐레이션

RTLCurator: Label-Efficient Data Curation for RTL Generation

Siyang Cai, Cangyuan Li, Wenjing Chang, Kun Wang, Haoyu Gao, Yinhe Han, Ying Wang

제출 2026-07-31

한국어 초록

레지스터 전송 레벨(RTL)을 작성하도록 대규모 언어 모델(LLM)을 학습(training)시키려면 명세와 코드가 쌍을 이룬 대규모 말뭉치가 필요하지만, 이러한 데이터는 매우 부족하여 현재 대부분의 공개 말뭉치는 합성되어 생성됩니다. 합성은 규모를 제공하지만 정확성을 보장하지는 못하며, 널리 사용되는 두 RTL 데이터셋에서는 생성된 기능 테스트를 통과하는 쌍이 각각 24.4%와 53.5%에 불과합니다. 이는 이러한 말뭉치를 얼마나 유지해야 하고 어느 부분을 유지해야 하는지에 대한 의문을 제기합니다. 정확성만으로는 적절한 해답이 되지 못합니다. 특정 코너 케이스에서 오작동하는 쌍이라 하더라도 여전히 유효한 구문 및 인터페이스 규칙을 보여주며, 복잡한 순차 회로 설계는 생성하기 어려울 뿐만 아니라 검증하기도 어렵기 때문에 정확성만으로 필터링하면 짧고 단순한 모듈로 구성된 말뭉치만 남게 됩니다. 또한 RTL에서는 동작 특성이 표면에 거의 드러나지 않고 전체 말뭉치를 검증하더라도 쌍을 통과와 실패로만 분류할 뿐이므로 정확성을 확보하는 것 역시 어렵습니다. 본 논문에서는 각 명세를 시뮬레이션에 실패한 구현들과 대조하여 동작 인지 호환성 사전 확률(prior)을 학습하고, 소수의 검증된 쌍을 사용하여 이를 새로운 말뭉치에 캘리브레이션하는 RTLCurator를 제시합니다. 그런 다음 정렬(alignment), 표현 커버리지, RTL 구조적 풍부함의 균형을 맞추어 유지할 부분집합을 구성합니다. CodeV 및 RTLCoder에서 풀의 10%만 검증하면서 이러한 방식으로 말뭉치의 80%를 유지한 결과, 보고된 모든 지표에서 전체 말뭉치로 학습한 것보다 성능이 향상된 반면, 점수만으로 순위를 매기는 방식은 무작위 선택보다 뒤처졌고 전체 풀을 시뮬레이션으로 필터링하는 방식도 더 나은 결과를 내지 못했습니다.

원문 초록

Training large language models (LLMs) to write register-transfer level (RTL) requires large corpora of paired specifications and code, and such data is scarce enough that most public corpora are now synthesized. Synthesis provides scale but not correctness, and in two widely used RTL datasets only 24.4% and 53.5% of pairs pass generated functional tests. This raises the question of how much of such a corpus to keep and which part of it. Correctness alone is a poor answer. A pair that misbehaves in one corner case still shows valid syntax and interface conventions, and complex sequential designs are both harder to generate and harder to validate, so filtering by correctness leaves a corpus of short and simple modules. Correctness is also hard to obtain, since behavior leaves little trace on the surface in RTL, and validating an entire corpus only sorts pairs into passed and failed. We present RTLCurator, which learns a behavior-aware compatibility prior by contrasting each specification with implementations that fail simulation, and calibrates it to a new corpus using a small number of validated pairs. It then constructs the retained subset by balancing alignment, representation coverage, and RTL structural richness. On CodeV and RTLCoder, keeping 80% of the corpus this way improves on training with the full corpus across all reported metrics while validating only 10% of the pool, whereas ranking by the score alone falls below random selection and filtering the whole pool by simulation does no better.

제출 이력

확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.

  1. arXiv:2607.29283v1제출 시각 미확인

함께 살펴볼 논문

공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.

공통 태그로 연결된 공개 논문이 아직 없습니다.

토론

이 논문과 연결된 포럼 글이 아직 없습니다.