SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2605.11743 · ICML · 2026

WorldComp2D: Spatio-semantic Representations of Object Identity and Location from Local Views

Seongmin Jin, Doo Jeong

arXiv · PDF · Open in the Atlas

Code that ran

6 of 11 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 5 have no contract verdict; 1 failure of our instrument; 5 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/2605.11743.json · badge: /api/ran/2605.11743.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
JinSeongmin/WorldComp2D community
Papers with Code archive
6 ran · 5 no recorded run
FunctionStatusWhere it lives
Auxiliary_localizer Ran
ran on a synthesized input
JinSeongmin/WorldComp2D/Networks/Auxiliary_localizer/Networks.py
code served (permissive licence) · get_code("493049ddf31a5a23")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned Tensor, ndim 4, dtype family float, shape (2, 1, 8, 8) 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 torch.nn as nn

# Define the classes from the provided code
class DWBlock(nn.Module):
    def __init__(self, c, groups):
        super().__init__()
        self.dw = nn.Conv2d(c, c, 3, padding=1, groups=c, bias=False)
        self.pw = nn.Conv2d(c, c, 1, bias=False)
        self.gn = nn.GroupNorm(num_groups=groups, num_channels=c)
        self.act = nn.SiLU()

    def forward(self, x):
        y = self.dw(x)
        y = self.pw(y)
        y = self.gn(y)
        y = self.act(y)
        return x + y

def param_init(model):
    for m in model.modules():
        if isinstance(m, nn.Conv2d):
            nn.init.normal_(m.weight.data, 0, 0.01)
        if isinstance(m, nn.ConvTranspose2d):
            nn.init.normal_(m.weight.data, 0, 0.01)
        elif isinstance(m, nn.BatchNorm2d):
            nn.init.constant_(m.weight.data, 1)
            nn.init.constant_(m.bias.data, 0)
        elif isinstance(m, nn.Linear):
            nn.init.normal_(m.weight.data, 0, 0.01)
            if m.bias != None:
                nn.init.constant_(m.bias.data, 0)
        elif isinstance(m, nn.BatchNorm1d):
            nn.init.constant_(m.weight.data, 1)
            nn.init.constant_(m.bias.data, 0)

class Auxiliary_localizer(nn.Module):
    def __init__(self, aux_loc_channel):
        super(Auxiliary_localizer, self).__init__()
        self.stem = nn.Sequential(nn.Conv2d(aux_loc_channel, 24, 3, padding=1, bias=False), nn.GroupNorm(num_groups=6, num_channels=24), nn.SiLU())
        self.blocks = nn.Sequential(*[DWBlock(c=24, groups=6) for _ in range(4)])
        self.head = nn.Conv2d(24, 1, 1)
        param_init(self)

    def forward(self, o):
        o = self.stem(o)
        o = self.blocks(o)
        return self.head(o)

# Setup arguments
INIT_ARGS = {
    'aux_loc_channel': 3
}

ARGS = {
    'o': torch.randn(2, 3, 8, 8)
}

