English

A Hitchhiker's Guide to Poisson Gradient Estimation

Machine Learning 2026-02-05 v1 Machine Learning Neurons and Cognition

Abstract

Poisson-distributed latent variable models are widely used in computational neuroscience, but differentiating through discrete stochastic samples remains challenging. Two approaches address this: Exponential Arrival Time (EAT) simulation and Gumbel-SoftMax (GSM) relaxation. We provide the first systematic comparison of these methods, along with practical guidance for practitioners. Our main technical contribution is a modification to the EAT method that theoretically guarantees an unbiased first moment (exactly matching the firing rate), and reduces second-moment bias. We evaluate these methods on their distributional fidelity, gradient quality, and performance on two tasks: (1) variational autoencoders with Poisson latents, and (2) partially observable generalized linear models, where latent neural connectivity must be inferred from observed spike trains. Across all metrics, our modified EAT method exhibits better overall performance (often comparable to exact gradients), and substantially higher robustness to hyperparameter choices. Together, our results clarify the trade-offs between these methods and offer concrete recommendations for practitioners working with Poisson latent variable models.

Keywords

Cite

@article{arxiv.2602.03896,
  title  = {A Hitchhiker's Guide to Poisson Gradient Estimation},
  author = {Michael Ibrahim and Hanqi Zhao and Eli Sennesh and Zhi Li and Anqi Wu and Jacob L. Yates and Chengrui Li and Hadi Vafaii},
  journal= {arXiv preprint arXiv:2602.03896},
  year   = {2026}
}

Comments

Code: https://github.com/hadivafaii/PoissonGradientEstimation

R2 v1 2026-07-01T09:34:53.101Z