Iowa State University - Thesis & Dissertation
Cache side-channel analysis for on-device DNN architecture reconstruction on Android
Abstract
dc:description.abstractMobile applications increasingly execute deep neural networks (DNNs) directly on smartphones to reduce latency, preserve privacy, and support offline operations. As these DNNs' architectures are considered valuable intellectual property, model extraction via cache side-channel attacks poses a significant threat. However, extracting DNN architecture on smartphones (e.g., Android) is challenging due to system architecture and policies such as non-inclusive L3 cache, aggressive task scheduling, and dynamic voltage and frequency scaling. These factors break key assumptions used by existing server-oriented cache side-channel attacks, making them unreliable on smartphones. In this thesis, we present CacheSight, a practical cache side-channel attack that reconstructs on-device DNN architectures from shared cache memory space in smartphones under noisy conditions. CacheSight first leverages OS-supported performance sampling to identify frequently executed instruction offsets during inference and select kernel-specific L3 cache sets to monitor. It then applies an amplified Prime+Probe strategy with multi-run aggregation and feature extraction to classify layer types, convolution kernel shapes, and channel dimensions, enabling end-to-end reconstruction of the on-device DNN model architecture using only attacker-collected cache traces. We evaluate CacheSight on a Google Pixel 7a against popular DNN models (MobileNetV2, EfficientNet-Lite4, and ResNet18V1). CacheSight reconstructs ordered layer sequences with up to 99.5% accuracy and recovers kernel shapes and channel dimensions for convolutional layers with up to 100% accuracy. We further show that the recovered architecture enables a surrogate model achieving up to 79.4% accuracy, closely matching the original MobileNetV2 (81.82%), enabling downstream transfer attacks.
Degree
thesis:*- Name thesis:degree_name
- Master of Science
- Level thesis:degree_level
- thesis
- Discipline thesis:degree_discipline
- Computer science
- Grantor
- Iowa State University - Thesis & Dissertation
- Year dc:date.issued
- 2026
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Nayim, Md Al Muzahid
- Advisor dc:contributor.advisor
-
- Sikder, Amit Kumar
Subjects
dc:subject × 1Rights
- Language dc:language.iso
- en_US
Identifiers
dc:identifier.*- Identifier URI
- https://dr.lib.iastate.edu/handle/20.500.12876/108082