Abstract: Sensitive inferences and user re-identification are major threats to privacy when raw sensor data from wearable or portable devices are shared with cloud-assisted applications. To mitigate these threats, we propose mechanisms to transform sensor data before sharing them with applications running on users' devices. These transformations aim at eliminating patterns that can be used for user re-identification or for inferring potentially sensitive activities, while introducing a minor utility loss for the target application (or task). We show that, on gesture and activity recognition tasks, we can prevent inference of potentially sensitive activities while keeping the reduction in recognition accuracy of non-sensitive activities to less than 5 percentage points. We also show that we can reduce the accuracy of user re-identification and of the potential inference of gender to the level of a random guess, while keeping the accuracy of activity recognition comparable to that obtained on the original data.
Introduction
Modern smart devices are packed with motion sensors, such as accelerometers and gyroscopes, that provide a detailed window into our daily lives. While a step-counter or fitness app needs this data to function, the raw signal is inherently "leaky." Beyond the intended utility, an "honest-but-curious" app provider can use that same data to infer sensitive habits (like smoking), personal attributes (like gender), or even create a unique biometric fingerprint to re-identify a user across different datasets.
The current mobile permission model is largely binary: users must either grant full access to raw sensor data or the application fails to function. This research proposes a middle ground: a local transformation layer that resides on the user's device, filtering out private patterns while passing through the "utility" data the application actually requires.
Proposed Framework
The proposed solution is a compound framework consisting of two specialized deep learning models designed to process data sequentially before it reaches the cloud.
Replacement AutoEncoder (RAE)
The RAE handles the suppression of "sensitive" activities (e.g., smoking or typing). It is trained to recognize these specific patterns and map them to "neutral" data (e.g., standing still). This approach preserves the temporal structure and dimensionality of the data, allowing the target application to continue functioning without "noticing" the missing private information. "Required" activities, such as walking for a step counter, are passed through the RAE with minimal distortion.
Anonymizing AutoEncoder (AAE)
Even if the activity itself is not sensitive, the specific way an individual moves is often unique. The AAE uses adversarial training to strip away these user-specific "fingerprints." It employs a multi-objective loss function that balances three goals: minimizing identity information (privacy), maximizing activity-related patterns (utility), and minimizing overall data distortion. By competing against an internal "adversary" classifier during training, the AAE learns to specifically target and remove identity-revealing features.
Experimental Evaluation
The framework was evaluated across five diverse datasets: Opportunity (body-worn sensors), Skoda (assembly-line activities), Hand-Gesture, Utwente (including smoking as a sensitive activity), and MotionSense (used for gender and identity anonymization).
Key Results
- Sensitive Activity Suppression: On the Utwente dataset, the RAE reduced the recognition of "smoking" from nearly 100% to just 5%, while keeping the accuracy of "required" activities like walking and cycling virtually unchanged.
- Identity Protection: In the MotionSense study, raw data allowed for 96% accuracy in user re-identification. After AAE transformation, this dropped to less than 7% (near random guess), while activity recognition utility remained above 92%.
- Gender Obfuscation: The framework successfully reduced gender inference accuracy from 98.9% to 39% (where 50% is a random guess), proving it can hide demographic attributes effectively.
- Generalization: A critical finding is that these models can be trained on public datasets and then deployed to a new user's device without requiring re-training on that specific user's private data.
Conclusion and Future Work
This dual-autoencoder framework demonstrates that it is possible to scrub sensitive personal information and unique identity signatures from wearable sensor data with minimal utility loss. While effective, the authors acknowledge that future work must address temporal correlations between consecutive time windows that might still leak information. Additionally, while designed for local execution, the computational impact on mobile hardware remains an area for further exploration.
Summary updated