What must remain independent?
Training three copies of a word recognizer with different random seeds can help reveal whether a result survives initialization. Combining their linear algebra into larger operations might improve throughput. For a fair experiment, each model must still see its own sampled examples, apply clipping to its own gradients, and keep separate optimizer state.
Two ways of grouping the models passed five-update, double-precision CPU checks. Each was then compared with running the models separately on the GPU using three different CTC loss paths. A three-update screen checked model outputs, loss, input gradients, parameter gradients and updated parameters before a timing trial could start.
All six comparisons revealed drift
Forward scores, losses, input gradients and clipping norms met the specified tolerances. The parameter-gradient checks failed across all six grouped GPU configurations. The specialized Metal loss also exceeded the parameter-change threshold in the first update. The 18 proposed grouped timing cells were consequently skipped.
For diagnosis, the researchers restored each model to the same parameters and optimizer moments before each update. All 18 resulting individual GPU gradient comparisons passed. Locally similar operations can still run into a measurable difference after small rounding errors accumulate along different training paths.
Changing the optimizer tolerance term
A matched follow-up varied AdamW’s epsilon, the small number used in its gradient rescaling. Both implementations used the same epsilon within each comparison. The largest parameter differences fell as epsilon rose, yet the multi-update gradient criterion still failed in both backend conditions.
| AdamW epsilon | Maximum parameter difference, CPU loss | Maximum parameter difference, specialized Metal loss |
|---|---|---|
| 0.00000001 | 0.00009347 | 0.0003933 |
| 0.000001 | 0.00002119 | 0.00001812 |
| 0.0001 | 0.0000005513 | 0.0000008345 |
What the result supports
All separate-model reference timing cells completed. Since the grouped methods never qualified, the study could report neither a grouped speedup nor equivalent recognition quality after full training. The results localize a numerical problem that would be hidden by checking only a model’s first prediction.
Sources
- Swaptype grouped-replica training and matched epsilon experiments
- Loshchilov and Hutter, Decoupled Weight Decay Regularization