Manuscript Offprint
arXiv:2610.36931From Walks to Skeletons: A Reusable Transport Architecture for Interactive Monte Carlo PDE Solvers
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
YUNFENG LIAO , YUCHENG WU , and XIUCHENG LI, Harbin Institute of Technology (Shenzhen), China

Fig. 1. Interactive PDE solving with reusable stochastic transport. Illuminated paths visualize transport connections across a complex multi-island environment. Rather than independently resampling trajectories, a persistent and shared transport skeleton retains sampled continuations, adaptive to new queries by reusing existing paths, boundary-condition changes by graph reevaluation, and local geometry edits by preserving unaffected transport while repairing invalid connections.
Walk-on-Spheres (WoS) enables mesh-free solutions of elliptic PDEs, but conventional methods repeatedly discard sampled trajectories, limiting their efficiency in interactive applications. We introduce reusable transport skeletons, a persistent representation that organizes stochastic walks into a shared computational graph. Our framework enables efficient reuse across spatial queries and boundary conditions, while supporting progressive refinement, structure-preserving compression, and local adaptation to dynamic geometry. It further enables interactive editing of transport between selected regions. Experiments demonstrate substantial computational savings while preserving solution accuracy. By transforming transient stochastic trajectories into reusable transport structures, our method provides a flexible foundation for interactive Monte Carlo PDE solving.
Additional Key Words and Phrases: Walk on Spheres, Monte Carlo PDE Solvers, Reusable Stochastic Transport, Real-time Interactive Simulation.
1 Introduction
Interactive PDE-based applications often revisit the same domain while changing boundary values, adding queries, moving objects, or adjusting how different regions influence one another. Walk on Spheres (WoS) is attractive in this setting because it estimates solutions of elliptic PDEs directly at selected points, without constructing a volumetric mesh [Sawhney and Crane 2020]. Yet its usual computational model is transient: each query launches stochastic walks, evaluates their boundary or source contributions, and discards the trajectories. As a result, even small changes can trigger repeated exploration of largely unchanged geometry.
Prior work has reduced this redundancy by caching solution values, derivatives, or local harmonic approximations [Bakbouk and Peers 2023; Miller et al. 2023; Zhou et al. 2025]. More recent methods reuse neighboring trajectories, fixed spherical probes, or sampled first-passage operators [Czekanski et al. 2026; Huang et al. 2026; Jambon et al. 2026]. WoS-based cage cutting also preserves paths unaffected by local cuts [Saeed et al. 2026]. These methods establish that stochastic information need not be discarded, but address reuse through particular query neighborhoods, spatial interfaces, or applications. What remains useful for interactive workflows is a representation that retains the dependencies between sampled continuations and can itself be queried, refined, compressed, and repaired as the problem changes.
We introduce reusable transport skeletons: directed acyclic graphs (DAGs) assembled from WoS paths, in which spatial states reference already completed downstream computations. A new walk can attach to this shared structure without repeating its continuation. This connection is not a geometric shortcut: simply snapping nearby states together introduces bias, while forcing walks into tiny attachment neighborhoods can inflate both graph size and importance-weight variance. We instead turn to Poisson-kernel
Both authors contributed equally to this research.
Authors' Contact Information: Yunfeng Liao; Yucheng Wu; Xiucheng Li, Harbin Institute of Technology (Shenzhen), Shenzhen, Guangdong, China.
Yunfeng Liao, Yucheng Wu, and Xiucheng Li
reweighting, accepting attachments only under a prescribed bound on their importance factors. Boundary values and sampled source terms then enter as leaves of the same graph, allowing its retained transport to be evaluated by a dependency traversal when the data change.
Making such a graph reusable also requires preserving spatial access as it evolves. We introduce conditional path refinement to create valid intermediate continuation states from retained paths, and shared spherical interfaces to collect reusable continuations from multiple walks. Progressive and variance-guided sampling extends the graph where additional information is most valuable, while coverage-preserving compression removes redundant states without sacrificing access for future queries. For geometry edits, we retain unaffected transport, repair invalidated flows locally via Doob's h-transform to maintain sampled downstream trajectories instead of casting them away like [Saeed et al. 2026], and use bidirectional WoS [Qi et al. 2022] to capture tiny objects significantly affecting the solution. The resulting representation additionally exposes regional transport interactions that can be modified through on-demand low-rank corrections, without rebuilding the underlying graph. Our contributions are threefold:
-
A persistent stochastic transport DAG enables reevaluation under changing boundary and source data through bounded-weight path attachment.
-
Conditional path refinement and shared hub interfaces extend spatial reuse, while variance-guided refinement and graph compression balance sampling effort and storage.
-
Interactive transport adaptation repairs affected transitions without discarding shared continuations, with matrix-free low-rank edits enabling regional transport control.
Adaptive Sampling and Interactive Updates. Learned directional and variance-aware path guiding in rendering [Müller et al. 2017; Rath et al. 2020] motivates steering WoS, despite unstable likelihood ratios. Differential WoS estimates geometry/boundary sensitivities [Miller et al. 2024]; WoDS updates affected local operators [Jambon et al. 2026]; and WoS-based cage cutting reuses cut-unaffected paths to update harmonic weights [Saeed et al. 2026]. Beyond per-query guiding or cutting-specific reuse, our bounded-weight attachment and variance-guided refinement maintain transport for repeated boundary solves, local geometry repair, and low-rank regional edits.
3 Reusable WoS Skeleton Construction
Let be the domain with Dirichlet boundary data . For the source-free problem, the solution is represented by , where is the boundary arrival of Brownian motion started at , and its first exit time, allowing WoS to estimate this expectation via sampled walks. Independent queries repeatedly explore similar regions and recompute their continuations. The Markov property motivates retaining these continuations since once a spatial state is fixed, its remaining evolution does not depend on the prefix that reaches it. We therefore retain sampled WoS trajectories as directed chains, with multiple trajectories forming outgoing branches. When a new walk reaches a state , it may reuse the completed continuations of an existing node by connecting to its downstream branches rather than generating new walks termed path attachment. Such shared dependencies form a transport directed acyclic graph (DAG), dubbed skeleton.
Skeleton Data-structure. Each DAG node stores a position consisting of these types: query nodes are the locations where the solution is requested, boundary nodes supply terminal data, and the remaining states are internal nodes that a certain WoS path passes by. An edge means that the estimate at depends on the continuation at and let denote these outgoing dependencies. To support reuse, the skeleton also retains how each outgoing branch was sampled. For a completed node , let denote its sampling groups. Each group records the original sphere , its surface-area proposal density , and the downstream nodes sampled on , so that . A node may contain groups from different spheres because attachments inherit the sampling records of reused branches. These records allow the same sampled continuations to be reweighted for new starting positions. For a fixed skeleton, internal nodes and boundary nodes are given by
where b denotes a boundary node and edge weight includes averaging and importance corrections. Boundary contributions propagate toward queries in reverse topological order, evaluating each shared continuation once. Since the graph retains boundary positions, changing boundary data supplies new leaf values without retracing the walks, enabling us to estimate queried values via a cheap traversal on the DAG.
The main challenge of path attachment is that the current state and the reused node generally occupy different positions. Directly inheriting the latter's sampled continuations introduces bias, while restricting attachment to nearly identical states limits opportunities for reuse. More aggressive attachment like directional guiding may improve reuse but may produce unstable importance weights.
as further analyzed in Appendix A. We first introduce a change-of-measure attachment rule with bounded importance weights in Section 3.1 motivated by [Czekanski et al. 2026] to address this tradeoff, and then describe efficient evaluation of the resulting DAG in Section 3.2, followed by progressive refinement of uncertain continuations for skeleton nodes with high variances in Section 3.3. Finally, Section 3.4 extends the skeleton construction to Poisson equations with source terms.
3.1 Path Attachment
Path attachment enables a walk at p to terminate early by reusing the completed continuations of an existing skeleton node q. Rather than treating p as q, we connect it to the downstream branches , avoiding new walks along these continuations. This raises three questions: how to reuse samples generated from a different starting position, when such reuse is sufficiently stable, and how to reach reusable regions efficiently.
Reweighting. The sampled continuations of cannot be directly reused at , since their Brownian exit distributions differ. We account for this difference through a change of measure on each recorded sampling sphere. Attachment requires for every . For a branch , its weight becomes
where is the exit density with respect to surface area on for a walk started at , and is the position of node . The existing weight includes the averaging factor and original proposal correction, so the complete importance factor of the new connection is
Admissibility and candidate search. Although reweighting corrects the exit distribution, large importance factors can increase estimator variance. Moreover, checking every completed node for attachment would undermine the efficiency gained from reuse. We address both issues by defining admissible regions that can be spatially indexed. A connection to q is admissible only if p lies inside every recorded sampling sphere and
where is the prescribed attachment limit. These conditions define a reusable region for each completed node. We spatially index these regions and select the admissible candidate with the smallest . Upon acceptance, is connected to using Eq. 1, and its walk terminates. If no admissible candidate exists, the walk continues. Since all reused subgraphs are already completed, these connections preserve acyclicity.
Directional guiding. Even with efficient candidate search, uniform WoS walks may rarely enter reusable regions, especially those that are difficult to reach or sparsely covered by the skeleton. Guiding steers exploration toward these hard-to-reach regions in the form of a prescribed point or a selected object surface. Specifically, we sample directions from a mixture of the uniform distribution and a von Mises–Fisher distribution directed toward the target on each
Algorithm 1: Parallel Evaluation of a WoS Skeleton
Input: DAG , weights , terminal set with values
Output: Values at query nodes
Initialize acc[i] ← 0 and pending[i] ← for all ;
Set for all and ;
while is not empty do
;
foreach in parallel do
foreach incoming edge in parallel do
atomicAdd(acc[i], );
if atomicSub(pending[i], 1) = 1 then
;
insert into atomically;
;
WoS sphere. In implementation, the step weight is multiplied by for the resulting density of the unit direction .
3.2 Graph Evaluation
Once constructed, the skeleton can be evaluated for new boundary data without tracing additional WoS paths. Since each edge represents a dependency on the continuation at j, terminal values propagate toward queries in reverse topological order. This follows a standard parallel DAG traversal, where nodes are evaluated once all their dependencies are resolved, as summarized in Algorithm 1. Each node is evaluated once and each edge contributes one weighted accumulation, yielding work.
Topology-based scheduling. To reduce the scheduling overhead of frontier-based evaluation, particularly along single-dependency chains, we exploit the fixed skeleton topology to precompute an execution schedule. One scheduling variant fuses maximal single-dependency runs and assigns levels only to the remaining scheduled vertices. Let denote the first scheduled descendants reached from after skipping fused vertices. Set if , and otherwise . Increasing levels respect the dependency order. A worker dispatched at a scheduled vertex evaluates its owned run of single-dependency predecessors locally, omitting those vertices from separate frontiers. This variant reduces intermediate queue operations while preserving the weighted DAG.
3.3 Progressive Refinement
Beyond reusing existing paths, the skeleton also enables more targeted allocation of additional samples. Rather than repeatedly launching new walks from query points, we can refine selected internal nodes by adding new continuations and propagating their updated estimates through the DAG. This allows additional sampling effort to improve multiple queries sharing the same downstream dependencies, without resampling their existing paths.
Let count the existing outgoing contributions of node , including inherited attachment contributions. If new paths are added, let be the value returned by the th independent vanilla
Yunfeng Liao, Yucheng Wu, and Xiucheng Li
Algorithm 2: Variance-Guided Skeleton Refinement
Input: Skeleton with current values, query , continuation budget , candidate limit
Output: Refined skeleton and updated query values
Compute influences on the internal nodes reachable from ;
Estimate continuation variances using subdomain partitioning;
Select using Eq. (5);
Allocate integer additions by Eq. (6) and budget-preserving rounding;
Add vanilla WoS continuations at each selected node, rescaling existing weights by Eq. (4);
Evaluate new continuations and reevaluate affected ancestors;
WoS continuation from , run to boundary termination without attachment. We locally update the dependencies of node by the following to ensure each sample weighs equally:
Selecting refinement nodes. For a target query , candidates are the internal nodes reachable along its outgoing dependencies. Their influences measure how changes in a node value affect the query and are obtained by forward propagation from toward the boundary. To identify which nodes would benefit most from additional sampling, we also need their continuation variances. Rather than estimating these independently at every node, we partition the domain into subdomains and share a vanilla WoS estimate of single-continuation variance among nodes within each subdomain. Let denote the estimate assigned to node . Using the local variance surrogate , we rank candidates by the predicted reduction from one additional continuation as Eq. (5) and retain up to highest-scoring candidates as a fixed set .
Budget allocation. The preceding selection identifies promising refinement nodes, but does not determine how many additional continuations each should receive. Given a total budget , we allocate continuations to each selected node to minimize the estimated residual variance. Extending the local variance surrogate used for candidate selection gives
The continuous solution is , where is chosen to satisfy the budget constraint. Consequently, we round the allocations to integers while preserving the total budget .
3.4 Source Terms as an Additive DAG Structure
For the Poisson equation , a WoS step must account for the source field inside its sampling ball as well as the continuation on the ball's surface. With the Dirichlet Green function defined by with respect to the Dirac distribution , a point satisfies
The two integrals become separate sets of weighted dependencies in the skeleton.
Source sampling and graph representation. For a newly generated step on , draw a uniform surface exit and independent volumetric samples with density , where in . The local estimator is
where is the continuation estimate at the sampled exit. Thus each step adds one continuation and source leaves with local weight . Retaining source locations gives a node the additive estimator
where and are its continuation and source locations, while weights and include the corresponding sampling and averaging factors. Source leaves supply and do not continue walking or serve as spatial attachment targets.
Attachment and reusable evaluation. Each source sample retains its original sampling-group record. To reuse a group of from another point , keep the sampled locations and proposal fixed, and replace the Green kernel's starting point through
The continuation edges use the Poisson ratio from Eq. 1, so attachment reuses both surface and volume contributions without resampling the target group. And the surface admissibility condition still follows Section 3.1 governs acceptance. For fixed geometry, the sampled positions and transport weights are independent of the values of and . Changing either field therefore requires only new terminal values: boundary leaves receive and source leaves receive . Algorithm 1 then evaluates the same DAG without new walks.
3.5 Spatially Aware Graph Compression
A completed skeleton may contain many intermediate states along WoS trajectories, increasing storage and evaluation cost without necessarily improving reuse. Consecutive single-dependency states can be eliminated exactly, but their removal also discards spatial entry points for future attachment and refinement. We therefore compress the graph while retaining selected states that provide useful spatial coverage or serve as important roles in the skeleton such as queries, terminals, branching and merging vertices. Any

