Papers › Dynamic Mini-batch SGD for Elastic Distributed Training: Learning in the Limbo of Resources

Dynamic Mini-batch SGD for Elastic Distributed Training: Learning in the Limbo of Resources

26 Apr 2019arXiv:1904.12043archive 2025-07-28

Haibin Lin, Hang Zhang, Yifei Ma, Tong He, Zhi Zhang, Sheng Zha, Mu Li

With an increasing demand for training powers for deep learning algorithms and the rapid growth of computation resources in data centers, it is desirable to dynamically schedule different distributed deep learning tasks to maximize resource utilization and reduce cost. In this process, different tasks may receive varying numbers of machines at different time, a setting we call elastic distributed training. Despite the recent successes in large mini-batch distributed training, these methods are rarely tested in elastic distributed training environments and suffer degraded performance in our experiments, when we adjust the learning rate linearly immediately with respect to the batch size. One difficulty we observe is that the noise in the stochastic momentum estimation is accumulated over time and will have delayed effects when the batch size changes. We therefore propose to smoothly adjust the learning rate over time to alleviate the influence of the noisy momentum estimation. Our experiments on image classification, object detection and semantic segmentation have demonstrated that our proposed Dynamic SGD method achieves stabilized performance when varying the number of GPUs from 8 to 128. We also provide theoretical understanding on the optimality of linear learning rate scheduling and the effects of stochastic momentum.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="1904.12043")

Code

Syntology Ran 0 of 20 code samples harvested from 2 repositories linked to this paper; 20 have no recorded run.

By repository: community (archive-listed): 20 samples from 2 repositories, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

awslabs/dynamic-training-with-apache-mxnet-on-aws mentioned on GitHubmxnetApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

20 samples harvested; 0 ran; 0 honoured the contract we drafted; 20 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

20unverified

Licence: 14 of the 20 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

bulk awslabs/dynamic-training-with-apache-mxnet-on-aws/python/mxnet/engine.py community (archive-listed) unverified Apache-2.0 recorded; this copy not marked cleared · pointer only · f235e1530ce3d53d · report
c_array awslabs/dynamic-training-with-apache-mxnet-on-aws/amalgamation/python/mxnet_predict.py community (archive-listed) unverified Apache-2.0 recorded; this copy not marked cleared · pointer only · 3bc3ed8fa916a182 · report
c_array awslabs/dynamic-training-with-apache-mxnet-on-aws/python/mxnet/base.py community (archive-listed) unverified Apache-2.0 recorded; this copy not marked cleared · pointer only · c037ab026fd36b3a · report
c_str awslabs/dynamic-training-with-apache-mxnet-on-aws/amalgamation/python/mxnet_predict.py community (archive-listed) unverified Apache-2.0 recorded; this copy not marked cleared · pointer only · 313d72408f5f6086 · report
classproperty awslabs/dynamic-training-with-apache-mxnet-on-aws/python/mxnet/base.py community (archive-listed) unverified Apache-2.0 recorded; this copy not marked cleared · pointer only · 47ebd1622534322e · report
create awslabs/dynamic-training-with-apache-mxnet-on-aws/python/mxnet/kvstore.py community (archive-listed) unverified Apache-2.0 recorded; this copy not marked cleared · pointer only · 9ff2673d6a779a1a · report
do_checkpoint awslabs/dynamic-training-with-apache-mxnet-on-aws/python/mxnet/callback.py community (archive-listed) unverified Apache-2.0 recorded; this copy not marked cleared · pointer only · df77b3eca6bd676b · report
load_data AlanFokCo/compensation-tools/elastic_demos/data_process.py community (archive-listed) unverified Apache-2.0 (permissive) · 3c9ed3332c1f6ca8 · report
load_data_single AlanFokCo/compensation-tools/elastic_demos/add_data.py community (archive-listed) unverified Apache-2.0 (permissive) · 2d6b2877daa0effe · report
load_val_data AlanFokCo/compensation-tools/elastic_demos/data_process.py community (archive-listed) unverified Apache-2.0 (permissive) · e987ba7540887ac6 · report
log_train_metric awslabs/dynamic-training-with-apache-mxnet-on-aws/python/mxnet/callback.py community (archive-listed) unverified Apache-2.0 recorded; this copy not marked cleared · pointer only · 5bc9dd9627f0eb1c · report
map_func AlanFokCo/compensation-tools/elastic_demos/tensorflow_v2_cifar_resnet.py community (archive-listed) unverified Apache-2.0 (permissive) · d46ae594e2adad67 · report
module_checkpoint awslabs/dynamic-training-with-apache-mxnet-on-aws/python/mxnet/callback.py community (archive-listed) unverified Apache-2.0 recorded; this copy not marked cleared · pointer only · 4950353b99f3413d · report
normalization AlanFokCo/compensation-tools/elastic_demos/data_process.py community (archive-listed) unverified Apache-2.0 (permissive) · b98592423270ab35 · report
record awslabs/dynamic-training-with-apache-mxnet-on-aws/python/mxnet/autograd.py community (archive-listed) unverified Apache-2.0 recorded; this copy not marked cleared · pointer only · b86308bc3bc53b49 · report
set_bulk_size awslabs/dynamic-training-with-apache-mxnet-on-aws/python/mxnet/engine.py community (archive-listed) unverified Apache-2.0 recorded; this copy not marked cleared · pointer only · 8bcbec3a30a50379 · report
set_recording awslabs/dynamic-training-with-apache-mxnet-on-aws/python/mxnet/autograd.py community (archive-listed) unverified Apache-2.0 recorded; this copy not marked cleared · pointer only · 84a2b5addc51f455 · report
set_training awslabs/dynamic-training-with-apache-mxnet-on-aws/python/mxnet/autograd.py community (archive-listed) unverified Apache-2.0 recorded; this copy not marked cleared · pointer only · 565479a708f0d1c6 · report
unpickle AlanFokCo/compensation-tools/elastic_demos/add_data.py community (archive-listed) unverified Apache-2.0 (permissive) · 91b57896044b9479 · report
with_metaclass awslabs/dynamic-training-with-apache-mxnet-on-aws/python/mxnet/base.py community (archive-listed) unverified Apache-2.0 recorded; this copy not marked cleared · pointer only · 05550ef10b65470b · report

Tasks

Image ClassificationObject DetectionSchedulingSemantic Segmentationimage-classificationobject-detection

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

SGD

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections