Lune

NeurIPS2020Top-tier venue

On the Modularity of Hypernetworks

Tomer Galanti, Lior Wolf

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 Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

19 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Hypernetworks for Zero-Shot Transfer in Reinforcement Learning cites Continual learning with hypernetworks
  • Hypernetworks for Zero-Shot Transfer in Reinforcement Learning cites Recomposing the Reinforcement Learning Building Blocks with Hypernetworks
  • Universal Morphology Control via Contextual Modulation cites Hypernetworks for Zero-Shot Transfer in Reinforcement Learning
  • Universal Morphology Control via Contextual Modulation cites Principled Weight Initialization for Hypernetworks
  • Universal Morphology Control via Contextual Modulation cites Recomposing the Reinforcement Learning Building Blocks with Hypernetworks
  • On Infinite-Width Hypernetworks cites Continual learning with hypernetworks
  • On Infinite-Width Hypernetworks cites Multiplicative Interactions and Where to Find Them
  • On Infinite-Width Hypernetworks cites Principled Weight Initialization for Hypernetworks
  • On Infinite-Width Hypernetworks cites Deep Meta Functionals for Shape Representation
  • Principled Weight Initialization for Hypernetworks cites Continual learning with hypernetworks
  • Recomposing the Reinforcement Learning Building Blocks with Hypernetworks cites Continual learning with hypernetworks
  • Recomposing the Reinforcement Learning Building Blocks with Hypernetworks cites Multiplicative Interactions and Where to Find Them
  • Recomposing the Reinforcement Learning Building Blocks with Hypernetworks cites Principled Weight Initialization for Hypernetworks
  • Recomposing the Reinforcement Learning Building Blocks with Hypernetworks cites Deep Meta Functionals for Shape Representation
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers19

  1. Linear Transformers Are Secretly Fast Weight ProgrammersImanol Schlag, Kazuki Irie, Jürgen SchmidhuberICML 2021 · 394 citations
  2. Recomposing the Reinforcement Learning Building Blocks with HypernetworksElad Sarafian, Shai Keynan, Sarit KrausICML 2021 · 42 citations
  3. Universal Morphology Control via Contextual ModulationZheng Xiong, Jacob Beck, Shimon WhitesonICML 2023 · 27 citations
  4. Hypernetworks for Zero-Shot Transfer in Reinforcement LearningSahand Rezaei-Shoshtari, Charlotte Morissette, François Robert Hogan, Gregory Dudek et al.AAAI 2023 · 23 citations
  5. On Infinite-Width HypernetworksEtai Littwin, Tomer Galanti, Lior Wolf, Greg YangNeurIPS 2020 · 21 citations

Builds on4

  1. Continual learning with hypernetworksJohannes von Oswald, Christian Henning, João Sacramento, Benjamin F. GreweICLR 2020 · 412 citations
  2. Multiplicative Interactions and Where to Find ThemSiddhant M. Jayakumar, Wojciech M. Czarnecki, Jacob Menick, Jonathan Schwarz et al.ICLR 2020 · 152 citations
  3. Deep Meta Functionals for Shape RepresentationGidi Littwin, Lior WolfICCV 2019 · 90 citations
  4. Principled Weight Initialization for HypernetworksOscar Chang, Lampros Flokas, Hod LipsonICLR 2020 · 87 citations

Related papers

  1. Improving Memory Efficiency for Training KANs via Meta LearningZhangchi Zhao, Jun Shu, Deyu Meng, Zongben XuICML 2025
  2. HyperDeepONet: learning operator with complex target function space using the limited resources via hypernetworkJae Yong Lee, Sung Woong Cho, Hyung Ju HwangICLR 2023 · 3 citations
  3. Rational Neural Networks have Expressivity AdvantagesMaosen Tang, Alex TownsendICML 2026 · 1 citation
  4. The Expressive Power of Low-Rank AdaptationYuchen Zeng, Kangwook LeeICLR 2024 · 116 citations
  5. On the Expressive Power of Permutation-Equivariant Weight-Space NetworksAdir Dayan, Yam Eitan, Haggai MaronICML 2026
Dusk over the sea between two cliffs drawn in fine vertical lines