SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2111.12139 · NeurIPS · 2021

ChebLieNet: Invariant Spectral Graph NNs Turned Equivariant by Riemannian Geometry on Lie Groups

Erik Bekkers, Hugo Aguettaz

arXiv · PDF · Open in the Atlas

Code that ran

9 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 4 have no contract verdict; 5 failures of our instrument; 2 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/2111.12139.json · badge: /api/ran/2111.12139.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
haguettaz/cheblienet canonical (classifier label)
classifier basis: classifier_2025
9 ran · 2 no recorded run
FunctionStatusWhere it lives
ChebConv Ran
ran on a synthesized input
haguettaz/cheblienet/cheblienet/nn/models/chebnets.py
code served (permissive licence) · get_code("300fe08b3d363b49")
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, 4, 5) 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
from torch import nn

# Mock Graph class for testing
class MockGraph:
    def __init__(self, num_vertices):
        self.num_vertices = num_vertices
        # Create a simple normalized Laplacian (identity scaled)
        self.laplacian_matrix = torch.eye(num_vertices) * 0.5
    
    def get_laplacian(self, rescale=True, device='cpu'):
        return self.laplacian_matrix.to(device)

def cheb_conv(x, weights, laplacian=None):
    """
    A Chebyschev convolution as defined in https://arxiv.org/pdf/1606.09375.pdf

    Args:
        x (`torch.FloatTensor`): data input in format (B, Cin, V).
        weights (`torch.FloatTensor`): layer's weights in format (R, Cin, Cout).
        laplacian (`torch.sparse.FloatTensor`, optional): symmetric normalized laplacian. Defaults to None

    Raises:
        ValueError: the graph laplacian can only be None if R == 1.

    Returns:
        (`torch.FloatTensor`): convolved data input in format (V, B, Cout).
    """
    B, Cin, V = x.shape
    R, _, _ = weights.shape
    if laplacian is None and R > 1:
        raise ValueError(f"Can't perform Chebyschev convolution without laplacian if R > 1")
    x0 = x.permute(2, 0, 1).contiguous().view(V, B * Cin)
    x = x0.unsqueeze(0)
    if R > 1:
        x1 = torch.mm(laplacian, x0)
        x = torch.cat((x, x1.unsqueeze(0)), 0)
        for _ in range(2, R):
            x2 = 2 * torch.mm(laplacian, x1) - x0
            x = torch.cat((x, x2.unsqueeze(0)), 0)
            x0, x1 = (x1, x2)
    x = x.contiguous().view(R, V, B, Cin)
    x = torch.tensordot(x, weights, dims=([0, 3], [0, 1]))
    return x

class ChebConv(nn.Module):
    """
    A Chebyschev convolutional layer.
    """

    def __init__(self, in_channels, out_channels, kernel_size, graph, bias=True):
        """
        Args:
            graph (Graph): graph.
            in_channels (int): number of input channels.
            out_channels (int): number of output channels.
            kernel_size (int): order of the Chebyshev polynomials.
            bias (bool, optional): True if bias in the convolution. Defaults to True.

        Raises:
            ValueError: the kernel size must be strictly positive.
        """
        super().__init__()
        if kernel_size < 1:
            raise ValueError(f'{kernel_size} is not a valid value for kernel_size: must be strictly positive')
        self.graph = graph
        self.in_channels = in_channels
        self.out_channels = out_channels
        self.kernel_size = kernel_size
        self.weight = nn.Parameter(torch.FloatTensor(kernel_size, in_channels, out_channels))
        nn.init.kaiming_normal_(self.weight, mode='fan_in')
        if bias:
            self.bias = nn.Parameter(torch.FloatTensor(out_channels))
            nn.init.constant_(self.bias, 0.01)
        else:
            self.register_parameter('bias', None)

    def forward(self, x):
        """
        Args:
            x (`torch.Tensor`): input tensor.

        Returns:
            (`torch.Tensor`): convolved tensor.
        """
        laplacian = self.graph.get_laplacian(rescale=True, device=x.device)
        x = cheb_conv(x, self.weight, laplacian)
        if self.bias is not None:
            x += self.bias
        x = x.permute(1, 2, 0).contiguous()
        return x

    def extra_repr(self):
        """
        Extra representation of the Chebyschev convolutional layer.

        Returns:
            (str): extra representation.
        """
        s = 'in_channels={in_channels}, out_channels={out_channels}, kernel_size={kernel_size}'
        if self.bias is None:
            s += ', bias=False'
        else:
            s += ', bias=True'
        return s.format(**self.__dict__)


