SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2301.12780 · ICML · 2023

Equivariant Architectures for Learning in Deep Weight Spaces

Gal Chechik, Aviv Navon, Idan Achituve, Haggai Maron, Ethan Fetaya, Aviv Shamsian

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 34 functions out of this paper's own repositories and ran 17 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
avivnavon/dwsnets canonical 0 of 1
AvivNavon/DWSNets — 11 of 14
jkalogero/scalegmn — 6 of 19
FunctionStatusWhere it lives
Attn Ran AvivNavon/DWSNets/nn/layers/weight_to_weight.py
code served (permissive licence) · get_code("b7b3c9250967458c")
BaseLayer Ran AvivNavon/DWSNets/nn/layers/weight_to_weight.py
code served (permissive licence) · get_code("749cec24623f3134")
DeepSet Ran jkalogero/scalegmn/src/scalegmn/models.py
code served (permissive licence) · get_code("fbbb08156decace0")
FromFirstLayer Ran AvivNavon/DWSNets/nn/layers/weight_to_weight.py
code served (permissive licence) · get_code("c5e8282ae61f6295")
FromLastLayer Ran AvivNavon/DWSNets/nn/layers/weight_to_weight.py
code served (permissive licence) · get_code("0dcb212b6ae589d6")
GraphInit Ran jkalogero/scalegmn/src/scalegmn/models.py
code served (permissive licence) · get_code("99b2d300b891ce85")
MAB Ran AvivNavon/DWSNets/nn/layers/weight_to_weight.py
code served (permissive licence) · get_code("dfdb026b20ec9c69")
NonNeighborInternalLayer Ran AvivNavon/DWSNets/nn/layers/weight_to_weight.py
code served (permissive licence) · get_code("69443da94832c609")
SAB Ran AvivNavon/DWSNets/nn/layers/weight_to_weight.py
code served (permissive licence) · get_code("7929083636f127c7")
SetKroneckerSetLayer Ran AvivNavon/DWSNets/nn/layers/weight_to_weight.py
code served (permissive licence) · get_code("258566dbabd1a7e5")
SetLayer Ran AvivNavon/DWSNets/nn/layers/weight_to_weight.py
code served (permissive licence) · get_code("5bdb738dcf56334c")
SineUpdate Ran jkalogero/scalegmn/src/scalegmn/models.py
code served (permissive licence) · get_code("621ace76d6201550")
ToFirstLayer Ran AvivNavon/DWSNets/nn/layers/weight_to_weight.py
code served (permissive licence) · get_code("24e755539712d3aa")
ToLastLayer Ran AvivNavon/DWSNets/nn/layers/weight_to_weight.py
code served (permissive licence) · get_code("fe81153f8418e6f3")
get_edge_types Ran jkalogero/scalegmn/src/scalegmn/models.py
code served (permissive licence) · get_code("adc3a85b7d5652a3")
get_node_types Ran jkalogero/scalegmn/src/scalegmn/models.py
code served (permissive licence) · get_code("7d466a0a2fae42ba")
graph_to_wb Ran jkalogero/scalegmn/src/scalegmn/models.py
code served (permissive licence) · get_code("f8f76184e7d43e05")
BaseScaleGMN Not yet run jkalogero/scalegmn/src/scalegmn/models.py
code served (permissive licence) · get_code("2a78602f4718460d")
EdgeUpdate Not yet run jkalogero/scalegmn/src/scalegmn/models.py
code served (permissive licence) · get_code("9c77538d64ffc753")
GNN_layer Not yet run jkalogero/scalegmn/src/scalegmn/models.py
code served (permissive licence) · get_code("b1bbaf40374412c7")
GNN_layer_aggr Not yet run jkalogero/scalegmn/src/scalegmn/models.py
code served (permissive licence) · get_code("854d0920747d8ccc")
GeneralMatrixSetLayer Not yet run AvivNavon/DWSNets/nn/layers/weight_to_weight.py
code served (permissive licence) · get_code("18f6ecf173b8d90f")
GeneralSetLayer Not yet run AvivNavon/DWSNets/nn/layers/weight_to_weight.py
code served (permissive licence) · get_code("a1787eb42cb85a8a")
PermScaleInvariantReadout Not yet run jkalogero/scalegmn/src/scalegmn/models.py
code served (permissive licence) · get_code("949b907b6475fde9")
PositionalEncoding Not yet run jkalogero/scalegmn/src/scalegmn/models.py
code served (permissive licence) · get_code("6d0190116d5a66fb")
ScaleEq_GNN_layer Not yet run jkalogero/scalegmn/src/scalegmn/models.py
code served (permissive licence) · get_code("763b5c0f24526e0c")
ScaleGMN_GNN Not yet run jkalogero/scalegmn/src/scalegmn/models.py
code served (permissive licence) · get_code("ce35a061c9b59121")
ScaleGMN_GNN_bidir Not yet run jkalogero/scalegmn/src/scalegmn/models.py
code served (permissive licence) · get_code("c73057a5d50237ba")
ScaleGMN_GNN_fw Not yet run jkalogero/scalegmn/src/scalegmn/models.py
code served (permissive licence) · get_code("fa9b3269eb251c79")
ScaleGMN_GNN_layer_aggr Not yet run jkalogero/scalegmn/src/scalegmn/models.py
code served (permissive licence) · get_code("4bc57d760e6c8aa1")
ScaleGMN_equiv Not yet run jkalogero/scalegmn/src/scalegmn/models.py
code served (permissive licence) · get_code("b9118d28b09d5b70")
WeightToWeightBlock Not yet run AvivNavon/DWSNets/nn/layers/weight_to_weight.py
code served (permissive licence) · get_code("ec1054fbb47b1286")
base_GNN_layer Not yet run jkalogero/scalegmn/src/scalegmn/models.py
code served (permissive licence) · get_code("af6555f8eb5878c6")
evaluate Not yet run avivnavon/dwsnets/experiments/mnist/trainer.py
code served (permissive licence) · get_code("4d48f663c05399f4")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Designing machine learning architectures for processing neural networks in their raw weight matrix form is a newly introduced research direction. Unfortunately, the unique symmetry structure of deep weight spaces makes this design very challenging. If successful, such architectures would be capable of performing a wide range of intriguing tasks, from adapting a pre-trained network to a new domain to editing objects represented as functions (INRs or NeRFs). As a first step towards this goal, we present here a novel network architecture for learning in deep weight spaces. It takes as input a concatenation of weights and biases of a pre-trained MLP and processes it using a composition of layers that are equivariant to the natural permutation symmetry of the MLP's weights: Changing the order of neurons in intermediate layers of the MLP does not affect the function it represents. We provide a full characterization of all affine equivariant and invariant layers for these symmetries and show how these layers can be implemented using three basic operations: pooling, broadcasting, and fully connected layers applied to the input in an appropriate manner. We demonstrate the effectiveness of our architecture and its advantages over natural baselines in a variety of learning tasks.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2301.12780")
get_code_for_paper("2301.12780")
have("2301.12780")

Connect an agent — have() is free.