math.STJun 26, 2024

Second Maximum of a Gaussian Random Field and Exact (t-)Spacing test

Authors: Jean-Marc Azaïs, Federico Dalmao, Yohann De Castro

Organizations: Institut de Mathématiques de Toulouse Université Paul Sabatier, France · DMEL, CENUR Litoral Norte Universidad de la República, Salto, Uruguay · Institut Camille Jordan, CNRS UMR 5208 École Centrale Lyon, France · Institut Universitaire de France (IUF)

Abstract

In this article, we introduce the novel concept of the second maximum of a Gaussian random field defined on a Riemannian manifold: Once the field reaches its global maximum at a point t1t_1, the second maximum is the largest value of the field away from t1t_1, after the value and the gradient of the field at t1t_1 have been removed. This statistic serves as a powerful tool for characterizing the distribution of the global maximum. By employing an ad-hoc Kac-Rice formula, we derive the explicit distribution of the maximum, conditioned on the second maximum and the independent part of the Riemannian Hessian (the part of the Hessian at t1t_1 that is independent of the value and the gradient of the field at t1t_1). This approach yields an exact test based on the spacing between these maxima, which we refer to as the spacing test. We investigate the applicability of this test for detecting sparse alternatives in Gaussian symmetric tensors, continuous sparse deconvolution, and two-layered neural networks with smooth rectifiers. Theoretical results are supported by numerical experiments that illustrate the calibration and power of the proposed procedures. More generally, we provide a framework for applying the spacing test to continuous sparse regression for any Gaussian random field on a Riemannian manifold. Furthermore, when the variance-covariance function is known only up to a scaling factor, we derive an exact Studentized version of the procedure, coined the t-spacing test. We show that this test is perfectly calibrated under the null hypothesis and exhibits high power for detecting sparse alternatives. As a corollary, we derive an exact, non-asymptotic test for the spiked tensor model without requiring prior knowledge of the noise level.

Figures & tables

Explore similar work

CardsList
  1. Mean Testing under Truncation beyond Gaussian

    May 2, 2026Yuhao Wang, Roberto Imbuzeiro Oliveira, Themis GouleakisSample ComplexityInformation-Theoretic Lower Bounds

  2. Scalable Sparse Autoregressive Variational Inference for Non-Gaussian Spatial Fields

    Oct 9, 2026Paul F. V. Wiemann, Matthias KatzfussVariational Inference