云南财经大学 · 物流与管理学院

贾丰玮

Fengwei Jia · Ph.D.

云南财经大学 · 物流与管理学院 助理研究员

会议论文

SimDiff:基于去噪概率扩散过程的随机离散事件仿真输入建模与生成

SimDiff: Modeling and generation of stochastic discrete-event simulation inputs via denoising probabilistic diffusion process
发表载体 · 2024 Winter Simulation Conference (WSC) 年份 · 2024 卷期页 · Orlando, FL, USA: 2691–2702 作者 · JIA F W, ZHU H L, JIA F Y, REN X Y, TAN H M, CHEN S Q, CHAN W K V
EI系统仿真领域顶会

会议海报

点击海报可放大查看原图
点击图片查看原始尺寸 点击图片适应窗口 打开交互版 ↗ 打开原图 ↗

摘要

提出 SimDiff——面向随机离散事件仿真(DES)输入分布自动建模与生成的新框架,破解输入数据获取门槛高、难度大的痛点。传统 DES 模型常依赖泊松分布、指数分布等简化假设,难以完全刻画真实系统的复杂性;SimDiff 利用去噪概率扩散模型这一能学习复杂统计分布并高效采样的生成式神经网络克服上述局限。进一步提出融合 Transformer 与卷积组件的扩展 SimDiff-ConvTrans,用于模拟非独立同分布(non-i.i.d.)输入。实验表明 SimDiff 在简单分布、混合分布与真实数据集上均表现有效,显著简化了随机仿真流程,使不同专业背景的用户都能更便捷、高效地开展随机仿真。

核心贡献

  • 面向 DES 输入分布的自动建模与生成框架
  • 摆脱泊松/指数等简化分布假设
  • SimDiff-ConvTrans 扩展支持非 i.i.d. 输入
  • 在简单、混合分布与真实数据集上验证有效
BibTeX
@inproceedings{JIA2024simdiff,
  author    = {Jia, Fengwei and Zhu, Hongli and Jia, Fengyuan and Ren, Xinyue and Tan, Hongming and Chen, Siqi and Chan, Wai Kin Victor},
  title     = {SimDiff: Modeling and Generation of Stochastic Discrete-Event Simulation Inputs via Denoising Probabilistic Diffusion Process},
  booktitle = {2024 Winter Simulation Conference (WSC)},
  year      = {2024},
  address   = {Orlando, FL, USA},
  pages     = {2691--2702},
  doi       = {10.1109/WSC63780.2024.10838756}
}

GB/T 7714 引用格式

中文
JIA F W, ZHU H L, JIA F Y, et al. SimDiff: Modeling and generation of stochastic discrete-event simulation inputs via denoising probabilistic diffusion process[C]. WSC 2024, Orlando, FL, USA: 2691-2702.
英文
JIA F W, ZHU H L, JIA F Y, et al. SimDiff: Modeling and generation of stochastic discrete-event simulation inputs via denoising probabilistic diffusion process[C]. WSC 2024, Orlando, FL, USA: 2691-2702.
论文主页

SimDiff:基于去噪概率扩散过程的随机离散事件仿真输入建模与生成

2024 Winter Simulation Conference (WSC) · 2024

SimDiff
diffusion-based automated modeling & sampling of DES input distributions
0.92–0.96
KSComplement 0.91–0.92 · Column Pair Trends up to 0.96
Non-i.i.d.
SimDiff-ConvTrans: convolution + self-attention for correlated inputs
In-range
quantile transform keeps generated samples inside the training range
Figure 1. Training phase of SimDiff: quantile-transformed i.i.d. job paths are diffused and an MLP with residual connection predicts the denoising step
Fig. 1 · Training phase: the SimDiff model predicts a denoising step conditioned on timestep and noise level, fed with i.i.d. sample paths.
Abstract

Automated input modeling for discrete-event simulation

This paper introduces Simulation using Diffusion process (SimDiff), a novel framework for automated modeling and generation of stochastic discrete-event simulation (DES) input distributions, addressing the high entry barrier and challenges associated with obtaining accurate input data. Traditional DES models often rely on simplifying assumptions, such as Poisson and Exponential distributions, which may not fully capture the complexity of real-world systems. We propose SimDiff to overcome these limitations by utilizing the denoising probabilistic diffusion model, a generative neural network capable of learning complex statistical distributions and efficiently sampling from them. Additionally, we introduce SimDiff-ConvTrans, an extension that incorporates Transformer and Convolution components for simulating non-i.i.d inputs. Our experiments demonstrate the effectiveness of SimDiff in handling simple and hybrid data distributions, as well as empirical datasets. SimDiff represents a significant advancement in simplifying the stochastic simulation process, making it more accessible and efficient for users across various expertise levels.

