A difference before the main experiment
A planned study of on-device correction models compared sequential and concurrent training on the same examples and seeds. At 100 updates, the byte-level convolutional network and byte-level Transformer diverged beyond the chosen model, optimizer or score tolerances. Two models with frozen pretrained embeddings passed. Repeating a model sequentially could also produce differences, so simultaneous jobs alone could not explain them. The original experiment stopped before full-budget fitting.
Three interventions and their limits
With strict deterministic operations enabled, the remaining convolutional discrepancy occurred in a scalar bias that added the same amount to each candidate score. Such a common shift cancels from the softmax probabilities. Small numerical gradients could still move the bias during optimization. Freezing that scalar equally across all families brought the convolutional model within tolerance.
The Transformer continued to fail with a frozen bias and dropout turned off. The first batch had yielded matching random masks, attention output and scores. This check did not identify dropout as the cause. A subsequent change preserved the embedding lookup but replaced its gradient accumulation with a dense reduction over the small byte alphabet. Repeated tokens, padding and optimizer updates were checked against a separate CPU reference.
What passed
With the combined procedure, all four model families met the original thresholds for 100 updates. Sequential and concurrent candidate scores matched exactly in each family. A separate check compared all 256 saved score rows byte for byte. The later main comparison completed its 24 model-training cells under the revised recipe.
The evidence covers specific models, inputs, software and a finite update sequence. Turning off dropout also changed regularization. The result supports reproducing this model comparison under the stated recipe. It does not establish universal hardware determinism or explain every source of floating-point variation.
Sources
- Swaptype portable correction-model numerical investigation and independent checks
- PyTorch, Reproducibility