SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2406.09413 · 2024

Interpreting the Weight Space of Customized Diffusion Models

arXiv · PDF · Open in the Atlas

Code that ran

4 of 8 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 2 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 2 failures of our instrument; 4 no recorded run), measured 2026-11-22; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2406.09413.json · badge: /api/ran/2406.09413.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
snap-research/weights2weights canonical (classifier label)
classifier basis: census
4 ran · 4 no recorded run
FunctionStatusWhere it lives
b2mb Ran
ran, honoured the contract we drafted
snap-research/weights2weights/train_dreambooth.py
pointer only (licence: NONE) · get_code("32380a050ca033d4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, snap-research/weights2weights when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

debias Ran
ran; our contract draft was wrong, not the code
snap-research/weights2weights/editing.py
pointer only (licence: NOASSERTION) · get_code("6015ab268a8c8cec")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, snap-research/weights2weights (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_direction Ran
ran; our contract draft was wrong, not the code
snap-research/weights2weights/editing.py
pointer only (licence: NOASSERTION) · get_code("7e175f3d5a77d724")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, snap-research/weights2weights (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

inference Ran
ran, honoured the contract we drafted
snap-research/weights2weights/utils.py
pointer only (licence: NOASSERTION) · get_code("ddb9257aed90e222")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, snap-research/weights2weights (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

edit_inference Not yet run
unverified (harvested, no recorded run)
snap-research/weights2weights/editing.py
pointer only (licence: NOASSERTION) · get_code("1614dd4e41f6caec")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, snap-research/weights2weights (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

import_model_class_from_model_name_or_path Not yet run
unverified (harvested, no recorded run)
snap-research/weights2weights/train_dreambooth.py
pointer only (licence: NONE) · get_code("2f00b39db5a81466")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, snap-research/weights2weights when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

invert Not yet run
unverified (harvested, no recorded run)
snap-research/weights2weights/inversion.py
pointer only (licence: NOASSERTION) · get_code("a1b7c201b4b5e735")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, snap-research/weights2weights (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

parse_args Not yet run
unverified (harvested, no recorded run)
snap-research/weights2weights/train_dreambooth.py
pointer only (licence: NOASSERTION) · get_code("f5bc09ecb185eb8d")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, snap-research/weights2weights (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 8 samples lifted from this paper's linked repositories, 8 carry a function identity and 0 do not. Of the 8 distinct functions with an identity, 2 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 0 the same month, 2 later) and 6 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
import_model_class_from_model_name_or_path 24 other papers
14 dated earlier, 9 later, 1 same year, order not determinable
2212.04489 (2022-12)
SINE: SINgle Image Editing with Text-to-Image Diffusion Models
2306.06874 (2023-06)
VillanDiffusion: A Unified Backdoor Attack Framework for Diffusion Models
2306.07280 (2023-06)
Controlling Text-to-Image Diffusion by Orthogonal Finetuning
and 21 more not named here
b2mb 11 other papers
5 dated earlier, 6 later
2303.18223 (2023-03)
A Survey of Large Language Models
2401.16405 (2024-01)
Scaling Sparse Fine-Tuning to Large Language Models
2402.02834 (2024-02)
Shortened LLaMA: Depth Pruning for Large Language Models with Comparison of Retraining Methods
and 8 more not named here

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.

Repositories linked to this paper

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

Abstract

We investigate the space of weights spanned by a large collection of customized diffusion models. We populate this space by creating a dataset of over 60,000 models, each of which is a base model fine-tuned to insert a different person's visual identity. We model the underlying manifold of these weights as a subspace, which we term weights2weights. We demonstrate three immediate applications of this space that result in new diffusion models -- sampling, editing, and inversion. First, sampling a set of weights from this space results in a new model encoding a novel identity. Next, we find linear directions in this space corresponding to semantic edits of the identity (e.g., adding a beard), resulting in a new model with the original identity edited. Finally, we show that inverting a single image into this space encodes a realistic identity into a model, even if the input image is out of distribution (e.g., a painting). We further find that these linear properties of the diffusion model weight space extend to other visual concepts. Our results indicate that the weight space of fine-tuned diffusion models can behave as an interpretable meta-latent space producing new models.

For agents

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

get_harvested_code_for_paper("2406.09413")
get_code_for_paper("2406.09413")
have("2406.09413")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2406.09413.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2406.09413.svg)](https://syntology.ai/paper/2406.09413)

Connect an agent — have() is free.