Error Estimation for Random Fourier Features

Junwen Yao, N. Benjamin Erichson, Miles E. Lopes
2/22/2023
stat.MLcs.LGstat.ME

No official code found. Best implementation: jwyyy/bootstrappedRFF (4 stars, last commit 2023-04-19).

Abstract

Random Fourier Features (RFF) is among the most popular and broadly applicable approaches for scaling up kernel methods. In essence, RFF allows the user to avoid costly computations on a large kernel matrix via a fast randomized approximation. However, a pervasive difficulty in applying RFF is that the user does not know the actual error of the approximation, or how this error will propagate into downstream learning tasks. Up to now, the RFF literature has primarily dealt with these uncertainties using theoretical error bounds, but from a user's standpoint, such results are typically impractical -- either because they are highly conservative or involve unknown quantities. To tackle these general issues in a data-driven way, this paper develops a bootstrap approach to numerically estimate the errors of RFF approximations. Three key advantages of this approach are: (1) The error estimates are specific to the problem at hand, avoiding the pessimism of worst-case bounds. (2) The approach is flexible with respect to different uses of RFF, and can even estimate errors in downstream learning tasks. (3) The approach enables adaptive computation, so that the user can quickly inspect the error of a rough initial kernel approximation and then predict how much extra work is needed. Lastly, in exchange for all of these benefits, the error estimates can be obtained at a modest computational cost.

View on arXivView PDF

Code Implementations(1)

[AISTATS 2023] Error Estimation for Random Fourier Features

40PythonJan 21, 20233 years ago
bootstraperror-estimationrandom-fourier-features

Similar Papers

Cite this paper

@article{yao2023error,
  title  = {Error Estimation for Random Fourier Features},
  author = {Junwen Yao and N. Benjamin Erichson and Miles E. Lopes},
  year   = {2023},
  eprint = {2302.11174},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2302.11174v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2302.11174.svg)](https://codeofpaper.com/paper/2302.11174)

Discussion