Execution-Path-Dependent Draw Indexing
- Execution-Path-Dependent Draw Indexing is a method where random draws are assigned based on simulation control flow, emphasizing the impact of execution history on noise allocation.
- It addresses the challenge of stateful PRNGs in maintaining event-level invariant noise, ensuring that paired Monte Carlo estimators remain consistent across scenarios.
- The approach introduces deterministic draw allocation and counter-based hashing to preserve unbiased continuation value estimation and reproducibility in option pricing.
Searching arXiv for the supplied topic and related papers. arxiv_search(query="execution-path-dependent draw indexing", max_results=5, sort_by="relevance") Execution-path-dependent draw indexing denotes the assignment of random variates to modeled events through the realized execution history of a simulation rather than through an invariant event identity. In a stateful pseudorandom number generator (PRNG), each call advances mutable internal state, so branches, loops, and early exits alter which downstream event receives which draw. In path-dependent option pricing, an analogous issue appears when exercise, continuation, knock-out, knock-in, or reset decisions depend on the realized path: the simulation must ensure that each particle’s state evolution is driven by a fixed, reproducible set of draws, while continuation-value estimation remains consistent with the same realized future cashflows. The topic therefore spans both causal stochastic modeling and Monte Carlo pricing under stochastic volatility, where it is linked to common random numbers (CRNs), structural causal models (SCMs), explicit weak solutions for the Heston model, and stochastic-approximation (SA) alternatives to least-squares Monte Carlo (LSM) (Buffalo et al., 11 Mar 2026, Kouritzin, 2016).
1. Definition and basic mechanism
A stateful PRNG such as Mersenne Twister, xoshiro, or PCG keeps mutable internal state ; each call returns and advances the state. Under this mechanism, the random input received by a modeled event is determined by how many draws were consumed earlier in the execution. Execution-path-dependent draw indexing means precisely that the noise used for a modeled event depends on execution history rather than on the event’s identity (Buffalo et al., 11 Mar 2026).
This makes same-seed reuse fragile. A “same-seed CRN” implicitly assumes that the -th draw refers to the same modeled event across scenarios. Stateful PRNGs guarantee only that the sequence itself is identical; they do not guarantee that the mapping from draw index to event identity is preserved when control flow changes. A branch that inserts or skips a single draw shifts all downstream indices.
The small branching example given in the literature is diagnostic. If infection of person 1 is simulated first, incubation time is drawn only when infection occurs, and infection of person 2 is simulated afterward, then a vaccine intervention that prevents infection in person 1 causes person 2 to receive a different downstream draw under the same base seed. The change in noise assignment is therefore caused by altered control flow rather than by the scientific mechanism for person 2’s event (Buffalo et al., 11 Mar 2026).
In path-dependent option pricing, the same general issue is expressed differently. Pricing American, Bermudan, barrier, or Asian claims requires full-path simulation of and execution decisions that depend on realized states. The cited Heston framework therefore imposes a precise mapping of random draws to particle, time, and factor indices so that each particle’s state evolution is driven by the same sequence of draws across time, independent of whether that particle later exercises early. Continuation-value estimation is then based on the same realized future path, with no artificial branching draws (Kouritzin, 2016).
2. Causal semantics, CRNs, and execution invariance
The causal interpretation developed for agent-based models formalizes the issue through SCMs. In the intended SCM, each modeled event is assigned an exogenous variable , independent across events, and outcomes under intervention satisfy
Equivalently, for event-level potential outcomes,
where are the endogenous inputs under intervention 0. Under this semantics, interventions change the structural mechanisms or inputs, not the exogenous noise assigned to the event (Buffalo et al., 11 Mar 2026).
Stateful PRNGs violate that invariance. If a seeded PRNG produces a stream 1, then an event 2 occurring after 3 prior draws receives
4
The exogenous input is therefore a function of execution order rather than event identity. The cited proposition, “Violation of Execution Invariance,” states that if the number of PRNG calls before event 5 differs between scenarios 6 and 7, then the draw index 8 becomes endogenous, event 9 receives different noise, and execution invariance is violated (Buffalo et al., 11 Mar 2026).
The statistical consequence is immediate in paired Monte Carlo estimation. For 0 paired replicates, the variance of the paired estimator 1 is
2
CRNs are effective when 3, which typically requires the same underlying noise to be attached to the same modeled events across scenarios. Misaligned draw indices weaken this covariance and can even turn it negative; in that case, reusing the same base seed increases variance rather than reducing it (Buffalo et al., 11 Mar 2026).
The literature therefore treats execution-path-dependent indexing not merely as an implementation nuisance but as a mismatch between program-level causal structure and scientific causal structure. A plausible implication is that stochastic simulators can be mechanistically correct at the level of transition rules yet still produce causally incoherent paired comparisons if the exogenous noise is indexed by control flow rather than by event identity.
3. Path-dependent option pricing under Heston
In the Heston setting, execution-path dependence arises because option execution strategy depends on the realized path. American and Bermudan exercise, barrier activation or deactivation, and Asian state variables all require a simulation in which future cashflows and current stopping decisions are coupled along each realized path. The continuation value at monitoring time 4 is the conditional expectation 5, and its estimation must remain consistent with the path’s current state (Kouritzin, 2016).
The cited approach organizes this by simulating paths forward once per particle and then applying backward SA estimates of continuation values using the entire cross-section of particles’ realized future cashflows 6 and current basis values 7. No nested branching simulation of “what would have happened under alternate decisions” is performed. Instead, continuation values are estimated from cross-sectional data and then applied to each path’s realized state. Decisions at time 8 set 9 if exercise occurs; otherwise 0 remains later. The same path draws are used throughout, so no draw re-use across alternative branches is needed, and unbiasedness follows from LLN/SLLN (Kouritzin, 2016).
This organization turns draw indexing into a pathwise bookkeeping principle. Random draws are indexed by particle 1, time 2, and factor indices. The paper specifies variance Ornstein–Uhlenbeck (OU) draws 3, mapped via Box–Muller to normals used for 4 and 5 at 6 and 7, together with one Normal 8 per particle-time for the independent 9-term in the explicit price formula. Cross-sectional SA or LSM estimation at each discrete time uses the same particle-level draws. Early exercise therefore changes the stopping time but does not change the realized latent path that supports continuation-value estimation (Kouritzin, 2016).
A common misconception is that path-dependent execution necessarily requires branching simulation trees with separate random streams for “exercise” and “continue” alternatives. The cited algorithm rejects that construction: the exercise tree is implicit in 0, while the full path is simulated once and reused. This eliminates a major source of draw-management complexity.
4. Explicit weak solutions and indexed simulation under the Heston model
The Heston dynamics under the risk-neutral measure are given in the cited notation by
1
with 2. The paper uses the parameterization
3
Under Condition (C), 4 for an integer 5, the variance admits an explicit weak solution as a sum of squares of independent OU processes,
6
and the price can be written explicitly as
7
Conditional on the variance path, the 8-integral is Gaussian with mean 9 and variance 0, so the method samples 1 without Euler or Milstein approximation of stochastic integrals (Kouritzin, 2016).
When Condition (C) does not hold, the paper introduces the “closest explicit Heston” with 2 and drift adjustment 3, then recovers the target model by importance sampling with likelihood weight 4 up to the stopping time 5. The explicit likelihood ratio is
6
Under the weighted measure, 7 solves the target Heston SDE up to 8; afterward it continues as the closest explicit Heston (Kouritzin, 2016).
The draw-indexing scheme that supports this construction is concrete.
| Indexed draw | Role | Constraint |
|---|---|---|
| 9 | Uniforms for OU half-step and full-step normals via Box–Muller | Indexed by particle, time, OU pair, and stage |
| 0 | One Normal per particle-time for the independent 1-integral term | Independent of OU draws |
| Substream mapping | Deterministic mapping from 2 to RNG substreams | Ensures reproducibility |
For 3 even, with 4, the algorithm generates four independent uniforms per OU pair and updates
5
6
with 7 and 8. Integrated variance on 9 is approximated by Simpson’s 0 rule with 1,
2
and the price update is
3
where 4, 5, 6, 7, and 8. The weight is updated only while the variance stays above 9; otherwise 0 (Kouritzin, 2016).
The significance of the indexing discipline is twofold. First, it preserves the independence structure: the 1 draw for the independent 2-integral must use separate substreams from the OU draws. Second, it preserves reproducibility: deterministic mappings such as
3
ensure identical paths when recomputed and identical exercise decisions when the code is re-run (Kouritzin, 2016).
5. Stochastic approximation, continuation values, and implicit exercise trees
The paper replaces regression in LSM with SA in order to estimate continuation values without inverting ill-conditioned matrices. A basis 4 is chosen on 5, typically as tensor products 6, with examples including weighted Laguerre or rescaled Haar functions. The projection onto 7 approximates 8 (Kouritzin, 2016).
With i.i.d. particles 9 simulating paths 0 and recursively defined stopping times 1, the SA recursion at time 2 is
3
applied whenever 4, with gain 5 and counter 6 incremented over eligible particles. Backward induction proceeds from 7 down to 8; after computing 9, the stopping rule is updated by setting 00 if
01
and otherwise leaving 02 unchanged (Kouritzin, 2016).
The convergence statement is explicit: under exchangeable SLLNs given in the paper, 03 almost surely with respect to the weighted measure, and the estimator targets the same minimizer as least-squares regression while avoiding matrix inversion. Because SA uses the realized 04 from the already simulated paths, exercise decisions remain unbiased and consistent with realized continued cashflows. No nested conditional simulations are required at each state (Kouritzin, 2016).
This structure makes the exercise tree implicit rather than explicit. A plausible implication is that execution-path-dependent indexing in this context is less about counterfactual scenario alignment, as in SCM-based CRNs, and more about preserving a one-to-one relation between each realized particle path and the continuation values computed from the shared cross-section. The underlying principle is the same: random inputs must be attached stably to the objects that are scientifically relevant, whether those objects are modeled events or particle-time-factor tuples.
6. Remedies, comparisons, and limitations
The general remedy in causal stochastic modeling is event-keyed hashing with counter-based PRNGs such as Philox or Threefry. Each random variate is defined as an explicit function of a replicate key and a stable event identifier:
05
Because counter-based generators are stateless pure functions, the same seed and event identifier produce the same variate regardless of execution order or parallel schedule. This restores event-indexed exogenous structure and SCM-style execution invariance. The required identifiers must be unique, stable across scenarios, invariant to execution order, and capable of supporting sub-draw indexing and non-occurring events (Buffalo et al., 11 Mar 2026).
In the Heston option-pricing setting, the remedy is not event-keyed hashing in the SCM sense but deterministic draw allocation indexed by particle, time, OU component, and stage, together with separate substreams for the independent 06-integral. The approach is explicitly designed so that no new draws are created for “continuation” versus “exercise” branches; SA uses realized continuation values from the same simulated path, and draw indexing remains fixed (Kouritzin, 2016).
The comparison with earlier Heston literature clarifies what is distinctive. Heston (1993) provides closed-form characteristic functions and European option pricing, but not pathwise simulation for heavily path-dependent features. Broadie and Kaya (2006) provide an exact simulation method for Heston using the distribution of integrated variance and the conditional distribution of 07, which eliminates discretization bias, but is described as primarily single-time marginal or limited discrete monitoring and not convenient for American or Asian options requiring many monitoring points and dynamic decisions. The cited 2016 paper emphasizes explicit weak pathwise solutions, importance sampling to bridge from the closest explicit Heston to arbitrary parameters, SA in place of regression, and natural handling of path-dependent execution without nested or branching simulation (Kouritzin, 2016).
The empirical performance claims reported in the paper are substantial: simulation speedups of up to 08 compared to Euler or Milstein for similar RMS error, pricing speedups of two orders of magnitude versus Euler-LSM or Milstein-LSM, and robustness against discretization bias while supporting larger basis dimension 09 because SA avoids ill-conditioned regression (Kouritzin, 2016). In the event-keyed CRN literature, performance discussion is more nuanced: Philox is reported as about 10 slower and Threefry as about 11 faster than Mersenne Twister in single-thread settings, but counter-based RNGs parallelize naturally and can outperform stateful generators in multicore or GPU settings (Buffalo et al., 11 Mar 2026).
Both literatures also emphasize limitations. In event-keyed CRNs, event identity is itself a modeling decision; slot-keyed and dyad-keyed identifiers encode different counterfactual semantics, and dynamic populations require stable identifiers not derived from execution order. Stream partitioning and jump-ahead are insufficient because interventions can change which events occur within a stream. In the Heston algorithm, near-zero variance creates instability in 12, motivating the stopping time 13 and a positive variance floor 14; extreme 15 and high vol-of-vol 16 require additional numerical care; and SA gain tuning remains practically important (Buffalo et al., 11 Mar 2026, Kouritzin, 2016).
A persistent misconception is that execution-path-dependent draw indexing is merely a variance-reduction detail. The cited causal analysis argues that it can instead invalidate paired counterfactual coherence, while the cited Heston analysis shows that disciplined draw allocation is necessary to preserve unbiased continuation-value estimation and reproducible pathwise execution under dynamic exercise. This suggests that draw indexing is best understood as part of the model specification itself rather than as a secondary implementation choice.