# Setup code
graph = MockGraph(num_vertices=5)

INIT_ARGS = {
    'in_channels': 3,
    'out_channels': 4,
    'kernel_size': 2,
    'graph': graph,
    'bias': True
}

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

# Construct and call
model = ChebConv(**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 3, dtype family float, shape (2, 4, 5) — shape (2, 4, 5) 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)
GlobalPool Ran
ran on a synthesized input
haguettaz/cheblienet/cheblienet/nn/models/chebnets.py
code served (permissive licence) · get_code("8114de26d1e74e04")
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, 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
from torch import nn

def avg_pool(x, index=None):
    if index is None:
        return x.mean(dim=-1)
    return x[..., index].mean(dim=-1)

def max_pool(x, index=None):
    if index is None:
        out, _ = x.max(dim=-1)
        return out
    out, _ = x[..., index].max(dim=-1)
    return out

def rand_pool(x, index=None):
    if index is None:
        raise NotImplementedError
    N, K = index.shape
    out = x[..., index[torch.arange(N), torch.randint(K, (N,))]]
    return out

class GlobalPool(nn.Module):
    """
    A global pooling layer, on spatial and orientation's dimensions.
    """

    def __init__(self, reduction):
        """
        Args:
            reduction (int): size of the graph, that is its number of .
        """
        super(GlobalPool, self).__init__()
        if reduction not in {'max', 'avg', 'rand'}:
            raise ValueError(f"{reduction} is not a valid value for reduction, must be 'max' 'avg' or 'rand'.")
        if reduction == 'rand':
            self.reduction = rand_pool
        elif reduction == 'max':
            self.reduction = max_pool
        else:
            self.reduction = avg_pool

    def forward(self, x):
        """
        Args:
            x (`torch.Tensor`): input tensor.

        Returns:
            (`torch.Tensor`): pooled tensor.
        """
        return self.reduction(x)


INIT_ARGS = {
    'reduction': 'avg'
}

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

if __name__ == '__main__':
    pool = GlobalPool(**INIT_ARGS)
    output = pool(**ARGS)
    print(f"Input shape: {ARGS['x'].shape}")
    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, 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: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
NetworkBlock Ran
ran on a synthesized input
haguettaz/cheblienet/cheblienet/nn/models/chebnets.py
code served (permissive licence) · get_code("e3858afd2801cd25")
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
from torch import nn

class SimpleConvBlock(nn.Module):
    """A simple convolutional block for testing."""
    def __init__(self, in_channels, out_channels, conv, kernel_size, *args, **kwargs):
        super(SimpleConvBlock, self).__init__()
        padding = kernel_size // 2
        self.conv = conv(in_channels, out_channels, kernel_size, padding=padding)
    
    def forward(self, x):
        return self.conv(x)

class NetworkBlock(nn.Module):
    """
    A neural network block consisting in a sequence of convolutional layer blocks.
    """

    def __init__(self, in_channels, out_channels, num_layers, block, conv, kernel_size, *args, **kwargs):
        """
        Args:
            in_channels (int): number of input channels.
            out_channels (int): number of output channels.
            num_layers (int): number of layers of the network block.
            block (`torch.nn.Module`): type of block constituting the network block.
            conv (`torch.nn.Module`): convolutional layer.
            kernel_size (int): kernel size.
        """
        super(NetworkBlock, self).__init__()
        self.layers = nn.Sequential(*[block(out_channels if i > 0 else in_channels, out_channels, conv, kernel_size, *args, **kwargs) for i in range(num_layers)])

    def forward(self, x):
        """
        Args:
            x (`torch.Tensor`): input tensor.

        Returns:
            (`torch.Tensor`): output tensor.
        """
        return self.layers(x)


INIT_ARGS = {
    'in_channels': 3,
    'out_channels': 4,
    'num_layers': 2,
    'block': SimpleConvBlock,
    'conv': nn.Conv2d,
    'kernel_size': 3,
}

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

if __name__ == '__main__':
    net = NetworkBlock(**INIT_ARGS)
    output = net(**ARGS)
    print(f"Input shape: {ARGS['x'].shape}")
    print(f"Output shape: {output.shape}")
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)
SE2SpatialPool Ran
ran on a synthesized input
haguettaz/cheblienet/cheblienet/nn/models/chebnets.py
code served (permissive licence) · get_code("17f2a6cb9755d2e9")
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, 18) 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
from torch import nn

