MelodyDeterminism: A Canonical Framework for Bitwise Reproducibility in LLM Inference
Abstract Reproducibility is a key requirement in scientific research, regulatedindustries, and AI safety. Yet, large language models (LLMs) executed on modernaccelerators exhibit non-determinism due to parallel floating-point reductions,scheduling variability, and stochastic primitives. Current mitigations—such asdeterministic kernels or batch-invariant operators—address fragments of theproblem but lack a unifying framework. We propose MelodyDeterminism, analgorithmic approach where every numerical operator is treated as a melody:identified by a fingerprint (“intro”), mapped to a canonical rule (“score”), andexecuted in lockstep by GPU cores (“orchestra”). This ensures that identicalinputs always produce identical outputs, bitwise reproducible across runs,while minimizing overhead by applying determinism only where necessary.
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2025-09-12
- DOI
- https://doi.org/10.5281/zenodo.17107392
- Primary Topic
- Geochemistry and Geologic Mapping
- Type
- article
- Field-Weighted Citation Impact
- 0.00