paper-with-me

Papers

Improved Random Features for Dot Product Kernels

2022-01-21 · Jonas Wacker, Motonobu Kanagawa, Maurizio Filippone

Dot product kernels, such as polynomial and exponential (softmax) kernels, are among the most widely used kernels in machine learning, as they enable modeling the interactions between input features, which is crucial in applications like computer vision, natural language processing, and recommender systems. We make several novel contributions for improving the efficiency of random feature approximations for dot product kernels, to make these kernels more useful in large scale learning. First, we present a generalization of existing random feature approximations for polynomial kernels, such as Rademacher and Gaussian sketches and TensorSRHT, using complex-valued random features. We show empirically that the use of complex features can significantly reduce the variances of these approximations. Second, we provide a theoretical analysis for understanding the factors affecting the efficiency of various random feature approximations, by deriving closed-form expressions for their variances. These variance formulas elucidate conditions under which certain approximations (e.g., TensorSRHT) achieve lower variances than others (e.g., Rademacher sketches), and conditions under which the use of complex features leads to lower variances than real features. Third, by using these variance formulas, which can be evaluated in practice, we develop a data-driven optimization approach to improve random feature approximations for general dot product kernels, which is also applicable to the Gaussian kernel. We describe the improvements brought by these contributions with extensive experiments on a variety of tasks and datasets.

📄 PDF Abstract BibTeX arXiv:2201.08712

Code (1)

joneswack/dp-rfs 공식 구현 pytorch

Tasks

Recommendation Systems

Similar Papers 제목 키워드 기반

Random Gegenbauer Features for Scalable Kernel Methods

2022-02-07 · Insu Han, Amir Zandieh, Haim Avron

We propose efficient random features for approximating a new and rich class of kernel functions that we refer to as Generalized Zonal Kernels (GZK). Our proposed GZK family, generalizes the zonal kernels (i.e., dot-produ…

Towards Unbiased Random Features with Lower Variance For Stationary Indefinite Kernels

2021-04-13 · Qin Luo, Kun Fang, Jie Yang, Xiaolin Huang

Random Fourier Features (RFF) demonstrate wellappreciated performance in kernel approximation for largescale situations but restrict kernels to be stationary and positive definite. And for non-stationary kernels, the cor…

regression

Macformer: Transformer with Random Maclaurin Feature Attention

2024-08-21 · Yuhan Guo, Lizhong Ding, Ye Yuan, Guoren Wang

Random feature attention (RFA) adopts random fourier feature (RFF) methods to approximate the softmax function, resulting in a linear time and space attention mechanism that enables the construction of an efficient Trans…

Manifold Random Features

2026-02-03 · Ananya Parashar, Derek Long, Dwaipayan Saha, Krzysztof Choromanski arxiv

We present a new paradigm for creating random features to approximate bi-variate functions (in particular, kernels) defined on general manifolds. This new mechanism of Manifold Random Features (MRFs) leverages discretiza…

Taming graph kernels with random features

2023-04-29 · Krzysztof Choromanski

We introduce in this paper the mechanism of graph random features (GRFs). GRFs can be used to construct unbiased randomized estimators of several important kernels defined on graphs' nodes, in particular the regularized …

Graph Clustering