[Paper Review] Towards Characterizing and Limiting Information Exposure in DNN Layers
This paper proposes a framework to measure and limit sensitive information exposure in individual layers of pre-trained deep neural networks (DNNs) using generalization error as a metric. It finds that later layers expose more training data information and demonstrates that protecting these layers within a Trusted Execution Environment (TEE) incurs minimal computational overhead, making it a viable privacy-preserving solution for on-device DNNs.
Pre-trained Deep Neural Network (DNN) models are increasingly used in smartphones and other user devices to enable prediction services, leading to potential disclosures of (sensitive) information from training data captured inside these models. Based on the concept of generalization error, we propose a framework to measure the amount of sensitive information memorized in each layer of a DNN. Our results show that, when considered individually, the last layers encode a larger amount of information from the training data compared to the first layers. We find that, while the neuron of convolutional layers can expose more (sensitive) information than that of fully connected layers, the same DNN architecture trained with different datasets has similar exposure per layer. We evaluate an architecture to protect the most sensitive layers within the memory limits of Trusted Execution Environment (TEE) against potential white-box membership inference attacks without the significant computational overhead.
Motivation & Objective
- To quantify how much sensitive information from training data is memorized in individual DNN layers.
- To identify which layers are most vulnerable to membership inference attacks based on information exposure.
- To evaluate the feasibility of protecting the most sensitive DNN layers using a resource-constrained Trusted Execution Environment (TEE).
- To assess the performance overhead of deploying critical DNN layers within a TEE on mobile devices.
Proposed method
- The framework measures sensitive information exposure via generalization error—the difference in prediction accuracy between training data (S) and non-private test data (T) for each layer.
- Maximum and minimum generalization errors are computed by fine-tuning individual layers on S and X (S ∪ T), respectively, to bound exposure risk.
- The method isolates and evaluates the risk of membership inference by measuring how well a model can distinguish whether a data point was in the training set.
- A TEE-based protection scheme is implemented using ARM's TrustZone, where the most sensitive (last) layers are executed securely within the TEE while earlier layers run in the normal environment.
- Experiments use VGG-7 fine-tuned on MNIST, Fashion-MNIST, and CIFAR-10, with Darknet and OP-TEE on a Raspberry Pi 3 to evaluate memory, execution time, and power overhead.
- The approach evaluates layer-by-layer deployment in the TEE, including both trainable (convolutional, fully connected) and non-trainable (dropout, maxpooling) layers, to assess cost implications.
Experimental results
Research questions
- RQ1Which DNN layers are most vulnerable to exposure of sensitive training data information?
- RQ2How does generalization error vary across layers in a DNN, and can it be used to quantify information exposure risk?
- RQ3Does protecting the most sensitive DNN layers within a TEE significantly impact memory, execution time, or power consumption on mobile devices?
- RQ4How does the presence of non-trainable layers (e.g., dropout, maxpooling) affect TEE deployment costs when their preceding trainable layers must also be moved?
Key findings
- The last layers of a DNN expose significantly more sensitive information from the training data than earlier layers, as indicated by higher generalization error.
- The risk of information exposure per layer is independent of the dataset used during training, suggesting a consistent layer-level vulnerability pattern across different data distributions.
- Deploying the last layers in a TEE increases execution time by only 1.94% (MNIST) and 1.62% (CIFAR-10) compared to the baseline, with minimal memory overhead (2.43% and 2.19%, respectively).
- Power consumption remains largely unaffected, with F-statistics of 1.49 (p=0.170) for MNIST and 1.61 (p=0.132) for CIFAR-10, indicating no significant increase.
- Non-trainable layers (e.g., dropout, maxpooling) increase overhead when deployed in the TEE because their front trainable layers must also be copied into the TEE, raising cost.
- Protecting fully connected and convolutional layers in the TEE incurs lower overhead than protecting non-trainable layers, making them more suitable candidates for secure deployment.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.