Papers
Topics
Authors
Recent
Search
2000 character limit reached

Model-Free Assessment of Simulator Fidelity via Quantile Curves

Published 4 Dec 2025 in stat.ME, cs.AI, and cs.LG | (2512.05024v1)

Abstract: Simulation of complex systems originated in manufacturing and queuing applications. It is now widely used for large-scale, ML-based systems in research, education, and consumer surveys. However, characterizing the discrepancy between simulators and ground truth remains challenging for increasingly complex, machine-learning-based systems. We propose a computationally tractable method to estimate the quantile function of the discrepancy between the simulated and ground-truth outcome distributions. Our approach focuses on output uncertainty and treats the simulator as a black box, imposing no modeling assumptions on its internals, and hence applies broadly across many parameter families, from Bernoulli and multinomial models to continuous, vector-valued settings. The resulting quantile curve supports confidence interval construction for unseen scenarios, risk-aware summaries of sim-to-real discrepancy (e.g., VaR/CVaR), and comparison of simulators' performance. We demonstrate our methodology in an application assessing LLM simulation fidelity on the WorldValueBench dataset spanning four LLMs.

Summary

  • The paper introduces a novel, model-free quantile-based method for assessing simulator fidelity using observable outputs.
  • It demonstrates the method’s practical application by calibrating empirical quantile curves for LLM-driven survey simulators with finite-sample guarantees.
  • The approach enables statistically validated comparisons of simulators, supporting risk-aware decisions in simulator selection.

Model-Free Quantile-Based Simulator Fidelity Assessment

Introduction and Context

The widespread use of simulators—including LLM-driven digital twins, agent-based social models, and AI-powered survey emulators—has amplified demands for robust fidelity assessment: determining how closely simulators replicate real-world behavior. Classical approaches for uncertainty quantification (UQ) generally distinguish input uncertainty (uncertain inputs to accurate simulators) from output uncertainty (errors in the simulator’s output, including bias and variance relative to ground truth). The latter is predominant for complex ML-based simulators, especially when simulator internals are inaccessible or computationally prohibitive to calibrate.

The paper "Model-Free Assessment of Simulator Fidelity via Quantile Curves" (2512.05024) develops a new, computationally tractable, model-free procedure to estimate the entire quantile curve of discrepancies between black-box simulators and ground-truth outcome distributions. The approach is broadly applicable (no parametric assumptions), supports UQ for user-chosen discrepancy measures (KL, Wasserstein, squared error, etc.), and comes with finite-sample guarantees, unlike much of the asymptotic literature. Figure 1

Figure 1: Simulation Uncertainty Quantification.

Methodological Framework

The methodology targets estimating the quantile function V(α)V(\alpha) of the scenario-wise discrepancy Δψ\Delta_\psi between real and simulated outcomes, under a user-defined loss L(,)L(\cdot,\cdot). Simulators are treated as black boxes; only samples of real and simulated outcomes are observable, often with heterogeneous per-scenario sample sizes. The framework is general across outcome types, parameter spaces, and loss functions.

Calibration Protocol:

  1. For each scenario jj, construct a confidence set Cj\mathcal{C}_j for the real-world parameter pjp_j (e.g., mean, categorical distribution), using concentration bounds tailored to the outcome type (e.g., Chernoff-Hoeffding for Bernoulli or multinomial, Wasserstein for general outputs).
  2. Compute a pseudo-discrepancy per scenario: Δ^j=supuCjL(u,q^j)\hat\Delta_j = \sup_{u \in \mathcal{C}_j} L(u, \hat q_j) (worst-case plausible gap).
  3. Aggregate across scenarios: the calibrated empirical quantile curve V^(α)\hat V(\alpha) is formed from {Δ^j}j=1m\{\hat\Delta_j\}_{j=1}^m.

This yields a tight empirical upper envelope for the true quantile function under finite samples. The approach sharply controls both scenario uncertainty (finite number of scenarios) and finite-sample uncertainty (limited observations per scenario).

Theoretical Guarantees:

  • For any α\alpha, with high probability over the calibration data, P(ΔψV^((1+α)/2)D)αom(1)P(\Delta_\psi \leq \hat V((1+\alpha)/2) \mid D) \geq \alpha - o_m(1), where mm is the scenario count.
  • Finite-sample coverage guarantees (tightening as mm increases) are ensured by leveraging DKW and Chernoff-type inequalities adapted to the setting.

Extension: Model Comparison