Contributions

What this paper adds

Framework

SimDiff

Addresses the costly, labor-intensive collection of stochastic DES inputs — learn the distribution from data instead of assuming Poisson/exponential.

Extension

SimDiff-ConvTrans

Transformer and convolution components effectively simulate complex non-i.i.d. inputs with long-range dependencies.

Evidence

Spectrum of scenarios

Empirical evaluations across simple input distributions, hybrid data distributions, and real-world datasets (queuing, call center).

Method

From any distribution to Gaussian — and back

A Quantile Transformer preprocessing maps the original training data into a normal distribution while preserving the ranking information within the data. The forward Markov chain gradually injects Gaussian noise, q(Xt|Xt−1) = 𝒩(√(1−βt)·Xt−1, βt𝐈), and a trained network reverses it. The backbone is an MLP with residual connections and SiLU activations; timestep embeddings use sine/cosine oscillations; the loss is a simple MSE between true and predicted noise.

Figure 3. The convolutional transformer structure in the SimDiff-ConvTrans framework: convolutional transformation with position embedding feeding multi-head self-attention and feed-forward layers

SimDiff-ConvTrans for non-i.i.d. inputs

Real DES inputs correlate across distant jobs. Convolutional kernels (kernel size k > 1) compactly capture temporal correlations within individual sample paths, while the transformer's self-attention maintains global interdependencies. Q, K, V are derived by convolutional transformations; positional encoding preserves sequential order.

Z = softmax(QK^T / √d_k)·V  (Eq. 13)
Experiments

From toy distributions to real operations

Evaluation uses KSComplement (single-column / job fidelity) and Column Pair Trends (multi-column sample-path fidelity). SimDiff is implemented in PyTorch 2.11 on an RTX 4060 Laptop GPU (16 GB RAM): a 4-layer MLP with 1024 neurons, and a Transformer with 8 heads and 256 embedding vectors. Training runs 10–30 epochs with lr 1e-4 and diffusion timestep 500.

Simple distributions

Raw data distribution over Uniform, Normal, Poisson and Gamma columns
Raw data distribution (10,000 rows × 4 columns).

Four fundamental distributions (Uniform, Normal, Poisson, Gamma) are learned simultaneously; the generated histograms closely match the raw data, and training loss converges smoothly within 10 epochs.

Generated output

Generated data distribution closely matching the raw Uniform, Normal, Poisson and Gamma distributions
Generated distribution — statistically consistent with the raw data.

Column Pair Trends average score 0.96 — near-perfect statistical consistency for the preliminary testbed.

GI/G/1 queuing delays

Interarrival times follow Γ(α = 0.25, θ = 4) and service times Γ(α = 0.5, θ = 1), with ground truth via Lindley recursion. On 4,500 delay sequences (first 48 jobs train, last 24 test the fitted trend), the model reaches KSComplement 0.92 — and the real-vs-synthetic similarity matrix diagonal shows majority 100% similarity scores.

Correlation coefficient differences between training and synthetic data for GI/G/1 queuing delays, with the fitted trend of the last 24 jobs
Correlation differences (a) and the fitted delay trend (b) — synthetic (dashed) closely follows the ground truth (solid).

Multimodal distributions & real datasets

A multimodal interarrival-time mixture — Γ(2.875, 0.5) with weight 0.6 plus Uniform[10, 20] with weight 0.4 — reaches KSComplement 0.91 and Column Pair Trends 0.96. The model shows a gradual transition around job 20 and fully assimilates the new distribution by jobs 25–30, demonstrating dynamic adaptation to shifts. On real-world data, the emergency call center scores Column Shapes 0.93 / Column Pair Trends 0.95, and the queueing simulation scores 0.91 / 0.69.

Column Pair Trends of the multimodal distribution with average score 0.96
Multimodal case: Column Pair Trends average score 0.96.
Takeaway: SimDiff streamlines stochastic simulation — learn the inputs from data, keep samples statistically consistent and in-range, and handle non-i.i.d. paths with ConvTrans. This makes stochastic simulation more accessible and efficient for users across various expertise levels.
点击图片查看原始尺寸

← 返回论文列表