potentialpaper

Differentiable Systematic Resampling for Variational Sequential Monte Carlo

Fredrik Cumlin, Saikat Chatterjee

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. We introduce Differentiable Systematic Resampling (DSR), a temperature-controlled relaxation of systematic resampling, that enables full gradient flow in variational sequential Monte Carlo learning.

Abstract. Particle filters are a standard tool for nonlinear state estimation, but their resampling step is discrete, preventing gradient-based learning in variational sequential Monte Carlo. We introduce Differentiable Systematic Resampling (DSR), a temperature-controlled relaxation of systematic resampling, that preserves the CDF-ordered, banded structure of systematic resampling while enabling full gradient flow. DSR converges to exact systematic resampling as the temperature vanishes, and we prove a pointwise exponential convergence rate for the induced bias. Compared to optimal-transport-based differentiable resampling, DSR avoids iterative solvers and has substantially lower computational overhead. Experiments on stochastic dynamical systems and real-world handwriting data show that DSR achieves comparable or superior filtering and dynamics learning performance.

From the authors: Fredrik Cumlin · edit · also an author?

Nothing yet.

How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
4 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:42 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

The reviewers are positive overall and I agree with the recommendation to accept. The paper proposes a simple and useful relaxation of systematic resampling, with a clean core idea and good empirical results. The main concerns were around the finite-temperature bias, the resulting bias–variance trade-off, and the behavior for multimodal posteriors. The rebuttal did a good job clarifying these points and added several useful experiments. There are still some limitations, in particular for multimodal settings, but these are now much better understood and clearly do not outweigh the contribution. I therefore recommend acceptance.

Final justification

Meta-review has the updated justification.

Area Chair XtuX · Meta-reviewOpenReview ↗
Final justification
Meta-review has the updated justification.
Read meta-review
Meta-review

The reviewers are positive overall and I agree with the recommendation to accept. The paper proposes a simple and useful relaxation of systematic resampling, with a clean core idea and good empirical results. The main concerns were around the finite-temperature bias, the resulting bias–variance trade-off, and the behavior for multimodal posteriors. The rebuttal did a good job clarifying these points and added several useful experiments. There are still some limitations, in particular for multimodal settings, but these are now much better understood and clearly do not outweigh the contribution. I therefore recommend acceptance.

Reviewer yXtwOpenReview ↗
Rating
5/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

Sequential Monte Carlo methods are state of the art methods for estimating state-space models, given knwown transition dynamics. Variational SMC [Chris J. Maddison, et al. Filtering variational objectives, 2017] combines SMC and variational inference to jointly learn the transition dynamics and sample from it. The variational part is carried out via a gradient-based procedure on an estimator of the ELBO that uses particles generated by SMC, in particular, it requires the resampling scheme within the SMC part to be differentiable. The differentiable counterpart to multinomial resampling is the "soft" multinomial resampling [Peter Karkus, et al. Particle filter networks with application to visual localization, 2018.], but it is known that multinomial resampling exhibits greater variance that systematic resampling, for which there is no differentiable approximation. The authors propose a differentiable relaxation of systematic resampling given by a differentiable approximation of the index selection procedure via a sigmoid function, with smoothness parameterised by a temperature τ\tau. They establish that the bias introduced by this relaxation vanishes as τ\tau goes to 00, recovering the unbiasedness of systematic resampling in the limit. They provide detailed numerical comparisons of DSR compared to other differentiable resampling scheme, and show it achieves reasonable posterior quality, transition model quality, estimation accuracy and computational efficiency, over both toy and real-word examples.

Strengths and weaknesses

Strenghts: The contribution is clear and the scheme appears to be useful in the numerical experiments. The theoretical analysis (in the limit τ→0+\tau\to 0^+, the method is unbiased) is sufficient and cleanly proven in the appendix (I quickly went through some proofs, they are detailed and well-written). The numerical experiment section is also detailed, numerical figures are accompanied with uncertainty, and figures are nice. The only small issue is the non-disclosure (for anonymity reason) of the code. Otherwise, the writing is good, the bibliography also (though, for SMC methods, I usually cite An introduction to Sequential Monte Carlo by N. Chopin and O. Papaspiliopoulos).

Weakness: The authors acknowledge the method might fail in multimodal posterior distributions, but all considered posterior in practice are unimodal distributions.

Questions
  1. None of the three benchmarks has clearly multimodal posterior distributions or at least is designed to test the behavior of DSR on multimodal distributions. Would you consider a toy model such as a mixture of two separated Gaussian distribution, and discuss more the "Convex-combination limitation" (Line 281), and the mitigating effect of Morton sorting on this? In particular, could you add a mode-converage metric (or the mass between the two modes for the two separated Gaussan distribution?)?

  2. I suggest the author to highlight the fact that the relaxation of systematic resampling they introduce is O(N^2) while SR is O(N). Is there any way to make it O(N K), say, by truncating the weights, at the cost of an additional bias depending on K?

Limitations

