SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2506.09625 · ICML · 2025

GLGENN: A Novel Parameter-Light Equivariant Neural Networks Architecture Based on Clifford Geometric Algebras

Ekaterina Filimoshina, Dmitry Shirokov

arXiv · PDF · Open in the Atlas

Code that ran

7 of 8 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, 1 violated it and 2 have no contract verdict; 2 failures of our instrument; 1 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/2506.09625.json · badge: /api/ran/2506.09625.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
katyafilimoshina/glgenn canonical (classifier label)
classifier basis not recorded on the link
7 ran · 1 no recorded run
FunctionStatusWhere it lives
all_gather Ran
ran on a synthesized input
katyafilimoshina/glgenn/engineer/metrics/metrics.py
code served (permissive licence) · get_code("f4530ba2dcd9da22")
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 function. 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 os

torch.manual_seed(0)

# Create a minimal metric class with a collection attribute
class SimpleMetric:
    def __init__(self, collection):
        self.collection = collection

# Test compute function that returns the metric
def simple_compute(metric):
    return metric

# Create test collections with different types
tensor_collection = torch.randn(2, 4)
list_collection = [torch.randn(2, 4), torch.randn(3, 5)]
dict_collection = {"tensor1": torch.randn(2, 4), "tensor2": torch.randn(3, 5)}
tuple_collection = (torch.randn(2, 4), torch.randn(3, 5))

# Create metric objects with each type of collection
metric_tensor = SimpleMetric(tensor_collection)
metric_list = SimpleMetric(list_collection)
metric_dict = SimpleMetric(dict_collection)
metric_tuple = SimpleMetric(tuple_collection)

# Make sure RANK is not set (non-distributed mode)
if 'RANK' in os.environ:
    del os.environ['RANK']

ARGS = {
    "compute": simple_compute
}
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 function — a function output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a function 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
canonical_reordering_sign Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
katyafilimoshina/glgenn/algebra/metric.py
code served (permissive licence) · get_code("2354e2c3c7b22d3c")
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.

# Analyze the function signature:
# canonical_reordering_sign(bitmap_a, bitmap_b, metric)
# 
# Parameters:
# - bitmap_a: int, used as a bitmap (bit operations)
# - bitmap_b: int, used as a bitmap (bit operations)
# - metric: indexable sequence, accessed by index i in a while loop
#   The metric is indexed up to the number of bits in bitmap_a and bitmap_b
#   Each metric[i] is multiplied into output_sign, so should be numeric

# Looking at the function body:
# - bitmap_a and bitmap_b are used with bitwise operations (>>, &, !=)
# - metric is indexed and values are multiplied (metric[i])
# - The function accesses metric indices based on bit positions

# Create small example bitmaps and a metric list
import torch

torch.manual_seed(0)

# bitmap_a and bitmap_b: small positive integers with some bits set
# Let's use 5 (binary 0101) and 3 (binary 0011) as examples
bitmap_a = 5  # binary: 0101
bitmap_b = 3  # binary: 0011

# metric: a list of numeric values, one for each possible bit position
# We need enough elements to cover the bits we're checking
# The maximum bit position we'll access is determined by bitmap_a and bitmap_b
# Let's create a metric with 8 elements (covers up to 8 bit positions)
metric = [1, -1, 1, -1, 1, -1, 1, -1]

ARGS = {
    "bitmap_a": bitmap_a,
    "bitmap_b": bitmap_b,
    "metric": metric,
}
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 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
canonical_reordering_sign_euclidean Ran
ran, honoured the contract we drafted
katyafilimoshina/glgenn/algebra/metric.py
code served (permissive licence) · get_code("d5c05c34d2e55a48")
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.

# Setup code for canonical_reordering_sign_euclidean

# Analyze the function:
# - bitmap_a: int - used with bitwise operations (>> 1)
# - bitmap_b: int - used with bitwise operations (& with a)
# Both parameters are integers representing bitmaps

# Create simple test cases with small integer bitmaps
bitmap_a = 0b1010  # binary: 1010 (decimal 10)
bitmap_b = 0b1100  # binary: 1100 (decimal 12)

ARGS = {
    "bitmap_a": bitmap_a,
    "bitmap_b": bitmap_b,
}
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 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
count_set_bits Ran
ran, honoured the contract we drafted
katyafilimoshina/glgenn/algebra/metric.py
code served (permissive licence) · get_code("a660d9bd93058229")
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

def set_bit_indices(x: int):
    """Iterate over the indices of bits set to 1 in `x`, in ascending order"""
    n = 0
    while x > 0:
        if x & 1:
            yield n
        x = x >> 1
        n = n + 1

def count_set_bits(bitmap: int) -> int:
    """Counts the number of bits set to 1 in bitmap"""
    count = 0
    for i in set_bit_indices(bitmap):
        count += 1
    return count

# Test with a few different bitmap values
# Binary: 0b1010 = 10 (bits at indices 1 and 3 are set)
# Binary: 0b1111 = 15 (bits at indices 0, 1, 2, 3 are set)
# Binary: 0b10101 = 21 (bits at indices 0, 2, 4 are set)

