Rejection Sampling
A Monte Carlo sampling method that approximates a target distribution by sampling from a proposal distribution and accepting or rejecting samples with a certain probability. It is commonly used to correct sampling bias.
Core Facts
Timeline (last 90 days)
When valid samples make up a very low proportion, rejection sampling requires a large number of samples to hit one valid result, and the computational overhead rises sharply as the validity rate falls.
BriConstrain's decoding cost on both Lego formats is only about 60% of rejection sampling.
Most Lego generation methods adopt a "reject-and-resample" strategy, i.e., generating a batch of placements first, discarding invalid ones and regenerating, which wastes computational resources and cannot guarantee a valid assembly plan in the end.
Proposition 2 (multi-step diffusion proposal) proves that directly using the probability of the diffusion's final-step output as the proposal probability for rejection sampling still guarantees that the sampling results conform to the verifier distribution.
In speculative decoding, the probability that a draft token is accepted is typically taken as min(1, p_target(x)/p_draft(x)) to ensure that the final output distribution is exactly consistent with the target model.
EvoGuard uses rejection sampling during the training phase, retaining only skill pairs whose utility gap exceeds a preset threshold as training data.
The combined idea of pairwise comparison and rejection sampling can be extended to other online learning scenarios, such as screening model parameter updates and sample selection in experience replay.
EvoGuard's core trade-off lies in the threshold setting for rejection sampling: too high a threshold leads to insufficient samples, while too low a threshold introduces noise.
Behavior alignment problems can be patched through external means such as output filtering and rejection sampling.
The losslessness of speculative decoding relies on a modified rejection sampling mechanism: for each token proposed by the draft model, the target model computes its probability and decides acceptance or rejection accordingly; once rejected, resampling is done from the difference between the target model and draft model distributions (after normalization).
6 more timeline events
All Facts (16)
Speculative decoding submits the candidate sequence generated by the draft model to the target model as a whole for one-shot batch verification, requiring only a single forward pass to determine whether each candidate token is correct.
90%UnverifiedThe losslessness of speculative decoding relies on a modified rejection sampling mechanism: for each token proposed by the draft model, the target model computes its probability and decides acceptance or rejection accordingly; once rejected, resampling is done from the difference between the target model and draft model distributions (after normalization).
70%UnverifiedTraditional speculative decoding uses strict rejection-sampling-based verification rules, where a draft token is only accepted when it exactly matches the target model's sampled result.
70%UnverifiedWhen valid samples make up a very low proportion, rejection sampling requires a large number of samples to hit one valid result, and the computational overhead rises sharply as the validity rate falls.
50%UnverifiedMost Lego generation methods adopt a "reject-and-resample" strategy, i.e., generating a batch of placements first, discarding invalid ones and regenerating, which wastes computational resources and cannot guarantee a valid assembly plan in the end.
50%UnverifiedBriConstrain's decoding cost on both Lego formats is only about 60% of rejection sampling.
50%UnverifiedProposition 2 (multi-step diffusion proposal) proves that directly using the probability of the diffusion's final-step output as the proposal probability for rejection sampling still guarantees that the sampling results conform to the verifier distribution.
50%UnverifiedIn speculative decoding, the probability that a draft token is accepted is typically taken as min(1, p_target(x)/p_draft(x)) to ensure that the final output distribution is exactly consistent with the target model.
50%UnverifiedEvoGuard uses rejection sampling during the training phase, retaining only skill pairs whose utility gap exceeds a preset threshold as training data.
50%UnverifiedEvoGuard's core trade-off lies in the threshold setting for rejection sampling: too high a threshold leads to insufficient samples, while too low a threshold introduces noise.
50%UnverifiedBehavior alignment problems can be patched through external means such as output filtering and rejection sampling.
50%UnverifiedRejection sampling fixes modulo bias as follows: find the largest multiple of n within the random range as the limit, discard and redraw if the random number is greater than or equal to that limit, and each retained value maps to exactly the same number of outcomes.
50%UnverifiedReduced variance leads to less clipping, because in rejection sampling an overly volatile estimate of the acceptance probability requires more aggressive clipping to ensure numerical stability, and clipping introduces additional distributional bias.
50%UnverifiedAnari et al. (2026) proposed using rejection sampling to correct the distributional bias in parallel decoding of masked diffusion models, decomposing the log acceptance probability into a sum of token-level terms.
50%UnverifiedSpeculative decoding is based on a rejection sampling scheme that is mathematically strictly equivalent to original decoding and does not change the final sampling distribution.
50%UnverifiedThe combined idea of pairwise comparison and rejection sampling can be extended to other online learning scenarios, such as screening model parameter updates and sample selection in experience replay.
50%