The Limits of SEMA on Distinguishing Similar Activation Functions of Embedded Deep Neural Networks
Source abstract
Abstract
Artificial intelligence (AI) is progressing rapidly, and in this trend, edge AI has been researched intensively. However, much less work has been performed around the security of edge AI. Machine learning models are a mass of intellectual property, and an optimized network is very valuable. Trained machine learning models need to be black boxes as well because they may give away information about the training data to the outside world. As selecting the appropriate activation functions to enable fast training of accurate deep neural networks is an active area of research, it is important to conceal the information of the activation functions used in a neural network architecture as well. There has been research on the use of physical attacks such as the side-channel attack (SCA) in areas other than cryptography. The SCA is highly effective against edge artificial intelligence due to its property of the device computing close to the user. We studied a previously proposed method to retrieve the activation functions of a black box neural network implemented on an edge device by using simple electromagnetic analysis (SEMA) and improved the signal processing procedure for further noisy measurements. The SEMA attack identifies activation functions by directly observing distinctive electromagnetic (EM) traces that correspond to the operations in the activation function. This method requires few executions and inputs and also has little implementation dependency on the activation functions. We distinguished eight similar activation functions with EM measurements and examined the versatility and limits of this attack. In this work, the machine learning architecture is a multilayer perceptron, evaluated on an Arduino Uno.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Advanced Memory and Neural Computing · Physical Unclonable Functions (PUFs) and Hardware Security · Adversarial Robustness in Machine Learning
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
Department of Informatics, The University of Electro-Communications, 1-5-1 Chofugaoka, Chofu, Tokyo 182-8585, Japan
Department of Information and Communications Engineering, Tokyo Institute of Technology, 2-12-1 Ookayama, Meguro-ku, Tokyo 152-8550, Japan
Funding
JST AIP Acceleration Research · JSPS KAKENHI
References (33)
Show source-provided references
1. Krizhevsky, A., Sutskever, I., and Hinton, G.E. (2012, January 3–6). ImageNet Classification with Deep Convolutional Neural Networks. Proceedings of the Advances in Neural Information Processing Systems 25: 26th Annual Conference on Neural Information Processing Systems 2012, Lake Tahoe, NV, USA.
2. He, K., Zhang, X., Ren, S., and Sun, J. (2016, January 27–30). Deep Residual Learning for Image Recognition. Proceedings of the 2016 IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2016, Las Vegas, NV, USA.10.1109/CVPR.2016.90 ↗
3. Tariq, Z., Shah, S.K., and Lee, Y. (2019, January 9–12). Speech Emotion Detection using IoT based Deep Learning for Health Care. Proceedings of the 2019 IEEE International Conference on Big Data (IEEE BigData), Los Angeles, CA, USA.10.1109/BigData47090.2019.9005638 ↗
4. Reinforcement learning in robotics: A survey10.1177/0278364913495721 ↗
5. From NLP (Natural Language Processing) to MLP (Machine Language Processing)
6. Gilad-Bachrach, R., Dowlin, N., Laine, K., Lauter, K.E., Naehrig, M., and Wernsing, J. (2016, January 19–24). CryptoNets: Applying Neural Networks to Encrypted Data with High Throughput and Accuracy. Proceedings of the 33nd International Conference on Machine Learning, ICML 2016, New York, NY, USA.
7. Fu, K., and Jung, J. (2014, January 20–22). Privacy in Pharmacogenetics: An End-to-End Case Study of Personalized Warfarin Dosing. Proceedings of the 23rd USENIX Security Symposium, San Diego, CA, USA.
8. Thuraisingham, B.M., Evans, D., Malkin, T., and Xu, D. (November, January 30). Neural Network-Based Graph Embedding for Cross-Platform Binary Code Similarity Detection. Proceedings of the 2017 ACM SIGSAC Conference on Computer and Communications Security, CCS 2017, Dallas, TX, USA.
9. Thuraisingham, B.M., Evans, D., Malkin, T., and Xu, D. (November, January 30). Synthesis of Probabilistic Privacy Enforcement. Proceedings of the 2017 ACM SIGSAC Conference on Computer and Communications Security, CCS 2017, Dallas, TX, USA.
10. (2022, January 05). Riscure. Available online: https://www.riscure.com/.
11. Yu, H., Ma, H., Yang, K., Zhao, Y., and Jin, Y. (2020, January 7–11). DeepEM: Deep Neural Networks Model Recovery through EM Side-Channel Information Leakage. Proceedings of the 2020 IEEE International Symposium on Hardware Oriented Security and Trust, HOST 2020, San Jose, CA, USA.10.1109/HOST45689.2020.9300274 ↗
12. Wei, L., Luo, B., Li, Y., Liu, Y., and Xu, Q. (2018, January 3–7). I Know What You See: Power Side-Channel Attack on Convolutional Neural Network Accelerators. Proceedings of the 34th Annual Computer Security Applications Conference, ACSAC 2018, San Juan, PR, USA.10.1145/3274694.3274696 ↗
13. Yan, M., Fletcher, C.W., and Torrellas, J. (2018, January 15–17). Cache Telepathy: Leveraging Shared Resource Attacks to Learn DNN Architectures. Proceedings of the 29th USENIX Security Symposium, Baltimore, MD, USA.
14. Hong, S., Davinroy, M., Kaya, Y., Dachman-Soled, D., and Dumitras, T. (2020, January 26–30). How to 0wn the NAS in Your Spare Time. Proceedings of the 8th International Conference on Learning Representations, ICLR 2020, Addis Ababa, Ethiopia.
15. Heninger, N., and Traynor, P. (2019, January 14–16). CSI NN: Reverse Engineering of Neural Network Architectures Through Electromagnetic Side Channel. Proceedings of the 28th USENIX Security Symposium, USENIX Security 2019, Santa Clara, CA, USA.
16. Takatoi, G., Sugawara, T., Sakiyama, K., and Li, Y. (2020, January 19–22). Simple Electromagnetic Analysis Against Activation Functions of Deep Neural Networks. Proceedings of the International Conference on Applied Cryptography and Network Security, Rome, Italy.10.1007/978-3-030-61638-0_11 ↗
17. Klambauer, G., Unterthiner, T., Mayr, A., and Hochreiter, S. (2017, January 4–9). Self-Normalizing Neural Networks. Proceedings of the Advances in Neural Information Processing Systems 30: Annual Conference on Neural Information Processing Systems 2017, Long Beach, CA, USA.
18. Ramachandran, P., Zoph, B., and Le, Q.V. (May, January 30). Searching for Activation Functions. Proceedings of the 6th International Conference on Learning Representations, ICLR 2018, Vancouver, BC, Canada.
19. Timmons, N.G., and Rice, A. (2020). Approximating Activation Functions. arXiv.
20. Maas, A.L., Hannun, A.Y., and Ng, A.Y. (2013, January 16). Rectifier Nonlinearities Improve Neural Network Acoustic Models. Proceedings of the International Conference on Machine Learning (ICML) Workshop on Deep Learning for Audio, Speech and Language Processing, Atlanta, GA, USA.
21. Differential Power Analysis
22. Timing Attacks on Implementations of Diffie-Hellman, RSA, DSS, and Other Systems10.1007/3-540-68697-5_9 ↗
23. (2022, January 05). Tinkercad. Available online: https://www.tinkercad.com/.
24. Patranabis, S., and Mukhopadhyay, D. (2018). Fault Tolerant Architectures for Cryptography and Hardware Security, Springer.10.1007/978-981-10-1387-4 ↗
25. Luo, C., Fei, Y., Luo, P., Mukherjee, S., and Kaeli, D.R. (2015, January 18–21). Side-channel power analysis of a GPU AES implementation. Proceedings of the 33rd IEEE International Conference on Computer Design, ICCD 2015, New York, NY, USA.10.1109/ICCD.2015.7357115 ↗
26. On Reverse Engineering Neural Network Implementation on GPU
27. Dubey, A., Cammarota, R., and Aysu, A. (2020, January 7–11). MaskedNet: The First Hardware Inference Engine Aiming Power Side-Channel Protection. Proceedings of the 2020 IEEE International Symposium on Hardware Oriented Security and Trust, HOST 2020, San Jose, CA, USA.10.1109/HOST45689.2020.9300276 ↗
28. Regazzoni, F., Bhasin, S., Alipour, A., Alshaer, I., Aydin, F., Aysu, A., Beroulle, V., Natale, G.D., Franzon, P.D., and Hély, D. (2020, January 2–5). Machine Learning and Hardware security: Challenges and Opportunities Invited Talk. Proceedings of the IEEE/ACM International Conference on Computer Aided Design, ICCAD 2020, San Diego, CA, USA.10.1145/3400302.3416260 ↗
29. Hu, X., Liang, L., Li, S., Deng, L., Zuo, P., Ji, Y., Xie, X., Ding, Y., Liu, C., and Sherwood, T. (2020, January 16–20). DeepSniffer: A DNN Model Extraction Framework Based on Learning Architectural Hints. Proceedings of the ASPLOS’20: Architectural Support for Programming Languages and Operating Systems, Lausanne, Switzerland.10.1145/3373376.3378460 ↗
30. Duddu, V., Samanta, D., Rao, D.V., and Balas, V.E. (2018). Stealing Neural Networks via Timing Side Channels. arXiv.
31. Leaky Nets: Recovering Embedded Neural Network Models and Inputs Through Simple Power and Timing Side-Channels—Attacks and Defenses10.1109/JIOT.2021.3061314 ↗
32. Wang, H., Hafiz, S.M., Patwari, K., Chuah, C.N., Shafiq, Z., and Homayoun, H. (2022, April 15). Stealthy Inference Attack on DNN via Cache-based Side-Channel Attacks. Available online: https://web.cs.ucdavis.edu/~zubair/files/dnn-sc-date2022.pdf.10.23919/DATE54114.2022.9774742 ↗
33. Maji, S., Banerjee, U., Fuller, S.H., and Chandrakasan, A.P. (2022, January 20–26). A ThreshoId-ImpIementation-Based Neural-Network Accelerator Securing Model Parameters and Inputs Against Power Side-Channel Attacks. Proceedings of the 2022 IEEE International Solid-State Circuits Conference (ISSCC), San Francisco, CA, USA.10.1109/ISSCC42614.2022.9731598 ↗