TL;DR
This paper introduces a novel hierarchical federated learning approach for identifying "heavy hitters" (frequently occurring items) in non-Independent and Identically Distributed (non-IID) data. Their method effectively balances privacy and accuracy by using local differential privacy (LDP) for intra-cluster analysis and similarity filtering for cross-cluster aggregation, outperforming existing methods on both synthetic and real-world datasets.
What Problem Does This Paper Address?
In today's data-rich world, identifying frequently occurring items (heavy hitters) is crucial for various applications, from understanding user behavior on smart devices to analyzing trends in social media. However, when this data is distributed across many users or organizations (federated learning), and each user's data is unique and not representative of the whole (non-IID), two major challenges arise: privacy and accuracy.
Traditional methods often struggle with non-IID data because they assume data is uniformly distributed. This can lead to missing important local trends or overemphasizing global ones. Furthermore, directly sharing raw data for analysis is a privacy risk. Existing federated learning approaches try to address privacy through techniques like central differential privacy (CDP), which requires a trusted server, or local differential privacy (LDP), which adds noise to individual data before sharing. However, CDP relies on a trusted intermediary, which isn't always feasible, and LDP methods can sometimes be limited by domain constraints or struggle with the inherent heterogeneity of non-IID data, leading to reduced accuracy or efficiency. This paper aims to bridge this gap by proposing a privacy-preserving federated heavy hitter identification system specifically designed for non-IID data.
Methods
The proposed solution employs a two-phase hierarchical approach:
- Intra-Cluster (IC) Identification: This phase focuses on identifying heavy hitters within individual clusters of clients.
- GRRX Mechanism: To address the domain limitation issue in existing LDP techniques like GRR, the authors introduce GRRX. GRRX allows clients to mask out-of-domain data by adding an arbitrary item to the domain, effectively expanding it and preventing data loss. This ensures that even data items not initially conforming to a predefined domain can be processed.
- Incremental Group-size Strategy: Instead of assigning an equal number of clients to each group for processing, this strategy assigns more clients to later groups. The intuition is that later groups can leverage insights from earlier ones, leading to more refined prefix identification and improved heavy hitter accuracy.
- Cross-Cluster (CC) Identification: This phase aggregates the local heavy hitters identified in the IC phase to find global heavy hitters across all clusters.
- Importance Calculation: Local heavy hitters are assigned a score based on their relative frequency within their respective clusters. This score reflects how representative a heavy hitter is of its local cluster.
- Similarity Filtering: This step uses a Hamming distance metric to filter out redundant or noisy local heavy hitters. By comparing local heavy hitters across clusters and identifying those with a Hamming distance below a certain threshold, the algorithm can eliminate duplicates and focus on distinctive, globally relevant items.
Datasets
The paper evaluates its approach using:
- Synthetic Datasets: Generated to emulate real-world non-IID scenarios, with varying numbers of clients and unique words per cluster, following a Zipf's distribution for word frequencies.
- Real-World Datasets:
- Sentiment140: A dataset for sentiment analysis.
- Reddit: A dataset containing Reddit comments. These real-world datasets were sampled to simulate two non-IID clusters, with a focus on preserving the original frequency distribution of words.
Key Insights and Ideas
- Hierarchical Structure is Key for Non-IID Data: The paper demonstrates that a hierarchical approach, separating local (intra-cluster) and global (cross-cluster) analysis, is crucial for effectively handling the heterogeneity of non-IID data.
- GRRX Solves a Practical LDP Limitation: The GRRX mechanism is a significant contribution, overcoming the domain limitation problem in existing LDP techniques, which is a common pitfall when dealing with diverse real-world data.
- Incremental Grouping Boosts Accuracy: The incremental group-size strategy is more effective than uniform grouping because it allows for iterative refinement of results, leading to better identification of heavy hitters.
- Privacy vs. Utility Trade-off: The results consistently show that as the privacy parameter ($\epsilon$) decreases (meaning stronger privacy), the accuracy (recall and F1 score) tends to decrease, highlighting the inherent trade-off that needs to be managed.
Key Results
- Superior Performance: The proposed algorithm consistently outperforms existing methods like TrieHH (a CDP-based approach) and PEM (an LDP-based approach) in terms of recall and F1 scores across various privacy levels and cluster sizes, especially in non-IID settings.
- Effective Non-IID Handling: The algorithm shows robust performance on both synthetic and real-world non-IID datasets, demonstrating its ability to identify both local and global heavy hitters accurately.
- Sensitivity to Privacy Parameter: While generally strong, the algorithm's performance degrades when the privacy parameter ($\epsilon$) is very small, indicating that extremely high privacy levels can introduce too much noise for accurate heavy hitter identification.
- FedCampus Demo: The paper showcases a practical application called FedCampus, a platform for privacy-preserving federated analytics on campus-scale data, demonstrating the algorithm's utility in real-world scenarios like analyzing step counts.
Limitations and Future Work
- Performance Degradation at Very Low $\epsilon$: The authors acknowledge that extremely small privacy parameters ($\epsilon$) lead to a noticeable drop in performance due to increased noise from LDP.
- Future Work: The authors plan to:
- Incorporate individual privacy preferences for more customized protection.
- Conduct a formal privacy analysis to rigorously quantify the privacy guarantees.
- Enhance the understanding of privacy-protection mechanisms and their impact on utility.
Summary updated