Same Input, Different Experts: Tiny Arithmetic Noise Flips Expert Routing, and a Routing-Conditional Test Cannot See It

Many AI models send each token, a piece of a word, to 8 of 256 "expert" sub-networks chosen by a router. The correctness tests of the open mixture-of-experts (MoE) kernel benchmark we used check each run against the experts that run picked, so they cannot see the same input picking different experts on different runs. We found a fast multiply whose last-digit noise grew until that happened on every run. We measured one MoE decoder layer on one NVIDIA H200 GPU, with synthetic weights and router (256 experts, 8 chosen per token, FP8 attention inputs). The multiply splits each sum into 7 slices and adds them into a 16-bit (BF16) output in whatever order the hardware finishes. On all 500 replays of the same input, it changed up to 56% of its outputs by one BF16 step (one ulp). Through FP8 rounding and attention, which we did not separate, the difference grew about tenfold. At least one token's expert set then changed on every replay, and the layer output differed by 11 to 17% between replays, yet all 13 correctness tests passed. An FP32, fixed-order multiply cut the difference to at most 0.063%, at a whole-layer cost below our timing resolution. Near-tie flips still remained, even between two copies of identical code. Higher precision shrinks the noise; only sums whose result does not depend on order, everywhere before the router, remove it.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-06
DOI
https://doi.org/10.5281/zenodo.23990731
Primary Topic
Numerical Methods and Algorithms
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Same Input, Different Experts: Tiny Arithmetic Noise Flips Expert Routing, and a Routing-Conditional Test Cannot See It

Harshil Jani
Zenodo (CERN European Organization for Nuclear Research)
Numerical Methods and Algorithms
preprint

Same Input, Different Experts: Tiny Arithmetic Noise Flips Expert Routing, and a Routing-Conditional Test Cannot See It

Harshil Jani
preprint en

Abstract

Many AI models send each token, a piece of a word, to 8 of 256 "expert" sub-networks chosen by a router. The correctness tests of the open mixture-of-experts (MoE) kernel benchmark we used check each run against the experts that run picked, so they cannot see the same input picking different experts on different runs. We found a fast multiply whose last-digit noise grew until that happened on every run. We measured one MoE decoder layer on one NVIDIA H200 GPU, with synthetic weights and router (256 experts, 8 chosen per token, FP8 attention inputs). The multiply splits each sum into 7 slices and adds them into a 16-bit (BF16) output in whatever order the hardware finishes. On all 500 replays of the same input, it changed up to 56% of its outputs by one BF16 step (one ulp). Through FP8 rounding and attention, which we did not separate, the difference grew about tenfold. At least one token's expert set then changed on every replay, and the layer output differed by 11 to 17% between replays, yet all 13 correctness tests passed. An FP32, fixed-order multiply cut the difference to at most 0.063%, at a whole-layer cost below our timing resolution. Near-tie flips still remained, even between two copies of identical code. Higher precision shrinks the noise; only sums whose result does not depend on order, everywhere before the router, remove it.

Zenodo (CERN European Organization for Nuclear Research)
Numerical Methods and Algorithms
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon