Variance-Reducing Couplings for Random Features

Isaac Reid, Stratis Markou, Krzysztof Choromanski, Richard E. Turner, Adrian Weller
5/26/2024
stat.MLcs.LG

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Random features (RFs) are a popular technique to scale up kernel methods in machine learning, replacing exact kernel evaluations with stochastic Monte Carlo estimates. They underpin models as diverse as efficient transformers (by approximating attention) to sparse spectrum Gaussian processes (by approximating the covariance function). Efficiency can be further improved by speeding up the convergence of these estimates: a variance reduction problem. We tackle this through the unifying lens of optimal transport, finding couplings to improve RFs defined on both Euclidean and discrete input spaces. They enjoy theoretical guarantees and sometimes provide strong downstream gains, including for scalable approximate inference on graphs. We reach surprising conclusions about the benefits and limitations of variance reduction as a paradigm, showing that other properties of the coupling should be optimised for attention estimation in efficient transformers.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{reid2024variancereducing,
  title  = {Variance-Reducing Couplings for Random Features},
  author = {Isaac Reid and Stratis Markou and Krzysztof Choromanski and Richard E. Turner and Adrian Weller},
  year   = {2024},
  eprint = {2405.16541},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.16541v2},
  journal = {ICLR 2024 2024}
}

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

Discussion