Saved in:
Bibliographic Details
Main Authors: Zhou, Allan, Finn, Chelsea, Harrison, James
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2402.05232
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911773426188288
author Zhou, Allan
Finn, Chelsea
Harrison, James
author_facet Zhou, Allan
Finn, Chelsea
Harrison, James
contents A challenging problem in many modern machine learning tasks is to process weight-space features, i.e., to transform or extract information from the weights and gradients of a neural network. Recent works have developed promising weight-space models that are equivariant to the permutation symmetries of simple feedforward networks. However, they are not applicable to general architectures, since the permutation symmetries of a weight space can be complicated by recurrence or residual connections. This work proposes an algorithm that automatically constructs permutation equivariant models, which we refer to as universal neural functionals (UNFs), for any weight space. Among other applications, we demonstrate how UNFs can be substituted into existing learned optimizer designs, and find promising improvements over prior methods when optimizing small image classifiers and language models. Our results suggest that learned optimizers can benefit from considering the (symmetry) structure of the weight space they optimize. We open-source our library for constructing UNFs at https://github.com/AllanYangZhou/universal_neural_functional.
format Preprint
id arxiv_https___arxiv_org_abs_2402_05232
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Universal Neural Functionals
Zhou, Allan
Finn, Chelsea
Harrison, James
Machine Learning
Artificial Intelligence
A challenging problem in many modern machine learning tasks is to process weight-space features, i.e., to transform or extract information from the weights and gradients of a neural network. Recent works have developed promising weight-space models that are equivariant to the permutation symmetries of simple feedforward networks. However, they are not applicable to general architectures, since the permutation symmetries of a weight space can be complicated by recurrence or residual connections. This work proposes an algorithm that automatically constructs permutation equivariant models, which we refer to as universal neural functionals (UNFs), for any weight space. Among other applications, we demonstrate how UNFs can be substituted into existing learned optimizer designs, and find promising improvements over prior methods when optimizing small image classifiers and language models. Our results suggest that learned optimizers can benefit from considering the (symmetry) structure of the weight space they optimize. We open-source our library for constructing UNFs at https://github.com/AllanYangZhou/universal_neural_functional.
title Universal Neural Functionals
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2402.05232