CARMS:分类-对偶-REINFORCE多样本梯度估计
CARMS: Categorical-Antithetic-REINFORCE Multi-Sample Gradient Estimator
摘要:
通过分类变量精确地反向传播梯度是一项具有挑战性的任务,它出现在各个领域,例如训练离散潜变量模型。为此,我们提出了CARMS,分类随机变量的无偏估计的基础上多个相互负相关(共同对立)的样本。CARMS将REINFORCE与基于copula的抽样相结合,以避免重复样本并减少其方差,同时使用重要性采样保持估计量无偏。它推广了二元变量的ARMS对偶估计,这是两个类别的CARMS,以及LOORF/VarGrad,留一法REINFORCE估计,这是独立样本的CARMS。我们在生成式建模任务以及结构化输出预测任务的多个基准数据集上评估了CARMS,发现它优于竞争方法,包括强大的自我控制基线。代码是公开的。
英文摘要:
Accurately backpropagating the gradient through categorical variables is a challenging task that arises in various domains, such as training discrete latent variable models. To this end, we propose CARMS, an unbiased estimator for categorical random variables based on multiple mutually negatively correlated (jointly antithetic) samples. CARMS combines REINFORCE with copula based sampling to avoid duplicate samples and reduce its variance, while keeping the estimator unbiased using importance sampling. It generalizes both the ARMS antithetic estimator for binary variables, which is CARMS for two categories, as well as LOORF/VarGrad, the leave-one-out REINFORCE estimator, which is CARMS with independent samples. We evaluate CARMS on several benchmark datasets on a generative modeling task, as well as a structured output prediction task, and find it to outperform competing methods including a strong self-control baseline. The code is publicly available.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。