Abstract
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.
| Original language | English (US) |
|---|---|
| Title of host publication | Proceedings - 2025 IEEE/ACM 47th International Conference on Software Engineering |
| Subtitle of host publication | Software Engineering in Practice, ICSE-SEIP 2025 |
| Publisher | Institute of Electrical and Electronics Engineers |
| Pages | 641-652 |
| Number of pages | 12 |
| Edition | 2025 |
| ISBN (Electronic) | 9798331536855 |
| DOIs | |
| State | Published - 2025 |
| Event | 47th IEEE/ACM International Conference on Software Engineering: Software Engineering in Practice, ICSE-SEIP 2025 - Ottawa, Canada Duration: Apr 27 2025 → May 3 2025 |
Conference
| Conference | 47th IEEE/ACM International Conference on Software Engineering: Software Engineering in Practice, ICSE-SEIP 2025 |
|---|---|
| Country/Territory | Canada |
| City | Ottawa |
| Period | 4/27/25 → 5/3/25 |
All Science Journal Classification (ASJC) codes
- Software
- Safety, Risk, Reliability and Quality