Repulsive Particles as a Transport Map for Randomized Quasi-Monte Carlo

Averaging a function over random draws from a probability distribution is the default way to compute Bayesian posterior expectations. Its error shrinks only as one over the square root of the number of draws. Two families of methods try to do better, and neither has succeeded for general posteriors. Randomized quasi-Monte Carlo (RQMC) replaces random draws with evenly spread, randomly scrambled points in the unit cube and can reach error near $1/N$. It only works, however, if a smooth map carries the cube onto the target distribution, and such maps are hard to build. Interacting particle methods such as Stein Variational Gradient Descent (SVGD), in which particles are pulled toward high probability while pushing each other apart, handle arbitrary unnormalized posteriors. Yet the best finite-particle guarantee for SVGD is still the $1/\sqrt{N}$ rate of independent sampling, and each step costs $O(N^2)$.

We propose to use a small repulsive particle system only to build the map. The resulting velocity field is then used to transport as many scrambled low-discrepancy points as the budget allows. A small set of $M$ "leader" particles runs SVGD. Their velocity field is defined at every point in space, so a large set of $N$ "follower" points, generated by Owen-scrambled Sobol' sequences, can ride the same field without affecting it. Because the field is an explicit smooth function, we can track each follower's density through the flow. A self-normalized importance weight then removes whatever mismatch remains between the transported distribution and the posterior. The design separates two jobs. Repulsion among a few leaders sets the quality of the map, which enters only as a variance constant. RQMC among many followers sets the convergence rate.

Core Claim

Write $z_i = \Phi^{-1}(u_i)$ for scrambled Sobol' points $u_i$ pushed through the inverse Gaussian CDF $\Phi^{-1}$. Let $T = T_K \circ \dots \circ T_1$ be the composition of the $K$ SVGD steps $T_k(x) = x + \epsilon\,\phi_k(x)$. Here $\phi_k$ is the kernel-smoothed velocity field computed from the leaders at step $k$, and $\epsilon$ is the step size. The follower density needs no map inversion:

$$\log q_T(T(z)) = \log \mathcal{N}(z;0,I) - \sum_{k=1}^{K} \log\left|\det\left(I + \epsilon \nabla \phi_k(x_{k-1})\right)\right|,$$

In this expression, $x_{k-1}$ is the follower's position before step $k$, and $\nabla\phi_k$ is the closed-form $d\times d$ Jacobian of the kernel velocity field. The estimator of $\mathbb{E}_p[f]$ for an unnormalized target $\tilde p$ is then the ratio

$$\hat I_N = \frac{\sum_i w_i f(T(z_i))}{\sum_i w_i}, \qquad w_i = \frac{\tilde p(T(z_i))}{q_T(T(z_i))}.$$

This estimator is consistent for any number of leaders $M$. Independent re-scramblings give honest error bars.

The claim with testable content concerns regularity. Transport Quasi-Monte Carlo showed that QMC rates survive a transport map only if the map is smooth and its growth at the boundary of the cube is controlled. That is why it builds maps from Beta-CDF sandwich layers. An SVGD map with a bounded radial kernel meets this condition by construction. Its displacement is bounded, and it decays to the identity far from the leaders, so in the tails $T$ reduces to a Gaussian base map. We therefore expect the conditional mean squared error to decay near $N^{-2}$ in low effective dimension, as in the TQMC analysis, because $f\cdot w$ composed with $T\circ\Phi^{-1}$ inherits the smoothness that the $O(N^{-1+\epsilon})$ RQMC bound requires. The constant should shrink as $M$ grows or as the leaders spread more evenly.

This design differs from each piece of prior work it borrows from. TQMC fits a parametric map by minimizing reverse KL divergence, which it notes is mode-seeking, and requires a costly training phase. Our map is non-parametric and fit-free, and the repulsion term exists precisely to cover all modes. Improved Finite-Particle Convergence Rates for Stein Variational Gradient Descent proves that SVGD particles converge like independent draws, at $O(1/\sqrt{N})$ in Kernel Stein Discrepancy (KSD, a score-based distance to the target that needs no normalizing constant). We do not try to beat that rate for the particles themselves; we route around it by never using the leaders as the estimator. Langevin Quasi-Monte Carlo feeds quasi-random driving noise into a single Langevin chain and keeps its step-size bias. Our importance weights remove the bias of a finite-step, finite-$M$ map entirely.

Research Program

The first component is the estimator and its analysis. We will state conditions on the kernel (Gaussian RBF and inverse multiquadric), the step size, and $K$ under which each $T_k$ is a diffeomorphism. The sufficient condition is that $\epsilon$ times the Lipschitz constant of $\phi_k$ stays below one, and we will monitor it at run time. We will then prove that, conditional on the leaders, the numerator and denominator are RQMC-unbiased and that the integrand in cube coordinates satisfies the growth conditions used by TQMC. That yields a conditional rate of $O(N^{-1+\epsilon})$ in root mean squared error. The leaders' influence enters only through the variance of the weights. The known failure mode, which we will characterize rather than hide, is a target with heavier tails than the Gaussian base: since $T$ is the identity in the tails, the weights there are $\tilde p / \mathcal{N}$, which can be unbounded. We will handle this by using a Student-t base obtained through its inverse CDF and by measuring the effective sample size of the weights.

The second component is computation. Leaders cost $O(M^2 d K)$. Followers cost $O(NMdK)$ for velocities plus $O(N d^3 K)$ for exact log-determinants. For $d$ up to about 50 this is cheap. Beyond that we will test stochastic log-determinant estimators, although these introduce noise that may erode the RQMC gain, and we will measure how much. Leaders are initialized with a fixed low-discrepancy set, so the map is deterministic given the problem. All randomness then sits in the scrambling, which keeps the replicate-based error bars valid.

