TL;DR
This paper introduces a formal framework and a practical two-stage algorithm for data minimization in IoT machine learning pipelines. By selectively removing features that leak user identity but contribute little to task performance, the proposed method reduces user identifiability by up to 16.7% while keeping primary task accuracy loss below 1%.
What Problem Does This Paper Address?
Modern privacy regulations like GDPR and CCPA mandate the principle of data minimization—the requirement that service providers only collect user data that is directly "relevant and necessary" for a specific purpose.
However, applying this principle to Internet-of-Things (IoT) sensor streams is incredibly challenging. Sensor data typically consists of a collection of "weak signals" that are highly correlated. A single feature might slightly improve a machine learning model's accuracy (utility) while simultaneously revealing unique hardware or behavioral idiosyncrasies that can re-identify the user (privacy leak). Because there isn't a clear binary line between necessary and unnecessary features, service providers have lacked a rigorous technical method to minimize data at inference time without destroying model utility.
Methods
The authors formalize data minimization as a two-player game between a Provider (trying to maximize primary task accuracy above a certain threshold) and an Adversary (trying to maximize user re-identification using the same feature subset).
To solve this NP-hard optimization problem practically, they propose a Two-Stage Hybrid Solution:
- Greedy Preselection: Features are ranked and filtered down to a manageable subset (typically 10–15 features) using feature scoring methods. The authors evaluate several metrics, finding that SHAP-based greedy selection by Cost-to-Value Ratio (CTV) and mutual information-based utility scoring work best.
- Exhaustive Search: Within this reduced feature space, the algorithm evaluates all possible feature combinations to find the mathematically optimal subset that satisfies the user's accuracy loss tolerance (e.g., allowing at most a 1% drop in accuracy to minimize privacy risk).
Datasets
The framework was evaluated across 7 diverse IoT and network telemetry datasets:
- Aposemat IoT-23 & CIC-IDS 2017: Network traffic datasets used for network intrusion detection.
- IoT Sentinel: A dataset for automated IoT device-type identification.
- Opportunity: A sensor-based human activity recognition dataset tracking locomotion (sitting, standing, walking).
- Device Identification (NetML & nPrint): Two different featurizations of the same underlying 5-home IoT device dataset (NetML provides dense statistical features; nPrint provides sparse, raw bit-level packet data).
- Service Recognition (nPrint): A sparse dataset for identifying network application types (e.g., Zoom vs. YouTube).
Key Insights and Ideas
- Data minimization $\neq$ row reduction: True data minimization at inference time means minimizing identifiability via feature (column) reduction, not just shrinking the dataset size.
- Traditional feature selection fails privacy: Standard techniques like PCA or feature hashing focus purely on maximizing utility or compression. They completely ignore whether a highly predictive feature is also highly privacy-invasive.
- Dense vs. Sparse Representations: The format of your data matters immensely. Dense feature representations (like NetML) inherently pack more information per feature, making it easier to separate utility from identity. Sparse representations (like nPrint's raw packet bits) spread weak signals across thousands of features, making them both predictive and revealing simultaneously.
- The 1% Sweet Spot: Setting the accuracy loss tolerance parameter ($l$) to 0.01 (allowing a 1% drop) consistently yields the best balance, providing significant privacy gains with negligible performance impact.
Key Results
- Substantial Privacy Gains: On the NetML device identification dataset, the framework reduced user identifiability by 16.7% while keeping primary model accuracy loss under 1%.
- Greedy vs. Hybrid: Purely greedy selection often suffers from a sharp drop-off in accuracy when features are reduced too aggressively. The hybrid approach mitigates this by using exhaustive search to fine-tune the final subset.
- Scalability: Because the exhaustive search stage evaluates independent feature combinations, it is perfectly parallelizable and demonstrates near-linear speedup as more compute workers are added.
Limitations and Future Work
- The Sparsity Bottleneck: The method struggles with raw, highly sparse data representations (like nPrint), where individual features lack distinct semantic meaning.
- Future Directions (Densification): To overcome the sparsity issue, the authors suggest leveraging network foundation models (such as netFound or NetLLM) to transform sparse packet data into dense, rich embeddings before applying their data minimization framework.
Summary updated