Skip to main content
QUICK REVIEW

[Paper Review] The Probability Density Function of a Transformation-based Hyperellipsoid Sampling Technique

Jonathan D. Gammell, Timothy D. Barfoot|arXiv (Cornell University)|Apr 4, 2014
Algorithms and Data CompressionComputer Science2 references5 citations
TL;DR

This paper provides a rigorous mathematical proof that transforming uniform random samples from an n-dimensional unit ball via a linear, invertible transformation (using Cholesky decomposition of the hyperellipsoid matrix) results in a uniform probability density function over an n-dimensional hyperellipsoid. The key contribution is the derivation of the exact probability density function, showing it is constant within the hyperellipsoid and inversely proportional to the product of its radii.

ABSTRACT

Sun and Farooq [2] showed that random samples can be efficiently drawn from an arbitrary n-dimensional hyperellipsoid by transforming samples drawn randomly from the unit n-ball. They stated that it was a straightforward to show that, given a uniform distribution over the n-ball, the transformation results in a uniform distribution over the hyperellipsoid, but did not present a full proof. This technical note presents such a proof.

Motivation & Objective

  • To formally prove that uniform sampling from a unit n-ball and transforming it via a linear, invertible map results in a uniform distribution over a hyperellipsoid.
  • To resolve ambiguity in prior work by Sun and Farooq, who claimed the result was 'straightforward' but did not provide a full proof.
  • To establish the exact form of the probability density function (PDF) for points sampled in this manner.
  • To demonstrate that the resulting PDF is constant across the hyperellipsoid, confirming uniformity.
  • To extend the analysis to orthogonal hyperellipsoids by incorporating rotation matrices and showing the PDF depends only on the radii and unit ball volume.

Proposed method

  • Define the hyperellipsoid as the set of points satisfying (x − x_center)^T S^(-1)(x − x_center) ≤ 1, where S is the shape matrix.
  • Use the Cholesky decomposition to define the transformation matrix L such that L L^T = S, enabling mapping from the unit n-ball to the hyperellipsoid.
  • Apply the change-of-variables formula for probability densities, using the inverse transformation g^(-1)(x_ellipse) = L^(-1)(x_ellipse − x_center).
  • Compute the Jacobian determinant of the inverse transformation, which is |det(L^(-1))|, and substitute into the PDF transformation equation.
  • Derive the PDF for the hyperellipsoid as p_ellipse(x) = 1/(ζ_n |det(L^(-1))|) for x in the hyperellipsoid, and 0 otherwise.
  • For orthogonal hyperellipsoids, express the transformation as a rotation followed by diagonal scaling, and simplify the PDF to 1/(ζ_n ∏ r_i), confirming it is uniform and inversely proportional to the hyperellipsoid volume.

Experimental results

Research questions

  • RQ1Does transforming uniform samples from the unit n-ball via a linear, invertible transformation yield a uniform distribution over a hyperellipsoid?
  • RQ2What is the exact form of the probability density function for points generated through this transformation?
  • RQ3How does the PDF change when the hyperellipsoid axes are orthogonal, and what role do rotation matrices play?
  • RQ4Why is the resulting PDF constant across the hyperellipsoid, and how does this relate to volume scaling?
  • RQ5Can the transformation be generalized to non-orthogonal hyperellipsoids while preserving uniformity?

Key findings

  • The transformation from the unit n-ball to a hyperellipsoid via L results in a uniform probability density function over the hyperellipsoid.
  • The PDF is constant within the hyperellipsoid and given by p_ellipse(x) = 1/(ζ_n |det(L^(-1))|), where ζ_n is the volume of the unit n-ball.
  • For orthogonal hyperellipsoids, the PDF simplifies to 1/(ζ_n ∏_{i=1}^n r_i), which is the inverse of the hyperellipsoid's volume.
  • The determinant of the transformation matrix L^(-1) accounts for the volume scaling, ensuring the PDF remains uniform.
  • The proof confirms that the transformation preserves uniformity due to the linear, invertible nature of the mapping and the constant Jacobian determinant.
  • The result holds regardless of rotation, as rotation matrices have unit determinant and do not alter the volume scaling factor.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.