﻿# FedScale: client traces, virtual time and benchmark limits

FedScale combines federated datasets with client traces. Keep its virtual learning clock, simulation runtime and P100 scalability conditions separate.

Author: Retrivium editorial team
Updated: 2026-11-05
Canonical URL: https://retrivium.ai/journal/fedscale-federated-benchmark-virtual-clock-traces/
Language: en

FedScale is a benchmark suite and runtime for studying federated learning under uneven data, computing speed, connectivity and client availability. Its useful contribution is making these conditions explicit enough to compare algorithms, rather than treating every participant as an identical worker that is always online.

## A benchmark with two kinds of input

The [ICML 2022 publication](https://proceedings.mlr.press/v162/lai22a.html) combines task datasets and an execution platform. The paper reports 20 federated datasets; this is the scope of that publication, not a promise that every downloaded dataset has identical permissions or preparation requirements.

The [dataset documentation](https://raw.githubusercontent.com/SymbioticLab/FedScale/master/benchmark/dataset/README.md) separates workload data from environment traces. For example, OpenImage has client-specific partitions, while computation profiles, network observations and availability traces determine the conditions under which clients contribute. The documented availability convention considers charging devices available. This is a modeling choice, not a direct observation that every charging phone can safely train.

Before comparing methods, decide whether a client means a user, device or another partitioning unit. A random reassignment of samples can erase the distribution differences that make the federated problem difficult. Keep the partition mapping as part of the experimental artifact.

## Read both clocks correctly

The [full paper](https://proceedings.mlr.press/v162/lai22a/lai22a.pdf) distinguishes execution of the benchmark from the simulated federated timeline. Actual model training runs on cluster resources, while a virtual clock represents client computation, communication and availability. Physical queueing of simulated clients does not automatically become delay in that virtual timeline.

This allows accelerated evaluation, but an hour saved on the simulation cluster is not automatically an hour saved by a deployed mobile population. Report both quantities with their boundaries. If results use modeled network time, avoid labeling them measured Internet transfer latency.

A reproduction should retain event ordering and dropout handling. When late updates miss a deadline, explain whether their work is discarded, included later or never scheduled. These alternatives change both cost and the data represented in the aggregate.

## Preserve the scalability test conditions

The paper's framework scalability comparison uses 10 GPU nodes, each with a P100 with 12GB GPU memory and 192GB host RAM. The workload is ShuffleNet-V2 on OpenImage, minibatch 32 and 20 local steps, with 4 processes permitted per node. This is a bounded runtime comparison, not evidence that the same throughput holds for arbitrary transformer training.

When adapting it, keep the number of simulated clients separate from simultaneously executing processes. A runtime can represent many clients by scheduling them in sequence. That capability matters, but it should not be presented as a physically equivalent number of phones or GPUs.

## Compare learning quality with total cost

Use accuracy against rounds, simulated elapsed time and communication volume as separate views. A method that needs fewer rounds can still transmit more data or wait longer for its selected clients. Likewise, choosing only fast participants may change which data enters training.

The [benchmark variability guide](/journal/gpu-benchmark-median-dispersion/) helps organize repeated runtime trials; it does not replace repeated learning runs with different client selections. Preserve the code revision, trace files, seeds, dataset preparation and aggregation settings in the [environment record](/journal/software-stack-reproducibility/). FedScale provides a controlled way to examine these dependencies. It does not make one favorable workload a universal ranking of federated algorithms.
