[Paper Review] Large Language Models Are Bad Dice Players: LLMs Struggle to Generate Random Numbers from Statistical Distributions
The paper audits 11 frontier LLMs across 15 distributions to show native sampling is weak and highly protocol-dependent, with independent sampling failing almost completely and downstream tasks amplifying these flaws.
As large language models (LLMs) transition from chat interfaces to integral components of stochastic pipelines across domains like educational assessment and synthetic data construction, the ability to faithfully sample from specified probability distributions has become a functional requirement rather than a theoretical curiosity. We present the first large-scale, statistically powered audit of native probabilistic sampling in frontier LLMs, benchmarking 11 models across 15 distributions. To disentangle failure modes, we employ a dual-protocol design: Batch Generation, where a model produces N=1000 samples within one response, and Independent Requests, comprising $N=1000$ stateless calls. We observe a sharp protocol asymmetry: batch generation achieves only modest statistical validity, with a 13% median pass rate, while independent requests collapse almost entirely, with 10 of 11 models passing none of the distributions. Beyond this asymmetry, we reveal that sampling fidelity degrades monotonically with distributional complexity and aggravates as the requested sampling horizon N increases. Finally, we demonstrate the propagation of these failures into downstream tasks: models fail to enforce uniform answer-position constraints in MCQ generation and systematically violate demographic targets in attribute-constrained text-to-image prompt synthesis. These findings indicate that current LLMs lack a functional internal sampler, necessitating the use of external tools for applications requiring statistical guarantees.
Motivation & Objective
- Assess whether current LLMs can faithfully sample from user-specified 1D distributions without external tools.
- Quantify sampling fidelity across a diverse set of distributions and complexity tiers.
- Investigate how sampling protocol (batch vs independent requests) affects distributional accuracy.
- Evaluate downstream consequences in MCQ generation and attribute-constrained prompt synthesis.
Proposed method
- Define a sampling fidelity metric using Wasserstein-1 distance between generated and target distributions.
- Use two protocols: Batch Generation (N=1000 samples in one response) and Independent Requests (N=1000 stateless calls).
- Benchmark 11 models across 15 distributions spanning three complexity tiers.
- Apply KS test for continuous and Chi-squared test for discrete distributions, with alpha=0.01.
- Supplement with KL divergence and detailed convergence analyses across sample sizes N.

Experimental results
Research questions
- RQ1Can frontier LLMs internally sample exactly from specified probability distributions without external libraries?
- RQ2How does sampling fidelity scale with distribution complexity and sampling budget N?
- RQ3Does batch generation differ from independent requests in revealing true sampling capabilities?
- RQ4Do native sampling failures propagate to downstream generation tasks like MCQ construction and attribute-controlled prompts?
Key findings
- Independent sampling almost completely fails across 10 of 11 models, with near-zero pass rates.
- Batch generation shows modest validity with a 13% median pass rate, but only 40% pass for the top model on distribution sets.
- Sampling fidelity degrades with distribution complexity, with Tier III distributions showing the strongest deficiencies.
- Wasserstein-1 distances rise with sampling horizon N, indicating inverse-scaling and hidden degradation as N grows.
- Downstream tasks exhibit clear biases: MCQ correct-answer positions are non-uniform; demographic targets in prompts are violated.
- LLMs lack a functional internal sampler and require external tools to guarantee statistical sampling accuracy.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.