arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2510.01598cs.LGcond-mat.mtrl-sciphysics.data-an
收藏

利用并行磁性隧道结真随机特性保障生成式人工智能安全

Securing generative artificial intelligence with parallel magnetic tunnel junction true randomness

National University of Singapore(新加坡国立大学)

Youwei Bao, Shuhan Yang, Hyunsoo Yang

AI总结:

针对生成式AI所用伪随机数易被攻击、传统防御开销大的问题,提出基于STT-MTJs的并行硬件真随机数系统,可大幅降低GAN不安全输出,具备高扩展性,适用于大模型采样,为下一代GAI提供安全组件。

摘要:

生成式人工智能(GAI)模型中使用的确定性伪随机数生成器(PRNGs)会产生可预测的模式,易被攻击者利用。针对这些漏洞的传统防御措施通常会带来显著的能耗和延迟开销。在此,我们嵌入来自自旋转移矩磁性隧道结(STT-MTJs)的硬件生成真随机位来应对这些挑战。一套高度并行的、FPGA辅助的原型计算系统可提供兆比特每秒速率的真随机数,在以极低开销完成原位运行后通过了NIST随机性测试。将硬件随机位集成到在CIFAR-10上训练的生成对抗网络(GAN)中,与低质量随机数生成器(RNG)基线相比,不安全输出最多减少了18.6倍。凭借纳秒级切换速度、高能效以及已验证的可扩展性,我们基于STT-MTJ的系统有望扩展至超过10⁶个并行单元,实现适用于大语言模型采样的吉比特每秒吞吐量。这一进展凸显了自旋电子RNG作为下一代GAI系统实用安全组件的价值。

英文摘要:

Deterministic pseudo random number generators (PRNGs) used in generative artificial intelligence (GAI) models produce predictable patterns vulnerable to exploitation by attackers. Conventional defences against the vulnerabilities often come with significant energy and latency overhead. Here, we embed hardware-generated true random bits from spin-transfer torque magnetic tunnel junctions (STT-MTJs) to address the challenges. A highly parallel, FPGA-assisted prototype computing system delivers megabit-per-second true random numbers, passing NIST randomness tests after in-situ operations with minimal overhead. Integrating the hardware random bits into a generative adversarial network (GAN) trained on CIFAR-10 reduces insecure outputs by up to 18.6 times compared to the low-quality random number generators (RNG) baseline. With nanosecond switching speed, high energy efficiency, and established scalability, our STT-MTJ-based system holds the potential to scale beyond 106 parallel cells, achieving gigabit-per-second throughput suitable for large language model sampling. This advancement highlights spintronic RNGs as practical security components for next-generation GAI systems.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