SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2311.07143 · 2023

Learning Symmetrization for Equivariance with Orbit Distance Minimization

arXiv · PDF · Open in the Atlas

Code that ran

6 of 14 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; 1 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 5 failures of our instrument; 8 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.07143.json · badge: /api/ran/2311.07143.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
tiendatnguyen-vision/orbit-symmetrize canonical (classifier label)
classifier basis: census
6 ran · 8 no recorded run
FunctionStatusWhere it lives
batched_projection Ran
ran; our contract draft was wrong, not the code
tiendatnguyen-vision/orbit-symmetrize/RotatedMNIST/LPS_orbit/emlp-pytorch/emlp_pytorch/interface.py
code served (permissive licence) · get_code("9293b19c0e12cbb2")
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 (2, 4) 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

torch.manual_seed(0)

# Create small batched tensors for projection
# Shape: (batch_size, feature_dim)
# bu: vector to project onto
# bv: vector being projected
bu = torch.randn(2, 4)  # batch=2, dim=4
bv = torch.randn(2, 4)  # batch=2, dim=4

ARGS = {
    "bu": bu,
    "bv": bv,
}
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 (2, 4) — shape (2, 4) 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
find_ckpt_polylr Ran
ran; our contract draft was wrong, not the code
tiendatnguyen-vision/orbit-symmetrize/RotatedMNIST/LPS_orbit/saving.py
code served (permissive licence) · get_code("feb859834cf1de28")
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 PosixPath. 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 numpy as np
from pathlib import Path

class Args:
    def __init__(self):
        self.num_train = 1000
        self.seed = 42
        self.batch_size = 32
        self.lr = 0.001
        self.w_orbit = 0.1
        self.cnn_dropout = 0.5
        self.grad_clip = 1.0
        self.sample_size = 10
        self.gen_m = 5
        self.gen_ch = 16
        self.gen_L = 3
        self.gen_threshold = 0.5
        self.gen_dz = 0.1
        self.gen_z_scale = 1.0
        self.save_dir = "test_experiment"
        self.inference_id = 0
        self.epoch_id = -1

args = Args()

ARGS = {
    'args': args
}
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 PosixPath — a PosixPath output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a PosixPath 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
index_to_perm Ran
ran; our contract draft was wrong, not the code
tiendatnguyen-vision/orbit-symmetrize/RotatedMNIST/LPS_orbit/models/utils.py
code served (permissive licence) · get_code("f2cb7e3f9f8e40ff")
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 3, dtype family float, shape (2, 4, 4) 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 expects:
# - perms: a tensor of shape (B, N) containing indices
# The indices should be valid for gathering from eye matrix of size N×N

B = 2  # batch size
N = 4  # dimension size

# Create a tensor of shape (B, N) with valid indices (0 to N-1)
# These represent permutation indices
perms = torch.tensor([
    [0, 1, 2, 3],
    [3, 2, 1, 0]
], dtype=torch.long)

ARGS = {
    "perms": perms
}
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 3, dtype family float, shape (2, 4, 4) — shape (2, 4, 4) 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
lambertW Ran
ran, honoured the contract we drafted
tiendatnguyen-vision/orbit-symmetrize/RotatedMNIST/LPS_orbit/emlp-pytorch/emlp_pytorch/nn.py
code served (permissive licence) · get_code("51dbd44362e6fffd")
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 int, ndim 0, dtype family int, 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)

# Analyzing the function:
# - ch: used in comparison with (max_rank + 1) * d ** max_rank
#   appears to be a numeric value (int or float)
# - d: used in exponentiation d ** max_rank and multiplication
#   appears to be a numeric value (int or float)
# The function computes a Lambert W-like function returning an integer

# Valid test case: find max_rank where (max_rank + 1) * d^max_rank <= ch
# Example: ch=100, d=2
# max_rank=0: 1 * 2^0 = 1 <= 100 ✓, continue
# max_rank=1: 2 * 2^1 = 4 <= 100 ✓, continue
# max_rank=2: 3 * 2^2 = 12 <= 100 ✓, continue
# max_rank=3: 4 * 2^3 = 32 <= 100 ✓, continue
# max_rank=4: 5 * 2^4 = 80 <= 100 ✓, continue
# max_rank=5: 6 * 2^5 = 192 > 100 ✗, stop
# return 4

ARGS = {
    "ch": 100,
    "d": 2
}
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 int, ndim 0, dtype family int, 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
matrix_power_simple Ran
ran; our contract draft was wrong, not the code
tiendatnguyen-vision/orbit-symmetrize/RotatedMNIST/LPS_orbit/emlp-pytorch/emlp_pytorch/groups.py
code served (permissive licence) · get_code("9071e08c34a5feb3")
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 (4, 4) 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)

# Construct a small invertible matrix (4x4) for testing
# Use a simple invertible matrix by adding identity scaled
M = torch.eye(4) + 0.1 * torch.randn(4, 4)

# Create a scalar tensor for the power n
n = torch.tensor(3)

