Schedulers

Name Venue Year Paper URL
BaseScheduler
AutoCyclic IEEE Access 2024 AutoCyclic: Deep Learning Optimizer for Time Series Data Prediction IEEEXplore - GITHUB
CALR
CAWR ICLR 2017 SGDR: Stochastic Gradient Descent with Warm Restarts Arxiv
ExpHyperbolicLR HyperbolicLR: Epoch Insensitive Learning Rate Scheduler Arxiv - GITHUB
HyperbolicLR HyperbolicLR: Epoch Insensitive Learning Rate Scheduler Arxiv - GITHUB
OneCycleLR arXiv 2017 Super-Convergence: Very Fast Training of Neural Networks Using Large Learning Rates Arxiv - PYTORCH
StepLR

Lifecycle modes

--scheduler_mode controls scheduler lifecycle independently from its learning-rate formula:

  • batch: restart each federated iteration and step after every optimizer update.
  • epoch: restart each federated iteration and step after every local epoch.
  • iteration: preserve per-client state across federated iterations and step after every local epoch.

The default is iteration. AutoCyclic and OneCycleLR compel batch; other schedulers allow all three modes. Batch and epoch horizons use the current local loader and epoch count, while iteration uses iterations * epochs.

CALR --T_max sets the cosine half-period in steps of the selected mode (default: that mode's horizon).

For both hyperbolic schedulers, the paper's N is the selected horizon minus one; U is --upper_bound times that horizon. Set three_phase=True when reproducing the OneCycle paper's three-phase schedule.