Given a random variable that follows a multivariate normal distribution , the projected normal distribution represents the distribution of the random variable obtained projecting over the unit sphere. In the general case, the projected normal distribution can be asymmetric and multimodal. In case is parallel to an eigenvector of , the distribution is symmetric.[3] The first version of such distribution was introduced in Pukkila and Rao (1988).[4]
Parametrising the position on the unit circle in polar coordinates as , the density function can be written with respect to the parameters and of the initial normal distribution as
In the circular case, if the mean vector is parallel to the eigenvector associated to the largest eigenvalue of the covariance, the distribution is symmetric and has a mode at and either a mode or an antimode at , where is the polar angle of . If the mean is parallel to the eigenvector associated to the smallest eigenvalue instead, the distribution is also symmetric but has either a mode or an antimode at and an antimode at .[6]
Parametrising the position on the unit sphere in spherical coordinates as where are the azimuth and inclination angles respectively, the density function becomes
where , , , and have the same meaning as the circular case.[7]
In the special case, , the projected normal distribution, with is known as the angular central Gaussian (ACG)[8] and in this case, the density function can be obtained in closed form as a function of Cartesian coordinates. Let and project radially: so that (the unit hypersphere). We write , which as explained above, has density (with respect to Lebesgue measure pulled back to ):
where the integral can be solved by a change of variables and then using the standard definition of the gamma function. Notice that:
Let be any -by- invertible matrix such that . Let (uniform) and (chi distribution), so that: (multivariate normal). Now consider:
which shows that the ACG distribution also results from applying, to uniform variates, the normalized linear transform:[8]
Some further explanation of these two ways to obtain may be helpful:
If we start with , sampled from a multivariate normal, we can project radially onto to obtain ACG variates. To derive the ACG density, we first do a change of variables: , which is still an -dimensional representation, and this transformation induces the differential volume change factor, , which is proportional to volume in the -dimensional tangent space perpendicular to . Then, to finally obtain the ACG density on the -dimensional unitsphere, we need to marginalize over .
If we start with , sampled from the uniform distribution, we do not need to marginalize, because we are already in dimensions. Instead, to obtain ACG variates (and the associated density), we can directly do the change of variables, , for which further details are given in the next subsection.
Caveat: when is nonzero, although , a similar duality does not hold:
Although we can radially project affine-transformed normal variates to get variates, this does not work for uniform variates.
Wider application of the normalized linear transform
The normalized linear transform, , is a bijection from the unitsphere to itself; the inverse is . This transform is of independent interest, as it may be applied as a probabilistic flow on the hypersphere (similar to a normalizing flow) to generalize other (non-uniform) distributions on hyperspheres, for example the Von Mises-Fisher distribution. The fact that we have a closed form for the ACG density allows us to recover also in closed form the differential volume change induced by this transform.
For the change of variables, on the manifold, , the uniform and ACG densities are related as:[9]
where the (constant) uniform density is and where is the differential volume change factor from the input to the output of the transformation; specifically, it is given by the absolute value of the determinant of an -by- matrix:
where is the -by-Jacobian matrix of the transformation in Euclidean space, , evaluated at . In Euclidean space, the transformation and its Jacobian are non-invertible, but when the domain and co-domain are restricted to , then is a bijection and the induced differential volume ratio, is obtained by projecting onto the -dimensional tangent spaces at the transformation input and output: are -by- matrices whose orthonormal columns span the tangent spaces. Although the above determinant formula is relatively easy to evaluate numerically on a software platform equipped with linear algebra and automatic differentiation, a simple closed form is hard to derive directly. However, since we already have , we can recover:
where in the final RHS it is understood that and .
The normalized linear transform can now be used, for example, to give a closed-form density for a more flexible distribution on the hypersphere, that is generalized from the Von Mises-Fisher. Let and ; the resulting density is:
Pukkila, Tarmo M.; Rao, C. Radhakrishna (1988). "Pattern recognition based on scale invariant discriminant functions". Information Sciences. 45 (3): 379–389. doi:10.1016/0020-0255(88)90012-6.
Tyler, David E (1987). "Statistical analysis for the angular central Gaussian distribution on the sphere". Biometrika. 74 (3): 579–589. doi:10.2307/2336697.
Sorrenson, Peter; Draxler, Felix; Rousselot, Armand; Hummerich, Sander; Köthe, Ullrich (2024). "Learning Distributions on Manifolds with Free-Form Flows". arXiv:2312.09852 [cs.LG].