SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2506.14605 · ICCV · 2025

Unsupervised Imaging Inverse Problems with Diffusion Distribution Matching

Michael Arbel, Julien Mairal, Giacomo Meanti, Thomas Ryckeboer

arXiv · PDF · Open in the Atlas

Code that ran

11 of 12 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, 1 violated it and 0 have no contract verdict; 8 failures of our instrument; 1 no recorded run), measured 2026-11-24; 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/2506.14605.json · badge: /api/ran/2506.14605.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
inria-thoth/ddm4ip canonical (classifier label)
classifier basis: census
11 ran · 1 no recorded run
FunctionStatusWhere it lives
com Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
inria-thoth/ddm4ip/ddm4ip/losses/di_y.py
code served (permissive licence) · get_code("c55ff807bf082822")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 2, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# The function expects a kernel tensor
# Looking at the function body:
# - kernel.shape[-2] and kernel.shape[-1] are used for meshgrid
# - kernel.shape[-3] is used in sum operation
# - kernel needs to support .sum(), .device attributes
# - The function computes center of mass over spatial dimensions

# Create a small kernel tensor with shape (batch, channels, height, width)
# Using distinct sizes: batch=2, channels=3, height=4, width=5
kernel = torch.randn(2, 3, 4, 5)

ARGS = {
    "kernel": kernel
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 2, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
const_like Ran
ran; our contract draft was wrong, not the code
inria-thoth/ddm4ip/ddm4ip/networks/unets.py
pointer only (licence: MIT); the stored copy get_code serves, from xfetus/fetal-ultrasound-edm2, is pointer only (licence: NONE) · get_code("f2514403e004d82b")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from xfetus/fetal-ultrasound-edm2, and GitHub detected no licence in that repository 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.

constant Ran
ran; our contract draft was wrong, not the code
inria-thoth/ddm4ip/ddm4ip/networks/unets.py
pointer only (licence: MIT); the stored copy get_code serves, from xfetus/fetal-ultrasound-edm2, is pointer only (licence: NONE) · get_code("6d32f9cf6f29b386")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from xfetus/fetal-ultrasound-edm2, and GitHub detected no licence in that repository 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.

gaussian_reg Ran
ran; our contract draft was wrong, not the code
inria-thoth/ddm4ip/ddm4ip/losses/di_y.py
code served (permissive licence) · get_code("b2cb361d11a1f4f7")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# Create a small kernel tensor
# The function expects shape (B, C, H, W) or (B, C, D, H, W)
# Let's use (B, C, H, W) = (2, 4, 3, 5)
kernel = torch.randn(2, 4, 3, 5)

ARGS = {
    "kernel": kernel
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_default_psf_grid Ran
ran; our contract draft was wrong, not the code
inria-thoth/ddm4ip/ddm4ip/networks/blur_nets.py
code served (permissive licence) · get_code("8800938e2f1b57c2")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 2, dtype family float, shape (6, 2) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

ARGS = {
    "num_psfs": (2, 3)
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (6, 2) — shape (6, 2) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
learning_rate_schedule Ran
ran, honoured the contract we drafted
inria-thoth/ddm4ip/ddm4ip/losses/utils.py
code served (permissive licence) · get_code("25a80a498e6efe47")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned float, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import math

def learning_rate_schedule(cur_step, batch_size, ref_nimg=70000000.0, rampup_nimg=10000000.0):
    mul = 1.0
    if ref_nimg > 0:
        mul /= math.sqrt(max(cur_step * batch_size / ref_nimg, 1))
    if rampup_nimg > 0:
        mul *= min(cur_step * batch_size / rampup_nimg, 1)
    return mul

ARGS = {
    "cur_step": 100,
    "batch_size": 32,
    "ref_nimg": 70000000.0,
    "rampup_nimg": 10000000.0,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
norm Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
inria-thoth/ddm4ip/ddm4ip/degradations/motion_blur.py
code served (permissive licence) · get_code("594fad709f5a8599")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned float, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

torch.manual_seed(0)

# Construct a valid argument for the 'lst' parameter
# The function expects a list of numbers and computes their L2 norm
# Let's create a simple list of numeric values
lst = [3.0, 4.0]  # L2 norm should be 5.0

ARGS = {
    'lst': lst
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
normalize Ran
ran; our contract draft was wrong, not the code
inria-thoth/ddm4ip/ddm4ip/networks/unets.py
pointer only (licence: MIT); the stored copy get_code serves, from xfetus/fetal-ultrasound-edm2, is pointer only (licence: NONE) · get_code("ebfd171dc25ba0ce")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from xfetus/fetal-ultrasound-edm2, and GitHub detected no licence in that repository 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.

polar2z Ran
ran, violated the contract we drafted
inria-thoth/ddm4ip/ddm4ip/degradations/motion_blur.py
code served (permissive licence) · get_code("7c37ca7a5cce1a9c")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 1, dtype family float, shape (3,) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# Create small numpy arrays for radius and angle
r = np.array([1.0, 2.0, 3.0])
θ = np.array([0.0, np.pi/4, np.pi/2])

ARGS = {
    "r": r,
    "θ": θ,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 1, dtype family float, shape (3,) — shape (3,) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
softmax Ran
ran, honoured the contract we drafted
inria-thoth/ddm4ip/ddm4ip/degradations/motion_blur.py
pointer only (licence: MIT); the stored copy get_code serves, from mayank2498/Skip-Gram-model-using-numpy, is pointer only (licence: NONE) · get_code("c0cf1196424d4f71")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from mayank2498/Skip-Gram-model-using-numpy, and GitHub detected no licence in that repository 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.

sparse_reg Ran
ran; our contract draft was wrong, not the code
inria-thoth/ddm4ip/ddm4ip/losses/di_y.py
code served (permissive licence) · get_code("38edc926bf38f2e1")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# The function sparse_reg takes a kernel tensor and returns the mean absolute value
# We need to provide a tensor that will work with torch.abs() and .mean()
kernel = torch.randn(2, 4)

ARGS = {
    "kernel": kernel,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_motion_blur_kernel Not yet run
unverified (harvested, no recorded run)
inria-thoth/ddm4ip/ddm4ip/degradations/blur.py
code served (permissive licence) · get_code("0b87681ee0b24f31")
How it ran

no invocation recorded.

Also present in other papers' code

Of 12 samples lifted from this paper's linked repositories, 12 carry a function identity and 0 do not. Of the 12 distinct functions with an identity, 6 are also present in other papers whose code we hold (6 with at least one paper dated earlier, 0 the same month, 4 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
constant 26 other papers
16 dated earlier, 9 later, 1 same year, order not determinable
2306.06991 (2023-06)
Fast Diffusion Model
2308.15321 (2023-08)
Elucidating the Exposure Bias in Diffusion Models
2309.03350 (2023-09)
Relay Diffusion: Unifying diffusion process across resolutions for image synthesis
and 23 more not named here
softmax 12 other papers
11 dated earlier, 1 later
1411.2738 (2014-11)
word2vec Parameter Learning Explained
1803.05337 (2018-03)
Learning to Recognize Musical Genre from Audio
1906.05394 (2019-06)
Neural Arabic Question Answering
and 9 more not named here
const_like 5 other papers
1 dated earlier, 3 later, 1 same year, order not determinable
Xia_Rectified_Diffusion_Guidance_for_Conditional_Generation_CVPR_2025_paper (2025 (year only))
Rectified Diffusion Guidance for Conditional Generation
2505.07447 (2025-05)
Unified Continuous Generative Models
2508.04122 (2025-08)
Conditional Latent Diffusion Models for Zero-Shot Instance Segmentation
and 2 more not named here
normalize 5 other papers
3 dated earlier, 2 later
2502.14583 (2025-02)
A Theory for Conditional Generative Modeling on Multiple Data Sources
2502.18197 (2025-02)
VCT: Training Consistency Models with Variational Noise Coupling
2505.07447 (2025-05)
Unified Continuous Generative Models
and 2 more not named here
norm 1 other paper
1 dated earlier
2502.03686 (2025-02)
Variational Control for Guidance in Diffusion Models
polar2z 1 other paper
1 dated earlier
2502.03686 (2025-02)
Variational Control for Guidance in Diffusion Models

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-24.

Repositories linked to this paper

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

Abstract

This work addresses image restoration tasks through the lens of inverse problems using unpaired datasets. In contrast to traditional approaches-which typically assume full knowledge of the forward model or access to paired degraded and ground-truth images-the proposed method operates under minimal assumptions and relies only on small, unpaired datasets. This makes it particularly wellsuited for real-world scenarios, where the forward model is often unknown or mis-specified, and collecting paired data is costly or infeasible. The method leverages conditional flow matching to model the distribution of degraded observations, while simultaneously learning the forward model via a distribution-matching loss that arises naturally from the framework. Empirically, it outperforms both single-image blind and unsupervised approaches on deblurring and non-uniform point spread function (PSF) calibration tasks. It also matches state-of-the-art performance on blind super-resolution. We also showcase the effectiveness of our method with a proof of concept for lens calibration: a real-world application traditionally requiring time-consuming experiments and specialized equipment. In contrast, our approach achieves this with minimal data acquisition effort. Code available: https://github.com/inria-thoth/ddm4ip.

For agents

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

get_harvested_code_for_paper("2506.14605")
get_code_for_paper("2506.14605")
have("2506.14605")

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

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

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

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

Connect an agent — have() is free.