[Paper Review] Anonymizing Sensor Data on the Edge: A Representation Learning and Transformation Approach
This paper proposes an adversarial model-free anonymization technique for IoT sensor data that uses attribute-specific variational autoencoders (VAEs) to learn latent representations, followed by deterministic or probabilistic transformations in the latent space to obscure private attributes while preserving public attributes. The method achieves real-time anonymization on edge devices like the Raspberry Pi, outperforming adversarial model-based baselines in privacy protection and utility retention.
The abundance of data collected by sensors in Internet of Things (IoT) devices, and the success of deep neural networks in uncovering hidden patterns in time series data have led to mounting privacy concerns. This is because private and sensitive information can be potentially learned from sensor data by applications that have access to this data. In this paper, we aim to examine the tradeoff between utility and privacy loss by learning low-dimensional representations that are useful for data obfuscation. We propose deterministic and probabilistic transformations in the latent space of a variational autoencoder to synthesize time series data such that intrusive inferences are prevented while desired inferences can still be made with sufficient accuracy. In the deterministic case, we use a linear transformation to move the representation of input data in the latent space such that the reconstructed data is likely to have the same public attribute but a different private attribute than the original input data. In the probabilistic case, we apply the linear transformation to the latent representation of input data with some probability. We compare our technique with autoencoder-based anonymization techniques and additionally show that it can anonymize data in real time on resource-constrained edge devices.
Motivation & Objective
- To address the privacy-utility tradeoff in IoT sensor data by enabling real-time anonymization on resource-constrained edge devices.
- To prevent attribute inference attacks without relying on adversarial training with specific models.
- To design a scalable, model-free anonymization framework that preserves public attribute utility while obscuring private attributes.
- To evaluate the technique on real HAR datasets and demonstrate feasibility on low-power edge hardware like the Raspberry Pi.
- To explore the tradeoffs between edge and cloud-based computation for anonymization workloads.
Proposed method
- Trains attribute-specific VAEs for each public attribute class to learn compact, task-specific latent representations.
- Augments the VAE loss with a cross-entropy term for private attribute classification to structure the latent space around private attribute classes.
- Applies deterministic or probabilistic linear transformations to the latent representation to shift it toward a different private attribute while preserving public attribute identity.
- Uses a central server to broadcast average latent representations for each public-private attribute pair, which edge devices use at inference time.
- Selects the appropriate VAE and average latent representation based on predicted public attributes using pre-trained classifiers at the edge.
- Executes the anonymization pipeline entirely on-device, ensuring no raw data leaves the edge, and avoids trust in the central server.
Experimental results
Research questions
- RQ1Can a VAE-based latent space transformation approach effectively anonymize sensor data while preserving public attribute utility?
- RQ2How does the proposed adversarial model-free technique compare to adversarial model-based baselines in resisting attribute inference attacks?
- RQ3Can the anonymization pipeline be executed in real time on low-power edge devices like the Raspberry Pi?
- RQ4What is the performance impact of using deterministic versus probabilistic latent space transformations?
- RQ5Is offloading parts of the anonymization to the cloud beneficial in terms of latency and energy efficiency?
Key findings
- The proposed method reduced private attribute inference accuracy to near-random guessing levels (≈50%) in both MotionSense and MobiAct datasets, indicating strong privacy protection.
- The anonymization pipeline achieved a latency of 5.63 ms per embedding on a Raspberry Pi 3 Model B, enabling real-time operation.
- The probabilistic transformation approach achieved near-optimal privacy by reducing inference accuracy to 50%, approaching the theoretical minimum.
- The method outperformed adversarial model-based baselines in both privacy protection and utility preservation, as measured by public attribute recognition accuracy.
- Partitioning the anonymization pipeline for cloud offloading was not beneficial due to high network latency, making edge execution more efficient.
- The use of attribute-specific VAEs reduced model size and improved anonymization performance compared to a single shared VAE.
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.