arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2204.06117cs.AI
收藏

AdaTest:用于片上硬件木马检测的强化学习和自适应采样

AdaTest:Reinforcement Learning and Adaptive Sampling for On-chip Hardware Trojan Detection

UC San Diego(加州大学圣地亚哥分校);San Diego State University(圣地亚哥州立大学)

Huili Chen, Xinqiao Zhang, Ke Huang, Farinaz Koushanfar

摘要:

本文提出了AdaTest,一种新的自适应测试模式生成框架的高效和可靠的硬件木马(HT)检测。HT是一种篡改受害者集成电路(IC)设计的后门攻击。AdaTest改进了现有的HT检测技术,提高了在存在噪声和变化的情况下检测较小木马的可扩展性和准确性。为了实现高触发覆盖率,AdaTest利用强化学习(RL)来生成一组不同的测试输入。特别地,我们以迭代的方式逐步生成具有高奖励值的测试向量。在每次迭代中,测试集都会被评估并根据需要自适应扩展。此外,AdaTest集成了自适应采样,以优先考虑为HT检测提供更多信息的测试样本,从而减少样本数量,同时提高样本质量,以实现更快的探索。我们采用软硬件协同设计原则开发AdaTest,并提供优化的片上架构解决方案。AdaTest的架构以两种方式最小化硬件开销:(i)在可编程硬件上部署电路仿真以加速测试输入的奖励评估;(ii)通过自动构建用于测试输入生成,奖励评估和自适应采样的辅助电路来流水线化AdaTest中的每个计算阶段。我们评估AdaTest的性能在各种HT基准测试,并比较它与两个以前的作品,使用逻辑测试HT检测。实验结果表明,AdaTest在达到相同或更高木马检测率的同时,测试生成速度提高了两个数量级,测试集规模减少了两个数量级.

英文摘要:

This paper proposes AdaTest, a novel adaptive test pattern generation framework for efficient and reliable Hardware Trojan (HT) detection. HT is a backdoor attack that tampers with the design of victim integrated circuits (ICs). AdaTest improves the existing HT detection techniques in terms of scalability and accuracy of detecting smaller Trojans in the presence of noise and variations. To achieve high trigger coverage, AdaTest leverages Reinforcement Learning (RL) to produce a diverse set of test inputs. Particularly, we progressively generate test vectors with high reward values in an iterative manner. In each iteration, the test set is evaluated and adaptively expanded as needed. Furthermore, AdaTest integrates adaptive sampling to prioritize test samples that provide more information for HT detection, thus reducing the number of samples while improving the sample quality for faster exploration. We develop AdaTest with a Software/Hardware co-design principle and provide an optimized on-chip architecture solution. AdaTest's architecture minimizes the hardware overhead in two ways:(i) Deploying circuit emulation on programmable hardware to accelerate reward evaluation of the test input; (ii) Pipelining each computation stage in AdaTest by automatically constructing auxiliary circuit for test input generation, reward evaluation, and adaptive sampling. We evaluate AdaTest's performance on various HT benchmarks and compare it with two prior works that use logic testing for HT detection. Experimental results show that AdaTest engenders up to two orders of test generation speedup and two orders of test set size reduction compared to the prior works while achieving the same level or higher Trojan detection rate.

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

↑