SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2311.15100 · ICLR · 2024

Unbalancedness in Neural Monge Maps Improves Unpaired Domain Translation

Niki Kilbertus, Zeynep Akata, T Munich, Fabian Theis, Giovanni Palla, Luca Eyring, Dominik Klein, Théo Uscidda

arXiv · PDF · Open in the Atlas

Code that ran

4 of 7 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; 0 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 4 failures of our instrument; 3 no recorded run), measured 2026-11-23; 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/2311.15100.json · badge: /api/ran/2311.15100.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
ExplainableML/uot-fm canonical (classifier label)
classifier basis: census
4 ran · 3 no recorded run
FunctionStatusWhere it lives
get Ran
ran; our contract draft was wrong, not the code
ExplainableML/uot-fm/models/inception.py
code served (permissive licence) · get_code("c98a6cf41bf8d8ac")
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 str. The image it ran in was not recorded. If your copy returns the same type 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 get(dictionary, key) takes:
# - dictionary: a dict or None
# - key: a hashable key to look up in the dictionary

# We need to construct valid arguments for both parameters
ARGS = {
    "dictionary": {"key1": "value1", "key2": 42, "key3": [1, 2, 3]},
    "key": "key1"
}
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 str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
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
key_split_allowing_none Ran
ran; our contract draft was wrong, not the code
ExplainableML/uot-fm/models/unet.py
code served (permissive licence) · get_code("decfd6cfbefc843b")
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 ArrayImpl, ndim 2, dtype family int, shape (2, 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 jax.random as jr

# Create a valid JAX random key
key = jr.PRNGKey(0)

# Create ARGS dict with the single parameter
ARGS = {
    "key": key
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ArrayImpl, ndim 2, dtype family int, shape (2, 2) — shape (2, 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
pool Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
ExplainableML/uot-fm/models/inception.py
code served (permissive licence) · get_code("19dd078b5186d077")
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 ArrayImpl, ndim 4, dtype family float, shape (2, 2, 1, 1) 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 jax
import jax.numpy as jnp

# Set seed for reproducibility
import numpy as np
np.random.seed(0)

# Create input tensor: (batch=2, height=4, width=3, channels=1)
inputs = jnp.ones((2, 4, 3, 1))

# Initial value for reduction (using 0 for max pooling with -inf would be better, but 0 works for sum)
init = -jnp.inf

# Define a simple reduce function (max operation)
reduce_fn = jax.lax.max

# Window shape for 2D pooling: (2, 2)
window_shape = (2, 2)

# Strides for the pooling operation
strides = (2, 2)

# Padding specification: 'VALID' means no padding
padding = 'VALID'

ARGS = {
    'inputs': inputs,
    'init': init,
    'reduce_fn': reduce_fn,
    'window_shape': window_shape,
    'strides': strides,
    'padding': padding
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ArrayImpl, ndim 4, dtype family float, shape (2, 2, 1, 1) — shape (2, 2, 1, 1) 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
upsample_2d Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
ExplainableML/uot-fm/models/unet.py
code served (permissive licence) · get_code("43aac143feb61cf8")
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 ArrayImpl, ndim 3, dtype family float, shape (3, 8, 10) 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 jax.numpy as jnp

# Create a small 3D array (C, H, W) with distinct dimensions
C, H, W = 3, 4, 5
y = jnp.ones((C, H, W))

# Define factor parameter
factor = 2

ARGS = {
    "y": y,
    "factor": factor,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ArrayImpl, ndim 3, dtype family float, shape (3, 8, 10) — shape (3, 8, 10) 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
download Not yet run
unverified (harvested, no recorded run)
ExplainableML/uot-fm/models/inception.py
code served (permissive licence) · get_code("f93ac625244c51c4")
How it ran

no invocation recorded.

downsample_2d Not yet run
unverified (harvested, no recorded run)
ExplainableML/uot-fm/models/unet.py
code served (permissive licence) · get_code("2805fe211f09643b")
How it ran

no invocation recorded.

get_vae_fns Not yet run
unverified (harvested, no recorded run)
ExplainableML/uot-fm/models/model_utils.py
code served (permissive licence) · get_code("9201989c7ff5d96e")
How it ran

no invocation recorded.

Also present in other papers' code

Of 7 samples lifted from this paper's linked repositories, 7 carry a function identity and 0 do not. Of the 7 distinct functions with an identity, 3 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 0 the same month, 0 later) and 4 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
download 1 other paper
1 dated earlier
1512.00567 (2015-12)
Rethinking the Inception Architecture for Computer Vision
get 1 other paper
1 dated earlier
1512.00567 (2015-12)
Rethinking the Inception Architecture for Computer Vision
pool 1 other paper
1 dated earlier
1512.00567 (2015-12)
Rethinking the Inception Architecture for Computer Vision

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

Repositories linked to this paper

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

Abstract

In optimal transport (OT), a Monge map is known as a mapping that transports a source distribution to a target distribution in the most cost-efficient way. Recently, multiple neural estimators for Monge maps have been developed and applied in diverse unpaired domain translation tasks, e.g. in single-cell biology and computer vision. However, the classic OT framework enforces mass conservation, which makes it prone to outliers and limits its applicability in real-world scenarios. The latter can be particularly harmful in OT domain translation tasks, where the relative position of a sample within a distribution is explicitly taken into account. While unbalanced OT tackles this challenge in the discrete setting, its integration into neural Monge map estimators has received limited attention. We propose a theoretically grounded method to incorporate unbalancedness into any Monge map estimator. We improve existing estimators to model cell trajectories over time and to predict cellular responses to perturbations. Moreover, our approach seamlessly integrates with the OT flow matching (OT-FM) framework. While we show that OT-FM performs competitively in image translation, we further improve performance by incorporating unbalancedness (UOT-FM), which better preserves relevant features. We hence establish UOT-FM as a principled method for unpaired image translation.

For agents

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

get_harvested_code_for_paper("2311.15100")
get_code_for_paper("2311.15100")
have("2311.15100")

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

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

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

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

Connect an agent — have() is free.