The authors rightly raise the fact that the softened SR might introduce cross-mode mixing in multi modal distributions, and I think a proper analysis of this in a simple case could further strengthen the paper.

Final justification

As stated in my original review, the contribution is clear and useful in numerical experiments. Given the authors have answered my points and others reviewers' points in their rebuttal, that the required modifications or additions are made in the final manuscript, I recommend acceptance.

Formatting concerns

None.

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for the review and for the encouraging feedback on the proofs. Below we address the weakness and give answers to the questions.

Weakness and Q1: We thank the reviewer for this suggestion, and we have run an experiment to deepen this understanding. We use a static two-component Gaussian, and only vary the resampling method. We use the distribution 12N(−Δ2e0,σ2Id)+12N(+Δ2e0,σ2Id)\frac{1}{2}\mathcal{N}(-\frac{\Delta}{2}\mathbf{e}_0, \sigma^2\mathbf{I}_d) + \frac{1}{2}\mathcal{N}(+\frac{\Delta}{2}\mathbf{e}_0, \sigma^2\mathbf{I}_d) to draw from, Δ\Delta is the separation between the modes, e0=(10…0)T\mathbf{e}_0=\begin{pmatrix} 1 & 0 & \dots & 0\end{pmatrix}^T, and dd is the dimension. This means the modes are separate along coordinate 00, while coordinates 1,…,d1,\dots, d are isotropic noise carrying no mode information. Separating along a single coordinate is deliberate: a Morton code interleaves bits across coordinates, so as dd grows the informative bits of coordinate 00 are diluted among uninformative ones, which we interpret as the loss of locality the reviewer anticipates. We use N=100N=100, Δ=10\Delta=10, σ=0.3\sigma=0.3 (a separation of ≈33\approx33 within-mode standard deviations), and we measure the resampled mass in the region ∣x0∣<3|x_0|<3. Particles are randomly permuted before resampling. We use default parameters as given in the manuscript (α=0.5\alpha=0.5, τ=0.1\tau=0.1; ε=0.5\varepsilon=0.5, 100100 Sinkhorn iterations); we report the inter modal mass as mean ±\pm std over 1000010000 simulations.

Any scheme that copies ancestors results in zero mass in the region, by construction (given that no particle is within the region); this holds for hard systematic and for soft multinomial resampling. Thus, any inter-modal mass of DSR/EROT is therefore attributable to the relaxation. The results are shown in the table below.

Method d=1d=1 d=2d=2 d=3d=3 d=5d=5 d=10d=10
Hard SR 0.000±.0000.000_{\pm .000} 0.000±.0000.000_{\pm .000} 0.000±.0000.000_{\pm .000} 0.000±.0000.000_{\pm .000} 0.000±.0000.000_{\pm .000}
Soft 0.000±.0000.000_{\pm .000} 0.000±.0000.000_{\pm .000} 0.000±.0000.000_{\pm .000} 0.000±.0000.000_{\pm .000} 0.000±.0000.000_{\pm .000}
DSR (Morton) 0.287±.0050.287_{\pm .005} 0.283±.0050.283_{\pm .005} 0.282±.0050.282_{\pm .005} 0.282±.0000.282_{\pm .000} 0.282±.0050.282_{\pm .005}
DSR (w/o Morton) 1.000±.0001.000_{\pm .000} 1.000±.0001.000_{\pm .000} 1.000±.0001.000_{\pm .000} 1.000±.0001.000_{\pm .000} 1.000±.0001.000_{\pm .000}
EROT 0.000±.0000.000_{\pm .000} 0.000±.0000.000_{\pm .000} 0.747±.0520.747_{\pm .052} 1.000±.0001.000_{\pm .000} 1.000±.0001.000_{\pm .000}

The results support the design choice of using Morton sorting in this setting: w/o Morton, every resampled particle lands between the modes; with Morton, the inter-modal mass is ≈0.28\approx0.28. Further, the Morton sorting does not seem to degrade with dimension over this range. We also note that EROT seem sensitive to increasing dimension: when d≥3d\geq3, EROT yields particles within the two modes.

In short, Morton sorting significantly reduces inter-modal mass compared to no sorting, for dimensions up to 1010. We plan to study strategies applied to SMC to VSMC in the future for multimodal posterior modelling, for example, strategies discussed in [28, 30], referenced in our manuscript.

Q2: We thank the reviewer for this suggestion. We will make the time complexity of DSR clearer by stating it directly after introducing DSR, in Sec. 3.1.

We thank the reviewer for this idea. We believe the reviewer's suggestion is reasonable and can directly be implemented by, e.g., only considering, for index ii, the soft assignments in the range [max⁡(0,i−K/2),min⁡(i+K/2,N)][\max(0, i-K/2), \min(i+K/2, N)]. Figure 5 supports that the soft assignments decay close to zero for indices far away from ii. We kindly note, however, that DSR can be implemented using batched matrix operations, and hence the practical speedup on GPU may be relatively small.

We hope these clarifications address the reviewer's concerns. We thank the reviewer again for the constructive suggestions.

Reviewer yXtw · CommentOpenReview ↗

