Low-Precision Random Fourier Features for Memory-Constrained Kernel Approximation

Jian Zhang, Avner May, Tri Dao, Christopher Ré
10/31/2018
cs.LGcs.AIstat.ML

Official code: HazyResearch/lp_rffs (20 stars, Python, Apache-2.0, last commit 2019-11-03).

Abstract

We investigate how to train kernel approximation methods that generalize well under a memory budget. Building on recent theoretical work, we define a measure of kernel approximation error which we find to be more predictive of the empirical generalization performance of kernel approximation methods than conventional metrics.

Show full abstract

An important consequence of this definition is that a kernel approximation matrix must be high rank to attain close approximation. Because storing a high-rank approximation is memory intensive, we propose using a low-precision quantization of random Fourier features (LP-RFFs) to build a high-rank approximation under a memory budget. Theoretically, we show quantization has a negligible effect on generalization performance in important settings. Empirically, we demonstrate across four benchmark datasets that LP-RFFs can match the performance of full-precision RFFs and the Nyström method, with 3x-10x and 50x-460x less memory, respectively.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Low precision random Fourier features for kernel approximation

205Python, ShellJul 7, 20187 years agoApache-2.0

Similar Papers

Cite this paper

@article{zhang2018lowprecision,
  title  = {Low-Precision Random Fourier Features for Memory-Constrained Kernel Approximation},
  author = {Jian Zhang and Avner May and Tri Dao and Christopher Ré},
  year   = {2018},
  eprint = {1811.00155},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1811.00155}
}

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/1811.00155.svg)](https://codeofpaper.com/paper/1811.00155)

Discussion