The third component asks where repulsion earns its keep. On targets with symmetry planes, Kernel Stein Discrepancy Descent shows that deterministic KSD descent freezes, while SVGD succeeded on Bayesian ICA. We will test whether SVGD-built maps inherit that robustness and whether KSD-descent-built maps inherit the freezing. We will also try the density-reweighted kernel of Local KL Convergence Rate for Stein Variational Gradient Descent with Reweighted Kernel as the map generator, since it strengthens the velocity field in low-density regions. Those regions are exactly where a weak map leaves large importance weights.

Baselines

The naive reference is RQMC importance sampling with no flow. Owen-scrambled Sobol' points go through a Gaussian (or Student-t) proposal fitted at the posterior mode, which is our method with $K=0$. It is the honest floor, and on near-Gaussian posteriors it may be hard to beat. It uses the same follower budget $N$ and the same scrambling replicates as our method.

The strongest existing competitor is Transport Quasi-Monte Carlo, because it targets exactly this problem: RQMC for unnormalized posteriors through a regular transport map. It reports empirical mean squared error decaying close to $1/n^2$ versus $1/n$ for plain Monte Carlo on posteriordb targets nes_logit and gp_regr. The file gives this as a rate; no reported absolute MSE value was found on Lacuna for these tasks. We will run the authors' parametrization on the same targets and follower budgets, counting its map-training gradient evaluations against our leader evaluations of the score $\nabla \log \tilde p$. Beating it means one of two outcomes. The first is a matched or better MSE decay slope together with a lower MSE at equal total score-plus-density evaluations on unimodal targets. The second is a clearly lower MSE on multimodal targets, where its reverse-KL fit should drop modes.

The particle baselines are plain SVGD (Stein Variational Gradient Descent) run with all $N$ points as particles, at equal wall-clock time, and KSD Descent with L-BFGS. Both estimate expectations with uniform weights; the SVGD finite-particle theory predicts they cannot beat $1/\sqrt{N}$. Langevin Quasi-Monte Carlo is the RQMC-driven chain baseline at equal gradient evaluations. On its 100-dimensional linear regression it reports a 500-fold reduction in mean squared error over standard Langevin Monte Carlo, so that task is where it is strongest.

Three ablations isolate each ingredient. In the first, followers are i.i.d. Gaussian instead of scrambled Sobol' with everything else fixed, which isolates the RQMC contribution to the slope. In the second, the repulsive term $\nabla k$ is removed from the leader dynamics, so leaders collapse toward modes, which isolates repulsion. In the third, the importance weights are dropped, which measures the bias the weights remove.

Why not just…?

Why not just use RQMC with a Laplace or Gaussian proposal? For well-conditioned, unimodal posteriors this may be nearly as good, and we treat it as a real threat. The $K=0$ baseline sits in every table. The case for the flow rests on funnels, bananas and multimodal targets, where a single Gaussian yields highly variable weights and the effective sample size collapses. If the flow fails to improve effective sample size and MSE on Eight Schools and the Gaussian mixtures, the proposal fails.

Why not just run SVGD with more particles? SVGD cost grows as $N^2$, and its proven KSD rate matches independent sampling (Improved Finite-Particle Convergence Rates for Stein Variational Gradient Descent). Its uniformly weighted estimate is also biased at any finite step count. The equal-wall-clock comparison will show whether spending the same compute on $M$ leaders plus $N \gg M$ followers wins. We predict a steeper slope, because follower error is governed by RQMC, not by particle interaction.

Why not just reweight the SVGD particles with Stein kernel weights? This is the post-hoc cubature route suggested by Stein Π-Importance Sampling and the control-functional literature (Multilevel Control Functional). It needs an $O(N^3)$ solve and is blind to the relative weights of isolated modes, because it uses only scores. Our weights use $\tilde p$ itself and so do see mode masses, at linear cost in $N$. We will include Stein-reweighted SVGD at small $N$ and report where its cubic cost overtakes it.

Why not just train a normalizing flow and push RQMC through it? That is essentially TQMC, whose own analysis says generic neural flows lack the needed boundary regularity and whose reverse-KL training is mode-seeking. The head-to-head on multimodal targets and the cost accounting above settle this directly.

Proposed Experiments

For rate measurement we use targets with known moments, because the posteriordb reference posteriors consist of 10,000 draws (posteriordb). Their own Monte Carlo error floors any measured MSE and would hide an $N^{-2}$ slope at large $N$. The known-moment targets are the 2D Gaussian mixture used by Stein Points and Low Stein Discrepancy via Message-Passing Monte Carlo, the double-well potential and the 100-dimensional Gaussian linear regression from Langevin Quasi-Monte Carlo, and a Bayesian ICA target with symmetry. On nes_logit, gp_regr and Eight Schools we compare against the reference posteriors, and against much longer MCMC runs wherever needed to push the floor below the tested errors. We will also run Bayesian logistic regression on the UCI datasets used by KSD Descent to probe dimension.

The metric is MSE of posterior means and second moments over 50 independent scramblings, plotted against $N$ from $2^8$ to $2^{16}$. From these we fit slopes, and we report weight effective sample size and total score and density evaluations.

The decisive check has two parts. First, on the known-moment targets, the scrambled-Sobol'-follower slope should be clearly steeper than $-1$ in MSE, while the i.i.d.-follower ablation stays at $-1$. Second, on the Gaussian mixture and the funnel, removing repulsion from the leaders should visibly collapse effective sample size and raise the MSE constant without changing the slope. If the first part fails, the SVGD map is not regular enough for RQMC. If the second fails, repulsion adds nothing over a simple Gaussian proposal, and the idea should be dropped in favor of RQMC importance sampling.