SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · Souza_Latent_Space_Imaging_CVPR_2025_paper · CVPR · 2025

Latent Space Imaging

Kaizhang Kang, Matheus Souza, Yidan Zheng, Yogeshwar Nath, Mishra Fu, Wolfgang Kaust

Open in the Atlas

Code that ran

7 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; 2 honoured the contract we drafted, 2 violated it and 0 have no contract verdict; 3 failures of our instrument; 0 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/Souza_Latent_Space_Imaging_CVPR_2025_paper.json · badge: /api/ran/Souza_Latent_Space_Imaging_CVPR_2025_paper.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
vccimaging/latent-imaging canonical (classifier label)
classifier basis: census
7 ran · 0 no recorded run
FunctionStatusWhere it lives
dropout_layers Ran
ran; our contract draft was wrong, not the code
vccimaging/latent-imaging/models/g_mlp.py
code served (permissive licence) · get_code("1d39b4f9d1d36f92")
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) and returned list, ndim 1, 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
import torch.nn as nn
from random import randrange

torch.manual_seed(0)

# Create a list of simple layers (nn.Module instances)
layers = [
    nn.Linear(4, 3),
    nn.ReLU(),
    nn.Linear(3, 2),
    nn.Dropout(0.5)
]

# Define probability of survival
prob_survival = 0.7

ARGS = {
    "layers": layers,
    "prob_survival": prob_survival
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list 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
exists Ran
ran, violated the contract we drafted
vccimaging/latent-imaging/models/g_mlp.py
pointer only (licence: MIT); the stored copy get_code serves, from ThomasMrY/VCT, is pointer only (licence: NONE) · get_code("aa5486a3650902d8")
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 ThomasMrY/VCT, 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.

get_keys Ran
ran; our contract draft was wrong, not the code
vccimaging/latent-imaging/models/pSp_o.py
code served (permissive licence) · get_code("29b9a890f149a3a6")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Sonnet 4.5, prompt python_fixture_v1) and returned dict. 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
import torch.nn as nn

torch.manual_seed(0)

# Create a state dict that mimics a checkpoint with nested module names
# The function extracts keys that start with a specific name prefix
state_dict = {
    'encoder.layer1.weight': torch.randn(4, 3),
    'encoder.layer1.bias': torch.randn(4),
    'encoder.layer2.weight': torch.randn(5, 4),
    'encoder.layer2.bias': torch.randn(5),
    'decoder.layer1.weight': torch.randn(3, 5),
    'decoder.layer1.bias': torch.randn(3),
    'other.param': torch.randn(2, 2)
}

# Wrap it in a checkpoint-like dict (function checks for 'state_dict' key)
d = {'state_dict': state_dict, 'epoch': 10, 'optimizer': {}}

# Name to filter by
name = 'encoder'