Fig. 2. Path refinement and interface construction.
remaining chain whose interior vertices have one incoming and one outgoing edge can be replaced by a single edge with weight . This contraction preserves the linear map from terminal values to retained nodes, including all query estimates, while reducing the number of stored vertices and edges. However, eliminated states can no longer serve as aforementioned attachment or following refinement locations. We therefore preserve selected spatial anchors, together with their direct sampled-exit children, associated edges, and sampling records, while contracting the remaining eligible chains.
Coverage-preserving anchor selection. An anchor set is selected to provide at least attachment choices over a target fraction of the domain. With denoting the reusable region of candidate and a fixed set of uniform probes, coverage is measured by and , subject to . Selection follows the greedy criterion , where favors candidates covering probes with fewer than anchors.
Since anchors along one trajectory share downstream samples, coverage can be extended to distinct trajectory origins to reduce correlation in subsequent attachment. With identifying the trajectory that created and denoting the origins available at , the count becomes and the greedy score becomes .
4 Adaptive Transport Reuse for Interactive Scenes
A reusable transport skeleton must support more than repeated evaluation on fixed geometry. In interactive scenes, new queries may appear in poorly covered regions, objects may move or be inserted, and users may wish to edit transport between selected regions. Rebuilding the skeleton after every change would discard much of its reusable computation. We therefore develop local graph updates that adapt the retained transport without reconstructing it globally: path refinement expands spatial attachment opportunities, hub-based reuse shares continuations across dense queries, geometry repair updates transitions affected by scene changes, and regional transport editing provides direct control over selected interactions.
4.1 Path Refinement for New Queries
The attachment bound in Section 3.1 limits the region from which a retained sampling sphere can be reused to avoid variance explosion, while path refinement comes to rescue by exposing intermediate positions within retained WoS steps, providing additional attachment locations for new queries. Path refinement also paves way for both building hub-sphere for intra-skeleton trajectories reuse (Section 4.2), and skeleton repairing and tiny-object capturing in dynamic scenarios (Section 4.3).
Consider an ordinary WoS step with sampling ball , where the recorded exit was sampled uniformly on . Starting at , one can generate intermediate positions conditioned on that exit as Figure 2. For a local ball , the next position is sampled with surface-area density
This Doob h-transform, with , recovers Brownian transitions conditioned on exiting B at q. We choose , half the remaining distance to the original sphere. This leaves each local ball strictly inside B while advancing the path and exposing intermediate positions. Appendix B.4 shows that it requires at most two draws per step on average in rejection sampling for this radius choice.
The original edge can coexist with the newly generated positions , , as a node with a unit-weight edge . To see why direct connections suffice, consider a chain with unit weights, which makes every node in this chain evaluate to the retained estimate at . In practice, one can replace an ordinary retained edge of coefficient by a chain uses , , . Connecting each node directly to therefore preserves its value while reducing propagation depth. Notably, though these 's can be sampled sequentially, their values can still simply share a direct reference to the same continuation. Such conditional construction ensures that each new node has the correct continuation law on its own sphere, making it a valid attachment target (Appendix B.1).
As a conditioned path approaches q, shrinking local balls provide diminishing spatial coverage. We therefore limit each refinement path to L steps or terminate earlier when the sphere clearance falls below a prescribed tolerance, allocating further samples to fresh conditioned paths starting from p.
4.2 Shared Query Evaluation in a Hub
Path attachment and refinement allow individual queries to reuse existing continuations, but densely distributed queries may still incur repeated costs in searching for and connecting to the skeleton. To share these connections, we introduce a hub ball containing a group of queries. Rather than attaching each query separately, we construct a common pool of interface samples on , each referencing an existing downstream continuation. Queries inside then reuse this pool through the Poisson kernel , with only their query-dependent weights evaluated separately.
These interfaces can be obtained either by conditionally refining retained paths to their crossings with or by sampling directly on portions of supported by retained sampling spheres. In the conditional construction (Figure 2), a retained step supported by a ball is refined within , conditioned on . If the path reaches before , its first crossing provides an interface referencing with unit weight, avoiding additional spatial importance ratios. While this construction reuses existing paths
Yunfeng Liao, Yucheng Wu, and Xiucheng Li
without reweighting their reconstructed crossings, direct sampling provides explicit control over the interface distribution, allowing contributions from different sampling groups to be combined across . We therefore develop the direct-sampling estimator below and leave the conditional construction and its probabilistic justification to Appendix C.
For retained sampling groups, indexed by , let be the supporting ball of group and let denote the retained continuation estimate at its exit . Each group contributes over a supported hub patch , which covers the entire if contains . Then independently of its retained exit , sample on , where is an area density, extended by zero outside the patch. The interface continuation is given by Eq. (12) where the weight converts the retained proposal density to the Poisson kernel at .
Since individual sampling groups cover only portions of , their contributions must be combined without double-counting overlapping patches. We therefore sample a group with probability , followed by an interface , giving the marginal density with . As the retained groups may not cover the entire hub surface, we include a full-support fallback group with and , whose continuation is generated by vanilla WoS and retained in the skeleton. This ensures throughout , allowing the hub estimator to use shared interface samples whose unbiasedness is validated by Proposition 4.1:
PROPOSITION 4.1 (UNBIASED HUB REUSE). If the retained downstream estimators are conditionally unbiased and interface sampling is independent of the retained continuations, then and for every .
PROOF SKETCH. The ratio in Eq. (12) recovers the Poisson representation at Z, while the mixture density m cancels the joint sampling density over . See Appendix B.6.
To represent the hub estimator in the skeleton, sampling groups and mixture probabilities are chosen independently of the retained exit and continuation samples. Each interface generated from group j introduces edges with weights
The first weight accounts for hub sampling and averaging, while the second reweights the retained continuation. Interface positions, mixture densities, and continuation references are stored once per hub, with queries evaluating their own weights against this shared pool. For M queries and N interfaces, this reduces explicit connection storage from to , although exact evaluation still requires kernel contributions.

