使用脉动阵列的惰性算术以缩小嵌入式系统上的验证差距 Lazy Arithmetic using Systolic Arrays for Closing the Verification Gap on Embedded Systems 预印本
原文摘要
查看英文原文摘要
Complex algorithms such as deep neural networks are increasingly being deployed on embedded, resource constrained platforms. However, existing hardware and software schemes for implementing these models on the edge fall short, particularly for safety-critical applications such as medical devices. First, hardware such as GPUs, NPUs and TPUs are designed for throughput rather than correctness of computation of security, and are as such susceptible to fault injection attacks. Second, software schemes designed for porting algorithms onto edge devices -- such as quantization schemes -- are either static and sound (non-optimal power consumption), or dynamic yet unsound (non-optimal for safety-critical applications). To address both these needs we propose a both wholly new approach to real-time, dynamic and sound quantization, as well as the hardware to support it. First we developed a sound, real-time adaptive-precision quantization approach utilizing left-to-right arithmetic to pass the most significant bits (MSB) first, and dynamically adjust precision online while performing sensitivity analysis to quantify and manage the risk of decision-boundary crossings. Next, we propose a novel hardware approach utilizing systolic arrays to perform left-to-right arithmetic to generate the MSB first. Together this provides a wholly novel scheme for enabling not only resource-efficient neural networks and artificial intelligence at the edge, but broadly sound and resource-efficient high-precision mathematics on hardware that ensures resilience to bit flip attacks on the most critical bits. This is presented herein as work-in-progress, with software implementations completed and hardware in-progress.
📚 参考文献 (12 条)
查看12 条参考文献
- [1] Sharan Chetlur, Cliff Woolley, Philippe Vandermersch, Jonathan Cohen, John Tran, Bryan Catanzaro, and Evan Shelhamer. 2014. cuDNN: Efficient Primitives for Deep Learning. (10 2014).
- [2] Alberto Ciaffaglione and Pietro Di Gianantonio. 1999. A Co-inductive Approach to Real Numbers. In Selected Papers from the International Workshop on Types for Proofs and Programs (TYPES ’99). Springer-Verlag, Berlin, Heidelberg, 114–130.
- [3] Hai Duong, ThanhVu Nguyen, and Matthew B. Dwyer. 2025. NeuralSAT: A High-Performance Verification Tool for Deep Neural Networks. In Computer Aided Verification, Ruzica Piskac and Zvonimir Rakamarić (Eds.). Springer Nature Switzerland, Cham, 409–423.
- [4] R. J. George, J. Cruden, X. Zhong, H. Zhang, and A. Anandkumar. 2026. TorchLean: Formalizing Neural Networks in Lean. arXiv preprint arXiv:2602.22631 (2026).
- [5] Wilfread Guillemé, Gaëtan Lounes, Angeliki Kritikakou, Youri Helen, Robin Gerzaguet, Matthieu Gautier, Cédric Killian, and Daniel Chillet. 2026. Selective Triplication for Fault-Tolerant Systolic Array Processing Elements. In Proceedings of the Rapid Simulation and Performance Evaluation for Design Workshop (RAPIDO ’26). Association for Computing Machinery, New York, NY, USA, 8–13. doi:10. 1145/3787501.3787503
- [6] Jon Gutiérrez-Zaballa, Koldo Basterretxea, and Javier Echanobe. 2024. Evaluating single event upsets in deep neural networks for semantic segmentation: An embedded system perspective. Journal of Systems Architecture 154 (2024), 103242. doi:10.1016/j.sysarc.2024.103242
- [7] Kai Jia and Martin Rinard. 2021. Exploiting Verified Neural Networks via Floating Point Numerical Error. In Static Analysis: 28th International Symposium, SAS 2021, Chicago, IL, USA, October 17–19, 2021, Proceedings (Chicago, IL, USA). Springer- Verlag, Berlin, Heidelberg, 191–205. doi:10.1007/978-3-030-88806-0_9
- [8] Régis Leveugle, Ahmed Al-Kaf, and Mounir Benabdenbi. 2025. Edge AI Trust- worthiness: Revisiting Bit-Flip Impacts and Criticality Conditions. Electronics 14, 16 (Aug. 2025), 3186. doi:10.3390/electronics14163186
- [9] Debasmita Lohar, Clothilde Jeangoudoux, Anastasia Volkova, and Eva Darulova. 2023. Sound Mixed Fixed-Point Quantization of Neural Networks. ACM Transac- tions on Embedded Computing Systems 22, 5s (Sept. 2023), 1–26.
- [10] Monal Narasimhamurthy, Taisa Kushner, Souradeep Dutta, and Sriram Sankara- narayanan. 2019. Verifying Conformance of Neural Network Models: Invited Paper. 2019 IEEE/ACM International Conference on Computer-Aided Design (IC- CAD) (2019), 1–8.
- [11] Shiqi Wang, Huan Zhang, Kaidi Xu, Xue Lin, Suman Jana, Cho-Jui Hsieh, and Zico Kolter. 2021. Beta-CROWN: efficient bound propagation with per-neuron split constraints for neural network robustness verification. In Proceedings of the 35th International Conference on Neural Information Processing Systems (NIPS ’21). Curran Associates Inc., Red Hook, NY, USA, Article 2289, 13 pages.
- [12] Han Xiao, Kashif Rasul, and Roland Vollgraf. 2017. Fashion-MNIST: a Novel Image Dataset for Benchmarking Machine Learning Algorithms. arXiv:cs.LG/1708.07747 [cs.LG]