ARGS = {
    'd': d,
    'name': name
}
Setup block drafted by
a language model, Claude Sonnet 4.5, prompt python_fixture_v1
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict 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
make_transform Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
vccimaging/latent-imaging/models/genxl.py
code served (permissive licence) · get_code("e398e4bf52713018")
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 2, dtype family float, shape (3, 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

# Analyze the function: it takes translate (Tuple[float, float]) and angle (float)
# translate is used as translate[0] and translate[1], so it needs 2 float elements
# angle is used in arithmetic operations (division, multiplication, sin, cos)

ARGS = {
    "translate": (1.5, 2.5),
    "angle": 45.0
}
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 2, dtype family float, shape (3, 3) — shape (3, 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
pair Ran
ran, violated the contract we drafted
vccimaging/latent-imaging/models/g_mlp.py
code served (permissive licence) · get_code("e6f9d3b5ad66ee20")
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) and returned tuple, ndim 1, dtype family int; 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 `pair` takes a single parameter `val` and returns either
# (val, val) if val is not a tuple, or val itself if it is already a tuple.
# We need to test both cases.

# Test case 1: val is not a tuple (e.g., an integer)
val_not_tuple = 5

ARGS = {
    "val": val_not_tuple
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
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 1, dtype family int — 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
parse_range Ran
ran, honoured the contract we drafted
vccimaging/latent-imaging/models/genxl.py
code served (permissive licence) · get_code("3f8813b5f97eb990")
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 list, ndim 1, dtype family int; 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 re
from typing import List, Union

def parse_range(s: Union[str, List]) -> List[int]:
    """Parse a comma separated list of numbers or ranges and return a list of ints.

    Example: '1,2,5-10' returns [1, 2, 5, 6, 7]
    """
    if isinstance(s, list):
        return s
    ranges = []
    range_re = re.compile('^(\\d+)-(\\d+)$')
    for p in s.split(','):
        m = range_re.match(p)
        if m:
            ranges.extend(range(int(m.group(1)), int(m.group(2)) + 1))
        else:
            ranges.append(int(p))
    return ranges


ARGS = {
    "s": "1,2,5-10"
}
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 list, ndim 1, dtype family int — a list 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
parse_vec2 Ran
ran, honoured the contract we drafted
vccimaging/latent-imaging/models/genxl.py
code served (permissive licence) · get_code("bb8fbfc8d2ae9441")
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 1, 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
import numpy as np
from typing import Tuple, Union

torch.manual_seed(0)

ARGS = {
    "s": "1.5,2.5"
}
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 tuple, ndim 1, 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

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, 7 are also present in other papers whose code we hold (7 with at least one paper dated earlier, 0 the same month, 1 later) and 0 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
exists 486 other papers
432 dated earlier, 21 later, 31 same year, order not determinable, 2 undated · 78 only as an assembly brick
1603.08155 (2016-03)
Perceptual Losses for Real-Time Style Transfer and Super-Resolution
1611.07004 (2016-11)
Image-to-Image Translation with Conditional Adversarial Networks
1804.04637 (2018-04)
EMBER: An Open Dataset for Training Static PE Malware Machine Learning Models
and 483 more not named here
get_keys 14 other papers
14 dated earlier
2008.00951 (2020-08)
Encoding in Style: a StyleGAN Encoder for Image-to-Image Translation
2011.12799 (2020-11)
StyleSpace Analysis: Disentangled Controls for StyleGAN Image Generation
2103.17249 (2021-03)
StyleCLIP: Text-Driven Manipulation of StyleGAN Imagery
and 11 more not named here
parse_vec2 11 other papers
10 dated earlier, 1 same year, order not determinable
2106.12423 (2021-06)
Alias-Free Generative Adversarial Networks
2112.07945 (2021-12)
Efficient Geometry-aware 3D Generative Adversarial Networks
2202.00273 (2022-02)
StyleGAN-XL: Scaling StyleGAN to Large Diverse Datasets
and 8 more not named here
parse_range 9 other papers
7 dated earlier, 2 same year, order not determinable
2106.12423 (2021-06)
Alias-Free Generative Adversarial Networks
2202.00273 (2022-02)
StyleGAN-XL: Scaling StyleGAN to Large Diverse Datasets
2206.07695 (2022-06)
VoxGRAF: Fast 3D-Aware Image Synthesis with Sparse Voxel Grids
and 6 more not named here
make_transform 8 other papers
7 dated earlier, 1 same year, order not determinable
2106.12423 (2021-06)
Alias-Free Generative Adversarial Networks
2112.07945 (2021-12)
Efficient Geometry-aware 3D Generative Adversarial Networks
2202.00273 (2022-02)
StyleGAN-XL: Scaling StyleGAN to Large Diverse Datasets
and 5 more not named here
pair 3 other papers
3 dated earlier
2105.03404 (2021-05)
ResMLP: Feedforward networks for image classification with data-efficient training
2105.08050 (2021-05)
Pay Attention to MLPs
2402.12192 (2024-02)
Pan-Mamba: Effective pan-sharpening with State Space Model
dropout_layers 2 other papers
2 dated earlier
2105.08050 (2021-05)
Pay Attention to MLPs
2110.07749 (2021-10)
Attention-Free Keyword Spotting

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

Figure 1. We propose an extremely-compressed imaging paradigm called Latent Space Imaging (LSI). The optical encoder (O) projects the real signal into a compressed set of measurements. A digital encoder (D θ ) then maps this signal to the latent space (L) of a frozen generative model (G), enabling image reconstruction. The L can also be linearly projected (P ) to perform downstream tasks directly-such as facial segmentation (PS), landmark detection (PL), and attribute classification (PA)-without requiring image reconstruction or a complex new model.

For agents

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

get_harvested_code_for_paper("Souza_Latent_Space_Imaging_CVPR_2025_paper")
get_code_for_paper("Souza_Latent_Space_Imaging_CVPR_2025_paper")
have("Souza_Latent_Space_Imaging_CVPR_2025_paper")

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

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

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

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

Connect an agent — have() is free.