DWSNet (Deep Weight-Space Network)
A permutation-equivariant network that takes the weights and biases of an MLP as its input.
Graphs and geometry · 4,565 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Task
- Graphs and geometry
- Parameters
- 552.7K
- Operations
- 4,565
- Framework
- PyTorch
- Recurrent
- No
- Published
- ICML 2023 (PMLR 202)
- Cited by
- 8 (as of 3 November 2026)
- Authors
- Aviv Navon, Aviv Shamsian, Idan Achituve and others
- Source
- GitHub: AvivNavon/DWSNets
- License
- MIT
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m15785
- Graph hash
- 7cd6dd637422531384a1eb186ff586fd74fafd3f8188a723cba992d751e4e374
- Skeleton hash
- 513d7b5fc6d852938535a08e0556c6bc3f1d8c50938b04e523b50a8ea05812c0
- Architecture hash
- 97f0d8908afc6f8a0aa2ab4d036204a34f2d3b435a4d10deea9c1d4dcf20938f
- Diagram SHA-256
- db057987d3a22a638a7aa101fb0bf6285683537a16e364f15d21d55f73b67989
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
DWSNet is a network that processes other neural networks: it takes as input a concatenation of weights and biases of a pre-trained MLP. The paper presents the design of architectures that process neural networks in their raw weight matrix form as a newly introduced research direction. Such architectures, the authors write, could perform tasks from adapting a pre-trained network to a new domain to editing objects represented as functions (INRs or NeRFs).
The design follows a symmetry of the input: changing the order of neurons in intermediate layers of the MLP does not affect the function it represents. DWSNet is therefore built as a composition of layers that are equivariant to this permutation symmetry of the MLP's weights. The paper gives a full characterization of all affine equivariant and invariant layers for these symmetries. It shows that these layers can be implemented with three basic operations: pooling, broadcasting, and fully connected layers.
The paper reports advantages over natural baselines in a variety of learning tasks. The official implementation follows the block structure described in the paper. The repository includes an introduction notebook for INR classification with DWSNets.
Key idea. The paper presents a network that processes the weights and biases of a pre-trained MLP with layers equivariant to the permutation symmetry of its neurons.
- DWSNet
- DWSNets
- Deep Weight-Space Network
- weight space learning
- learning in deep weight spaces
- equivariant architecture
- permutation symmetry
- INR classification
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{navon2023equivariantarchitectureslearningdeep,
title={Equivariant Architectures for Learning in Deep Weight Spaces},
author={Aviv Navon and Aviv Shamsian and Idan Achituve and Ethan Fetaya and Gal Chechik and Haggai Maron},
year={2023},
eprint={2301.12780},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/2301.12780},
}