Gumbel Softmax重参数和SF估计(Score Function Estimator,VAE/GAN/Policy Gradient中的重参数)

Gumbel Softmax

We derive the probability density function of the Gumbel-Softmax distribution with probabilities π1,…,πk\pi_1, \ldots, \pi_kπ1,,πk and temperature τ\tauτ. We first define the logits xi=log⁡πix_i = \log \pi_ixi=logπi, and Gumbel samples g1,…,gkg_1, \ldots, g_kg1,,gk, where gi∼Gumbel(0,1)g_i \sim \text{Gumbel}(0, 1)giGumbel(0,1)Gumbel(0,1)\text{Gumbel}(0, 1)Gumbel(0,1) stands for sampling from uniform distribution U(0,1)\text{U}(0,1)U(0,1) to get uiu_iui first, then gi=−log(−log(ui))g_i=-log(-log(u_i))gi=log(log(u

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值