Abstract
DySan (Dynamic Sanitizer) is a privacy-preserving framework designed to protect users of wearable devices from unauthorized sensitive inferences. By leveraging adversarial networks, DySan transforms raw motion sensor data into a sanitized version that strips away personal attributes, such as gender, while preserving the data's utility for physical activity recognition. The framework introduces a dynamic selection mechanism that chooses the most effective sanitization model for a specific user's movement patterns in real-time. Experimental results demonstrate that DySan can reduce gender inference accuracy to near-random levels (57%) while maintaining high activity recognition accuracy (92%) with minimal battery impact.
Introduction
Research Report Cover Page DYSAN: Dynamically sanitizing motion sensor data against sensitive inferences through adversarial networks, page 3
In the current era of the "quantified self," millions of individuals utilize smartphones and wearables to monitor their physical activities. However, granting applications access to accelerometer and gyroscope data introduces significant privacy risks. Research indicates that motion data is a "leaky" signal; machine learning models can infer sensitive information—including gender, age, height, and health conditions—often without the user's knowledge or consent.
Existing privacy solutions typically employ static, "one-size-fits-all" filters. These often fail because human movement is highly heterogeneous; a filter effective for one individual may be inadequate for another or may excessively degrade data utility. DySan addresses this by providing a personalized, dynamic approach to data sanitization.
Methods: The DySan Framework
DySan is built upon the principles of Generative Adversarial Networks (GANs), involving a competitive framework between four primary components:
- The Sanitizer (Auto-encoder): Transforms raw sensor data into a sanitized signal.
- The Discriminator (Adversary): Attempts to infer sensitive attributes (e.g., gender) from the sanitized data. The Sanitizer is trained to minimize the Discriminator's success.
- The Predictor (Helper): Attempts to identify the user's physical activity. The Sanitizer is trained to maximize the Predictor's accuracy.
- Distortion Measurement: A loss function that ensures the sanitized signal remains close to the original wave patterns to preserve secondary utility, such as step counting.
Dynamic Model Selection
To account for user heterogeneity, DySan utilizes a library of 36 pre-trained models, each offering a different trade-off between privacy and utility. During a brief initial calibration phase on the device, a lightweight Random Forest classifier characterizes the user's specific movement patterns. DySan then dynamically selects the optimal model from the library to provide the best protection for that specific user at any given time.
Experimental Evaluation
The researchers evaluated DySan using two benchmark datasets: MotionSense (24 participants, iPhone 6s) and MobiAct (58 subjects, Samsung Galaxy S3). Transfer learning tests confirmed the framework's robustness across different hardware and user populations.
Key Results
- Privacy Protection: Gender inference accuracy was reduced from a baseline of 98% on raw data to approximately 57% on sanitized data, approaching the 50% "random guess" threshold for binary attributes.
- Utility Retention: Activity recognition accuracy remained high, dropping only slightly from 95% to 92%. Furthermore, signal distortion was low enough that step counting error rates were limited to 7%.
- Efficiency: On a mid-range smartphone (Xiaomi Redmi Note 7), data processing took only 19ms per window, with a negligible battery drain increase of 1% per hour.
Conclusion and Future Directions
A core insight of this research is that heterogeneity is the primary obstacle to effective privacy in motion sensing. By moving from static filters to dynamic selection, DySan successfully navigates the privacy-utility trade-off for a diverse range of users.
Future work will focus on scaling the framework to handle multiple sensitive attributes simultaneously and mitigating the risk of "model fingerprinting," where the choice of a specific sanitization model could itself reveal information about the user.
Summary updated