def avg_pool(x, index=None):
    if index is None:
        return x.mean(dim=-1)
    return x[..., index].mean(dim=-1)

def max_pool(x, index=None):
    if index is None:
        out, _ = x.max(dim=-1)
        return out
    out, _ = x[..., index].max(dim=-1)
    return out

def rand_pool(x, index=None):
    if index is None:
        raise NotImplementedError
    N, K = index.shape
    out = x[..., index[torch.arange(N), torch.randint(K, (N,))]]
    return out

class SE2SpatialPool(nn.Module):
    """
    A SE(2) spatial pooling layer. Required the  to be ordered L, H, W.
    """

    def __init__(self, kernel_size, size, reduction):
        """
        Args:
            kernel_size (int): pooling reduction size.
            size (sequence of ints): size in format (nx, ny, ntheta)
            reduction (str): reduction operation.
        """
        super(SE2SpatialPool, self).__init__()
        if reduction not in {'max', 'avg', 'rand'}:
            raise ValueError(f"{reduction} is not a valid value for reduction, must be 'max' 'avg' or 'rand'.")
        self.index = self.get_reduction_index(size, kernel_size)
        if reduction == 'rand':
            self.reduction = rand_pool
        elif reduction == 'max':
            self.reduction = max_pool
        else:
            self.reduction = avg_pool
        self.shortcut = kernel_size == 1

    def get_reduction_index(self, size, kernel_size):
        nx, ny, ntheta = size
        Fin = nx * ny
        Fout = nx // kernel_size * ny // kernel_size
        x_idx = torch.arange(nx // kernel_size)
        y_idx = torch.arange(ny // kernel_size)
        grid_y, grid_x = torch.meshgrid(y_idx, x_idx)
        x_idx, y_idx = (grid_x.flatten(), grid_y.flatten())
        theta_index = torch.arange(ntheta)
        xy_index = torch.empty((Fout, kernel_size ** 2))
        for ikx in range(kernel_size):
            for iky in range(kernel_size):
                xy_index[:, ikx + iky * kernel_size] = x_idx * kernel_size + y_idx * kernel_size * nx + ikx + iky * nx
        index = theta_index[:, None, None] * Fin + xy_index[None, :, :]
        return index.reshape(-1, kernel_size ** 2).long()

    def forward(self, x):
        """
        Args:
            x (`torch.Tensor`): input tensor.

        Returns:
            (`torch.Tensor`): pooled tensor.
        """
        if self.shortcut:
            return x
        return self.reduction(x, self.index)


INIT_ARGS = {
    'kernel_size': 2,
    'size': (4, 6, 3),
    'reduction': 'max'
}

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

if __name__ == '__main__':
    module = SE2SpatialPool(**INIT_ARGS)
    output = module(**ARGS)
    print(f"Input shape: {ARGS['x'].shape}")
    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, 18) — shape (2, 18) 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)
