WeightCLIP: Aligning Datasets and Models for Weight Space Learning

Aron Asefaw, Konstantinos Tzevelekakis, Damian Falk, Léo Meynent, Damian Borth
7/3/2026
2 citations
cs.LG

Official code: HSG-AIML/weightCLIP (8 stars, MIT, last commit 2026-09-02).

Abstract

Weight space learning aims to learn representations of neural network (NN) weights, enabling different downstream tasks. Existing approaches show promising performance, but lacking a way to shape these weight-space representations using information about the datasets the models were trained on, thus limiting downstream applications.

Show full abstract

We propose WeightCLIP, a method for learning a dataset-aligned latent space for neural networks, where datasets information is induced during training. The NNs are encoded as latent representations using an autoencoder, while dataset samples are encoded using a dataset encoder. The two representations are aligned using a contrastive objective, effectively reshaping the weight-space representations according to the datasets. We demonstrate that such representations can be used for different downstream tasks, including mapping dataset information to a weight-space representation that decode to strong models. In addition, we introduce a latent refinement process for generating models that outperforms standard fine-tuning. Overall, our results demonstrate that explicitly incorporating dataset information improves what can be achieved with weight-space representations across retrieval, generation, and refinement. Code will be available at https://github.com/HSG-AIML/WeightCLIP.

View on arXivView PDF

Code Implementations(1)

MIT

This is the official implementation of WeightCLIP: Aligning Datasets and Models for Weight Space Learning (ICML 2026).

83May 27, 20263 months agoMIT

Similar Papers

Cite this paper

@article{asefaw2026weightclip,
  title  = {WeightCLIP: Aligning Datasets and Models for Weight Space Learning},
  author = {Aron Asefaw and Konstantinos Tzevelekakis and Damian Falk and Léo Meynent and Damian Borth},
  year   = {2026},
  eprint = {2607.03551},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2607.03551v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2607.03551.svg)](https://codeofpaper.com/paper/2607.03551)

Discussion