Get the daily emailDaily email
  1. Home
  2. Research
  3. This story

Bitwise-zero train-inference mismatch for stable on-policy RL on TPUs

Google's Tunix team introduced Zero-TIM, which makes the sampler and trainer produce bitwise-identical logprobs for the same token and history. The mismatch, caused by different floating-point reduction orders, silently makes LLM RL off-policy; the fix was…

Found Read the original

Ranked #21 of 29 on Saturday, November 28

Bitwise-zero train-inference mismatch for stable on-policy RL on TPUs

Why it matters

It removes a known source of instability in LLM reinforcement learning at the infrastructure level.

What happened

1 min read

Google's Tunix team introduced Zero-TIM, which makes the sampler and trainer produce bitwise-identical logprobs for the same token and history. The mismatch, caused by different floating-point reduction orders, silently makes LLM RL off-policy; the fix was verified across 64 TPU v5p chips.

inscraper analysis

Our analysis

Train-inference mismatch is a well-known RL problem, and deterministic fixes have been shown on GPU stacks such as vLLM and SGLang. The new part is bitwise parity on TPUs at multi-host scale. The excerpt doesn't state the throughput cost of this determinism. Directly relevant only to teams running RL on TPUs.

More in Research