Back to AI News
arxiv

Seeds Don't Guarantee Reproducibility for Text-to-Image Models on GPUs

A new arXiv study shows that fixing the prompt and random seed does not fix the generated image on GPUs. Across six diffusion and autoregressive text-to-image models, four numerical precisions and three GPU types, outputs change with batch composition and hardware, and bit-exact replay controls confirm the variation is not random noise. Structural similarity between single-image and batched output falls to 0.580 for an autoregressive model in bf16 and 0.551 in int8, to 0.261 (sampled decoding) and 0.229 (greedy) for a second autoregressive model, and to 0.68 for an fp8 diffusion model. Cross-GPU LPIPS differences (0.355 to 0.383) are the same order as within-GPU batch effects (0.347 to 0.381).

AI Brief

It gives practitioners concrete evidence that seed-based reproducibility claims, benchmarks and safety audits for image generators are invalid unless batch size and serving hardware are reported.

arXiv:2611.30545v1 Announce Type: new Abstract: In text to image AI models, fixing the prompt and the random seed is widely assumed to fix the image. We show that it does not on GPUs. We evaluate six text-to-image models (diffusion and autoregressive) under four numerical precisions and quantizations on three GPU types (RTX A6000, RTX 6000 Ada, and H100 NVL), across up to 100 prompts per set for all six models. For each configuration we compare, with the prompt and seed fixed, the image generated alone with the image generated inside a batch, and we also compare across GPUs. Every replay control reported here is bit-exact, so the variation is not random noise: the execution setting, mainly the batch composition and the GPU, decides the output. The effect is large and model dependent. Structural similarity between the single-image and the batched output falls to 0.580 for an autoregressive model in bf16 and to 0.551 with int8. For a second autoregressive model in bf16 it falls to 0.261 with sampled decoding and to 0.229 with greedy decoding, and for an fp8 diffusion model to 0.68. A diffusion model in bf16 stays close to the batch-1 output (0.96-0.98) but changes every image. In most cases the batched image is a different but equally valid image; in some, such as prompts with digits and counters, it is visibly worse. Cross-GPU differences are of the same order as the batch effect: for one autoregressive model in bf16 compared across two GPU architectures (RTX 6000 Ada versus RTX A6000), no image is bit-identical and the cross-GPU LPIPS (0.355 to 0.383) matches the batch effect within one GPU (0.347 to 0.381). The consequences are direct: seeds do not make results reproducible, benchmarks and image-quality comparisons that mix batch sizes or hardware can be biased, and safety audits and A/B tests on generated images need the serving setup reported.
Be the first to rate this article.

Comments & Questions (0)

Captcha
Please be respectful — let's keep the conversation friendly.

No comments yet

Be the first to comment!