Importance Sampling
A sampling technique in statistics based on measure transformation. By introducing an auxiliary proposal distribution that samples more frequently in the target rare region, and reweighting estimates using likelihood ratios, it achieves unbiased estimation of low-probability events.
Timeline (last 90 days)
The reason offline replay of the original RL algorithm collapses is that resampling is impossible, which invalidates the importance sampling correction and pushes probabilities in degenerate directions outside the sampling distribution.
In on-policy RL, if the computation graph, operator fusion order or accumulation precision in the inference stage differs from that in the training stage, the sampling distribution will deviate from the intended policy distribution, causing systematic bias in the importance sampling ratio or advantage estimates.
The algorithm uses importance sampling to estimate the query selection objective, thereby efficiently approximating the optimal query.
Empirical results show that removing the importance sampling correction term does not harm training stability; instead, removing the trust region mechanism is what may lead to training collapse.
Importance sampling is a technique in statistics for estimating the expected value under one distribution using data sampled from another distribution, and its correction weight is the importance sampling ratio r_t(θ) = π_θ(a_t|s_t) / π_θ_old(a_t|s_t).
Using importance weights for full correction in prioritized experience replay completely cancels out the effect of diversity-aware replay, degrading the training dynamics to be no different from uniform sampling.
The drawing of new samples is guided toward the worst case under the current decision, and corrected back to the model distribution via importance weights.
The importance sampling optimization idea can compress the actual algorithmic complexity from O(N) to O(k), where k is much smaller than N.
Importance sampling (IS) draws samples from an easy-to-sample proposal distribution q and uses weights w(x) = π(x)/q(x) to correct the bias for estimating the expectation under the target distribution π.
Importance sampling (IS) from a normalizing flow is exactly the limiting case of this control variate construction, where the control variate method converges to the importance sampling form when the latent-space sampler degenerates to i.i.d. sampling.
3 more timeline events
All Facts (14)
Importance sampling (IS) draws samples from an easy-to-sample proposal distribution q and uses weights w(x) = π(x)/q(x) to correct the bias for estimating the expectation under the target distribution π.
70%UnverifiedThe mathematical core of importance sampling is measure transformation, which unbiasedly estimates the original probability by introducing a proposal distribution q and reweighting samples using the likelihood ratio w=p(x)/q(x).
70%UnverifiedThe reason offline replay of the original RL algorithm collapses is that resampling is impossible, which invalidates the importance sampling correction and pushes probabilities in degenerate directions outside the sampling distribution.
50%UnverifiedIn on-policy RL, if the computation graph, operator fusion order or accumulation precision in the inference stage differs from that in the training stage, the sampling distribution will deviate from the intended policy distribution, causing systematic bias in the importance sampling ratio or advantage estimates.
50%UnverifiedThe algorithm uses importance sampling to estimate the query selection objective, thereby efficiently approximating the optimal query.
50%UnverifiedEmpirical results show that removing the importance sampling correction term does not harm training stability; instead, removing the trust region mechanism is what may lead to training collapse.
50%UnverifiedImportance sampling is a technique in statistics for estimating the expected value under one distribution using data sampled from another distribution, and its correction weight is the importance sampling ratio r_t(θ) = π_θ(a_t|s_t) / π_θ_old(a_t|s_t).
50%UnverifiedUsing importance weights for full correction in prioritized experience replay completely cancels out the effect of diversity-aware replay, degrading the training dynamics to be no different from uniform sampling.
50%UnverifiedThe drawing of new samples is guided toward the worst case under the current decision, and corrected back to the model distribution via importance weights.
50%UnverifiedThe importance sampling optimization idea can compress the actual algorithmic complexity from O(N) to O(k), where k is much smaller than N.
50%UnverifiedImportance sampling (IS) from a normalizing flow is exactly the limiting case of this control variate construction, where the control variate method converges to the importance sampling form when the latent-space sampler degenerates to i.i.d. sampling.
50%UnverifiedThe researchers transfer the population-level conclusions to finite corpora by controlling the gradient error so that it remains manageable relative to the shrinking progress directions along the scale of each parameter
50%UnverifiedIn PPO and GRPO algorithms, the importance sampling correction weight is proportional to the ratio of new and old policy probabilities exp(logprob_new - logprob_old); due to the amplification of the exponential function, a logprob discrepancy of 0.001 can produce a substantial weight error.
50%UnverifiedRAPID employs an inverse proposal correction technique to ensure the loss function and gradient estimator are unbiased under conditional expectation
50%