{
  "name": "Rounds to 54% accuracy on the Shakespeare LSTM: FedSGD vs FedAvg configurations",
  "description": "Communication rounds needed to reach 54% test accuracy with the Shakespeare LSTM, for FedSGD (E=1, B=infinity) and five FedAvg settings, on IID and by-play-and-role non-IID partitions with C=0.1. Rounds and speedups are transcribed from Table 2 of McMahan et al. (2017); the final column, non-IID rounds divided by IID rounds, is computed here.",
  "page": "https://casrai.org/guides/fedavg",
  "publisher": "CASRAI",
  "license": "https://creativecommons.org/licenses/by/4.0/",
  "dateModified": "2026-11-30T10:00:00Z",
  "temporalCoverage": "Paper v4, 26 January 2023",
  "spatialCoverage": null,
  "columns": [
    {
      "name": "Configuration",
      "unit": "",
      "description": ""
    },
    {
      "name": "Local epochs E",
      "unit": "",
      "description": ""
    },
    {
      "name": "Minibatch size B",
      "unit": "",
      "description": ""
    },
    {
      "name": "Updates per round u",
      "unit": "",
      "description": "u = E*n/(K*B), expected local updates per client per round"
    },
    {
      "name": "IID rounds",
      "unit": "rounds",
      "description": ""
    },
    {
      "name": "IID speedup vs FedSGD",
      "unit": "x",
      "description": ""
    },
    {
      "name": "Non-IID rounds",
      "unit": "rounds",
      "description": ""
    },
    {
      "name": "Non-IID speedup vs FedSGD",
      "unit": "x",
      "description": ""
    },
    {
      "name": "Non-IID to IID rounds ratio",
      "unit": "",
      "description": "Non-IID rounds divided by IID rounds, computed from the two rounds columns"
    }
  ],
  "rows": [
    {
      "Configuration": "FedSGD (E=1, B=∞)",
      "Local epochs E": 1,
      "Minibatch size B": "∞",
      "Updates per round u": 1,
      "IID rounds": 2488,
      "IID speedup vs FedSGD": "baseline",
      "Non-IID rounds": 3906,
      "Non-IID speedup vs FedSGD": "baseline",
      "Non-IID to IID rounds ratio": 1.57
    },
    {
      "Configuration": "FedAvg (E=1, B=50)",
      "Local epochs E": 1,
      "Minibatch size B": 50,
      "Updates per round u": 1.5,
      "IID rounds": 1635,
      "IID speedup vs FedSGD": 1.5,
      "Non-IID rounds": 549,
      "Non-IID speedup vs FedSGD": 7.1,
      "Non-IID to IID rounds ratio": 0.34
    },
    {
      "Configuration": "FedAvg (E=5, B=∞)",
      "Local epochs E": 5,
      "Minibatch size B": "∞",
      "Updates per round u": 5,
      "IID rounds": 613,
      "IID speedup vs FedSGD": 4.1,
      "Non-IID rounds": 597,
      "Non-IID speedup vs FedSGD": 6.5,
      "Non-IID to IID rounds ratio": 0.97
    },
    {
      "Configuration": "FedAvg (E=1, B=10)",
      "Local epochs E": 1,
      "Minibatch size B": 10,
      "Updates per round u": 7.4,
      "IID rounds": 460,
      "IID speedup vs FedSGD": 5.4,
      "Non-IID rounds": 164,
      "Non-IID speedup vs FedSGD": 23.8,
      "Non-IID to IID rounds ratio": 0.36
    },
    {
      "Configuration": "FedAvg (E=5, B=50)",
      "Local epochs E": 5,
      "Minibatch size B": 50,
      "Updates per round u": 7.4,
      "IID rounds": 401,
      "IID speedup vs FedSGD": 6.2,
      "Non-IID rounds": 152,
      "Non-IID speedup vs FedSGD": 25.7,
      "Non-IID to IID rounds ratio": 0.38
    },
    {
      "Configuration": "FedAvg (E=5, B=10)",
      "Local epochs E": 5,
      "Minibatch size B": 10,
      "Updates per round u": 37.1,
      "IID rounds": 192,
      "IID speedup vs FedSGD": 13,
      "Non-IID rounds": 41,
      "Non-IID speedup vs FedSGD": 95.3,
      "Non-IID to IID rounds ratio": 0.21
    }
  ],
  "sources": [
    {
      "title": "McMahan et al., Communication-Efficient Learning of Deep Networks from Decentralized Data, Table 2",
      "url": "https://arxiv.org/abs/1602.05629",
      "accessed": "2026-11-17"
    }
  ]
}