Ensemble Rejection Sampling (ERS)
- Ensemble Rejection Sampling (ERS) is a rejection-sampling framework that replaces a single proposal with a batch of candidates to enable exact posterior simulation in nonlinear, non-Gaussian state-space models.
- ERS achieves exactness by performing acceptance correction on an extended space that includes ensemble variables and indexed trajectories, thus mitigating exponential acceptance decay.
- Empirical and theoretical results show that with ensemble sizes scaled to the sequence length, ERS maintains robust acceptance probabilities and transitions the cost from exponential to polynomial growth.
Searching arXiv for Ensemble Rejection Sampling and closely related papers. arxiv_search query: "Ensemble Rejection Sampling state-space models channel simulation distributed compression coupled rejection sampler" Ensemble Rejection Sampling (ERS) is a rejection-sampling framework in which a single proposal is replaced by an ensemble or batch, and exactness is recovered by performing accept/reject correction on an extended space. It was introduced for exact posterior simulation of latent state trajectories in nonlinear non-Gaussian state-space models, where ensembles of candidate states at each time induce candidate paths and the expected cost, under regularity conditions, grows cubically with sequence length rather than exponentially as in standard rejection sampling (Deligiannidis et al., 2020). Subsequent work recast the same ensemble principle for channel simulation and distributed compression, and extended it to coupled sampling schemes with asymptotically maximal coupling behavior (Phan et al., 7 Oct 2025, Corenflos et al., 2022).
1. Original formulation in state-space models
In its original form, ERS targets the posterior distribution of a latent path given observations . The target density is
with the initial density, the transition density, the observation density, and the marginal likelihood. ERS introduces proposal densities and the associated incremental importance weights
Rather than proposing one complete trajectory from 0, ERS draws 1 candidates at each time point, thereby defining a random grid of 2 possible trajectories, and then samples one path from a discrete approximation 3 supported on that grid (Deligiannidis et al., 2020).
The key approximation is
4
where 5 is the path weight of the trajectory indexed by 6. The induced proposal is therefore not a single factorized path proposal, but a proposal assembled from ensembles of state samples. This is the defining structural feature of ERS: the proposal distribution is built from exponentially many candidate paths while remaining algorithmically accessible through dynamic programming.
This construction directly addresses the standard pathology of pathwise rejection sampling in hidden Markov and Feynman–Kac models. With a naively factorized proposal, the global rejection constant typically scales as a product of per-time-step bounds, and average acceptance deteriorates exponentially in 7. ERS replaces that single-path proposal with a random, ensemble-defined approximation that is much closer to the posterior path law.
2. Extended-space exactness and algorithmic mechanism
ERS is exact because the rejection step is performed on an extended space that contains the ensemble variables, the selected index path, and the selected trajectory. The extended proposal is
8
and the extended target is
9
The central identity is
0
which implies that rejection sampling on the extended space yields an accepted marginal trajectory exactly distributed according to 1 (Deligiannidis et al., 2020).
Operationally, ERS proceeds in three stages. First, it generates the ensembles 2. Second, it samples an index path 3 from the discrete approximation on the random grid. Although the grid contains 4 paths, this index path can be drawn in 5 using forward-filtering backward-sampling on an embedded 6-state hidden Markov model. Third, it computes a path-independent upper bound 7 and accepts the selected trajectory with probability
8
The exactness result is nonasymptotic: for any 9, the algorithm returns an exact sample from the posterior. For fixed 0, the average acceptance probability 1 satisfies 2 as 3 (Deligiannidis et al., 2020). ERS is therefore not an approximate particle smoother, nor an MCMC kernel whose exact target is reached only in the limit; it is an exact sampler with an ensemble-defined proposal.
3. Acceptance behavior, complexity, and empirical regimes
The main complexity result is derived under two-sided regularity bounds 4, with
5
Under these assumptions, ERS satisfies
6
If 7 for some 8, then
9
Because proposal generation and bound computation cost 0, choosing 1 yields expected cost 2 per exact posterior sample, rather than exponential cost in 3 for ordinary rejection sampling (Deligiannidis et al., 2020).
The original paper illustrates this scaling on several models. For a rare-event path-conditioning problem with 4, 5, and 6, estimated average acceptance probabilities remained stable across 7 when 8 was fixed: for 9, the reported acceptances were approximately 0 for 1; 2 for 3; and 4 for 5. For a nonlinear autoregressive model with 6, 7, and 8, one realization with 9 produced estimated acceptances of about 0 for 1, 2 for 3, and 4 for 5. In a stochastic volatility application to S&P 500 data with 6, 7, 8, and 9, the reported acceptance at 0 was approximately 1 (Deligiannidis et al., 2020).
These results delimit the practical profile of ERS. The method replaces exponential degradation by polynomial scaling, but it does not eliminate the need for good proposal design or sufficiently tight upper bounds. Its favorable complexity statement is contingent on bounded incremental weights and on ensemble sizes that typically grow with path length.
4. Finite-batch ERS for channel simulation and distributed compression
A later formulation of ERS shifts the setting from latent-state smoothing to channel simulation and distributed matching. Here each rejection step is performed over a batch of 2 proposals. With proposal 3, target 4, and weights 5, the algorithm selects a within-batch candidate via a Gumbel-max or exponential-race rule,
6
computes
7
and accepts the batch candidate if
8
For 9, this reduces exactly to standard rejection sampling; for large 0, the within-batch importance selection becomes increasingly dominant, and ERS approaches finite-batch importance-sampling or Gumbel-max behavior while preserving exactness (Phan et al., 7 Oct 2025).
This formulation makes precise the sense in which ERS interpolates between ordinary rejection sampling and finite-sample importance selection. In the channel-simulation setting it yields a coding rate
1
while the same paper also shows that standard rejection sampling itself can achieve
2
The main theoretical advance, however, is a distributed matching lemma for ERS, positioned as the rejection-sampling counterpart to the Poisson Matching Lemma of Li and Anantharam (2021) and as a generalization of the importance matching lemma of Phan et al. (2024). The paper gives matching bounds of the form
3
with correction terms 4 as 5, typically at rate 6 under mild assumptions (Phan et al., 7 Oct 2025).
The same work applies ERS to distributed compression, including synthetic Gaussian sources and MNIST-based distributed image compression. Its practical claim is not merely that ERS is exact, but that it combines finite proposal sets, explicit termination, and matching guarantees close to Poisson-process methods, which is especially relevant when decoder-side likelihood ratios are learned rather than analytically available.
5. Coupled extensions and neighboring exact rejection frameworks
ERS has also been extended to the coupling of two target distributions. The coupled rejection sampler of Jacob, Lindsten, and Schön is modified so that each marginal rejection step is replaced by an ensemble rejection sampler, while coupling is maintained across the two ensembles. The resulting ensemble coupled rejection-sampling method samples 7 coupled proposal pairs 8, computes marginal importance weights 9 and 0, samples a pair of indices 1 from a maximal coupling of the two categorical weight distributions, and then uses a shared uniform variable for the two marginal ERS acceptance tests. For any 2, the returned marginals are exact,
3
and if 4 denotes the number of ensemble attempts,
5
When 6 and 7 have no atoms, the diagonal mass satisfies
8
so a duplicated common proposal with 9 asymptotically recovers the maximal coupling probability (Corenflos et al., 2022).
This coupled construction clarifies an important point about ERS. The ensemble mechanism is not only a device for improving marginal acceptance; it can also be used to improve synchronized selection and meeting probabilities in coupled samplers. In the coupled setting, the ensemble layer attacks both low acceptance and low coordination between marginals.
A separate but adjacent line of work studies exact adaptive rejection without using ERS terminology. Constrained Adaptive Rejection Sampling (CARS) for autoregressive LLMs preserves the exact constrained distribution while adaptively ruling out invalid continuations by recording them in a trie and subtracting their probability mass from future draws. Its proposal 00 is a dynamically pruned version of the original language-model distribution, and acceptance rates improve monotonically as the cache of known-invalid prefixes grows (Parys et al., 2 Oct 2025). This is not ERS in the original sense, but it illustrates a closely related design principle: rejected samples can be amortized structurally rather than discarded.
6. Theoretical limits, terminology, and open directions
A recent theoretical analysis isolates a core ERS-like problem: how many random bits must be revealed, adaptively, to determine the accept/reject event in a rejection sampler when the threshold depends on many coupled variables. In the model considered, one samples
01
and accepts when
02
for an increasing 03. The quantity
04
measures the minimax expected bit complexity of the accept/reject decision. The paper proves
05
and shows that a naive alternating bit-revelation strategy achieves the quadratic upper bound, while an adversarial monotone target enforces the linear lower bound (Langevin et al., 29 Sep 2025).
Although that work does not study ERS by name, it is directly relevant to any ERS-style method whose rejection decision depends on many coupled coordinates. It isolates the information-theoretic cost of certifying a joint accept/reject event under lazy randomness revelation. A plausible implication is that even when the proposal mechanism is sophisticated, the acceptance test itself can retain an irreducibly dimension-dependent cost.
The literature also contains a terminological ambiguity. In “A Dyadic Simulation Approach to Efficient Range-Summability,” the acronym “ERS” denotes efficient range-summability rather than ensemble rejection sampling. That paper develops dyadic simulation trees and specialized rejection samplers for conditional split distributions, but the acronym refers to a different problem class centered on polylogarithmic-time range sums of i.i.d. random variables (Meng et al., 2021). This ambiguity is bibliographically relevant because searches for “ERS” on arXiv may retrieve conceptually unrelated material.
The present state of the subject therefore combines strong exactness results with nontrivial open questions. In the original state-space formulation, ERS delivers exact posterior draws with polynomial expected cost under strong regularity conditions (Deligiannidis et al., 2020). In distributed matching, it achieves finite-batch exactness and matching guarantees close to Poisson-process methods (Phan et al., 7 Oct 2025). In coupled sampling, it asymptotically recovers maximal coupling behavior under suitable proposals (Corenflos et al., 2022). At the same time, both proposal quality and acceptance certification remain central bottlenecks, and the gap between known lower and upper complexity bounds for multi-variable rejection decisions indicates that the optimal scaling of ensemble-based exact rejection methods is not yet fully resolved (Langevin et al., 29 Sep 2025).