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
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
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.
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.
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.