Scalable Neural Network Kernels

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Sehanobish, Arijit, Choromanski, Krzysztof, Zhao, Yunfan, Dubey, Avinava, Likhosherstov, Valerii
Format: Preprint
Publié: 2023
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866910354603245568
author Sehanobish, Arijit
Choromanski, Krzysztof
Zhao, Yunfan
Dubey, Avinava
Likhosherstov, Valerii
author_facet Sehanobish, Arijit
Choromanski, Krzysztof
Zhao, Yunfan
Dubey, Avinava
Likhosherstov, Valerii
contents We introduce the concept of scalable neural network kernels (SNNKs), the replacements of regular feedforward layers (FFLs), capable of approximating the latter, but with favorable computational properties. SNNKs effectively disentangle the inputs from the parameters of the neural network in the FFL, only to connect them in the final computation via the dot-product kernel. They are also strictly more expressive, as allowing to model complicated relationships beyond the functions of the dot-products of parameter-input vectors. We also introduce the neural network bundling process that applies SNNKs to compactify deep neural network architectures, resulting in additional compression gains. In its extreme version, it leads to the fully bundled network whose optimal parameters can be expressed via explicit formulae for several loss functions (e.g. mean squared error), opening a possibility to bypass backpropagation. As a by-product of our analysis, we introduce the mechanism of the universal random features (or URFs), applied to instantiate several SNNK variants, and interesting on its own in the context of scalable kernel methods. We provide rigorous theoretical analysis of all these concepts as well as an extensive empirical evaluation, ranging from point-wise kernel estimation to Transformers' fine-tuning with novel adapter layers inspired by SNNKs. Our mechanism provides up to 5x reduction in the number of trainable parameters, while maintaining competitive accuracy.
format Preprint
id arxiv_https___arxiv_org_abs_2310_13225
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Scalable Neural Network Kernels
Sehanobish, Arijit
Choromanski, Krzysztof
Zhao, Yunfan
Dubey, Avinava
Likhosherstov, Valerii
Machine Learning
Artificial Intelligence
We introduce the concept of scalable neural network kernels (SNNKs), the replacements of regular feedforward layers (FFLs), capable of approximating the latter, but with favorable computational properties. SNNKs effectively disentangle the inputs from the parameters of the neural network in the FFL, only to connect them in the final computation via the dot-product kernel. They are also strictly more expressive, as allowing to model complicated relationships beyond the functions of the dot-products of parameter-input vectors. We also introduce the neural network bundling process that applies SNNKs to compactify deep neural network architectures, resulting in additional compression gains. In its extreme version, it leads to the fully bundled network whose optimal parameters can be expressed via explicit formulae for several loss functions (e.g. mean squared error), opening a possibility to bypass backpropagation. As a by-product of our analysis, we introduce the mechanism of the universal random features (or URFs), applied to instantiate several SNNK variants, and interesting on its own in the context of scalable kernel methods. We provide rigorous theoretical analysis of all these concepts as well as an extensive empirical evaluation, ranging from point-wise kernel estimation to Transformers' fine-tuning with novel adapter layers inspired by SNNKs. Our mechanism provides up to 5x reduction in the number of trainable parameters, while maintaining competitive accuracy.
title Scalable Neural Network Kernels
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2310.13225