ARGS = {
    "bitmap": 21
}
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 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
detach_and_cast Ran
ran on a synthesized input
katyafilimoshina/glgenn/engineer/metrics/metrics.py
code served (permissive licence) · get_code("98fcb57849dc6bb2")
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

torch.manual_seed(0)

# Test case 1: Simple tensor input
tensor_input = torch.randn(2, 4)

# Test case 2: List of tensors
list_input = [torch.randn(2, 4), torch.randn(3, 5)]

# Test case 3: Dict of tensors
dict_input = {
    'a': torch.randn(2, 4),
    'b': torch.randn(3, 5),
    'nested': {'c': torch.randn(1, 2)}
}

# Test case 4: Tuple of tensors
tuple_input = (torch.randn(2, 4), torch.randn(3, 5))

# Use the tensor input as the primary test
ARGS = {
    'input': tensor_input,
    'device': 'cpu',
    'detach': True
}
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
unsorted_segment_mean Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
katyafilimoshina/glgenn/models/nbody_glgenn_gnn.py
code served (permissive licence) · get_code("bc66f19be57720e7")
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

torch.manual_seed(0)

# Create sample data tensor with shape (batch_size, feature_dim)
# Using distinct sizes: 2 for batch, 4 for features
data = torch.randn(2, 4)

# Create segment_ids tensor that maps each data point to a segment
# Values should be in range [0, num_segments)
segment_ids = torch.tensor([0, 1])

# Number of segments to aggregate into
num_segments = 2

ARGS = {
    "data": data,
    "segment_ids": segment_ids,
    "num_segments": num_segments,
}
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
unsqueeze_like Ran
ran, violated the contract we drafted
katyafilimoshina/glgenn/models/nbody_glgenn_gnn.py
code served (permissive licence) · get_code("7b7e51ca2a20bbb8")
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 4, dtype family float, shape (1, 1, 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

torch.manual_seed(0)

# Create two tensors with different numbers of dimensions
# tensor: 2D tensor (batch=2, features=4)
tensor = torch.randn(2, 4)

# like: 4D tensor (batch=2, channels=3, height=5, width=6)
# This has 4 dimensions, so tensor needs to be unsqueezed 2 times
like = torch.randn(2, 3, 5, 6)

# dim parameter: controls where to insert the unsqueezes
dim = 0

ARGS = {
    "tensor": tensor,
    "like": like,
    "dim": dim,
}
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 4, dtype family float, shape (1, 1, 2, 4) — shape (1, 1, 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
gather Not yet run
unverified (harvested, no recorded run)
katyafilimoshina/glgenn/engineer/metrics/metrics.py
code served (permissive licence) · get_code("7e5690a84b931458")
How it ran

no invocation recorded.

Also present in other papers' code

Of 8 samples lifted from this paper's linked repositories, 8 carry a function identity and 0 do not. Of the 8 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, 1 later) and 3 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
unsorted_segment_mean 20 other papers
18 dated earlier, 2 later · 1 only as an assembly brick
1810.04805 (2018-10)
BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
2102.09844 (2021-02)
E(n) Equivariant Graph Neural Networks
2110.14811 (2021-10)
SE(3) Equivariant Graph Neural Networks with Complete Local Frames
and 17 more not named here
unsqueeze_like 2 other papers
2 dated earlier
2402.10011 (2024-02)
Clifford Group Equivariant Simplicial Message Passing Networks
2407.09926 (2024-07)
Metric Learning for Clifford Group Equivariant Neural Networks
canonical_reordering_sign 1 other paper
1 dated earlier
2407.09926 (2024-07)
Metric Learning for Clifford Group Equivariant Neural Networks
canonical_reordering_sign_euclidean 1 other paper
1 dated earlier
2407.09926 (2024-07)
Metric Learning for Clifford Group Equivariant Neural Networks
count_set_bits 1 other paper
1 dated earlier
2407.09926 (2024-07)
Metric Learning for Clifford Group Equivariant Neural Networks

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

We propose, implement, and compare with competitors a new architecture of equivariant neural networks based on geometric (Clifford) algebras: Generalized Lipschitz Group Equivariant Neural Networks (GLGENN). These networks are equivariant to all pseudo-orthogonal transformations, including rotations and reflections, of a vector space with any non-degenerate or degenerate symmetric bilinear form. We propose a weightsharing parametrization technique that takes into account the fundamental structures and operations of geometric algebras. Due to this technique, GLGENN architecture is parameter-light and has less tendency to overfitting than baseline equivariant models. GLGENN outperforms or matches competitors on several benchmarking equivariant tasks, including estimation of an equivariant function and a convex hull experiment, while using significantly fewer optimizable parameters.

For agents

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

get_harvested_code_for_paper("2506.09625")
get_code_for_paper("2506.09625")
have("2506.09625")

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

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

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

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

Connect an agent — have() is free.