REDLC: Learning-driven Reverse Engineering for Deep Learning Compilers
Deep Learning (DL) compilers such as TVM enable the efficient deployment of diverse DL models on heterogeneous and resource-constrained devices to meet the needs for low latency, privacy protection, and enhanced reliability. However, the booming of on-device DL technology will inevitably attract new types of cybercriminals and industrial spies aiming to steal commercial models. Emerging research focused on model-stealing attacks from the perspective of DL compilers mainly uses heuristic approaches, which do not work well with compiler-optimized models. This work proposes an advanced model-stealing attack pipeline that combines code representation learning and binary analysis to efficiently reverse retrainable DL framework models from TVM-compiled executables. To further improve the accuracy of reversed models, we exploit the computational relationships to correct the prediction of operators in the models using Graph Convolutional Networks. Extensive experiments demonstrate that our approach can recover 18 common DL models with different scales downloaded from Keras repositories with 99% accuracy.
Authors
- Liming Fang (ORCID: https://orcid.org/0000-0002-1420-2047)
- Xiaopeng Ke (ORCID: https://orcid.org/0009-0006-0039-4013)
- Yang Li (ORCID: https://orcid.org/0000-0002-0489-2742)
- Tongyu Wang (ORCID: https://orcid.org/0000-0003-0376-595X)
- Hao Han (ORCID: https://orcid.org/0000-0002-7912-027X)
- Minghui Li (ORCID: https://orcid.org/0000-0002-7969-7271)
- Fengyuan Xu (ORCID: https://orcid.org/0000-0003-3388-7544)
Institutions
- Nanjing University (CN)
- Nanjing University of Aeronautics and Astronautics (CN)
Publication Details
- Published
- 2024-10-28
- DOI
- https://doi.org/10.1109/issre62328.2024.00029
- Citations
- 3
- Primary Topic
- Parallel Computing and Optimization Techniques
- Type
- article
- Field-Weighted Citation Impact
- 1.47
Funders
- National Natural Science Foundation of China