Lune

NeurIPS2020Top-tier venue

On the Modularity of Hypernetworks

Tomer Galanti, Lior Wolf

2020Year
79Citations
19Top-tier citations

Abstract

In the context of learning to map an input II to a function hI:X→Rh_I:\mathcal{X}\to \mathbb{R}, two alternative methods are compared: (i) an embedding-based method, which learns a fixed function in which II is encoded as a conditioning signal e(I)e(I) and the learned function takes the form hI(x)=q(x,e(I))h_I(x) = q(x,e(I)), and (ii) hypernetworks, in which the weights θIθ_I of the function hI(x)=g(x;θI)h_I(x) = g(x;θ_I) are given by a hypernetwork ff as θI=f(I)θ_I=f(I). In this paper, we define the property of modularity as the ability to effectively learn a different function for each input instance II. For this purpose, we adopt an expressivity perspective of this property and extend the theory of Devore et al. 1996 and provide a lower bound on the complexity (number of trainable parameters) of neural networks as function approximators, by eliminating the requirements for the approximation method to be robust. Our results are then used to compare the complexities of qq and gg, showing that under certain conditions and when letting the functions ee and ff be as large as we wish, gg can be smaller than qq by orders of magnitude. This sheds light on the modularity of hypernetworks in comparison with the embedding-based method. Besides, we show that for a structured target function, the overall number of trainable parameters in a hypernetwork is smaller by orders of magnitude than the number of trainable parameters of a standard neural network and an embedding method.

Ask about this paper

Your agent reads all of it.

Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

lune papers fulltext 43acd254-4402-4ddc-b7ed-bfe5f74972b8

Cited by top-tier papers19

Ask how each one uses it

Builds on4

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines