Slight Stochastic Shifts Suffice: Cross-Trajectory Vectorized Estimation of Simulation Gradients

Monte Carlo gradient estimators enable an efficient gradient-driven local search in a simulation’s parameter space. Partial derivatives are estimated based on the simulation outputs at random perturbations around the current parameter combination. However, the effective computational cost grows with the number of perturbations. Here, we explore the use of modern CPUs’ vector instructions to reduce the estimation time on a single processor core. We vectorize across simulation trajectories, based on the hypothesis that the perturbations can be chosen small enough that the control flow divergence remains low. Control flow is realized using a predication scheme, allowing model code to remain similar to its scalar counterpart. Since the approach trivially benefits numerical simulations without parameter-dependent control flow, our evaluation instead considers the calibration of a building evacuation model in which transitive effects of perturbations change the neighborhood relation among pedestrians. Our cross-trajectory vectorization scheme speeds up the model’s calibration via simulation-based inference by a factor of about 1.5 without occupying additional cores.

Authors

Institutions

Publication Details

Published
2025-06-21
DOI
https://doi.org/10.1145/3726301.3728410
Primary Topic
Simulation Techniques and Applications
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Slight Stochastic Shifts Suffice: Cross-Trajectory Vectorized Estimation of Simulation Gradients

Wentong Cai, Philipp Andelfinger
Simulation Techniques and Applications
article

Slight Stochastic Shifts Suffice: Cross-Trajectory Vectorized Estimation of Simulation Gradients

Wentong Cai, Philipp Andelfinger
article en

Abstract

Monte Carlo gradient estimators enable an efficient gradient-driven local search in a simulation’s parameter space. Partial derivatives are estimated based on the simulation outputs at random perturbations around the current parameter combination. However, the effective computational cost grows with the number of perturbations. Here, we explore the use of modern CPUs’ vector instructions to reduce the estimation time on a single processor core. We vectorize across simulation trajectories, based on the hypothesis that the perturbations can be chosen small enough that the control flow divergence remains low. Control flow is realized using a predication scheme, allowing model code to remain similar to its scalar counterpart. Since the approach trivially benefits numerical simulations without parameter-dependent control flow, our evaluation instead considers the calibration of a building evacuation model in which transitive effects of perturbations change the neighborhood relation among pedestrians. Our cross-trajectory vectorization scheme speeds up the model’s calibration via simulation-based inference by a factor of about 1.5 without occupying additional cores.

Nanyang Technological University (SG)
Openalex Percentile: Top 83%
Simulation Techniques and Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Slight Stochastic Shifts Suffice: Cross-Trajectory Vectorized Estimation of Simulation Gradients — Wentong Cai, Philipp Andelfinger · (2025) | TGRS Research Map | TGRS