atlas

Research map / Architectures and efficiency / RNNs and normalization

Towards Scalable and Versatile Weight Space Learning

ICML 2024 · Architectures and efficiency › RNNs and normalization · approach: Symmetry and equivariance in loss landscapes

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes SANE, a sequential transformer autoencoder that learns task-agnostic hyper-representations of neural network weights by tokenizing and encoding weight windows, enabling scaling to ResNet-18 and zero-shot sampling of new models.

Problem

Existing hyper-representation methods embed entire flattened weight vectors at once, limiting them to small networks of fixed architecture and splitting work between discriminative and generative tasks.

Approach

Decompose each model's weights into a token sequence (per-layer, row-wise slices with positional encodings), train the encoder-decoder on random sub-windows of tokens, and embed/sample arbitrarily long models by sequentially processing windows with halo context, so one representation spans architectures and sizes.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use SANE_SUB instead of S_KDE30 samplingCNN model generation · MNIST, same-task fine-tuning at epoch 0accuracy: 68.6±6.7 -> 86.7±0.8Helped
Use SANE_BOOT instead of SANE_KDE30 samplingResNet-18 model generation · CIFAR-10, same-task fine-tuning at epoch 0accuracy: 64.8±2.0 -> 68.6±1.2Helped
Use SANE sampling instead of training from scratchResNet-18 transferred from CIFAR-100 to Tiny-Imagenet · Tiny-Imagenet, epoch 1accuracy: 10.4±2.2 -> 39.4±1.5Helped
Add model alignment during pretraining (ablation)SANE · Model reconstruction, test setreconstruction loss: 0.167 -> 0.082Helped
Anchor one contrastive view to the aligned form (ablation)Aligned SANE pretraining · Model reconstruction, train setreconstruction loss: 0.148 -> 0.107Helped
Anchor one contrastive view to the aligned form (ablation)Aligned SANE pretraining · Model reconstruction, test setreconstruction loss: 0.082 -> 0.082No clear effect
Anchor both contrastive views to the aligned form (ablation)Aligned SANE pretraining · Model reconstruction, train setreconstruction loss: 0.148 -> 0.072Helped
Increase inference window size beyond the training window size (ablation)SANE inference · ResNet sequence reconstructionreconstruction errorHurt
Add haloing without batch-norm conditioning (ablation)SANE sampling · CIFAR-10 ResNet-18, epoch 0accuracy: 10±0.0 -> 14.5±6.3Helped
Add batch-norm conditioning without haloing (ablation)SANE sampling · CIFAR-10 ResNet-18, epoch 0accuracy: 10±0.0 -> 60.8±2.2Helped
Add haloing and batch-norm conditioning together (ablation)SANE sampling · CIFAR-10 ResNet-18, epoch 0accuracy: 10±0.0 -> 64.8±2.1Helped
Add haloing and batch-norm conditioning together (ablation)SANE sampling · CIFAR-10 ResNet-18, epoch 5accuracy: 90.8±0.2 -> 90.9±0.2No clear effect

Surprising findings

Limitations

Experimental setup

Datasets: MNIST CNN model zoo SVHN CNN model zoo CIFAR-10 CNN model zoo STL-10 CNN model zoo CIFAR-10 ResNet-18 model zoo CIFAR-100 ResNet-18 model zoo Tiny-ImageNet ResNet-18 model zoo ImageNet pytorchcv VGG and ResNet models

Benchmarks: MNIST CNN model zoo SVHN CNN model zoo CIFAR-10 CNN model zoo STL-10 CNN model zoo CIFAR-10 ResNet-18 zoo CIFAR-100 ResNet-18 zoo Tiny-ImageNet ResNet-18 zoo

Metrics: R^2 (property prediction) test accuracy after fine-tuning reconstruction loss

Baselines: hyper-representations (E_c+D) s(W) weight statistics flattened weights W S_KDE30 training from scratch WeightWatcher metrics

Builds on: hyper-representations git re-basin WeightWatcher KDE30 sampling

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy