English

Fast Adaptation with Linearized Neural Networks

Machine Learning 2021-04-29 v2 Machine Learning

Abstract

The inductive biases of trained neural networks are difficult to understand and, consequently, to adapt to new settings. We study the inductive biases of linearizations of neural networks, which we show to be surprisingly good summaries of the full network functions. Inspired by this finding, we propose a technique for embedding these inductive biases into Gaussian processes through a kernel designed from the Jacobian of the network. In this setting, domain adaptation takes the form of interpretable posterior inference, with accompanying uncertainty estimation. This inference is analytic and free of local optima issues found in standard techniques such as fine-tuning neural network weights to a new task. We develop significant computational speed-ups based on matrix multiplies, including a novel implementation for scalable Fisher vector products. Our experiments on both image classification and regression demonstrate the promise and convenience of this framework for transfer learning, compared to neural network fine-tuning. Code is available at https://github.com/amzn/xfer/tree/master/finite_ntk.

Keywords

Cite

@article{arxiv.2103.01439,
  title  = {Fast Adaptation with Linearized Neural Networks},
  author = {Wesley J. Maddox and Shuai Tang and Pablo Garcia Moreno and Andrew Gordon Wilson and Andreas Damianou},
  journal= {arXiv preprint arXiv:2103.01439},
  year   = {2021}
}

Comments

AISTATS 2021

R2 v1 2026-06-23T23:38:38.987Z