Fig. 3. Conditional path refinement and geometry repair. Purple highlights retained continuations, while gray marks a WoS sampling sphere intersected by a moving object. Resampling from scratch in complex scenes may lose previously discovered rare boundary contributions, causing large sampling errors. Instead, conditional refinement preserves existing transport by reconnecting paths that avoid the object to q, while redirecting collisions to the new boundary.
4.3 Transport Adaptation for Dynamic Objects
As Figure 3, dynamic geometry changes can invalidate previously sampled WoS transitions, but their downstream continuations may remain reusable. When a new object intersects a retained sampling ball, the recorded exit alone cannot determine whether the underlying Brownian path would have encountered the object first. Rather than discarding the entire continuation, we use conditional path refinement to reconstruct the transition and redirect it to the new boundary only when necessary. This enables local adaptation of the skeleton while preserving unaffected transport. We consider an object inserted into the domain, with the remaining geometry and boundary data fixed.
We spatially index the sampling balls to identify transitions affected by the inserted object. For an affected edge supported by a ball S, we reconstruct its path conditioned on the recorded exit q, using Eq. 11, with local sampling balls contained in S and outside the inserted object. If the reconstructed path hits the object, the edge is redirected to the new boundary; otherwise, it reconnects to q upon approaching within a prescribed tolerance, provided q remains outside the object. In both cases, the original edge coefficient is preserved, since the conditional sampling law accounts for the retained exit. To preserve shared transport, repair follows the affected dependencies from queries toward their continuations, replacing only invalidated references, while unaffected downstream subgraphs are retained and only those modified nodes with their ancestors are reevaluated. This confines both reconstruction and reevaluation to the affected transport.
Conditional repair may suffer from high variance when small inserted objects with significant boundary contributions are rarely hit. Our framework is also compatible with bidirectional WoS (Bi-WoS) [Qi et al. 2022], whose reverse Green-function estimates can provide shared local corrections to affected sampling balls, accounting for both retained continuations and new boundary contributions. The integration and stopping criteria are detailed in Appendix D.
4.4 Application: Regional Transport Editing
The retained skeleton exposes transport dependencies between spatial regions, enabling artist-controlled amplification or attenuation of selected interactions. Rather than rebuilding the solver, we approximate the requested region-to-region transport as a low-rank patch applied to the original DAG.
Eliminating internal states yields an effective transport operator on retained anchors. For retained states A and eliminated states I, , giving . Acyclicity allows and to be applied through graph traversals without explicitly forming either matrix.
For selected source and target clusters and , let inject source values and restrict target values, defining . We approximate this block using randomized range finding with target rank and oversampling vectors. Draw and compute , by forward traversal, followed by by reverse traversal. This gives . Only batched forward probes and corresponding reverse propagation are needed, and forward probes can be shared across target clusters with the same source.
To scale the selected interaction by , a low-rank correction is applied by . The original solver is recovered at ; other values deliberately modify the represented transport rather than the underlying PDE. However, the source and target clusters may interleave in topological order, so the correction must exclude backward dependencies to preserve the DAG. Let satisfy for every original edge , and define for , . The causal correction is , which can be evaluated without forming the mask. During reverse-topological traversal, maintain , giving for . When crossing source node , update .
REMARK 1 (EDIT COMPLEXITY). Each causal patch costs per evaluation, without dense blocks or changes to the DAG. Regional edits can be applied as separate low-rank patches.
5 Experiments and Results
5.1 Experimental Setup
We evaluate accuracy, solve time, and the amortization of construction cost, together with refinement, compression, and interactive reuse. Unless stated otherwise, experiments use the multi-object mesh domain shown in Figure 4: irregular obstacles lie inside an enclosing sphere, with spatially varying scalar Dirichlet data on their surfaces. Specialized domains are introduced in the corresponding experiments.
A typical construction procedure begins by tracing independent WoS trajectories from a set of initial queries to form an initial skeleton. We then introduce additional queries, whose walks reuse completed continuations through path attachment, producing an attached skeleton. For comparison, an independent-path skeleton traces independent WoS trajectories from all queries without attachment.
Accuracy is measured by MSE = , where is the total number of queries, is a query position, is the estimated solution, and is an independent Monte Carlo reference using WoS trajectories. Each configuration was repeated for 5-10 runs, and the mean value was reported.