Thank you, I acknowledge your rebuttal. I appreciate that you have run additional numerical experiments in a clearly bimodal setting, please add it to the revised manuscript.

Authors · CommentOpenReview ↗

We thank the reviewer for the positive assessment. We will add a section in the appendix of the revised manuscript discussing the multimodal posterior limitation of DSR(/soft relaxation in general) by providing this experimental setup and results; that is, by describing the bimodal experiment where we range the dimension from 11 to 1010 and study the intermodal mass of the different resampling schemes.

Reviewer TD9NOpenReview ↗
Rating
5/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper addresses the well-known problem of gradient estimation in variational sequential Monte Carlo (VSMC). The authors propose Differentiable Systematic Resampling (DSR), a temperature-controlled relaxation of systematic resampling that rewrites the assignment indicator as a telescoping difference of step indicators over the empirical CDF, each of which is relaxed with a sigmoid. Normalizing and stacking the resulting soft assignments gives a transportation matrix whose columns are convex combinations of ancestors, which recovers "hard" systematic resampling as τ→0\tau\to 0. To keep the soft mixtures local and avoid blending of far-apart particles, they are sorted along a Morton space-filling curve before the CDF is formed. The empirical evaluation compares DSR to hard systematic resampling, soft multinomial resampling, and EROT on a 4-D linear Gaussian SSM, the Lorenz-63 attractor under a nonlinear camera map, and the CharacterTrajectories handwriting dataset. DSR is competitive with or outperforms other methods in terms of state estimation and transition-model quality, and is the only relaxation that trains stably at N=200N=200, where hard/soft collapse and EROT runs out of memory.

Strengths and weaknesses

Strengths

I really like the clean and well-motivated core idea and how straightforward it is. Writing the systematic resampling assignment as a telescoping difference of step indicators and relaxing each with a sigmoid is the sort of move that looks obvious in hindsight but evidently was not. Given that systematic resampling is widely used and DSR can be used as an easy drop-in replacement, it is a valuable alternative to existing methods that can easily be adopted.

Weaknesses

  • I think the potential issues with the convex combinations deserve more study. Placing mass between ancestors changes the support of the particle set, and for multimodal posteriors this seems like a potentially dangerous failure mode. The authors acknowledge this and mention that Morton sorting partially mitigates cross-mode mixing for well-separated modes. But the locality-preserving properties of space-filling curves get worse in higher dimensions, and none of the reported experiments is high-dimensional or targets a posterior that is known to be multimodal. The linear Gaussian model is unimodal, and the Lorenz-63 and handwriting tasks both have strongly informative (highly peaked) likelihoods and are most likely predominantly unimodal. The failure modes are therefore acknowledged but never explored.

  • I understand that the relaxed ELBO is not comparable across methods since each uses a different relaxation. But at evaluation time, where everything is standardized to hard systematic resampling, the marginal likelihood estimates are comparable and a perfectly feasible metric to assess whether DSR's smoother gradients actually help to find better optima of the quantity we typically care about. For the linear Gaussian case the true marginal likelihood can be computed and compared against.

  • The authors do not compare gradient estimates against unbiased VSMC gradient estimates, i.e. using the estimator that does not drop score-function contributions. For simple settings this gradient can be accurately estimated and compared to the DSR gradient to assess the actual bias.

  • Proper resampling schemes are typically unbiased, i.e. on average they produce the correct replication counts. The column-normalization makes each resampled particle a proper convex combination, but I don't believe the soft map preserves expected replication counts (for finite τ>0\tau>0).

Questions
  • The temperature is fixed at τ=0.1\tau=0.1 throughout training. Have the authors tried annealing τ\tau over the course of training, i.e. starting larger for smoother gradients and decreasing toward sharper, more faithful assignments?
Limitations

I listed the limitations that I'd like to see addressed in the Strength and Weaknesses section.

Final justification

The additional experimental results and discussion provided by the authors address my concerns and significantly strengthen the contribution. Factoring in the rebuttal I recommend acceptance.

Formatting concerns

N/A

4 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for the constructive review and the encouraging assessment of the core idea. We address the four weaknesses and the question below, with experiments to support our claims.

Convex combinations and multimodal posteriors: We thank the reviewer for this suggestion. We have run an experiment with particle sets drawn from multimodal distributions and we study the effect of different resampling schemes of the resulting particle distribution. The full setup and results are in our response to Reviewer TD9N, under Weakness and Q1.

Marginal likelihood at evaluation time: We thank the reviewer for this suggestion, and we have run the comparison. As the reviewer mentions, at evaluation time, hard systematic resampling is used, so log⁡p^(y1:T)\log\hat p(\mathbf{y}_{1:T}) is comparable across methods. Further, on the linear Gaussian model, the loglikelihood of the evidence can be computed exactly via the Kalman filter, hence, providing with a comparison. This yields the decomposition

