Federated Learning with a Single Shared Image

Sunny Soni, Aaqib Saeed, Yuki M. Asano

Introduction

Federated Learning (FL) enables collaborative model training without requiring participants to share their private raw data. While standard approaches like FedAvg involve sharing model weights, this can lead to high bandwidth consumption and potential privacy leaks. Knowledge Distillation (KD) has emerged as an alternative where clients share model "predictions" (logits) on a common public dataset. However, the need for a large, mutually agreed-upon public dataset remains a significant bottleneck. This research explores whether a single high-resolution image can replace an entire dataset for effective distillation.

Methodology

The proposed framework utilizes a single "datum source" to facilitate knowledge transfer. The process involves three main stages: patchification, subselection, and federated training.

Overview of the proposed federated training pipeline using a single shared image.

Patchification and Augmentation

Instead of a diverse dataset, the system extracts a massive pool of small image patches from one high-resolution image. By applying deterministic augmentations—such as rotations, flips, and color shifts—controlled by a shared seed, clients can locally generate identical patch sets without downloading additional data.

Adaptive Dataset Pruning

To ensure the most informative patches are used, the authors implement two pruning strategies:

  1. KMeans-based Class Balancing: This ensures patches cover a wide variety of latent space features, preventing model bias.
  2. Entropy-based Pruning: This selects patches where the global model exhibits high uncertainty, maximizing the efficiency of the distillation process.

Experimental Results

The method was evaluated on CIFAR-10, CIFAR-100, and PathMNIST. Results indicate that quality and feature diversity within a single complex image can be more valuable than the quantity of unique images.

Performance and Efficiency

Under a storage budget of 0.5M pixels, the single-image approach achieved 68.6% accuracy on CIFAR-10, surpassing the 66.5% accuracy achieved using 500 individual CIFAR-100 images. The pruning mechanism proved critical; on the PathMNIST dataset, accuracy rose from 64.5% to 77.1% when using combined KMeans and entropy-based selection.

t-SNE visualization of feature clusters and global model accuracy improvements.

Domain Sensitivity

The choice of the shared image is vital. A "City Street" image performed well for general object recognition tasks (CIFAR), but poorly for specialized medical imaging (PathMNIST). This suggests that the shared image should ideally share a "domain prior" with the target task.

Conclusion

This research demonstrates that Federated Learning can be performed with extreme bandwidth efficiency using a single shared image. By intelligently selecting patches, the framework overcomes the storage and communication barriers of traditional KD-based FL. Future work will explore applying this "single datum" concept to other modalities like natural language and audio.

Summary updated

BibTeX
@inproceedings{soni2024federated,
  author = {Sunny Soni and Aaqib Saeed and Yuki M. Asano},
  title = {{Federated Learning with a Single Shared Image}},
  booktitle = {Workshops @ CVPR},
  year = {2024},
}
Figure