Fig. 4. Geometry of the common multi-object test domain, viewed inside a enclosing sphere.
All timed methods run serially on the CPU. Skeleton solve time measures weighted DAG evaluation (Section 3.2). Construction and solver preparation are included only in the amortization experiment; dynamic-update timings include repair and reevaluation. The attachment limit in Eq. 3 is set to 4 unless varied explicitly, as recommended by the accuracy-efficiency trade-off observed in Section 5.5.
5.2 Skeleton Accuracy and Solve Time
Can reuse support a more accurate estimate with a shorter solve time? We compare an independent-path skeleton, an attached skeleton that reuses an initial skeleton through path attachment, and Vanilla WoS. Varying their trajectories per query traces the accuracy-solve-time curves in Figure 5.

(a) Skeletons and Vanilla WoS
(b) Skeleton detail
Independent-path skeleton
Attached skeleton
Vanilla WoS
Trajectories per query
● 16 ▲ 48 ▼ 96 ✱ 192
■ 32 ◆ 64 ✱ 128 ✱ 256
Fig. 5. Skeleton evaluation versus Vanilla WoS, averaged over random seeds at fixed queries. Color identifies the method and marker shape gives the number of trajectories per query; for the attached skeleton this budget applies to both construction stages. Both axes are logarithmic. Construction and solver preparation costs are excluded.
Both skeletons have substantially lower solve time than Vanilla WoS. For example, the attached skeleton with 64 trajectories per query reduces MSE by 62% while solving about faster than
Yunfeng Liao, Yucheng Wu, and Xiucheng Li
16-trajectory Vanilla WoS. Reusing the skeleton removes repeated geometric traversal from the solve, allowing a larger construction budget to improve accuracy at low solve time.
The skeleton detail separates this benefit from attachment's contribution. At moderate budgets, attachment offers a better accuracy–solve-time trade-off than the independent-path skeleton: its 96-trajectory configuration has both lower error and lower solve time than the independent-path 64-trajectory skeleton. At larger budgets the attached curve flattens while the independent-path skeleton continues to improve. This behavior is consistent with shared continuations limiting the benefit of additional trajectories.
5.3 Construction-Cost Amortization
To measure when construction pays for itself, we build an independent-path skeleton, then solve successively for different boundary field. Cumulative skeleton time includes construction and solver preparation once, followed by skeleton evaluation for each field; Vanilla WoS generates fresh trajectories for each solve. Figure 6 compares the mean across skeleton builds with one measured Vanilla WoS solve sequence.

Fig. 6. Cumulative cost of repeated boundary solves with 64 trajectories per query. Skeleton time includes construction and solver preparation and is averaged over random seeds. Vanilla WoS generates new trajectories for each boundary field.
Construction costs roughly one Vanilla WoS solve, while subsequent skeleton evaluations add little to the total. The skeleton amortizes its initial cost by the second solve and is faster cumulatively at eight solves. Thus, even without attachment, retaining transport separates the cost of changing boundary data from the cost of exploring the geometry.
5.4 Sample Budget Allocation
To investigate how to allocate sampling budget between initial and additional queries to minimize their combined estimation error, we divide a fixed trajectory budget between equal-sized batches of initial and additional queries, varying the fraction allocated to attachment. Figure 7 reports mean error across matched trials.

