The Euler characteristic (EC) of excursion sets of a Gaussian random field (GRF) is a topic extensively studied in the fields of random fields, statistical topology, and cosmological applications. The excursion set at level (u) of a Gaussian random field (f(\mathbf{x})) is defined as:
[ A_u = { \mathbf{x} \in \mathbb{R}^d : f(\mathbf{x}) \geq u } ]
The expected Euler characteristic (\mathbb{E}[\chi(A_u)]) of these excursion sets can be derived using the Kac-Rice formula. For a smooth Gaussian random field (f(\mathbf{x})) in (\mathbb{R}^d), the theoretical formula for the expected Euler characteristic is given by:
[
\mathbb{E}[\chi(A_u)] = \int_{\mathbb{R}^d} \mathbb{P}(f(\mathbf{x}) \geq u, \nabla f(\mathbf{x}) = \mathbf{0}) , d\mathbf{x}
]
Using the Kac-Rice formula, this can be expressed as:
[
\mathbb{E}[\chi(A_u)] = \int_{\mathbb{R}^d} \frac{p_{f,\nabla f}(\mathbf{u}, \mathbf{0})}{|\det(\mathrm{Hess}(f)(\mathbf{x}))|^{1/2}} , d\mathbf{x}
]
where (p_{f,\nabla f}(u, \mathbf{0})) is the joint probability density function of (f(\mathbf{x})) and its gradient (\nabla f(\mathbf{x})) evaluated at ((u, \mathbf{0})), and (\mathrm{Hess}(f)(\mathbf{x})) is the Hessian matrix of (f) at (\mathbf{x}).
For a centred, unit-variance, stationary Gaussian random field, the joint density (p_{f, \nabla f}(u, \mathbf{0})) is given by:
[
p_{f, \nabla f}(u, \mathbf{0}) = \frac{1}{(2\pi)^{(d+1)/2} \sqrt{\det(\Sigma)}} \exp\left( -\frac{u^2}{2(1 - \rho^2)} \right)
]
where (\Sigma) is the ((d+1) \times (d+1)) covariance matrix of ((f(\mathbf{x}), \nabla f(\mathbf{x}))) and (\rho) is the correlation between (f(\mathbf{x})) and (\partial f(\mathbf{x})/\partial x_i) for any (i).
The determinant of the Hessian, (\det(\mathrm{Hess}(f)(\mathbf{x}))) can be replaced by the expected value of the determinant of the Hessian for a Gaussian field, which is related to the spectral density of the field.
In the case of an isotropic Gaussian random field, the formula simplifies to:
[
\mathbb{E}[\chi(A_u)] = \int_{\mathbb{R}^d} \frac{1}{(2\pi)^{d/2} \sigma_f \sigma_{\nabla f}^{d}} \exp\left( -\frac{u^2}{2\sigma_f^2} \right) \left| \lambda_1 \lambda_2 \cdots \lambda_d \right|^{1/2} , d\mathbf{x}
]
where (\sigma_f) is the standard deviation of the field, (\sigma_{\nabla f}) is the standard deviation of the gradient, and (\lambda_i) are the eigenvalues of the Hessian.
For a more practical and commonly used result, Adler and Taylor (2007) provide the following formula for the expected Euler characteristic of the excursion set of a smooth, centred, Gaussian random field in (\mathbb{R}^d):
[
\mathbb{E}[\chi(A_u)] = \int_{\mathbb{R}^d} \frac{p_f(u) p_{\kappa}(0)}{(\sqrt{2\pi}\sigma_{\kappa})^d} \exp\left( -\frac{u^2}{2\sigma_f^2}\right) ,d\mathbf{x}
]
where (p_f(u)) is the probability density function of the field evaluated at (u), (p_{\kappa}(0)) is the probability density function of the Gaussian curvature (\kappa) evaluated at 0, and (\sigma_{\kappa}) is the standard deviation of the curvature.
In the specific case of a 3-dimensional Gaussian random field, the expected Euler characteristic is often written as:
[
\mathbb{E}[\chi(A_u)] = \int_{\mathbb{R}^3} \frac{1}{(2\pi)^2} \frac{p_f(u)}{\sigma_f \sigma_{\nabla f}^3 \sigma_{\mathrm{Hess}}} \exp\left( -\frac{u^2}{2\sigma_f^2} \right), d\mathbf{x}
]
where (\sigma_{\mathrm{Hess}}) is the standard deviation of the Hessian determinant.
References
- Adler, R. J., & Taylor, J. E. (2007). Random Fields and Geometry. Springer.
- Kac, M. (1943). On the average number of real roots of a random algebraic equation. Bulletin of the American Mathematical Society, 49(4), 314-320.
- Rice, S. O. (1944). Mathematical analysis of random noise. Bell System Technical Journal, 23(3), 282-332.