FlatD: Protecting Deep Neural Network Program from Reversing Attacks
The emergence of Deep Learning compilers provides automated optimization and compilation across Deep Learning frameworks and hardware platforms, which enhances the performance of AI service and benefits the deployment to edge devices and low-power processors. However, deep neural network (DNN) programs generated by Deep Learning compilers introduce a new attack interface. They are targeted by new model extraction attacks that can fully or partially rebuild the DNN model by reversing the DNN programs. Unfortunately, no defense countermeasure is designed to hinder this kind of attack. To address the issue, we investigate all of the state-of-the-art reversing-based model extraction attacks and identify an essential component shared across the frameworks. Based on this observation, we propose FlatD, the first defense framework for DNN programs toward reversing-based model extraction attacks. FlatD manipulates and conceals the original Control Flow Graphs of DNN programs based on Control Flow Flattening. Unlike traditional Control Flow Flattening, FlatD ensures the DNN programs are challenging for attackers to recover their Control Flow Graphs and gain necessary information statically. Our evaluation shows that, compared to the traditional Control Flow Flattening (O-LLVM), FlatD provides more effective and stealthy protection to DNN programs with similar performance and lower scale.
Authors
- Dinghao Wu
- Rui Zhong (ORCID: https://orcid.org/0009-0000-1305-8250)
- Zihao Wang (ORCID: https://orcid.org/0000-0001-9708-6012)
- Pei Wang (ORCID: https://orcid.org/0000-0002-6259-6597)
- Jinquan Zhang (ORCID: https://orcid.org/0000-0001-5193-0687)
Institutions
- Pennsylvania State University (US)
- Foundation for Individual Rights in Education (US)
- Palo Alto Networks (United States) (US)
Publication Details
- Published
- 2025-04-27
- DOI
- https://doi.org/10.1109/icse-seip66354.2025.00062
- Primary Topic
- Adversarial Robustness in Machine Learning
- Type
- article
- Field-Weighted Citation Impact
- 0.00