# Construct and call
model = Auxiliary_localizer(**INIT_ARGS)
output = model(**ARGS)
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
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 4, dtype family float, shape (2, 1, 8, 8) — shape (2, 1, 8, 8) 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: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
DWBlock Ran
ran on a synthesized input
JinSeongmin/WorldComp2D/Networks/Auxiliary_localizer/Networks.py
code served (permissive licence) · get_code("effad80e94a3ce2a")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned Tensor, ndim 4, dtype family float, shape (2, 4, 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 torch
import torch.nn as nn

class DWBlock(nn.Module):

    def __init__(self, c, groups):
        super().__init__()
        self.dw = nn.Conv2d(c, c, 3, padding=1, groups=c, bias=False)
        self.pw = nn.Conv2d(c, c, 1, bias=False)
        self.gn = nn.GroupNorm(num_groups=groups, num_channels=c)
        self.act = nn.SiLU()

    def forward(self, x):
        y = self.dw(x)
        y = self.pw(y)
        y = self.gn(y)
        y = self.act(y)
        return x + y


INIT_ARGS = {
    'c': 4,
    'groups': 2,
}

ARGS = {
    'x': torch.randn(2, 4, 3, 3),
}

if __name__ == '__main__':
    block = DWBlock(**INIT_ARGS)
    output = block(**ARGS)
    print(f"Output shape: {output.shape}")
    print(f"Expected shape: {ARGS['x'].shape}")
    assert output.shape == ARGS['x'].shape, "Shape mismatch!"
    print("Success!")
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
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 4, dtype family float, shape (2, 4, 3, 3) — shape (2, 4, 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: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
Localizer Ran
ran on a synthesized input
JinSeongmin/WorldComp2D/Networks/Auxiliary_localizer/Networks.py
code served (permissive licence) · get_code("4fc8f06a2307b305")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned Tensor, ndim 3, dtype family float, shape (2, 3, 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
import torch.nn as nn
import torch.nn.functional as F

class fc_layer_module(nn.Module):

    def __init__(self, in_dim, out_dim, bias=False):
        super(fc_layer_module, self).__init__()
        self.fc = nn.Linear(in_dim, out_dim, bias)
        self.bat = nn.BatchNorm1d(out_dim)
        self.act = nn.ReLU(inplace=True)

    def forward(self, x):
        x = self.fc(x)
        x = self.bat(x)
        x = self.act(x)
        return x

def param_init(model):
    for m in model.modules():
        if isinstance(m, nn.Conv2d):
            nn.init.normal_(m.weight.data, 0, 0.01)
        if isinstance(m, nn.ConvTranspose2d):
            nn.init.normal_(m.weight.data, 0, 0.01)
        elif isinstance(m, nn.BatchNorm2d):
            nn.init.constant_(m.weight.data, 1)
            nn.init.constant_(m.bias.data, 0)
        elif isinstance(m, nn.Linear):
            nn.init.normal_(m.weight.data, 0, 0.01)
            if m.bias != None:
                nn.init.constant_(m.bias.data, 0)
        elif isinstance(m, nn.BatchNorm1d):
            nn.init.constant_(m.weight.data, 1)
            nn.init.constant_(m.bias.data, 0)

class Localizer(nn.Module):

    def __init__(self, n_l):
        super(Localizer, self).__init__()
        self.n_l = n_l
        self.head = nn.Sequential(fc_layer_module(9 * (256 + 2), 512), fc_layer_module(512, 512), nn.Linear(512, n_l * 2))
        param_init(self)

    def forward(self, z_ft_coord):
        landmark_coords = self.head(z_ft_coord)
        landmark_coords = F.tanh(landmark_coords).view(-1, self.n_l, 2)
        return landmark_coords

INIT_ARGS = {
    'n_l': 3
}

ARGS = {
    'z_ft_coord': torch.randn(2, 9 * (256 + 2))
}

if __name__ == '__main__':
    model = Localizer(**INIT_ARGS)
    output = model(**ARGS)
    print(f"Output shape: {output.shape}")
    print(f"Expected shape: (2, {INIT_ARGS['n_l']}, 2)")
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
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 3, dtype family float, shape (2, 3, 2) — shape (2, 3, 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: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
conv_layer_module Ran
ran on a synthesized input
JinSeongmin/WorldComp2D/Networks/Auxiliary_localizer/Networks.py
code served (permissive licence) · get_code("6a4285dd3da2c387")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned Tensor, ndim 4, dtype family float, shape (2, 4, 8, 8) 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 torch.nn as nn

class conv_layer_module(nn.Module):

    def __init__(self, in_ch, out_ch, k, s, p, bias=False):
        super(conv_layer_module, self).__init__()
        self.conv = nn.Conv2d(in_channels=in_ch, out_channels=out_ch, kernel_size=k, stride=s, padding=p, bias=bias)
        self.bat = nn.BatchNorm2d(out_ch)
        self.act = nn.ReLU(inplace=True)

    def forward(self, x):
        x = self.conv(x)
        x = self.bat(x)
        x = self.act(x)
        return x


INIT_ARGS = {
    'in_ch': 3,
    'out_ch': 4,
    'k': 3,
    's': 1,
    'p': 1,
    'bias': False
}

ARGS = {
    'x': torch.randn(2, 3, 8, 8)
}

module = conv_layer_module(**INIT_ARGS)
output = module(**ARGS)
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
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 4, dtype family float, shape (2, 4, 8, 8) — shape (2, 4, 8, 8) 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: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
fc_layer_module Ran
ran on a synthesized input
JinSeongmin/WorldComp2D/Networks/Auxiliary_localizer/Networks.py
code served (permissive licence) · get_code("5f7c1553f220de51")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned Tensor, ndim 2, dtype family float, shape (2, 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 torch
import torch.nn as nn

class fc_layer_module(nn.Module):

    def __init__(self, in_dim, out_dim, bias=False):
        super(fc_layer_module, self).__init__()
        self.fc = nn.Linear(in_dim, out_dim, bias)
        self.bat = nn.BatchNorm1d(out_dim)
        self.act = nn.ReLU(inplace=True)

    def forward(self, x):
        x = self.fc(x)
        x = self.bat(x)
        x = self.act(x)
        return x


INIT_ARGS = {
    'in_dim': 4,
    'out_dim': 3,
    'bias': False
}

ARGS = {
    'x': torch.randn(2, 4)
}

if __name__ == '__main__':
    module = fc_layer_module(**INIT_ARGS)
    output = module(**ARGS)
    print(f"Output shape: {output.shape}")
    print(f"Output: {output}")
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
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 (2, 3) — shape (2, 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: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
load_proximity_dependent_encoder Ran
ran; our contract draft was wrong, not the code
JinSeongmin/WorldComp2D/Networks/Auxiliary_localizer/Networks.py
code served (permissive licence) · get_code("7ce2362fafcbd1c4")
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. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is 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 unittest.mock import patch, MagicMock

torch.manual_seed(0)

# Create minimal encoder modules
class MinimalEncoder(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear = nn.Linear(4, 3)
    
    def forward(self, x):
        return self.linear(x)

# Create encoder instances
enc_1 = MinimalEncoder()
enc_2 = MinimalEncoder()
enc_3 = MinimalEncoder()

# Create mock state dict with matching keys
state_dict_1 = enc_1.state_dict()
state_dict_2 = enc_2.state_dict()
state_dict_3 = enc_3.state_dict()

mock_state = {
    'enc_1': state_dict_1,
    'enc_2': state_dict_2,
    'enc_3': state_dict_3
}

# Mock torch.load to return our mock state without file I/O
def mock_torch_load(path, map_location=None):
    return mock_state

# Apply the mock patch
torch.load = mock_torch_load

ARGS = {
    'task': 'test_task',
    'enc_1': enc_1,
    'enc_2': enc_2,
    'enc_3': enc_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 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
Proximity_dependent_encoder Not yet run
unverified (harvested, no recorded run)
JinSeongmin/WorldComp2D/Networks/Auxiliary_localizer/Networks.py
code served (permissive licence) · get_code("a8079fb2297c3985")
How it ran

no invocation recorded.

framework_making Not yet run
unverified (harvested, no recorded run)
JinSeongmin/WorldComp2D/Networks/Auxiliary_localizer/Networks.py
code served (permissive licence) · get_code("d777ad232bb31f73")
How it ran

no invocation recorded.

load_landmark_coordinate_prior Not yet run
unverified (harvested, no recorded run)
JinSeongmin/WorldComp2D/Networks/Auxiliary_localizer/Networks.py
code served (permissive licence) · get_code("45c48d5469a4a304")
How it ran

no invocation recorded.

load_localizer Not yet run
unverified (harvested, no recorded run)
JinSeongmin/WorldComp2D/Networks/Auxiliary_localizer/Networks.py
code served (permissive licence) · get_code("b30c75a673c78a04")
How it ran

no invocation recorded.

param_init Not yet run
unverified (harvested, no recorded run)
JinSeongmin/WorldComp2D/Networks/Auxiliary_localizer/Networks.py
code served (permissive licence) · get_code("0aacc5292362d91e")
How it ran

no invocation recorded.

Also present in other papers' code

Of 11 samples lifted from this paper's linked repositories, 11 carry a function identity and 0 do not. Of the 11 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 11 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

Learning latent representations that capture both semantic and spatial information is central to efficient spatio-semantic reasoning. However, many existing approaches rely on implicit latent structures combined with dense feature maps or task-specific heads, limiting computational efficiency and flexibility. We propose World-Comp2D, a novel lightweight representation learning framework that explicitly structures latent space geometry according to object identity and spatial proximity using multiscale local receptive fields. This framework consists of (i) a proximity-dependent encoder that maps a given observation into a spatio-semantic latent space and (ii) a localizer that infers the coordinates of objects in the input from the resulting spatio-semantic representation. Using facial landmark localization as a proof-of-concept, we show that, compared to SoTA lightweight models, WorldComp2D reduces the numbers of parameters and FLOPs by up to 4.0× and 2.2×, respectively, while maintaining real-time performance on CPU. These results demonstrate that explicitly structured latent spaces provide an efficient and general foundation for spatio-semantic reasoning. This framework is open-sourced at https://github.com/JinSeongmin/WorldComp2D.

For agents

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

get_harvested_code_for_paper("2605.11743")
get_code_for_paper("2605.11743")
have("2605.11743")

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

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

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

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

Connect an agent — have() is free.