A new paper on arXiv warns that text classifiers can behave nondeterministically in practice. The authors show that the same input can yield different predictions when factors such as batch size, batch composition, hardware, or inference engine are changed. This extends prior work on text generation, which had already demonstrated sensitivity to these serving conditions.
The study focuses on classification rather than generation, arguing that deterministic inference is essential for reliable and trustworthy machine learning. By demonstrating that serving-context nondeterminism affects classifiers too, the authors suggest that production systems relying on stable outputs may be more fragile than expected.
The paper does not propose a fix, but it underscores the need for careful evaluation of inference pipelines. Practitioners may need to account for variability in serving environments when deploying text classifiers.