Knowledge Aggregation via Epsilon Model Spaces

Neel GuhaarXiv 2018

Introduction

Distributed machine learning often faces significant hurdles when training data is partitioned across multiple nodes. Traditional federated optimization methods rely on iterative communication of gradients or weights, which is frequently impractical due to privacy concerns, limited bandwidth, or extreme network asynchrony. This paper introduces Good-Enough Model Spaces (GEMS), a "few-shot" framework designed to learn a global model with a minimal communication budget—often just a single round—without sharing raw data.

The GEMS Framework

Instead of seeking a single optimal local model and averaging parameters, GEMS shifts the focus to sets of acceptable models. Each node $k$ independently identifies a "good-enough" model space $H_k$, consisting of all models that achieve at least an $\epsilon$ accuracy threshold on its local data. The global model is then derived by finding the intersection of these spaces.

Geometric intuition of intersecting 'good-enough' model spaces $H_1$ and $H_2$.

For convex models, these spaces are approximated as ellipsoids in parameter space. By utilizing Fisher information to shape these ellipsoids, the framework allows for greater variance in less sensitive parameters, facilitating more robust intersections. This geometric approach is fundamentally more stable than naive parameter averaging, which often fails on non-IID data where local optima diverge into high-loss regions.

Handling Neural Networks

Aggregating deep learning models is complicated by "model isomorphisms"—the fact that hidden neurons can be permuted without altering the model's output. Direct weight intersection is impossible in such cases. GEMS addresses this by performing intersections at the neuron level.

Neuron-level intersection algorithm for aggregating hidden layers across nodes.

The algorithm uses k-means clustering to group functionally similar neurons across different nodes. It then intersects the spaces of these specific neuron clusters to "stitch together" feature extractors learned independently. This layer-by-layer aggregation allows the server to build a global architecture that preserves the specialized knowledge of each node.

Experimental Results and Fine-Tuning

The authors evaluated GEMS on MNIST, CIFAR-10, and the HAM10000 medical imaging dataset, using highly heterogeneous (non-IID) data partitions.

Key findings include:

  • Performance Gains: Untuned GEMS improves local baselines by an average of 11 accuracy points.
  • Fine-Tuning Synergy: The intersected GEMS model serves as an exceptional initialization point. With just 100 public data samples for fine-tuning, accuracy jumped by 43 points over local baselines, reaching 88% of the performance of a centralized "ideal" model.
  • Efficiency: On CIFAR-10, tuned GEMS achieved ~50% accuracy with only 380 hidden neurons, significantly outperforming an ensemble of local models (19.4% accuracy) that used 500 neurons.

Conclusion

GEMS offers a powerful alternative to iterative federated learning by leveraging the geometry of "good-enough" model spaces. By intersecting rather than averaging, it finds globally viable models even in highly non-IID settings. While currently reliant on ellipsoidal approximations, future work exploring more complex topological representations of the loss landscape promises to further enhance the reliability and performance of this communication-efficient framework.

Summary updated

Abstract

In many applications, the training data for a machine learning task is partitioned across multiple nodes, and aggregating this data may be infeasible due to communication, privacy, or storage constraints. Existing distributed optimization methods for learning global models in these settings typically aggregate local updates from each node in an iterative fashion. However, these approaches require many rounds of communication between nodes, and assume that updates can be synchronously shared across a connected network. In this work, we present Good-Enough Model Spaces (GEMS), a novel framework for learning a global model by carefully intersecting the sets of "good-enough" models across each node. Our approach utilizes minimal communication and does not require sharing of data between nodes. We present methods for learning both convex models and neural networks within this framework and discuss how small samples of held-out data can be used for post-learning fine-tuning. In experiments on image and medical datasets, our approach on average improves upon other baseline aggregation techniques such as ensembling or model averaging by as much as 15 points (accuracy).
BibTeX
@misc{guha2018knowledge,
  author = {Neel Guha},
  title = {{Knowledge Aggregation via Epsilon Model Spaces}},
  year = {2018},
  eprint = {1805.07782},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1805.07782},
}
Figure