DISTREAL: Distributed Resource-Aware Learning in Heterogeneous Systems

Martin Rapp, Ramin Khalili, Kilian Pfeiffer, Jörg Henkel

Introduction

Federated Learning (FL) enables decentralized training on edge devices like smartphones and IoT sensors. However, real-world deployments face significant challenges due to hardware heterogeneity—the vast difference in compute power between devices—and temporal variation, where available resources fluctuate due to background tasks or power constraints. Traditional "straggler mitigation" techniques often discard valuable data from slower nodes, while uniform "Federated Dropout" fails to account for the varying computational demands of different neural network layers.

The DISTREAL Framework

To address these issues, the authors propose DISTREAL (Distributed Resource-Aware Learning), a framework that allows devices to adapt their training workload dynamically. The system operates in two distinct phases:

1. Design-Time: Design Space Exploration (DSE)

The framework recognizes that neural network layers contribute differently to learning and resource consumption. During an offline phase, a multi-objective genetic algorithm (NSGA-II) identifies Pareto-optimal dropout vectors. These vectors specify per-layer dropout rates that balance minimizing Multiply-Accumulate operations (MACs) with maximizing convergence speed. The output is a Look-Up Table (LUT) of configurations ranging from low-resource to full-capacity.

Overview of the DISTREAL framework, illustrating the offline Design Space Exploration (DSE) and online local adaptation phases.

2. Run-Time: Local Adaptation

At runtime, devices maintain autonomy. Using Filter-based Structured Dropout, DISTREAL drops entire convolutional filters rather than individual neurons, ensuring hardware accelerators can still achieve speedups. At the start of every mini-batch, the device assesses its current resource availability and selects the optimal configuration from its local LUT. This allows for instant reaction to hardware volatility without server intervention.

Key Insights

A central finding is that per-layer flexibility is superior to uniform dropout. Some layers are computationally expensive but contribute less to immediate learning; DSE automatically identifies and targets these bottlenecks.

Evolution of Pareto-optimal dropout configurations across generations, demonstrating superior performance over uniform dropout rates.

Furthermore, by using MACs as a universal currency, DISTREAL creates a hardware-agnostic metric for resource management. The server aggregates updates using a weighted version of FedAvg, where weights are proportional to the actual computational effort (MACs) reported by each device, preventing "lighter" updates from biasing the global model incorrectly.

Evaluation and Results

DISTREAL was evaluated on FEMNIST, CIFAR-10, and CIFAR-100 datasets using DenseNet architectures. Key results include:

  • Accelerated Convergence: DISTREAL reached target accuracy significantly faster than baselines like HeteroFL and standard Federated Dropout.
  • Volatility Resilience: In simulations of rapidly changing resources, DISTREAL maintained stable convergence while competitors' performance degraded.
  • Accuracy Preservation: The final global model accuracy matched the theoretical upper bound of full-resource training, despite the use of structured dropout.

Limitations

While effective, DISTREAL requires a computationally expensive offline DSE phase. Additionally, while it optimizes for compute (MACs), it does not inherently reduce communication overhead or address strict RAM constraints on extremely low-memory devices. Future work may involve integrating communication compression and memory-aware optimization into the DSE process.

Summary updated

BibTeX
@inproceedings{rapp2022distreal,
  author = {Martin Rapp and Ramin Khalili and Kilian Pfeiffer and Jörg Henkel},
  title = {{DISTREAL: Distributed Resource-Aware Learning in Heterogeneous Systems}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2022},
  doi = {10.1609/aaai.v36i7.20778},
}
Figure