TL;DR
This paper introduces ModelNet, a new benchmark dataset for federated learning (FL) that addresses the critical need for realistic non-IID (non-Independent and Identically Distributed) data distributions and client diversity. ModelNet, derived from CIFAR-100, offers three variants (ModelNet-R, -D, and -S) designed to simulate various levels of data heterogeneity, enabling more robust evaluation of FL algorithms and paving the way for graph-based FL research.
What Problem Does This Paper Address?
Federated Learning (FL) allows training models on decentralized data without sharing raw data, thus preserving privacy. However, current FL benchmarks often lack realistic data heterogeneity and client segregation, hindering rigorous evaluation. Specifically, existing datasets struggle to control the semantic similarity between classes across clients, making it difficult to assess how this impacts model performance. This gap limits our understanding of FL's behavior in real-world scenarios where data is inherently non-IID and clients have diverse data distributions.
Methods
The core of this work is the creation of the ModelNet dataset. The authors leverage pre-trained ResNet50 embeddings from CIFAR-100 to construct three distinct variants:
- ModelNet-R (Random): This variant randomly samples subsets of classes, ensuring no specific semantic constraints, thus mimicking a truly random client data distribution.
- ModelNet-D (Diverse): This variant uses k-means clustering on class embeddings to group semantically similar classes. Subsets are then formed by selecting one class from each cluster, maximizing inter-class semantic dissimilarity.
- ModelNet-S (Similar): This variant also uses k-means clustering but then identifies clusters with high cosine similarity. Subsets are constructed by sampling classes from a base cluster and its most similar neighbors, promoting intra-class semantic similarity.
Each variant is designed to simulate 5000 FL clients, each receiving a subset of 15 classes. The authors also propose a hypothesis for FL algorithms that can leverage anonymized model parameters for enhanced privacy.
Datasets
The primary dataset used is CIFAR-100, which is transformed into the newly introduced ModelNet benchmark. ModelNet consists of three variants:
- ModelNet-R: Random class sampling.
- ModelNet-D: Semantically diverse class sampling.
- ModelNet-S: Semantically similar class sampling.
These variants are designed to simulate non-IID data distributions and client diversity, offering a more realistic FL environment than existing datasets like EMNIST, CIFAR-10/100, and TinyImageNet.
Key Insights and Ideas
- The critical role of semantic control: The paper highlights that simply having non-IID data isn't enough; controlling the semantic relationships between classes across clients is crucial for realistic FL evaluation.
- ModelNet as a versatile tool: The three variants of ModelNet offer a spectrum of data heterogeneity, allowing researchers to test FL algorithms under specific conditions—from broad generalization (ModelNet-D) to fine-grained specialization (ModelNet-S).
- Beyond data distribution: Graph-based FL: The authors position ModelNet as a foundation for graph-based FL interpretation, suggesting future work in understanding client relationships and privacy through graph structures.
- Anonymized parameter sharing for privacy: The paper introduces a novel hypothesis for FL algorithms that utilizes anonymized model parameters, aiming for better privacy preservation without sacrificing model utility.
Key Results
The paper presents extensive experimental results evaluating the ModelNet variants across several metrics:
- Subset Class Embedding Diversity: ModelNet-D showed the highest mean diversity (peak cosine distance ~0.15), followed by ModelNet-R (~0.14), and ModelNet-S (~0.10), indicating varying degrees of semantic dissimilarity within subsets.
- Class Occurrence Histogram: ModelNet-R had a uniform class distribution, ModelNet-D showed significant variance (some classes appearing >2500 times), and ModelNet-S had a narrower but still biased distribution.
- Jaccard Similarity: ModelNet-R had low overlap with both ModelNet-D and ModelNet-S, suggesting distinct sampling strategies. ModelNet-D and ModelNet-S showed higher overlap, indicating potential biases towards certain classes.
- Subset Redundancy: ModelNet-R had the lowest redundancy (median overlap ~2), while ModelNet-S had the highest (median overlap >10), suggesting that semantic constraints lead to more repeated class selections.
- Intra-Subset Variance: ModelNet-D exhibited the highest variance, indicating dispersed class embeddings, while ModelNet-S had the lowest, suggesting compact feature spaces.
- Feature Space Coverage: ModelNet-D achieved the highest coverage, indicating broader utilization of the embedding space, while ModelNet-S had the lowest.
Limitations and Future Work
- Limitations: The paper acknowledges that while ModelNet-D and ModelNet-S aim for distinct goals, they exhibit some overlap in class selection, suggesting potential biases in evaluation. The current implementation is based on CIFAR-100 and ResNet50, though the authors note its extensibility.
- Future Work: The authors suggest extending ModelNet to other datasets and architectures. They also emphasize the potential for graph-based model interpretation and privacy-preserving FL using anonymized parameter sharing. Further research could explore how these dataset characteristics directly impact FL algorithm performance and privacy guarantees.
Summary updated