paper-with-me

Papers

The Fast Kernel Transform

2021-06-08 · John Paul Ryan, Sebastian Ament, Carla P. Gomes, Anil Damle

Kernel methods are a highly effective and widely used collection of modern machine learning algorithms. A fundamental limitation of virtually all such methods are computations involving the kernel matrix that naively scale quadratically (e.g., constructing the kernel matrix and matrix-vector multiplication) or cubically (solving linear systems) with the size of the data set $N.$ We propose the Fast Kernel Transform (FKT), a general algorithm to compute matrix-vector multiplications (MVMs) for datasets in moderate dimensions with quasilinear complexity. Typically, analytically grounded fast multiplication methods require specialized development for specific kernels. In contrast, our scheme is based on auto-differentiation and automated symbolic computations that leverage the analytical structure of the underlying kernel. This allows the FKT to be easily applied to a broad class of kernels, including Gaussian, Matern, and Rational Quadratic covariance functions and physically motivated Green's functions, including those of the Laplace and Helmholtz equations. Furthermore, the FKT maintains a high, quantifiable, and controllable level of accuracy -- properties that many acceleration methods lack. We illustrate the efficacy and versatility of the FKT by providing timing and accuracy benchmarks and by applying it to scale the stochastic neighborhood embedding (t-SNE) and Gaussian processes to large real-world data sets.

📄 PDF Abstract BibTeX arXiv:2106.04487

Code (1)

jpryan1/FastKernelTransform.jl 공식 구현

Tasks

Gaussian Processes

Similar Papers 제목 키워드 기반

McKernel: A Library for Approximate Kernel Expansions in Log-linear Time

2017-02-27 · Joachim D. Curtó, Irene C. Zarza, Feng Yang, Alexander J. Smola 외

Kernel Methods Next Generation (KMNG) introduces a framework to use kernel approximates in the mini-batch setting with SGD Optimizer as an alternative to Deep Learning. McKernel is a C++ library for KMNG ML Large-scale. …

CPUGeneral Classification

Malliavin-Mancino estimators implemented with non-uniform fast Fourier transforms

2020-03-05 · Patrick Chang, Etienne Pienaar, Tim Gebbie

We implement and test kernel averaging Non-Uniform Fast Fourier Transform (NUFFT) methods to enhance the performance of correlation and covariance estimation on asynchronously sampled event-data using the Malliavin-Manci…

Benchmarking

Fast Kernel Summation in High Dimensions via Slicing and Fourier Transforms

2024-01-16 · Johannes Hertrich

Kernel-based methods are heavily used in machine learning. However, they suffer from $O(N^2)$ complexity in the number $N$ of considered data points. In this paper, we propose an approximation procedure, which reduces th…

Fast Evaluation of Additive Kernels: Feature Arrangement, Fourier Methods, and Kernel Derivatives

2024-04-26 · Theresa Wagner, Franziska Nestler, Martin Stoll

One of the main computational bottlenecks when working with kernel based learning is dealing with the large and typically dense kernel matrix. Techniques dealing with fast approximations of the matrix vector product for …

Gaussian Processes

Stable, Fast and Accurate: Kernelized Attention with Relative Positional Encoding

2021-06-23 · NeurIPS 2021 12 · Shengjie Luo, Shanda Li, Tianle Cai, Di He 외

The attention module, which is a crucial component in Transformer, cannot scale efficiently to long sequences due to its quadratic complexity. Many works focus on approximating the dot-then-exponentiate softmax function …