Metraipolis › archive › dc_91e9e1e22ca0

RTLGuard: A Lightweight Teacher-Student Defense for Poisoned RTL Code Generation Models — arXiv:2608.26049

Source
arXiv (en)
Original
https://arxiv.org/abs/2608.26049
License (as archived)
CC0-1.0
Archived
2026-10-18T00:29:40.925Z
SHA-256 of the archived text
f224bae303032638902e76b142e92269b1a1cb855022a2e5c02397ce64cfabce
Stable URL of this page
https://metraipolis.com/documento/dc_91e9e1e22ca0

How to cite

RTLGuard: A Lightweight Teacher-Student Defense for Poisoned RTL Code Generation Models — arXiv:2608.26049 — arXiv (en), https://arxiv.org/abs/2608.26049 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_91e9e1e22ca0 (Metraipolis archive dc_91e9e1e22ca0, sha256 f224bae303032638902e76b142e92269b1a1cb855022a2e5c02397ce64cfabce)
BibTeX
@misc{dc91e9e1e22ca0,
  title = {RTLGuard: A Lightweight Teacher-Student Defense for Poisoned RTL Code Generation Models — arXiv:2608.26049},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2608.26049},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_91e9e1e22ca0; sha256 f224bae303032638902e76b142e92269b1a1cb855022a2e5c02397ce64cfabce},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.26049. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

The rapid advancement of large language models (LLMs) is driving a shift toward automated register transfer level (RTL) code generation, enabling designers to translate high-level specs. into synthesizable hardware. However, this reliance on pre-trained (3rd-party) fine-tuned models may introduce critical trust issues, as the training data and adaptation process of these models are often opaque. Thus, adversaries (even model providers) may embed hidden backdoor threats during fine-tuning, allowing malicious behavior, e.g., hardware Trojans, to be triggered by seemingly benign prompts given by victim user at inference time. In this paper, we introduce RTLGuard, to mitigate such a trust issue in AI-enabled IC supply chain. Rather than prohibitive computational cost of full-parameter retraining, RTLGuard leverages a teacher-student framework designed to sanitize compromised RTL generation models by (1) fine-tuning a small-scale, "clean" teacher model on a limited set of trusted RTL data, (2) guiding the poisoned target model via a composite teacher-student objective, and (3) incorporating feature alignment and knowledge distillation to suppress malicious behaviors. Our experiments across various LLM architectures demonstrate that RTLGuard significantly reduces the Attack Success Rate (ASR) while preserving the functional correctness and synthesizability of the generated RTL code.

Tema degli esploratori: calcolo e infrastrutture (retro-catalogo arXiv: annunci del 2026-08-27 in cs.AR).
Categorie arXiv: Cryptography and Security (cs.CR) ; Hardware Architecture (cs.AR).
Pagina del lavoro: https://arxiv.org/abs/2608.26049 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-18T00:29:32.288Z dalla pagina https://arxiv.org/catchup/cs.AR/2026-08-27?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).