paper-with-me

홈 › Papers

When Forgetting Builds Reliability: LLM Unlearning for Reliable Hardware Code Generation

2025-12-05 · Yiwen Liang, Qiufeng Li, Shikai Wang, Weidong Cao arxiv

Large Language Models (LLMs) have shown strong potential in accelerating digital hardware design through automated code generation. Yet, ensuring their reliability remains a critical challenge, as existing LLMs trained on massive heterogeneous datasets often exhibit problematic memorization of proprietary intellectual property (IP), contaminated benchmarks, and unsafe coding patterns. To mitigate these risks, we propose a novel unlearning framework tailored for LLM-based hardware code generation. Our method combines (i) a syntax-preserving unlearning strategy that safeguards the structural integrity of hardware code during forgetting, and (ii) a fine-grained floor-aware selective loss that enables precise and efficient removal of problematic knowledge. This integration achieves effective unlearning without degrading LLM code generation capabilities. Extensive experiments show that our framework supports forget sets up to 3x larger, typically requiring only a single training epoch, while preserving both syntactic correctness and functional integrity of register-transfer level (RTL) codes. Our work paves an avenue towards reliable LLM-assisted hardware design.

📄 PDF Abstract BibTeX arXiv:2512.05341

Code (0)

등록된 구현이 없습니다.

Tasks

Code Generation

Similar Papers 제목 키워드 기반

CUFG: Curriculum Unlearning Guided by the Forgetting Gradient

2025-09-18 · Jiaxing Miao, Liang Hu, Qi Zhang, Lai Zhong Yuan 외 arxiv

As privacy and security take center stage in AI, machine unlearning, the ability to erase specific knowledge from models, has garnered increasing attention. However, existing methods overly prioritize efficiency and aggr…

Stable Forgetting: Bounded Parameter-Efficient Unlearning in Foundation Models

2025-09-29 · Arpit Garg, Hemanth Saratchandran, Ravi Garg, Simon Lucey arxiv

Machine unlearning in foundation models (e.g., language and vision transformers) is essential for privacy and safety; however, existing approaches are unstable and unreliable. A widely used strategy, the gradient differe…

Representation Unlearning: Forgetting through Information Compression

2026-01-29 · Antonio Almudévar, Alfonso Ortega arxiv

Machine unlearning seeks to remove the influence of specific training data from a model, a need driven by privacy regulations and robustness concerns. Existing approaches typically modify model parameters, but such updat…

Computational Efficiency

Forgetting-MarI: LLM Unlearning via Marginal Information Regularization

2025-11-14 · Shizhou Xu, Yuan Ni, Stefan Broecker, Thomas Strohmer arxiv

As AI models are trained on ever-expanding datasets, the ability to remove the influence of specific data from trained models has become essential for privacy protection and regulatory compliance. Unlearning addresses th…

Leak@$k$: Unlearning Does Not Make LLMs Forget Under Probabilistic Decoding

2025-11-07 · Hadi Reisizadeh, Jiajun Ruan, Yiwei Chen, Soumyadeep Pal 외 arxiv

Unlearning in large language models (LLMs) is critical for regulatory compliance and for building ethical generative AI systems that avoid producing private, toxic, illegal, or copyrighted content. Despite rapid progress…