Skip to content
aiqbench takeMachine Learning

aiqbench analysis

This paper is a narrow statistical methods contribution: it derives pathwise (reparameterization) gradient estimators for the folded Normal and Rice distributions, which are used as variational families in a crystallography application (French-Wilson scaling). Its main result is that the implicit estimator has no higher variance than the explicit one, and is lower for location gradients. For ML readers, it is a useful reference on gradient variance in variational inference for non-standard distributions, with the open-source `rs-distributions` package as a practical artifact, though the impact is confined to a specialized domain.
Source coveringarXiv
What this isA model's reading of the article and related coverage, written for aiqbench. Not the publisher's words.

Implicit and explicit reparameterizations of the Folded Normal and Rice distributions

arXiv2 min read

arXiv:2610.17151v1 Announce Type: cross Abstract: Variational inference is a flexible tool for modeling experimental data and has proven useful in crystallography. Pathwise gradient estimators provide low-variance gradients for reparameterized variational inference, but are not readily available for some distributions central to crystallography. This work derives and implements implicit and explicit reparameterized gradient estimators for the folded Normal and Rice distributions in \prog{PyTorch}, and compares their variance analytically and empirically. In each case the implicit estimator achieves lower variance for the location derivative, particularly at small location-to-scale ratios, while the scale-derivative variances are nearly equal. For both distributions, implicit estimator is proved to be the conditional expectation of the explicit estimator given the sampled magnitude, so its variance is never larger. As a practical application, French-Wilson scaling is formulated as a variational inference problem, using the folded Normal and Rice distributions as variational families for centric and acentric reflections, respectively. Both estimators recover the exact posterior to better than $1\%$ on the amplitude, and converge at the same rate. The implementations are available in the open-source package \prog{rs-distributions}.

Abstract:Variational inference is a flexible tool for modeling experimental data and has proven useful in crystallography. Pathwise gradient estimators provide low-variance gradients for reparameterized variational inference, but are not readily available for some distributions central to crystallography. This work derives and implements implicit and explicit reparameterized gradient estimators for the folded Normal and Rice distributions in \prog{PyTorch}, and compares their variance analytically and empirically. In each case the implicit estimator achieves lower variance for the location derivative, particularly at small location-to-scale ratios, while the scale-derivative variances are nearly equal. For both distributions, implicit estimator is proved to be the conditional expectation of the explicit estimator given the sampled magnitude, so its variance is never larger. As a practical application, French-Wilson scaling is formulated as a variational inference problem, using the folded Normal and Rice distributions as variational families for centric and acentric reflections, respectively. Both estimators recover the exact posterior to better than $1\%$ on the amplitude, and converge at the same rate. The implementations are available in the open-source package \prog{rs-distributions}.

45 pages, 14 figures, 3 tables. Includes supporting information (pages 29-45)

Methodology (stat.ME); Machine Learning (cs.LG); Data Analysis, Statistics and Probability (physics.data-an)

arXiv:2610.17151 [stat.ME]

(or arXiv:2610.17151v1 [stat.ME] for this version)

https://doi.org/10.48550/arXiv.2610.17151 Focus to learn more arXiv-issued DOI via DataCite (pending registration)

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Full text under the publisher's open licence · 285 words

Related coverage