log⁡ptrue(y1:T)−log⁡pϕ^(y1:T)⏟model error+log⁡pϕ^(y1:T)−E[log⁡p^N(y1:T)]⏟Jensen’s gap\underbrace{\log p_{\mathrm{true}}(\mathbf{y}_{1:T}) - \log p_{\hat\phi}(\mathbf{y}_{1:T})}_{\text{model error}} + \underbrace{\log p_{\hat\phi}(\mathbf{y}_{1:T}) - \mathbb{E}[\log \hat p_N(\mathbf{y}_{1:T})]}_{\text{Jensen's gap}}

where the first term is the quantity the reviewer asks about. We use the linear Gaussian model described in the manuscript with default parameters. Using the dataset and trained models from the linear Gaussian SSM (sec 5.2), the results can be found in the Table below. The mean and std are over the model seeds, and we use 1010 sequences (the same sequences for all methods), at T=100T=100, SMNR 1010 dB.

Method pϕ^p_{\hat{\phi}} E[log⁡p^N]\mathbb{E}[\log\hat p_N] model error Jensen's gap
DSR −232.942±.087-232.942_{\pm .087} −235.138±.385\mathbf{-235.138}_{\pm .385} 0.575±.0870.575_{\pm .087} 2.196±.302\mathbf{2.196}_{\pm .302}
EROT −233.065±.104-233.065_{\pm .104} −235.851±.414-235.851_{\pm .414} 0.699±.1040.699_{\pm .104} 2.786±.4672.786_{\pm .467}
Hard −232.795±.038\mathbf{-232.795}_{\pm .038} −236.147±.924-236.147_{\pm .924} 0.428±.038\mathbf{0.428}_{\pm .038} 3.352±.9013.352_{\pm .901}
Soft −232.996±.138-232.996_{\pm .138} −237.215±.749-237.215_{\pm .749} 0.630±.1380.630_{\pm .138} 4.218±.6694.218_{\pm .669}

All four methods are close to the true evidence, within 0.70.7 of −232.367-232.367. On the model error, hard SR is the closest (0.4280.428 against 0.5750.575 for DSR), and we note that this difference is outside the spread over seeds. The separation is instead in the Jensen's gap, where DSR attains 2.1962.196 against 3.3523.352 for hard SR, and with a third of the spread (±.302\pm.302 against ±.901\pm.901). We note that the two columns measure different things: the model error measures how close the learned transition model is to the true transition model (that is used to generate the data), while the Jensen's gap measures how well an NN-particle filter approximates the evidence of that learned model. Since the quantity being optimised is E[log⁡p^N]\mathbb{E}[\log\hat p_N] and not log⁡p\log p, these results suggest that DSR learns parameters that score higher under the finite-particle VSMC objective, i.e., parameters whose evidence the particle filter approximates more accurately.

Comparison against unbiased VSMC gradients: We thank the reviewer for this suggestion. We follow the linear Gaussian SSM experiment of [25, Sec. 5], adapted to our linear Gaussian SSM, as follows:

We use the linear Gaussian SSM of Sec. 5.2 at SMNR =10=10 dB with N=4N=4, T=4T=4, and additionally a two-dimensional version (a single rotation block) at the same NN and TT. For each we generate one observation sequence y1:T\mathbf{y}_{1:T}; every particle filter run below targets that same sequence. Gradients are taken with respect to all d2d^2 entries of A\mathbf{A} and the dd diagonal entries of Q\mathbf{Q}, the latter parameterised as Q=diag⁡(softplus⁡(ℓ))\mathbf{Q}=\operatorname{diag}(\operatorname{softplus}(\boldsymbol{\ell})) to enforce positivity, evaluated at the data generating parameters as defined in Sec. 5.2. The unbiased gradient ∇L\nabla\mathcal{L} is estimated by averaging over 10001000 bootstrap noise draws (used for sampling states in SMC via the reparameterization trick), and we sweep over ancestor vectors (exhaustive search).

Let g^\hat{\mathbf{g}} denote a gradient estimate obtained by averaging nn independent SMC runs (used for Hard SR and DSR), each run being random through its bootstrap noise and resampling offsets. We use n=1600(=100/4×64)n=1600(=100/4 \times 64) which 'consumes' the same number of observations as in our training configuration (Appendix C.2). We use the following evaluation measures:

Bias=∥E[g^]−∇L∥,Variance=E∥g^−E[g^]∥2,MSE=E∥g^−∇L∥2=Bias2+Variance.\mathrm{Bias}=\big\|\mathbb{E}[\hat{\mathbf{g}}]-\nabla\mathcal{L}\big\|, \qquad \mathrm{Variance}=\mathbb{E}\big\|\hat{\mathbf{g}}-\mathbb{E}[\hat{\mathbf{g}}]\big\|^2, \qquad \mathrm{MSE}=\mathbb{E}\big\|\hat{\mathbf{g}}-\nabla\mathcal{L}\big\|^2 =\mathrm{Bias}^2+\mathrm{Variance}.

To estimate E[g^]\mathbb{E}[\hat{\mathbf{g}}] we reuse the same 10001000 bootstrap noise draws as used for the unbiased gradient, with 500500 offset sequences (5⋅1055\cdot10^{5} runs). The variance is estimated separately, from 200200 independent realisations of g^\hat{\mathbf{g}} at n=1600n=1600, with the bootstrap noise and the offsets of every run drawn afresh (3.2⋅1053.2\cdot10^{5} runs).

Method Bias Variance MSE
(a) d=2,N=4,T=4d=2, N=4, T=4; ∣∇L∣=9.64|\nabla\mathcal{L}|=9.64
Hard SR 2.324±0.0142.324_{\pm0.014} 0.308±0.0170.308_{\pm0.017} 5.709±0.0675.709_{\pm0.067}
DSR τ=1.0\tau=1.0 1.256±0.0001.256_{\pm0.000} 0.241±0.014\mathbf{0.241}_{\pm0.014} 1.819±0.0141.819_{\pm0.014}
DSR τ=0.5\tau=0.5 1.257±0.0011.257_{\pm0.001} 0.245±0.0140.245_{\pm0.014} 1.825±0.0141.825_{\pm0.014}
DSR τ=0.1\tau=0.1 0.764±0.0200.764_{\pm0.020} 0.389±0.0310.389_{\pm0.031} 0.973±0.0440.973_{\pm0.044}
DSR τ=0.05\tau=0.05 0.370±0.0500.370_{\pm0.050} 0.723±0.0370.723_{\pm0.037} 0.860±0.052\mathbf{0.860}_{\pm0.052}
DSR τ=0.01\tau=0.01 0.343±0.227\mathbf{0.343}_{\pm0.227} 13.409±2.62313.409_{\pm2.623} 13.526±2.62813.526_{\pm2.628}
(b) d=4,N=4,T=4d=4, N=4, T=4; ∣∇L∣=20.50|\nabla\mathcal{L}|=20.50
Hard SR 3.627±0.0283.627_{\pm0.028} 2.092±0.0582.092_{\pm0.058} 15.247±0.21115.247_{\pm0.211}
DSR τ=1.0\tau=1.0 2.869±0.0012.869_{\pm0.001} 2.073±0.057\mathbf{2.073}_{\pm0.057} 10.304±0.05810.304_{\pm0.058}
DSR τ=0.5\tau=0.5 2.914±0.0052.914_{\pm0.005} 2.127±0.0582.127_{\pm0.058} 10.618±0.06510.618_{\pm0.065}
DSR τ=0.1\tau=0.1 2.131±0.0882.131_{\pm0.088} 4.895±0.1874.895_{\pm0.187} 9.436±0.419\mathbf{9.436}_{\pm0.419}
DSR τ=0.05\tau=0.05 1.720±0.1901.720_{\pm0.190} 16.382±1.86316.382_{\pm1.863} 19.340±1.97419.340_{\pm1.974}
DSR τ=0.01\tau=0.01 1.412±1.216\mathbf{1.412}_{\pm1.216} 384.805±100.642384.805_{\pm100.642} 386.799±100.700386.799_{\pm100.700}

DSR has a smaller bias than Hard SR (that drops gscoreg_{\mathrm{score}}) at every temperature and in both settings, and the bias decreases as τ\tau decreases. At τ=1.0\tau=1.0 the bias is reduced by ≈50%\approx 50\% (d=2d=2) and ≈20%\approx 20\% (d=4d=4) compared to hard SR, with essentially unchanged variance of the gradient. Decreasing τ\tau further continues to reduce the bias but increases the variance sharply. At the operating τ=0.1\tau=0.1 in our experiment, we achieve competitive MSE compared to hard SR and other values of τ\tau; the lowest MSE at d=4d=4, and second lowest at d=2d=2.

We thank the reviewer for suggesting this experiment, as it highlights the bias-variance tradeoff when varying τ\tau. Also, to note, this motivates the reviewer's suggestion of an annealing strategy of τ\tau: start with a larger τ\tau for lower variance and then reduce it to a low-bias regime; we conduct this experiment at the end of this rebuttal.

Expected replication counts: We thank the reviewer for this observation. The column normalisation of Eq. (5) makes each output a proper convex combination, ∑iTij(τ)=1\sum_i T^{(\tau)}_{ij} = 1, but does not preserve expected replication counts, ∑jTij(τ)≠Nwi\sum_j T^{(\tau)}_{ij} \neq N w_i, thus, not a proper resampling scheme at finite τ\tau. We will make this clearer in Sec. 2.2. For an experiment with bias and variance in the DSR step, please see the first table in the rebuttal of Reviewer yEGf.

Question (τ\tau annealing): We thank the reviewer for this question and have run the experiment: annealing τ\tau over training as the reviewer suggests; we let τ=1.0\tau=1.0 at initialization, and decrease it linearly to 0.10.1 for 300300 epochs. We test on Lorenz-63 at SMNR =10= 10 dB, using the camera measurement map, with all other parameters kept at default.

Setting NMSE (dB) MSE MSE-5-step LL KLD
Fixed τ=0.1\tau=0.1 −29.94±0.28-29.94_{\pm 0.28} 0.47±0.230.47_{\pm 0.23} 3.38±2.003.38_{\pm 2.00} −1.98±0.26-1.98_{\pm 0.26} 3.60±0.983.60_{\pm 0.98}
Annealed −30.33±0.10\mathbf{-30.33}_{\pm 0.10} 0.40±0.10\mathbf{0.40}_{\pm 0.10} 3.01±0.60\mathbf{3.01}_{\pm 0.60} −1.86±0.12\mathbf{-1.86}_{\pm 0.12} 3.15±0.30\mathbf{3.15}_{\pm 0.30}

Annealing gives a small but consistent improvement over the fixed setting, and, notably, reduces run-to-run variance across all metrics (e.g.\ NMSE std 0.100.10 versus 0.280.28 for fixed τ\tau). This suggests annealing can be beneficial for learning, and we leave exploring annealing strategies for future work.

We hope the new experiments address the reviewer's concerns, and we thank the reviewer again for a review that has materially improved the scope of the paper.

Area Chair XtuX · CommentOpenReview ↗

Dear reviewer,

Today is the last day to ask questions/clarifications of the authors. Any final questions based on the authors' response?

Reviewer TD9N · CommentOpenReview ↗

Thanks for thoroughly addressing my concerns! The additional discussion and experiments add important context and insight into the behavior of the proposed method. I think this significantly strengthens the contribution, and I encourage the authors to take the time to properly work the new results into their manuscript to further sharpen their claims and narrative around the presented method.

This is a rebuttal well done. Assuming that no new issues surface during the reviewer-only discussion, I will increase my score and recommend acceptance.

Authors · CommentOpenReview ↗

We sincerely thank the reviewer for the positive and encouraging feedback! We are glad that the additional discussion and experiments helped address your concerns. We thank the reviewer for the suggested experiments and will appropriately incorporate the new results into the revised manuscript.

Reviewer yEGfOpenReview ↗
Rating
5/6
Confidence
4/5
Quality
3/4
Clarity
2/4
Significance
2/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

SMC resamples particles to avoid weight degeneracy, where normalized weights end up concentrated on a single particle. Systematic resampling does this with low variance by drawing a single uniform random variable as an offset and threshold-assigning ancestors from the weight CDF. This assignment is an integer selection and so it is still non-differentiable in the weights, blocking ELBO gradients in variational SMC. Other approaches use high-variance soft-multinomial or costly optimal transport. The authors propose to soften the CDF threshold comparisons with temperature-controlled sigmoids. This turns the discrete selection into a convex combination of particles that recovers systematic resampling as \tau \rightarrow 0. Morton sorting fixes the ordering so that CDF adjacency implies spatial adjacency.

Strengths and weaknesses

The paper proposes a solution to the open problem of differentiable resampling in VSMC. I thought the paper was a nice application of an existing relaxation strategy, with some cleverness in writing the deterministic threshold as a telescoping identity and relaxing each step with a sigmoid. The most intuitive trick (Gumbel-softmax on the ancestor categorical) relaxes multinomial resampling and forfeits systematic resampling's variance advantage. The authors sidestep this by relaxing systematic resampling's thresholds instead.

The writing is dense and not very self-contained. The work depends entirely on systematic resampling but does not review it. I'd suggest adding a short review with a worked example (three weights, a single uniform draw, the resulting comb against the weight CDF) to make the relaxation argument easier to follow and let readers see exactly which step is being softened (the threshold comparison against the CDF not the random draw), which is the point most likely to be misread.

Questions

Lower-bound status:

At τ\tau, is the DSR likelihood estimator still unbiaased and is the objective still a valid lower bound on log⁡p(y1:T)\log p(y_{1:T})? Standard VSMC relies on an unbiased SMC estimator, which holds because ancestors are sampled according to the weights. DSR instead replaces sampled ancestor copies by convex combinations, which may not preserve unbiasedness. If it doesn't, the objective should probably be described as a differentiable surrogate as opposed to an ELBO.

Bias bound:

Prop 4.2 gives an e−Δj/τe^{-\Delta_j/\tau} bound depending on the margin Δj\Delta_j between a comb point and the nearest CDF boundary. Since Δj\Delta_j can be arbitrarily small for some weight/offset configurations, is there a worst-case or expected-over-offset guarantee? Or should the exponential rate be interpreted only pointwise under a positive-margin condition?

Low-variance claim:

The paper says DSR preserves the low-variance structure of systematic resampling. Is this a formal variance statement or a structural statement about retaining CDF ordering and the systematic comb? At finite τ\tau, DSR outputs blended particles, so the usual variance comparison between systematic and multinomial resampling does not directly apply. Could you authors quantify bias, variance, or MSE of DSR estimates versus τ\tau?

Temperature tradeoff:

Since the method runs at finite \tau, the tradeoff between approximation bias and gradient stability seems important: the sigmoid derivative scales as O(1/τ)O(1/\tau) in the worst case, so lowering τ\tau should reduce bias but raise gradient variance. Do you have gradient-norm or gradient-variance measurements as a function of τ\tau beyond the NMSE ablations?

Limitations

See questions above

Final justification

Thanks for the detailed response. I think the agreed upon changes and additional experiments will strengthen the manuscript. I've updated my score accordingly.

Formatting concerns

N/A

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for the review and the thoughtful questions.

On weakness: We thank the reviewer for this suggestion. We will update Alg. 3 to make it clearer which step that is changed compared to systematic resampling, as a complement to the description of systematic resampling in Sec. 3.1.

Lower-bound status: We thank the reviewer for this question, and we adopt the reviewer's terminology. At finite τ\tau the DSR likelihood estimator is not unbiased, so the objective is not (necessarily) a lower bound on log⁡p(y1:T)\log p(\mathbf{y}_{1:T}) and is properly described as a differentiable surrogate. The mechanism is that the column normalisation of Eq. (5) gives ∑iTij(τ)=1\sum_i T^{(\tau)}_{ij} = 1 but does not preserve expected replication counts, ∑jTij(τ)≠Nwi\sum_j T^{(\tau)}_{ij} \neq N w_i, so ancestors are no longer selected according to the weights. The finite-τ\tau status is mentioned in our phrasing at lines 89--91, where the relaxation is described as "a relaxed objective of the surrogate ELBO'", and at lines 179--180 in Sec. 5.1, where we state that all methods produce biased estimates of the surrogate ELBO gradient. In the revised manuscript we will make this clearer in Sec. 2.2, and we adopt the reviewer's suggested wording of differentiable surrogate.

Bias bound: We thank the reviewer for this question. The answer is the second alternative the reviewer offers: the exponential rate holds pointwise, under a positive-margin condition. No uniform exponential bound holds, since Δj\Delta_j can be made arbitrarily small by the weight and offset configuration. We discuss the point on lines 149--154, where Proposition 4.2 is described as "primarily a qualitative guarantee"; we will make the logical status explicit and scope the phrase "exponential rates" in the abstract and contribution list accordingly.

Low-variance claim: We thank the reviewer for the comment. The claim is structural: DSR preserves the CDF ordering and the systematic comb, hence the sparse, banded transport structure. We will therefore describe DSR as preserving "the CDF-ordered, banded structure of systematic resampling", the phrasing already used in the contribution list (lines 55--56), and replace "low-variance structure" with that phrase in the abstract (line 4), at line 36, and in the conclusion (lines 293--294). The classical variance comparison indeed does not transfer: it compares schemes that return copies, whereas DSR returns convex combinations at finite τ\tau.

We have also run the quantification the reviewer suggests. At a fixed particle set and weights, using 2000020 000 different seeds, we measure the error of I^=∑jw~jf(x~j)\hat I = \sum_j \tilde w_j f(\tilde{\mathbf{x}}_j), w~j=1/N\tilde w_j=1/N for all jj, against I=∑iwif(xi)I = \sum_i w_i f(\mathbf{x}_i) (100100 particles (xj,wj)(\mathbf{x}_j, w_j), xj∈R3\mathbf{x}_j\in \mathbb{R}^3, xj∼N(0,I3)\mathbf{x}_j\sim \mathcal{N}(\mathbf{0}, \mathbf{I}_3), wjw_j is the likelihood). We use two ff: f(x)=xf(\mathbf{x})=\mathbf{x} and f(x)=x2f(\mathbf{x})=\mathbf{x}^2, where the squaring is elementwise. Hard systematic and multinomial resampling are unbiased; their bias rows are Monte-Carlo error. Results are shown in the Table below.

Method bias (f=xf=\mathbf{x}) var (f=xf=\mathbf{x}) MSE (f=xf=\mathbf{x}) bias (f=x2f=\mathbf{x}^2) var (f=x2f=\mathbf{x}^2) MSE (f=x2f=\mathbf{x}^2)
Hard SR 2.3×10−42.3 \times 10^{-4} 1.2×10−31.2 \times 10^{-3} 1.2×10−31.2 \times 10^{-3} 1.2×10−41.2 \times 10^{-4} 7.0×10−47.0 \times 10^{-4} 7.0×10−4\mathbf{7.0 \times 10^{-4}}
Multinomial 4.9×10−44.9 \times 10^{-4} 5.5×10−35.5 \times 10^{-3} 5.5×10−35.5 \times 10^{-3} 2.8×10−42.8 \times 10^{-4} 2.6×10−32.6 \times 10^{-3} 2.6×10−32.6 \times 10^{-3}
DSR τ=0.01\tau=0.01 2.4×10−32.4 \times 10^{-3} 2.9×10−52.9 \times 10^{-5} 3.4×10−53.4 \times 10^{-5} 1.2×10−11.2 \times 10^{-1} 3.8×10−73.8 \times 10^{-7} 1.4×10−21.4 \times 10^{-2}
DSR τ=0.05\tau=0.05 1.2×10−21.2 \times 10^{-2} 8.6×10−68.6 \times 10^{-6} 1.6×10−41.6 \times 10^{-4} 2.3×10−12.3 \times 10^{-1} 3.1×10−73.1 \times 10^{-7} 5.3×10−25.3 \times 10^{-2}
DSR τ=0.1\tau=0.1 2.0×10−22.0 \times 10^{-2} 4.7×10−64.7 \times 10^{-6} 3.9×10−43.9 \times 10^{-4} 2.7×10−12.7 \times 10^{-1} 2.0×10−72.0 \times 10^{-7} 7.3×10−27.3 \times 10^{-2}
DSR τ=0.5\tau=0.5 1.2×10−21.2 \times 10^{-2} 1.6×10−71.6 \times 10^{-7} 1.4×10−41.4 \times 10^{-4} 3.1×10−13.1 \times 10^{-1} 2.2×10−92.2 \times 10^{-9} 9.9×10−29.9 \times 10^{-2}
DSR τ=1.0\tau=1.0 3.6×10−33.6 \times 10^{-3} 1.3×10−81.3 \times 10^{-8} 1.3×10−5\mathbf{1.3 \times 10^{-5}} 3.2×10−13.2 \times 10^{-1} 2.0×10−102.0 \times 10^{-10} 1.0×10−11.0 \times 10^{-1}

For f(x)=xf(\mathbf{x})=\mathbf{x}: DSR trades variance for bias at every τ\tau: the variance is two to five orders of magnitude below hard systematic resampling, since a convex combination is an average. DSR achieves a lower MSE at every τ\tau, which can be attributed to the lower variance. We note that when f(x)=xf(\mathbf{x})=\mathbf{x}, I≈0I\approx 0; the contraction by DSR is favourable thus giving the lowest MSE, and this contraction makes reporting variance alone 'flatter' DSR.

For both functions: The bias on f(x)=xf(\mathbf{x}) = \mathbf{x} is non-monotone in τ\tau because both limits are favourable for a linear function: τ→0+\tau \to 0^+ recovers systematic resampling, while large τ\tau sends every output toward the weighted mean, which estimates a linear function exactly; this is why we might expect the lowest MSE at τ=1.0\tau = 1.0 for the mean, and it should not be read as τ=1.0\tau=1.0 being preferable, as it typically degrades nonlinear functions, as seen for f(x)=x2f(\mathbf{x})=\mathbf{x}^2. We find that the bias is monotonically increasing for increasing τ\tau for the second function.

Temperature tradeoff: We thank the reviewer for this question. In the table below, we report the gradient behaviour and the approximation error (to hard SR) on the same axis, as well as NMSE. We use the Lorenz-63 experimental setup, using SMNR at 10 dB, and all the other parameters at default. the L2L_2 column is the per-particle distance to hard systematic resampling from the same particle set and offset (Appendix E.4).

τ\tau NMSE (dB) Gradient norm (Median) Gradient norm (Mean) Within-epoch std (Median) Within-epoch std (Mean) L2L_2 to hard SR
0.010.01 −28.31±0.15-28.31_{\pm 0.15} 1484214842 2.39×1052.39\times10^{5} 81638163 4.35×1054.35\times10^{5} 0.102±0.0080.102_{\pm 0.008}
0.050.05 −29.56±0.34-29.56_{\pm 0.34} 64576457 72287228 30093009 36763676 0.277±0.0120.277_{\pm 0.012}
0.100.10 −29.94‾±0.28\underline{-29.94}_{\pm 0.28} 41744174 45044504 18851885 26342634 0.356±0.0160.356_{\pm 0.016}
0.500.50 −30.21±0.29\mathbf{-30.21_{\pm 0.29}} 25462546 29512951 11551155 19851985 0.505±0.0250.505_{\pm 0.025}
1.001.00 −29.91±0.28-29.91_{\pm 0.28} 23062306 30413041 10271027 34533453 0.479±0.0440.479_{\pm 0.044}

The two axes move in opposite directions: the approximation error (L2L_2) decreases as τ\tau shrinks (0.505→0.1020.505 \to 0.102) while the median gradient norm and within-epoch std increase. An interesting observation is that τ=0.01\tau = 0.01 is a change of 'regime' rather than of scale. The ratio of median within-epoch std to median gradient norm is roughly constant at 0.450.45 for τ≥0.05\tau \geq 0.05, so gradients grow but remain equally well behaved; at τ=0.01\tau = 0.01 the ratio is 0.550.55, indicating larger variance relative to norm, which could be interpreted as less stable training, which is reflected on the NMSE. We will add these results to Table 6 in Appendix F.1 for improved clarity.

We hope these clarifications are helpful, and would be happy to clarify and/or answer related questions. We thank the reviewer again for improving the clarity of our manuscript.

Area Chair XtuX · CommentOpenReview ↗

Dear reviewer,

Today is the last day to ask questions/clarifications of the authors. Any final questions based on the authors' response?

Comments on the paper

1 comment
Area Chair XtuX · CommentOpenReview ↗

We have entered the discussion period, where the reviewers can ask final questions, raise additional concerns, and respond to the authors' rebuttal. I encourage all reviewers to actively participate in this process.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…