Back to search

Iowa State University - Thesis & Dissertation

Cache side-channel analysis for on-device DNN architecture reconstruction on Android

Abstract

dc:description.abstract

Mobile 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 × 1

Rights

Language dc:language.iso
en_US

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
Iowa State University
Base URL
dr.lib.iastate.edu/server/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
citation

Nayim, Md Al Muzahid. Cache side-channel analysis for on-device DNN architecture reconstruction on Android. thesis thesis, Iowa State University - Thesis & Dissertation, 2026. https://doi.org/10.31274/td-20261111-92