Fig. 7. Mean MSE over all initial and additional queries versus the fraction of the trajectory budget allocated to attachment. The balanced allocation gives the smallest mean error.
The error curve favors a balanced allocation. Spending too little on initial construction weakens the transport available for reuse, while spending too little on attachment undersamples the additional queries.
5.5 Attachment Limit Sensitivity
In Eq. 3, a smaller attachment limit favors higher accuracy at the cost of reduced attachment efficiency. To explore this trade-off, we vary this limit while holding the initial skeleton fixed. Table 1 reports MSE, the fraction of additional-query walks ending by attachment, and the mean WoS step count over all additional-query walks.
Table 1. Attachment-limit sensitivity, averaged over random seeds; MSE covers both query batches.
| Limit | MSE (10-4) | Success (%) | Mean WoS steps |
|---|---|---|---|
| 1 | 2.35 | 0.0 | 34.06 |
| 1.25 | 2.54 | 26.3 | 24.94 |
| 1.5 | 2.91 | 60.0 | 13.52 |
| 2 | 3.03 | 80.9 | 6.55 |
| 4 | 3.62 | 93.0 | 2.77 |
| 8 | 5.76 | 95.8 | 1.99 |
| 16 | 5.42 | 97.1 | 1.67 |
Relaxing the limit initially removes most exploration work, at the cost of increased error. Beyond 4, attachment is already frequent: further relaxation buys little additional reuse while allowing larger importance factors and higher MSE. We therefore use 4 as the default compromise between accuracy and exploration cost.
5.6 Poisson Problems with Source Terms
We next test whether the additive source structure in Section 3.4 retains the accuracy-solve-time benefit for Poisson problems. Both methods use two source samples per WoS step.

Fig. 8. Accuracy and solve time with source terms, averaged over random seeds. Marker shape gives trajectories per query, applied to both skeleton construction stages. Both axes are logarithmic; construction and solver preparation costs are excluded.
Figure 8 shows that the solve-time advantage extends to source terms. With 192 trajectories per query, the attached skeleton achieves 34% lower MSE than 96-trajectory Vanilla WoS while solving about 126× faster. Storing volume contributions alongside boundary transport avoids repeating geometry traversal and source sampling during evaluation. Increasing the skeleton budget from 192 to 256 does not further reduce mean error, whereas Vanilla WoS continues to improve. Thus, additional construction trajectories offer diminishing accuracy gains in this range despite the low evaluation cost.
5.7 Variance-Guided Query Refinement
Query refinement can be useful in a domain with localized regions of high variance, for example, surrounding cups with rapidly varying boundary data on a few of their interiors, as shown in Figure 9. Holding the base skeleton fixed, we compare our method with adding the continuation directly at the queries with the same budgets. Table 2 reports the average error before and after these updates.
Table 2. Query-averaged MSE for one fixed skeleton. Both updates add 64 continuations per query.
| Method | MSE (10-4) |
|---|---|
| Before refinement | 2.633 |
| Additional WoS at queries | 1.098 |
| Variance-guided refinement | 0.637 |

(a)
(b)
Fig. 9. Localized-variance test domain: (a) the complete cup assembly inside a enclosure; (b) a cup with high-variance interior.
Refinement reduces mean error by 75.8% from the initial estimate and by 42.0% relative to adding WoS samples directly at the queries. Targeting high-variance internal contributions with strong query influence concentrates the new samples where they can most improve the estimate. Moreover, improving a shared continuation can benefit several queries, rather than only the query that receives additional samples. This makes local refinement useful when uncertainty is spatially concentrated within an otherwise reusable skeleton.
5.8 Coverage-Preserving Compression
To evaluate whether coverage preservation maintains attachment opportunities for new queries, we compare coverage-preserving compression with path-chain elimination on the same skeleton. The required multiplicity in Section 3.5 is set to .
After compression, both graphs add a same batch of queries and perform path attachment with the same sampling budgets. Then we measure the fraction of all graph nodes removed, attachment success rate, and mean WoS steps over all new trajectories. Table 3 summarizes the trade-off between node reduction and subsequent attachment.
Table 3. Compression and subsequent reuse. Means over matched random seeds; step counts are averaged over all new trajectories.
| Metric | Path-chain elimination | Coverage-preserving compression |
|---|---|---|
| Nodes removed (%) | 95.53 | 94.77 |
| Success (%) | 54.3 | 63.9 |
| Mean WoS steps | 15.61 | 12.23 |
Preserving access costs only 0.76% of the original node count, yet reduces subsequent exploration by 21.7%. Aggressively contracting every eligible chain removes few additional nodes at the expense of useful spatial access points. Spatial anchors therefore preserve much of the compression benefit while making the retained transport easier for new queries to reach.
Yunfeng Liao, Yucheng Wu, and Xiucheng Li
5.9 Spatial Coverage from Path Refinement
To evaluate how path refinement in Section 4.1 expands the region satisfying the attachment bound, we apply it to a single sampling ball and vary the number of refinement paths. Coverage is measured as the fraction of the ball's volume satisfying the bound.
Within a retained sampling ball, path refinement can substantially expands the attachable region, as shown in Table 4.
With eight refinement paths, coverage increases from 6.56% to 34.69%, reaching approximately 5.3 times the original coverage. With 32 paths, coverage reaches 48.15%, approximately 7.3 times the original coverage.
Table 4. Attachable volume within a sampling ball, averaged over random seeds and measured with uniform interior probes. Each refinement path has at most 32 steps, with zero paths representing the original coverage.
| Refinement paths | 0 | 1 | 2 | 4 | 8 | 16 | 32 | 64 | 128 | 256 | 512 | 1024 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Coverage (%) | 6.56 | 13.67 | 20.30 | 27.36 | 34.69 | 40.72 | 48.15 | 53.68 | 59.52 | 65.14 | 70.22 | 75.18 |

Fig. 10. A representative cross-section through the ball center and retained exit (star), after 1024 refinement paths. Blue denotes original coverage, green denotes added coverage, and gray denotes uncovered space.
5.10 Dense Queries through a Hub
To assess the memory savings of hub evaluation for dense queries, we compare it with ordinary path attachment on the same base skeleton. Queries are added within a hub inside an irregular domain (Figure 11). Figure 12 reports the additional persistent memory as the query count increases.
The shared pool makes hub memory nearly independent of the number of added queries over the tested range. Its fixed interface cost is amortized across more queries, so the storage advantage increases with query density.
Despite substantial memory savings, approaching ordinary attachment's accuracy requires a larger sample ammount. In the trials, an average of 3893 shared interfaces gives a mean MSE of , compared with for ordinary attachment using 32 trajectories per query. The hub thus needs more interface samples to compensate for shared downstream information.

Fig. 11. Hub test domain shown in cutaway. Orange circles delineate the hub sphere.

Fig. 12. Additional persistent memory for newly added queries, excluding the shared base skeleton. Means over random seeds; the hub uses one fixed interface pool at all query counts.
5.11 Local Repair of Dynamic Transport
To test whether local repair preserves important continuations after a geometry change, we construct a dumbbell-shaped domain with two spherical chambers connected by a passage (Figure 13(a)). An initial skeleton is built and refined in the chamber with rapidly varying boundary data, referred to as the remote chamber. Target queries are then added in the other chamber. A small fraction of their walks traverse the passage and attach to the well-explored skeleton in the remote chamber. Finally, the obstacle shown in Figure 13(b) moves to the passage entrance, invalidating sampling balls along these connecting paths.

(a)

(b)

