English

Adaptive random Fourier features with Metropolis sampling

Numerical Analysis 2020-11-30 v2 Numerical Analysis

Abstract

The supervised learning problem to determine a neural network approximation Rdxk=1Kβ^keiωkx\mathbb{R}^d\ni x\mapsto\sum_{k=1}^K\hat\beta_k e^{{\mathrm{i}}\omega_k\cdot x} with one hidden layer is studied as a random Fourier features algorithm. The Fourier features, i.e., the frequencies ωkRd\omega_k\in\mathbb{R}^d, are sampled using an adaptive Metropolis sampler. The Metropolis test accepts proposal frequencies ωk\omega_k', having corresponding amplitudes β^k\hat\beta_k', with the probability min{1,(β^k/β^k)γ}\min\big\{1, (|\hat\beta_k'|/|\hat\beta_k|)^\gamma\big\}, for a certain positive parameter γ\gamma, determined by minimizing the approximation error for given computational work. This adaptive, non-parametric stochastic method leads asymptotically, as KK\to\infty, to equidistributed amplitudes β^k|\hat\beta_k|, analogous to deterministic adaptive algorithms for differential equations. The equidistributed amplitudes are shown to asymptotically correspond to the optimal density for independent samples in random Fourier features methods. Numerical evidence is provided in order to demonstrate the approximation properties and efficiency of the proposed algorithm. The algorithm is tested both on synthetic data and a real-world high-dimensional benchmark.

Keywords

Cite

@article{arxiv.2007.10683,
  title  = {Adaptive random Fourier features with Metropolis sampling},
  author = {Aku Kammonen and Jonas Kiessling and Petr Plecháč and Mattias Sandberg and Anders Szepessy},
  journal= {arXiv preprint arXiv:2007.10683},
  year   = {2020}
}
R2 v1 2026-06-23T17:16:29.611Z