CARMS: Categorical-Antithetic-REINFORCE Multi-Sample Gradient Estimator

Abstract

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.

Cite

Text

Dimitriev and Zhou. "CARMS: Categorical-Antithetic-REINFORCE Multi-Sample Gradient Estimator." Neural Information Processing Systems, 2021.

Markdown

[Dimitriev and Zhou. "CARMS: Categorical-Antithetic-REINFORCE Multi-Sample Gradient Estimator." Neural Information Processing Systems, 2021.](https://mlanthology.org/neurips/2021/dimitriev2021neurips-carms/)

BibTeX

@inproceedings{dimitriev2021neurips-carms,
  title     = {{CARMS: Categorical-Antithetic-REINFORCE Multi-Sample Gradient Estimator}},
  author    = {Dimitriev, Alek and Zhou, Mingyuan},
  booktitle = {Neural Information Processing Systems},
  year      = {2021},
  url       = {https://mlanthology.org/neurips/2021/dimitriev2021neurips-carms/}
}