Fig. 13. Local-repair setting: (a) two chambers connected by a passage, with varying boundary data in the remote chamber; (b) the perforated obstacle in detail. The arrow indicates insertion near the passage. The enclosure is shown in cutaway.
We then compare conditional repair with suffix resampling, which replaces each affected continuation with a fresh WoS walk from its starting node. Both methods update the solution by reevaluating the affected ancestors. Among the reachable remote nodes, we measure the fraction that remain reachable afterward. This gives the retention rate of the existing downstream skeleton. Update time includes repair and ancestor reevaluation, excluding the shared initial construction. Table 5 reports mean results. Target-query MSE isolates the queries that rely on the remote structure.
Table 5. Retention, update cost, and accuracy after a local geometry change. Means over matched random seeds.
| Metric | Suffix resampling | Conditional repair |
|---|---|---|
| Retention rate (%) | 0.0 | 67.0 |
| Update time (s) | 25.16 | 27.19 |
| Target-query MSE () | 2.009 | 0.934 |
Conditional repair retains access to much of the existing remote transport, rather than replacing it when an earlier sampling ball becomes invalid. This reduces target-query MSE by 53.5% for an 8.0% increase in update time.
5.12 Bidirectional Support for Local Repair
We next consider a small obstacle with rapidly varying boundary values and a large contribution relative to its low-valued surroundings, as shown in Figure 14. Its spiked geometry is chosen to invalidate many sampling balls while remaining difficult for walks to hit. Conditional repair is augmented with Bi-WoS to better resolve the obstacle's influence while retaining access to old continuations. Table 6 compares this extension with conditional repair alone and suffix resampling, using the same initial skeleton and query positions in matched trials.

(a)

(b)

Fig. 14. Small-object setting: (a) insertion into the cutaway domain; (b) a magnified view of the thin, spiked obstacle and its boundary data. The obstacle retains its actual size in the overview.
Table 6. All-query accuracy for a difficult-to-hit, high-contribution inserted object. Means over matched random seeds.
| Method | MSE () |
|---|---|
| Suffix resampling | 6.644 |
| Conditional repair | 8.778 |
| Conditional repair + Bi-WoS | 3.694 |
Adding Bi-WoS reduces mean MSE by 57.9% relative to conditional repair alone and by 44.4% relative to suffix resampling. The conditional-only result shows that preserving old transport does not by itself resolve a newly introduced contribution that is rarely encountered by forward paths. Reverse sampling complements this structural reuse: the repair can retain useful old continuations while better resolving the influence of a small, important boundary component.
Together, the two experiments demonstrate local editing that preserves existing transport, with bidirectional support improving its accuracy in a difficult sampling regime.
5.13 Regional Transport Editing
We demonstrate selective transport editing by amplifying the influence of the volcano island's boundary on queries around the village island. Figure 15 compares the original solution with three settings of the interaction scaling factory. All four panels use the same skeleton, query positions, and regional low-rank patch.
Increasing strengthens the volcano's contribution at the village queries, while query values in the other regions remain exactly unchanged. Once the regional patch has been extracted, changing requires neither new trajectories nor reconstruction of the skeleton.
Yunfeng Liao, Yucheng Wu, and Xiucheng Li
The retained graph thus serves as an editable transport operator, allowing independent control of a selected regional influence while preserving the remaining interactions.
References
Ghada Bakbouk and Pieter Peers. 2023. Mean Value Caching for Walk on Spheres. In Eurographics Symposium on Rendering. The Eurographics Association.
Michael Czekanski, Benjamin Faber, Margaret Fairborn, Adelle Wright, and David Bindel. 2026. Walking on Spheres and Talking to Neighbors: Variance Reduction for Laplace's Equation. In ACM SIGGRAPH 2026 Conference Papers. Article 146.
Wanchao Huang, Yutian Zhu, Qing Fang, and Ligang Liu. 2026. Probe-based Walk on Spheres for Efficient Path Reusing. ACM Transactions on Graphics 45, 4, Article 129 (2026).
Clément Jambon, Mohammad Sina Nabizadeh, and Mina Konaković Luković. 2026. Walk on Decomposed Subdomains: A Hybrid Monte Carlo–Deterministic Solver for Elliptic PDEs. ACM Transactions on Graphics 45, 4, Article 132 (2026).
Bailey Miller, Rohan Sawhney, Keenan Crane, and Ioannis Gkioulekas. 2023. Boundary Value Caching for Walk on Spheres. ACM Transactions on Graphics 42, 4, Article 82 (2023).
Bailey Miller, Rohan Sawhney, Keenan Crane, and Ioannis Gkioulekas. 2024. Differential Walk on Spheres. ACM Transactions on Graphics 43, 6, Article 174 (2024).
Mervin E. Muller. 1956. Some Continuous Monte Carlo Methods for the Dirichlet Problem. The Annals of Mathematical Statistics 27, 3 (1956), 569–589.
Thomas Müller, Markus Gross, and Jan Novák. 2017. Practical Path Guiding for Efficient Light-Transport Simulation. Computer Graphics Forum 36, 4 (2017), 91–100.
Yang Qi, Dario Seyb, Benedikt Bitterli, and Wojciech Jarosz. 2022. A Bidirectional Formulation for Walk on Spheres. Computer Graphics Forum 41, 4 (2022), 51–62.
Alexander Rath, Pascal Grittmann, Sebastian Herholz, Petr Vévoda, Philipp Slusallek, and Jaroslav Krivánek. 2020. Variance-Aware Path Guiding. ACM Transactions on Graphics 39, 4, Article 151 (2020).
Hossam Saeed, Michael Lambiri, Teseo Schneider, Derek Nowrouzezahrai, and Paul G. Kry. 2026. Fast Cutting of Cage Based Deformation with Walk on Spheres. In ACM SIGGRAPH 2026 Conference Papers. Article 147.
Rohan Sawhney and Keenan Crane. 2020. Monte Carlo Geometry Processing: A Grid-Free Approach to PDE-Based Methods on Volumetric Domains. ACM Transactions on Graphics 39, 4, Article 123 (2020).
Rohan Sawhney, Bailey Miller, Ioannis Gkioulekas, and Keenan Crane. 2023. Walk on Stars: A Grid-Free Monte Carlo Method for PDEs with Neumann Boundary Conditions. ACM Transactions on Graphics 42, 4, Article 80 (2023).
Rohan Sawhney, Dario Seyb, Wojciech Jarosz, and Keenan Crane. 2022. Grid-Free Monte Carlo for PDEs with Spatially Varying Coefficients. ACM Transactions on Graphics 41, 4, Article 53 (2022).
Zihong Zhou, Eugene d'Eon, Rohan Sawhney, and Wojciech Jarosz. 2025. Harmonic Caching for Walk on Spheres. ACM Transactions on Graphics 44, 6, Article 253 (2025), 15 pages.
A Analysis of Guided Neighborhood Attachment
We analyze a repeated-attempt model of guided neighborhood attachment to separate reaching a retained node from controlling the accumulated importance weights.
A.1 Repeated-Attempt Model
Consider successive attachment attempts with uniform target density and proposal
Here is a unit direction, densities are with respect to surface area on the unit sphere, is the uniform mixture fraction, and is the von Mises–Fisher concentration. The unit guiding axis and success cap are determined by the preceding history. Here ; for a target on a valid sphere of radius , an -neighborhood gives . Let denote the first successful attempt and the history before attempt .
A.2 Attachment-Time Tail
PROPOSITION A.1 (ATTACHMENT-TIME TAIL). If before attachment, then and , where .
PROOF. Conditioned on the history before attempt n, the guiding axis and cap
are fixed. Since , the uniform component of contributes to the success probability.
For the von Mises–Fisher component, write . Under the rotationally symmetric surface measure on , integration over the cap gives
Therefore the conditional success probability is
The function is increasing in , so implies
where
Hence
Iterating conditional expectations gives
Finally, for a positive integer-valued stopping time,
A.3 Stopped-Weight Divergence
An exponential attachment-time tail does not guarantee a finite second moment of the accumulated likelihood ratio.
PROPOSITION A.2 (STOPPED-WEIGHT DIVERGENCE). Define and . If before attachment, then, for sufficiently large fixed , but , despite the exponential tail in Proposition A.1.
PROOF. Condition on the history before attempt , so that , , and are fixed. Write . Relative to the uniform target density , the proposal satisfies

