Generalized vec trick for fast learning of pairwise kernel models

09/02/2020
by   Markus Viljanen, et al.
0

Pairwise learning corresponds to the supervised learning setting where the goal is to make predictions for pairs of objects. Prominent applications include predicting drug-target or protein-protein interactions, or customer-product preferences. Several kernel functions have been proposed for incorporating prior knowledge about the relationship between the objects, when training kernel based learning methods. However, the number of training pairs n is often very large, making O(n^2) cost of constructing the pairwise kernel matrix infeasible. If each training pair x= (d,t) consists of drug d and target t, let m and q denote the number of unique drugs and targets appearing in the training pairs. In many real-world applications m,q << n, which can be used to develop computational shortcuts. Recently, a O(nm+nq) time algorithm we refer to as the generalized vec trick was introduced for training kernel methods with the Kronecker kernel. In this work, we show that a large class of pairwise kernels can be expressed as a sum of product matrices, which generalizes the result to the most commonly used pairwise kernels. This includes symmetric and anti-symmetric, metric-learning, Cartesian, ranking, as well as linear, polynomial and Gaussian kernels. In the experiments, we demonstrate how the introduced approach allows scaling pairwise kernels to much larger data sets than previously feasible, and compare the kernels on a number of biological interaction prediction tasks.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
06/19/2015

Spectral Analysis of Symmetric and Anti-Symmetric Pairwise Kernels

We consider the problem of learning regression functions from pairwise d...
research
02/07/2022

Random Gegenbauer Features for Scalable Kernel Methods

We propose efficient random features for approximating a new and rich cl...
research
03/31/2021

Symmetric and antisymmetric kernels for machine learning problems in quantum physics and chemistry

We derive symmetric and antisymmetric kernels by symmetrizing and antisy...
research
11/01/2022

Transfer Learning with Kernel Methods

Transfer learning refers to the process of adapting a model trained on a...
research
02/25/2015

Online Pairwise Learning Algorithms with Kernels

Pairwise learning usually refers to a learning task which involves a los...
research
01/07/2016

Fast Kronecker product kernel methods via generalized vec trick

Kronecker product kernel provides the standard approach in the kernel me...
research
11/28/2011

A kernel-based framework for learning graded relations from data

Driven by a large number of potential applications in areas like bioinfo...

Please sign up or login with your details

Forgot password? Click here to reset