An Exact Finite-dimensional Explicit Feature Map for Kernel Functions

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Ghiasi-Shirazi, Kamaledin, Qaraei, Mohammadreza
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917805056589824
author Ghiasi-Shirazi, Kamaledin
Qaraei, Mohammadreza
author_facet Ghiasi-Shirazi, Kamaledin
Qaraei, Mohammadreza
contents Kernel methods in machine learning use a kernel function that takes two data points as input and returns their inner product after mapping them to a Hilbert space, implicitly and without actually computing the mapping. For many kernel functions, such as Gaussian and Laplacian kernels, the feature space is known to be infinite-dimensional, making operations in this space possible only implicitly. This implicit nature necessitates algorithms to be expressed using dual representations and the kernel trick. In this paper, given an arbitrary kernel function, we introduce an explicit, finite-dimensional feature map for any arbitrary kernel function that ensures the inner product of data points in the feature space equals the kernel function value, during both training and testing. The existence of this explicit mapping allows for kernelized algorithms to be formulated in their primal form, without the need for the kernel trick or the dual representation. As a first application, we demonstrate how to derive kernelized machine learning algorithms directly, without resorting to the dual representation, and apply this method specifically to PCA. As another application, without any changes to the t-SNE algorithm and its implementation, we use it for visualizing the feature space of kernel functions.
format Preprint
id arxiv_https___arxiv_org_abs_2410_12635
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle An Exact Finite-dimensional Explicit Feature Map for Kernel Functions
Ghiasi-Shirazi, Kamaledin
Qaraei, Mohammadreza
Machine Learning
Kernel methods in machine learning use a kernel function that takes two data points as input and returns their inner product after mapping them to a Hilbert space, implicitly and without actually computing the mapping. For many kernel functions, such as Gaussian and Laplacian kernels, the feature space is known to be infinite-dimensional, making operations in this space possible only implicitly. This implicit nature necessitates algorithms to be expressed using dual representations and the kernel trick. In this paper, given an arbitrary kernel function, we introduce an explicit, finite-dimensional feature map for any arbitrary kernel function that ensures the inner product of data points in the feature space equals the kernel function value, during both training and testing. The existence of this explicit mapping allows for kernelized algorithms to be formulated in their primal form, without the need for the kernel trick or the dual representation. As a first application, we demonstrate how to derive kernelized machine learning algorithms directly, without resorting to the dual representation, and apply this method specifically to PCA. As another application, without any changes to the t-SNE algorithm and its implementation, we use it for visualizing the feature space of kernel functions.
title An Exact Finite-dimensional Explicit Feature Map for Kernel Functions
topic Machine Learning
url https://arxiv.org/abs/2410.12635