Abstract
Multi-Model Federated Learning (MMFL) involves training several independent models simultaneously across a shared pool of decentralized devices. Current MMFL approaches suffer from system heterogeneity, where fast clients remain idle waiting for stragglers, and a "batch size paradox" where increased throughput on powerful devices often leads to reduced statistical efficiency. We introduce FLAMMABLE (Federated Learning Adopted for Multiple Models with Adaptive Batches for Learning Efficiently), a framework that co-adapts batch sizes and iteration counts using Gradient Noise Scale (GNS) to optimize learning progress. FLAMMABLE further improves efficiency by assigning multiple models to fast clients, filling idle time and increasing data diversity. Our evaluation shows that FLAMMABLE achieves up to a 10x speedup in time-to-accuracy and improves final model quality by up to 5.4%.
Introduction
Standard Federated Learning (FL) typically focuses on training a single global model. As AI applications diversify, there is an increasing need to train multiple models (e.g., for NLP, vision, and speech) concurrently on the same pool of edge devices. This Multi-Model Federated Learning (MMFL) setting introduces two primary bottlenecks:
- System Heterogeneity: Synchronous rounds often result in fast clients idling while waiting for slower "stragglers."
- The Batch Size Paradox: While larger batch sizes improve hardware utilization, they can reduce the statistical contribution of each sample, potentially slowing overall convergence.
The FLAMMABLE Framework
FLAMMABLE introduces three core innovations to overcome these hurdles:
1. Batch Size and Iteration Co-adaptation
Rather than maximizing raw throughput, FLAMMABLE uses the Gradient Noise Scale (GNS) to predict the statistical progress of a training step. It dynamically adjusts both the batch size and the number of local iterations. This ensures that clients with higher compute power contribute more meaningful updates without wasting cycles on statistically redundant computations.
2. Multi-Model Engagement
To eliminate idle time, FLAMMABLE allows fast clients to participate in the training of multiple different models within a single communication round. This approach not only utilizes spare hardware capacity but also increases the diversity of data seen by each model, mitigating the risk of bias that occurs when a single client provides excessive data for a single model.
3. Intelligent Client Selection
FLAMMABLE formulates the assignment of clients to models as a Multiple Knapsack Problem. Using Integer Linear Programming (ILP), the framework maximizes a utility function that balances data quality and system throughput. Furthermore, it employs a Dynamic Deadline Controller that adjusts round timeouts based on the moving average of validation loss, ensuring the system remains responsive to training progress.
Experimental Evaluation
The authors evaluated FLAMMABLE using a custom-built MMFL benchmark platform. The study spanned nine real-world datasets, including Image (Fashion MNIST, CIFAR-10/100, Celeba), Speech (Google Speech), and NLP (SQuAD v1/v2 with BERT/DistilBERT).
Key Results
- Speedup: FLAMMABLE achieved a 1.1x to 10.0x speedup in time-to-accuracy compared to state-of-the-art baselines like Oort and EDS.
- Accuracy Improvements: Final model accuracy increased by 1.3% to 5.4% across various datasets.
- Resource Efficiency: Client idle time was reduced by 16% to 60%.
The performance gains were particularly pronounced in non-IID (skewed) data scenarios. As shown in the results, multi-model engagement significantly outperforms single-model engagement by effectively leveraging the available compute resources across the client pool without introducing model bias.
Conclusion and Future Work
FLAMMABLE represents a significant step forward for large-scale MMFL deployments. By prioritizing statistical efficiency over raw throughput and intelligently managing multi-model workloads, it achieves superior convergence speeds and model quality. Future research directions include the co-optimization of learning rates with adaptive batch sizes and extending the framework to handle asynchronous model arrivals in dynamic environments.
Summary updated