ARGS = {
    "M": M,
    "n": n
}
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 (4, 4) — shape (4, 4) 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
rel_err Ran
ran; our contract draft was wrong, not the code
tiendatnguyen-vision/orbit-symmetrize/RotatedMNIST/LPS_orbit/emlp-pytorch/emlp_pytorch/groups.py
code served (permissive licence) · get_code("71640ef09311bdf6")
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 two small tensors with the same shape
A = torch.randn(2, 4)
B = torch.randn(2, 4)

ARGS = {
    "A": A,
    "B": B,
}
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
LBface_swap Not yet run
unverified (harvested, no recorded run)
tiendatnguyen-vision/orbit-symmetrize/RotatedMNIST/LPS_orbit/emlp-pytorch/emlp_pytorch/datasets.py
code served (permissive licence) · get_code("e84057d06d04c719")
How it ran

no invocation recorded.

UBedge_flip Not yet run
unverified (harvested, no recorded run)
tiendatnguyen-vision/orbit-symmetrize/RotatedMNIST/LPS_orbit/emlp-pytorch/emlp_pytorch/datasets.py
code served (permissive licence) · get_code("4e7712cc3c4a2c90")
How it ran

no invocation recorded.

ULBcorner_rot Not yet run
unverified (harvested, no recorded run)
tiendatnguyen-vision/orbit-symmetrize/RotatedMNIST/LPS_orbit/emlp-pytorch/emlp_pytorch/datasets.py
code served (permissive licence) · get_code("3b86e1ff7ae6d8db")
How it ran

no invocation recorded.

batched_gram_schmidt Not yet run
unverified (harvested, no recorded run)
tiendatnguyen-vision/orbit-symmetrize/RotatedMNIST/LPS_orbit/emlp-pytorch/emlp_pytorch/interface.py
code served (permissive licence) · get_code("98b3fcdbaa43214e")
How it ran

no invocation recorded.

create_save_dir_onecylelr Not yet run
unverified (harvested, no recorded run)
tiendatnguyen-vision/orbit-symmetrize/RotatedMNIST/LPS_orbit/saving.py
code served (permissive licence) · get_code("6d50b5a6b5eceb06")
How it ran

no invocation recorded.

create_save_dir_polylr Not yet run
unverified (harvested, no recorded run)
tiendatnguyen-vision/orbit-symmetrize/RotatedMNIST/LPS_orbit/saving.py
code served (permissive licence) · get_code("d4a1c59b2943f7e7")
How it ran

no invocation recorded.

noise2sample Not yet run
unverified (harvested, no recorded run)
tiendatnguyen-vision/orbit-symmetrize/RotatedMNIST/LPS_orbit/emlp-pytorch/emlp_pytorch/groups.py
code served (permissive licence) · get_code("770eda0d8a367d7e")
How it ran

no invocation recorded.

uniform_rep Not yet run
unverified (harvested, no recorded run)
tiendatnguyen-vision/orbit-symmetrize/RotatedMNIST/LPS_orbit/emlp-pytorch/emlp_pytorch/nn.py
code served (permissive licence) · get_code("83e6b256b03b5a52")
How it ran

no invocation recorded.

Also present in other papers' code

Of 14 samples lifted from this paper's linked repositories, 14 carry a function identity and 0 do not. Of the 14 distinct functions with an identity, 5 are also present in other papers whose code we hold (5 with at least one paper dated earlier, 0 the same month, 0 later) and 9 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
batched_gram_schmidt 1 other paper
1 dated earlier
1910.01465 (2019-10)
Reducing Overestimation Bias in Multi-Agent Domains Using Double Centralized Critics
batched_projection 1 other paper
1 dated earlier
1910.01465 (2019-10)
Reducing Overestimation Bias in Multi-Agent Domains Using Double Centralized Critics
matrix_power_simple 1 other paper
1 dated earlier
1910.01465 (2019-10)
Reducing Overestimation Bias in Multi-Agent Domains Using Double Centralized Critics
noise2sample 1 other paper
1 dated earlier
1910.01465 (2019-10)
Reducing Overestimation Bias in Multi-Agent Domains Using Double Centralized Critics
rel_err 1 other paper
1 dated earlier
1910.01465 (2019-10)
Reducing Overestimation Bias in Multi-Agent Domains Using Double Centralized Critics

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

We present a general framework for symmetrizing an arbitrary neural-network architecture and making it equivariant with respect to a given group. We build upon the proposals of Kim et al. (2023); Kaba et al. (2023) for symmetrization, and improve them by replacing their conversion of neural features into group representations, with an optimization whose loss intuitively measures the distance between group orbits. This change makes our approach applicable to a broader range of matrix groups, such as the Lorentz group O(1, 3), than these two proposals. We experimentally show our method's competitiveness on the SO(2) image classification task, and also its increased generality on the task with O(1, 3). Our implementation will be made accessible at https://github.com/tiendatnguyen-vision/Orbit-symmetrize.

For agents

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

get_harvested_code_for_paper("2311.07143")
get_code_for_paper("2311.07143")
have("2311.07143")

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

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

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

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

Connect an agent — have() is free.