(a) Original

(b)

(c)

(d)
0
0.25
0.5
Scalar value
0.75
≥ 1
Fig. 15. Selective amplification of volcano-to-village transport. Small spheres show query values; island surfaces show the fixed boundary values. Only the influence of the volcano boundary on village queries is scaled. All panels share the same view and viridis color scale; values above 1 use the upper endpoint color.
and therefore
Since is uniform on with density under , for any measurable set depending only on ,
Before attachment, implies , so the failure region contains . Hence
where
Similarly, implies , so the success region contains , and therefore
Yunfeng Liao, Yucheng Wu, and Xiucheng Li
with
For every fixed ,
Moreover, , hence . Dominated convergence therefore gives
Since ,
Thus, for all sufficiently large fixed , .
On the event , the first attempts fail and the th succeeds. Repeated conditioning with the bounds above yields
Consequently,
It remains to establish the first moment. Under the target law P, the conditional probability of success at every pre-attachment step equals . Hence
so almost surely under P.
The likelihood ratio satisfies
and, similarly,
Therefore, by repeated conditioning,
For every finite N, partitioning according to whether the stopping event has occurred gives
Letting , the final term vanishes, and monotone convergence of the nonnegative partial sums gives
Thus
B Proofs and Implementation Details for Path Refinement
B.1 Correctness of Conditional Refinement
Let and let denote the first exit of Brownian motion from B. For an intermediate stopping point generated before , the strong Markov property gives
Consequently,
If is conditionally unbiased, , and refinement samples are generated independently of its downstream randomness given , then
Hence every inserted state has the same pointwise continuation semantics as an ordinary WoS state.
Conditioning the local transition on the known final exit gives
(26)
which is Eq. (11). Thus the refined process is exactly the corresponding Doob h-transform with .
For comparison, replacing an ordinary retained edge of coefficient w by a chain uses
Its realized contribution at p remains , and every intermediate node evaluates to . The construction in Section 4.1 instead preserves the original edge and connects each intermediate node directly to q. Its intermediate values and the original contribution at p are identical to those of the replacement chain.
B.2 Importance-Sampled Endpoints
Suppose now that Q is sampled from area density and define
Let be fixed before observing , and let for an independent . For a replacement chain, accept the endpoint once and use
A rejected attempt contributes zero and creates no intermediate nodes. Then
(29)
Integrating over yields , and therefore
Conditional refinement given an accepted endpoint follows the same Brownian-bridge law as above. Using
we obtain
(31)
Hence
and therefore
The compensating first-edge factor preserves the original branch contribution:
The endpoint test must be performed only once per attempt. Repeating the Bernoulli test for the same fixed endpoint until success would condition on eventual acceptance and hence restore the original proposal rather than the target Poisson law.
B.3 Path Splitting
Let be conditionally independent endpoint tests for the same retained , each with
Accepted replacement chains use first-edge weight . The split estimator is
Conditioning on gives
Since the indicators are conditionally independent Bernoulli variables,
Thus splitting reduces only the additional endpoint-rejection variance by ; the shared exit Q and downstream estimator are not independently resampled.
For ordinary WoS exits, , so every branch is accepted and its first-edge coefficient becomes .
For a desired expected count of accepted branches, choose a predetermined integer . The number must be specified independently of the realized endpoint. Likewise, replacing by its expectation would preserve the scalar contribution but would retain intermediate states for every proposal endpoint. Those retained states would then be selected under the proposal law and would not in general satisfy the pointwise semantics of Eq. (25).
PROPOSITION B.1 (VALIDITY OF PATH REFINEMENT). Assume that is conditionally unbiased given , and that refinement samples use independent randomness given . The retained intermediate states then satisfy . For importance-sampled exits, the one-shot endpoint correction preserves the original expected branch contribution, with
B.4 Exact Sampling of the Conditioned Transition
Let d denote the spatial dimension. For one refinement step, write
and choose
Since , this guarantees .
Using the Poisson kernel of the outer ball , Eq. (11) becomes
We use the proposal
The normalization follows from
Two dimensions. Let and let be perpendicular to . For , set
and
This samples the boundary density proportional to .
Three dimensions. Draw independent and define
Using an orthonormal frame with ,
This gives the required density proportional to .
Yunfeng Liao, Yucheng Wu, and Xiucheng Li
Rejection correction. Let
From Eqs. (36) and (37),
Hence a proposal is accepted with probability
The accepted density is exactly , so no likelihood correction is attached to an accepted local transition.
Its average acceptance probability is
Let . Since and ,
Thus gives at most two proposal draws on average.
Local rejection here is fundamentally different from endpoint rejection: a rejected local candidate is redrawn at the same state until accepted because this procedure samples the desired conditional transition itself. The endpoint correction, by contrast, must be executed only once for a fixed retained exit.
B.5 Comparison with Independent Proxy Sampling
Suppose the retained outer-sphere exit is . Introducing an algebraic proxy while preserving the same exit sample gives
so such a proxy is exactly equivalent to direct reuse.
Now let , let , and sample uniformly on , independently of . The corresponding estimator is
Conditioning on and using the composition of harmonic measures,
Therefore, whenever second moments are finite,
Thus independent proxy sampling provides no generic variance improvement. Conditional refinement differs because the intermediate state and the retained exit are sampled jointly, yielding and therefore legitimate reusable continuation states.
B.6 Proof of Hub Reuse
PROOF. We first consider a retained interface group . Let denote its supporting sphere and let the retained exit have area density on . By assumption, the referenced downstream estimator is conditionally unbiased:
The interface point Z is sampled independently of from density on the supported patch .
For a fixed interface position , the estimator in Eq. (12) satisfies
The final equality is the Poisson representation of the harmonic continuation inside . Thus every generated interface has the same pointwise continuation semantics as an ordinary WoS state.
Now consider reuse from a query through this single group. Since and is supported on ,
Hence an individual group estimates exactly the Poisson contribution of its supported patch. If several such estimators were simply added, overlapping patches would therefore be counted multiple times.
We next consider the mixture construction. Let
so that the joint density is
and the marginal interface density is
Because the fallback group satisfies and , we have everywhere on .
For every retained group , Eq. (47) gives
By construction, the fallback continuation also satisfies
Therefore a single mixture sample contributes
whose expectation is
Thus each mixture sample is an unbiased estimator of the continuation at x.
Finally, Eq. (13) averages N such interface contributions:
Linearity of expectation yields
Independence among the is not required for this expectation identity. In particular, multiple interfaces may reference the same retained downstream continuation and therefore remain correlated; such correlation affects variance but not unbiasedness.
The graph weights
are precisely the factors appearing in the estimator above, so the graph representation implements the same unbiased mixture estimator.
C Interface Construction by Path Refinement
C.1 Interface Construction
We describe two ways to expose a retained continuation on a spherical interface. Let be a hub and the supporting ball of a retained edge . Depending on their geometry, we construct an interface together with a reference to the existing downstream continuation.
Intersecting spheres. Suppose and partially overlaps . We condition the retained step on its exit and walk inside , whose signed distance is
For a local ball centered at the current position inside , the next position has density
Let denote Brownian motion started at , and let and be its first exit times from and . Define . When occurs, the first crossing is inserted into the retained edge with
where is the original averaging coefficient. If the conditioned segment reaches first, the current edge is left unchanged and refinement may continue on subsequent retained edges. For an importance-sampled , we apply the one-shot endpoint correction in Appendix B.2; accepted branches place the compensating factor M on the first edge.
Containing spheres. If , no reconstructed crossing is required. Sampling uniformly on , independently of the retained exit , defines and the original edge correction can be factorized as
(56)
so their product equals the original . A query reuses this interface through .
PROPOSITION C.1 (VALIDITY OF INTERFACE CONSTRUCTIONS). For an ordinary retained exit, suppose its downstream estimator remains conditionally unbiased given the constructed interface. Both constructions then produce valid continuation states: . For the containing construction, where is uniform on , for every . The intersecting construction instead follows its first-crossing law; its interfaces do not in general have uniform density on . The crossing-state identity also holds for importance-sampled retained exits after the one-shot endpoint correction.
PROOF SKETCH. For intersecting spheres, the conditioned walk and strong Markov property give ; for containing spheres, validity follows from the nested Poisson representation. Importance-sampled exits use the same one-shot endpoint correction as Proposition B.1. The following subsections give the detailed arguments for both geometries.
Several interfaces may share the same retained continuation.
C.2 Proof for Intersecting Spheres
Let and with . Let
and define
The retained exit is , whose ordinary exit density is
Conditioned on , the Doob transform with is used until the path reaches . Hence the construction law satisfies
On E, the strong Markov property at gives
Yunfeng Liao, Yucheng Wu, and Xiucheng Li
Therefore
If the retained downstream estimator is conditionally unbiased,
then
Thus the crossing point is a valid continuation state.
When occurs, replacing by with coefficients and 1 leaves the realized downstream contribution of that retained sample unchanged. If occurs, the current edge is left unchanged.
If was generated from an importance density rather than the ordinary Poisson law, we first apply the one-shot endpoint correction from Appendix B.2. Conditional on acceptance, the exit again follows and the argument above is unchanged. The compensating factor M is placed on the first edge; a rejected attempt contributes zero.
C.3 Proof for Containing Spheres
Assume . Harmonicity gives the nested Poisson representation
Let the retained exit be sampled from area density and let be conditionally unbiased. Independently sample Z uniformly on and define
Conditioning on ,
Thus the auxiliary interface has the same pointwise continuation semantics as an actual WoS state, although it is not a reconstructed crossing of the old path.
For any , define
Since Z is uniform on ,
Finally, the edge factorization
satisfies
and therefore preserves the original sampled correction exactly. Any pre-existing sample-averaging coefficient is retained on the first edge.
Multiple interface points may share the same .
D Conditional Repair and Bidirectional Support
D.1 Conditional Segments in the Updated Geometry
Let be the inserted obstacle, let support the retained transition with , and let be its local repair domain. The origin lies in ; it need not be the center , as an attached transition can inherit another sampling sphere. In three dimensions, define the positive harmonic function
It is proportional to , so the proportionality factor cancels in the conditioned transition. At a working position , choose
and sample with density
Use the exact sampler in Appendix B.4 at this radius.
An obstacle-boundary tolerance terminates the segment at the closest obstacle point. This test precedes reconnection at the original sphere. Reconnection occurs when the remaining sphere clearance falls below a second tolerance, and is disabled when . Finite-tolerance reconnection omits possible collisions on the remaining conditioned segment. Queries must remain in the updated domain. A boundary-projection edge without a recorded sphere is replaced by a fresh WoS continuation in the updated domain.
The working positions are temporary. The resolved edge retains its coefficient and references either the old exit or a new boundary endpoint.
D.2 A Local Correction from Shared Reverse Paths
For a legal retained exit p, let v denote the value supplied by its continuation after repair. In the idealized continuous limit, the expected conditional continuation in D is
where is harmonic in D, with boundary data
The Doob transform makes harmonic in . Subtracting gives the stated harmonic correction: the object supplies , while the old-sphere exit supplies . The reverse term therefore supplies the inserted object's correction to the retained continuation. If is swallowed, take and prohibit old-exit reconnection.
We generate a shared reverse-path library in the updated physical domain, with independent surface starts on each boundary component. The local correction uses the inserted-object paths restricted to their first exit from S. An object-surface start outside S contributes zero. Balls wholly inside S are retained; a ball crossing is subdivided using conditional refinement on its recorded exit, and the path is stopped on its first local exit. Only the substep Green contributions are used for that crossing ball. This restriction preserves shared global sampling while providing the killed paths needed in D.
For the inserted-object stratum, let be its number of reverse paths, including zero contributions. Path starts at a surface sample displaced by along the normal into . The displacement is chosen small relative to the original-sphere clearance. Let be its restricted sequence of sampling balls. Define
where is the center of , is an area density, and is the Dirichlet Green function of the ball. Set for paths whose surface starts outside . The finite-offset estimate is
The inward displacement approximates a boundary normal derivative; physical and sampling-sphere termination tolerances introduce additional approximations. The zero correction on the old sphere is integrated exactly. Other physical boundary components are already represented through the retained continuation.
D.3 Connection and Graph Representation
The forward segment uses the same conditional transitions with or without reverse support. A connection is considered only within a prescribed distance of the object, outside the reverse-offset layer and away from the original sphere's termination shell. To prevent a reverse path from selecting its own evaluation location, its contribution is settled only when the forward position is covered by at least K distinct other reverse paths, where K is a positive integer. Multiple balls from one path count once. Each pending path is evaluated at its first eligible position, including a zero evaluation when that path does not cover the position. The normalization remains . The common forward segment continues until all contributions settle or reach an ordinary object hit or old-exit reconnection. This leave-one-out rule keeps each path's stopping decision independent of that path's reverse samples.
At a reverse connection, contribution supplies , scaled by ; unresolved contributions use the usual boundary hit or reconnection. Their combination is stored as edges to the retained exit and the sampled physical boundary points, with the original edge coefficient applied once. Coefficients may be signed; remains a graph dependency, so subsequent boundary-value updates propagate through the same DAG.