avg_pool Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
haguettaz/cheblienet/cheblienet/nn/models/chebnets.py
code served (permissive licence) · get_code("45b0c7710b8150de")
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 1, dtype family float, shape (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

torch.manual_seed(0)

# Create a small tensor with shape (batch=2, feature_dim=4)
x = torch.randn(2, 4)

# Test case 1: index=None (should call x.mean(dim=-1))
ARGS = {
    "x": x,
    "index": None,
}
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 1, dtype family float, shape (2,) — shape (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: none by the harness; any seed is in the setup block
build_config Ran
ran; our contract draft was wrong, not the code
haguettaz/cheblienet/scripts/train_cifar10.py
code served (permissive licence) · get_code("c8a467e1a3fccd48")
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 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

torch.manual_seed(0)

ARGS = {
    'anisotropic': False,
    'pool': True
}
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 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
cheb_conv Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
haguettaz/cheblienet/cheblienet/nn/models/chebnets.py
code served (permissive licence) · get_code("1e0c4a74d41ae4c9")
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 (4, 2, 5) 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)

# Define small dimensions with distinct sizes
B = 2      # batch size
Cin = 3    # input channels
V = 4      # number of vertices
Cout = 5   # output channels
R = 3      # Chebyshev polynomial order

# Create input tensor (B, Cin, V)
x = torch.randn(B, Cin, V)

# Create weights tensor (R, Cin, Cout)
weights = torch.randn(R, Cin, Cout)

# Create a sparse symmetric normalized Laplacian (V, V)
# For a simple graph, create a symmetric matrix and normalize it
laplacian_dense = torch.randn(V, V)
laplacian_dense = (laplacian_dense + laplacian_dense.T) / 2  # make symmetric
# Normalize: L = I - D^{-1/2} A D^{-1/2}
# Simplified version: just use a sparse tensor
indices = torch.tensor([[0, 1, 2, 3], [0, 1, 2, 3]], dtype=torch.long)
values = torch.tensor([0.5, 0.5, 0.5, 0.5], dtype=torch.float)
laplacian = torch.sparse_coo_tensor(indices, values, (V, V)).coalesce()
# Convert to FloatTensor format that supports mm operation
laplacian = laplacian.to_dense()

ARGS = {
    "x": x,
    "weights": weights,
    "laplacian": laplacian,
}
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 (4, 2, 5) — shape (4, 2, 5) 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
max_pool Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
haguettaz/cheblienet/cheblienet/nn/models/chebnets.py
code served (permissive licence) · get_code("25e18b82d720cfc7")
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 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 a small tensor with shape (batch=2, features=4, sequence=3)
# The function calls x.max(dim=-1) or x[..., index].max(dim=-1)
# so we need at least 2 dimensions, with the last dimension being the one to reduce
x = torch.randn(2, 4, 3)

# index can be None or an integer indexing into the last dimension before max
index = None

ARGS = {
    "x": x,
    "index": index,
}
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 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
rand_pool Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
haguettaz/cheblienet/cheblienet/nn/models/chebnets.py
code served (permissive licence) · get_code("e81b3c4d71a047af")
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, 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 numpy as np

torch.manual_seed(0)

# Construct arguments for rand_pool function
# The function expects:
# - x: a tensor to index into (uses x[..., index[...]])
# - index: a 2D tensor of shape (N, K) containing indices

# Create a small input tensor x
# x will be indexed along the last dimension, so last dim should be >= max(index values)
x = torch.randn(2, 4, 8)  # shape: (2, 4, 8) - batch=2, features=4, indexable_dim=8

# Create index tensor of shape (N, K)
# N corresponds to batch size, K is the number of indices per batch element
N, K = 2, 5
index = torch.randint(0, 8, (N, K))  # values in range [0, 8) to match x's last dimension

ARGS = {
    'x': x,
    'index': index
}
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 Tensor, ndim 3, dtype family float, shape (2, 4, 2) — shape (2, 4, 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: none by the harness; any seed is in the setup block
ResidualBlock Not yet run
unverified (harvested, no recorded run)
haguettaz/cheblienet/cheblienet/nn/models/chebnets.py
code served (permissive licence) · get_code("3ceeae2d13f78c38")
How it ran

no invocation recorded.

WideResSE2GEChebNet Not yet run
unverified (harvested, no recorded run)
haguettaz/cheblienet/cheblienet/nn/models/chebnets.py
code served (permissive licence) · get_code("a3e7f56632fb335a")
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

We introduce ChebLieNet, a group-equivariant method on (anisotropic) manifolds. Surfing on the success of graph-and group-based neural networks, we take advantage of the recent developments in the geometric deep learning field to derive a new approach to exploit any anisotropies in data. Via discrete approximations of Lie groups, we develop a graph neural network made of anisotropic convolutional layers (Chebyshev convolutions), spatial pooling and unpooling layers, and global pooling layers. Group equivariance is achieved via equivariant and invariant operators on graphs with anisotropic left-invariant Riemannian distance-based affinities encoded on the edges. Thanks to its simple form, the Riemannian metric can model any anisotropies, both in the spatial and orientation domains. This control on anisotropies of the Riemannian metrics allows to balance equivariance (anisotropic metric) against invariance (isotropic metric) of the graph convolution layers. Hence we open the doors to a better understanding of anisotropic properties. Furthermore, we empirically prove the existence of (data-dependent) sweet spots for anisotropic parameters on CIFAR10. This crucial result is evidence of the benefice we could get by exploiting anisotropic properties in data. We also evaluate the scalability of this approach on STL10 (image data) and ClimateNet (spherical data), showing its remarkable adaptability to diverse tasks.

For agents

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

get_harvested_code_for_paper("2111.12139")
get_code_for_paper("2111.12139")
have("2111.12139")

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

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

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

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

Connect an agent — have() is free.