The method naturally extends to pairwise comparison of black-box simulators. For two simulators S1S_1 and S2S_2, differences in scenario-wise pseudo-discrepancies are analyzed using the same quantile calibration machinery:

  • The (1αˉ)(1-\bar\alpha)-quantile of pseudo-difference {δ^j}\{\hat\delta_j\} supports certified statements such as "With high probability, S1S_1 is at least as close as S2S_2 to the ground-truth on at least 1αˉ1-\bar\alpha fraction of scenarios (up to a vanishing correction)."

This lends strong inferential validity to claims of simulator superiority beyond mere aggregate statistics.

Empirical Evaluation: LLM Simulation Fidelity on Survey Data

The methodology is applied to world-scale social simulation: quantifying how well LLMs simulate human survey responses on the WorldValueBench dataset, extracted from the World Values Survey.

Experimental pipeline:

  • 235 diverse survey questions, each mapped to [1,1][-1,1], with nj450n_j \approx 450–$500$ real responses per question.
  • Four LLMs evaluated: GPT-4o, GPT-5-mini, Llama 3.3 70B, Qwen 3 235B, plus a uniform random baseline.
  • For each question, LLMs generate k=500k=500 synthetic predictions matched to real respondent demographics.

Quantile fidelity profiles are plotted using squared-error discrepancies and per-question confidence sets, yielding tight, calibrated curves. Figure 2

Figure 2: Example of World Value Questions. Retrieved from WVS_Wave7_2020.

Figure 3

Figure 3: Calibrated V(α)V(\alpha) across LLMs.

Key empirical findings:

  • All LLMs outperform the uniform baseline over >70%>70\% of scenarios, but none eliminate rare but severe discrepancies (outlier “elbows” on the quantile curve).
  • GPT-4o achieves the lowest quantile curve across all percentiles, demonstrating superior scenario-wide alignment. GPT-5-mini is close in median error but less robust to outliers. Llama 3.3 70B and Qwen 3 235B underperform both. Figure 4

    Figure 4: Robustness check of simulator performance under different n-levels.

Robustness checks show stability of comparisons across a range of real data sample sizes (njn_j from $50$ to $10,000$).

Tightness and Confidence Bands

A central concern is whether the quantile calibration is excessively conservative in finite data. Analysis establishes that:

  • For moderate scenario sample sizes (nj500n_j \gtrsim 500), calibrated quantile curves converge tightly to the true oracle quantiles computed using all available data.
  • The methodology delivers a finite-sample, data-driven confidence band for each quantile function V(α)V(\alpha).
  • Tightness is explicitly characterized via lower and upper empirical bands, with the unavoidable widening in the extremes of the quantile curve reflecting the fundamental limitations of per-scenario coverage at finite njn_j. Figure 5

    Figure 5: Tightness analysis of different njn_j under GPT-4o.

Additional Application Results

The methodology generalizes to additional simulation types (e.g., educational MCQ settings with Bernoulli outputs, public opinion simulation with multinomial outcomes) and alternative discrepancy measures (absolute error, total variation). Consistent trends are observed: the calibrated approach reveals robust relative rankings and exposes both average and worst-case discrepancies. Figure 6

Figure 6: Quantile fidelity profiles V^(α)\hat V(\alpha) across LLMs (Discrepancy: Absolute loss, k=50k=50, β=0.5\beta=0.5, δ=0.1\delta=0.1).

Implications and Outlook

The proposed quantile calibration framework significantly advances robust simulator evaluation:

  • Guarantees distributional control of simulator-to-reality discrepancies under minimal assumptions, for any discrepancy of interest.
  • Enables risk-aware summaries such as calibrated AUC and CVaR for both mean and tail-fidelity assessment.
  • Permits rigorous, statistically-validated pairwise comparisons of black-box ML simulators.

Practical implications include informed simulator selection, precise reporting of alignment confidence for downstream applications (e.g., digital twins, AI social science), and judicious risk management for system designs reliant on high-fidelity simulation.

On the theoretical side, the method's finite-sample nonparametric guarantees (avoiding asymptotics and model assumptions) mark a substantive enhancement relative to both input-uncertainty and pointwise conformal inference literature.

Opportunities for future extension include:

  • Tightening constants for small scenario counts,
  • Extending from static to dynamic simulation settings,
  • Conditioning on non-i.i.d. scenarios to address distribution shift,
  • Integrating tighter, instance-adaptive concentration schemes.

Conclusion

This work formalizes and operationalizes quantile-based, model-free fidelity assessment for black-box simulators using only observable outputs. The framework is broadly applicable, theoretically grounded with finite-sample guarantees, and empirically validated across challenging ML simulation tasks. It provides a foundation for rigorous fidelity auditing, risk-sensitive system design, and robust comparative evaluation of ever more complex simulation engines in science and industry.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We found no open problems mentioned in this paper.

Collections

Sign up for free to add this paper to one or more collections.