SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2606.07058 · 2026

Constructing VAE Latent Spaces with Prescribed Topology

Jakub Tomczak, Jilles Van Hulst, Maurice Heemels, Duarte Antunes

arXiv · PDF · Open in the Atlas

Code that ran

13 of 17 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; 4 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 9 failures of our instrument; 4 no recorded run), measured 2026-11-23; 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/2606.07058.json · badge: /api/ran/2606.07058.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
JvHulst/VAE-Topology canonical (classifier label)
classifier basis: census
13 ran · 4 no recorded run
FunctionStatusWhere it lives
build_cnn_decoder Ran
ran; our contract draft was wrong, not the code
JvHulst/VAE-Topology/topovae/layers.py
pointer only (licence: NONE) · get_code("9f30648af50f3d54")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, JvHulst/VAE-Topology 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.

build_cnn_encoder Ran
ran; our contract draft was wrong, not the code
JvHulst/VAE-Topology/topovae/layers.py
pointer only (licence: NONE) · get_code("701b645dc5f5cffe")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, JvHulst/VAE-Topology 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.

build_mlp Ran
ran; our contract draft was wrong, not the code
JvHulst/VAE-Topology/topovae/layers.py
pointer only (licence: NONE) · get_code("d3ceea825bc3aaaa")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, JvHulst/VAE-Topology 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.

find_canonical_circle_anchors Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
JvHulst/VAE-Topology/experiments/mnist/anchors.py
pointer only (licence: NONE) · get_code("82f7a6b589c995ab")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, JvHulst/VAE-Topology 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.

find_canonical_torus_anchors Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
JvHulst/VAE-Topology/experiments/mnist/anchors.py
pointer only (licence: NONE) · get_code("173f54bcdd3edb63")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, JvHulst/VAE-Topology 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.

geodesic_distance Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
JvHulst/VAE-Topology/topovae/evaluate.py
pointer only (licence: NONE) · get_code("1e9f549c89982e6e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, JvHulst/VAE-Topology 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.

image_grid_height Ran
ran, honoured the contract we drafted
JvHulst/VAE-Topology/experiments/_panels.py
pointer only (licence: NONE) · get_code("87618a19ddf19bc8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, JvHulst/VAE-Topology 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.

image_strip_height Ran
ran, honoured the contract we drafted
JvHulst/VAE-Topology/experiments/_panels.py
pointer only (licence: NONE) · get_code("bcf7c048b9deaef8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, JvHulst/VAE-Topology 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.

label3d_pad Ran
ran, honoured the contract we drafted
JvHulst/VAE-Topology/experiments/_style.py
pointer only (licence: NONE) · get_code("6fd0c05ff0f82f1d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, JvHulst/VAE-Topology 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.

make_image_aware_figure Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
JvHulst/VAE-Topology/experiments/_panels.py
pointer only (licence: NONE) · get_code("2ee41728ae4fa311")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, JvHulst/VAE-Topology 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.

make_mnist_loaders Ran
ran; our contract draft was wrong, not the code
JvHulst/VAE-Topology/experiments/mnist/data.py
pointer only (licence: NONE) · get_code("1a2dc18ccc230207")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, JvHulst/VAE-Topology 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.

panel_title Ran
ran; our contract draft was wrong, not the code
JvHulst/VAE-Topology/experiments/_style.py
pointer only (licence: NONE) · get_code("ddfe30416a0a5392")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, JvHulst/VAE-Topology 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.

scale_fonts_to_page Ran
ran, honoured the contract we drafted
JvHulst/VAE-Topology/experiments/_style.py
pointer only (licence: NONE) · get_code("b514c6156490904e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, JvHulst/VAE-Topology 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.

compute_all_metrics Not yet run
unverified (harvested, no recorded run)
JvHulst/VAE-Topology/topovae/evaluate.py
pointer only (licence: NONE) · get_code("6d93c0350e91c42c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, JvHulst/VAE-Topology 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.

compute_mnist_metrics Not yet run
unverified (harvested, no recorded run)
JvHulst/VAE-Topology/topovae/evaluate.py
pointer only (licence: NONE) · get_code("d182f6687cd24492")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, JvHulst/VAE-Topology 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.

make_rotated_mnist_data Not yet run
unverified (harvested, no recorded run)
JvHulst/VAE-Topology/experiments/mnist/data.py
pointer only (licence: NONE) · get_code("44e46609c8dcf082")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, JvHulst/VAE-Topology 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.

make_shifted_mnist_data Not yet run
unverified (harvested, no recorded run)
JvHulst/VAE-Topology/experiments/mnist/data.py
pointer only (licence: NONE) · get_code("f347aeace68abc4a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, JvHulst/VAE-Topology 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.

Also present in other papers' code

Of 17 samples lifted from this paper's linked repositories, 17 carry a function identity and 0 do not. Of the 17 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 17 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.

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

Variational autoencoders (VAEs) learn lowdimensional latent representations of high-dimensional data. When the data lies on a manifold with non-Euclidean topology, the standard Gaussian prior introduces a topological mismatch that degrades reconstruction quality and prevents faithful representation. We present a constructive mathematical framework that resolves this mismatch for all manifolds that admit a product covering space. These are manifolds expressible as products of elementary factors (circles, intervals, or lines) or as quotients of such products by a finite symmetry group. The class includes cylinders, tori, Möbius strips, Klein bottles, and real projective spaces. Factorized distributions over the elementary factors yield product topologies with closed-form, decoupled KL divergences, so that each latent factor can be shaped independently while keeping training tractable. We catalogue reparametrizable encoder-prior pairs for periodic, bounded, and unbounded supports, and provide coordinate transformations that allow standard neural networks to output non-Euclidean parameters with smooth gradients. For quotient manifolds, the decoder receives group-invariant features of the covering-space coordinates, so that identified points produce identical outputs. Anchor constraints fix the coordinate system relative to the data or create soft topological holes. Experiments on synthetic manifolds and real-image datasets (rotated and cyclically shifted MNIST) confirm that a topology-matched prior aligns KL regularization with the data manifold. The resulting topology-aware models outperform the Gaussian baseline at all practically relevant regularization strengths. The code is available at https://github.com/JvHulst/VAE-Topology.

For agents

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

get_harvested_code_for_paper("2606.07058")
get_code_for_paper("2606.07058")
have("2606.07058")

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

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

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

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

Connect an agent — have() is free.