Differentiable Calibration of Inexact Stochastic Simulation Models via Kernel Score Minimization

Ziwei Su, Diego Klabjan

Abstract

Calibrating stochastic simulation models is often hindered by intractable likelihoods and the reality of model misspecification. Traditional calibration methods typically assume "model exactness," leading to unreliable results when simulations are only approximations of real-world systems. This paper introduces Kernel Optimum Score Estimation (KOSE), a differentiable framework that leverages kernel score minimization and stochastic gradient descent for efficient calibration. Crucially, KOSE provides a frequentist approach to uncertainty quantification that remains valid under model inexactness, offering a robust alternative to existing Bayesian and frequentist techniques.

Introduction

Stochastic simulation models are vital for decision-making in fields ranging from operations research to climate science. However, two major hurdles persist in their calibration:

  1. Intractable Likelihoods: Complex simulations often lack a closed-form probability density, precluding standard Maximum Likelihood Estimation (MLE).
  2. Model Inexactness: Most methods assume a "true" parameter exists that perfectly aligns the simulation with reality. In practice, models are simplified approximations. When misspecified, traditional methods often yield overconfident or incorrect parameter estimates.

This work addresses these challenges by learning simulation parameters and quantifying their uncertainty using only output-level data, even when the underlying model is inherently flawed.

Methodology

The proposed Kernel Optimum Score Estimation (KOSE) framework relies on three pillars:

Kernel Score Minimization

Instead of a likelihood function, KOSE utilizes "scoring rules" based on kernels (e.g., Gaussian or Riesz). These scores measure the statistical distance—specifically the Maximum Mean Discrepancy (MMD)—between the simulation output distribution and the observed real-world data distribution.

Differentiable Simulations

To ensure computational efficiency, the authors employ a "pushforward" representation. By treating the simulation as a differentiable map of random noise, Stochastic Gradient Descent (SGD) can be used to optimize simulation parameters directly, "steering" them toward the best possible fit.

Frequentist Uncertainty Quantification

A key theoretical contribution is the proof of asymptotic normality for the KOSE estimator. Even under model inexactness, the estimator follows a normal distribution centered at the "best possible" parameter. By utilizing the Godambe information matrix, the authors derive ellipsoidal confidence sets that maintain valid coverage in misspecified scenarios.

Experimental Evaluation

The framework was evaluated using G/G/1 queueing models, a benchmark in operations research. The researchers generated "real-world" data from complex systems and attempted to calibrate simpler, "inexact" simulation models to this data.

Experimental scenarios for calibrating exact and inexact simulation models.

By varying the shape parameters ($a$) of the target system, the study precisely controlled the degree of model inexactness, allowing for a rigorous comparison of KOSE against baseline methods like Approximate Bayesian Computation (ABC) and Eligibility Sets (ESet).

Results and Discussion

The experimental results highlight the robustness of the KOSE framework, particularly when using the Riesz kernel (KOSE-Riesz).

Comparative performance of KOSE and baseline methods in a 2D parameter calibration task.

Key Findings:

  • Superior Coverage: In high-inexactness scenarios, KOSE-Riesz maintained a 95% to 100% coverage rate for its confidence sets. Conversely, baseline methods like ABC-AR and ESet saw coverage drop to 0%, indicating completely unreliable uncertainty estimates.
  • Accuracy and Efficiency: KOSE achieved consistently low Mean Squared Error (MSE) across both exact and inexact scenarios. By leveraging SGD, the method remains computationally feasible, outperforming Bayesian bootstrap methods (NPL-MMD) which struggled even under ideal conditions.
  • Kernel Selection: The Riesz kernel proved more stable than the Gaussian kernel as model inexactness increased, providing more reliable confidence set coverage.

Conclusion

KOSE provides a powerful, differentiable framework for calibrating inexact simulations. While the current implementation assumes i.i.d. data and faces scaling challenges for high-dimensional parameters, it represents a significant step forward in robust simulation-based inference. Future work will focus on extending the theory to time-series data and improving the scalability of Hessian estimation for uncertainty quantification.

Summary updated

BibTeX
@inproceedings{su2025differentiable,
  author = {Ziwei Su and Diego Klabjan},
  title = {{Differentiable Calibration of Inexact Stochastic Simulation Models via Kernel Score Minimization}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2025},
  url = {https://openreview.net/forum?id=7voMr77XSs},
}
Figure