SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2507.01723 · ICML · 2025

SE(3)-Equivariant Diffusion Policy in Spherical Fourier Space

Robin Walters, Fan Wang, Xupeng Zhu, Jane Shi

arXiv · PDF · Open in the Atlas

Code that ran

7 of 14 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (6 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 6 have no contract verdict; 0 failures of our instrument; 7 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/2507.01723.json · badge: /api/ran/2507.01723.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
amazon-science/Spherical_Diffusion_Policy marked official in Papers with Code
Papers with Code archive
7 ran · 7 no recorded run
FunctionStatusWhere it lives
CoefficientMappingModule Ran
ran on a synthesized input · constructed an object; no result was computed
amazon-science/Spherical_Diffusion_Policy/sdp/model/equivariant_diffusion/irreps_conditional_unet1d.py
code served (permissive licence) · get_code("bd7665c6ec3fdf17")
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 an instance of its own class, CoefficientMappingModule: the run constructed the object and did not call it, so no result was computed. 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 math

torch.manual_seed(0)

# The CoefficientMappingModule constructor takes:
# - lmax_list: list of maximum degrees of spherical harmonics
# - mmax_list: list of maximum orders of spherical harmonics

# These should be lists of integers with the same length (num_resolutions)
# Let's create small but realistic values

ARGS = {
    'lmax_list': [2, 3],  # Two resolutions with lmax values 2 and 3
    'mmax_list': [1, 2],  # Two resolutions with mmax values 1 and 2
}
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 CoefficientMappingModule — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a CoefficientMappingModule 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
EquivariantLayerNormArray Ran
ran on a synthesized input · constructed an object; no result was computed
amazon-science/Spherical_Diffusion_Policy/sdp/model/equivariant_diffusion/irreps_conditional_unet1d.py
code served (permissive licence) · get_code("f43a7afa13f20c0c")
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 an instance of its own class, EquivariantLayerNormArray: the run constructed the object and did not call it, so no result was computed. 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 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)

# Analyze the function:
# - __init__ takes: lmax, num_channels, eps, affine, normalization
# - forward expects input of shape [N, sphere_basis, C]
# - sphere_basis must be at least (lmax+1)^2 based on the indexing
# - The function normalizes by l values from 0 to lmax

lmax = 2
num_channels = 3
eps = 1e-5
affine = True
normalization = 'component'

ARGS = {
    'lmax': lmax,
    'num_channels': num_channels,
    'eps': eps,
    'affine': affine,
    'normalization': normalization
}
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 EquivariantLayerNormArray — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a EquivariantLayerNormArray 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
EquivariantLayerNormArraySphericalHarmonics Ran
ran on a synthesized input · constructed an object; no result was computed
amazon-science/Spherical_Diffusion_Policy/sdp/model/equivariant_diffusion/irreps_conditional_unet1d.py
code served (permissive licence) · get_code("7396c5f691aa5a6f")
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 an instance of its own class, EquivariantLayerNormArraySphericalHarmonics: the run constructed the object and did not call it, so no result was computed. 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 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)

class EquivariantLayerNormArraySphericalHarmonics(nn.Module):
    """
        1. Normalize over L = 0.
        2. Normalize across all m components from degrees L > 0.
        3. Do not normalize separately for different L (L > 0).
    """

    def __init__(self, lmax, num_channels, eps=1e-05, affine=True, normalization='component', std_balance_degrees=True):
        super().__init__()
        self.lmax = lmax
        self.num_channels = num_channels
        self.eps = eps
        self.affine = affine
        self.std_balance_degrees = std_balance_degrees
        self.norm_l0 = torch.nn.LayerNorm(self.num_channels, eps=self.eps, elementwise_affine=self.affine)
        if self.affine:
            self.affine_weight = nn.Parameter(torch.ones(self.lmax, self.num_channels))
        else:
            self.register_parameter('affine_weight', None)
        assert normalization in ['norm', 'component']
        self.normalization = normalization
        if self.std_balance_degrees:
            balance_degree_weight = torch.zeros((self.lmax + 1) ** 2 - 1, 1)
            for l in range(1, self.lmax + 1):
                start_idx = l ** 2 - 1
                length = 2 * l + 1
                balance_degree_weight[start_idx:start_idx + length, :] = 1.0 / length
            balance_degree_weight = balance_degree_weight / self.lmax
            self.register_buffer('balance_degree_weight', balance_degree_weight)
        else:
            self.balance_degree_weight = None

    def __repr__(self):
        return f'{self.__class__.__name__}(lmax={self.lmax}, num_channels={self.num_channels}, eps={self.eps}, std_balance_degrees={self.std_balance_degrees})'

    @torch.cuda.amp.autocast(enabled=False)
    def forward(self, node_input):
        """
            Assume input is of shape [N, sphere_basis, C]
        """
        out = []
        feature = node_input.narrow(1, 0, 1)
        feature = self.norm_l0(feature)
        out.append(feature)
        if self.lmax > 0:
            num_m_components = (self.lmax + 1) ** 2
            feature = node_input.narrow(1, 1, num_m_components - 1)
            if self.normalization == 'norm':
                feature_norm = feature.pow(2).sum(dim=1, keepdim=True)
            elif self.normalization == 'component':
                if self.std_balance_degrees:
                    feature_norm = feature.pow(2)
                    feature_norm = torch.einsum('nic, ia -> nac', feature_norm, self.balance_degree_weight)
                else:
                    feature_norm = feature.pow(2).mean(dim=1, keepdim=True)
            feature_norm = torch.mean(feature_norm, dim=2, keepdim=True)
            feature_norm = (feature_norm + self.eps).pow(-0.5)
            for l in range(1, self.lmax + 1):
                start_idx = l ** 2
                length = 2 * l + 1
                feature = node_input.narrow(1, start_idx, length)
                if self.affine:
                    weight = self.affine_weight.narrow(0, l - 1, 1)
                    weight = weight.view(1, 1, -1)
                    feature_scale = feature_norm * weight
                else:
                    feature_scale = feature_norm
                feature = feature * feature_scale
                out.append(feature)
        out = torch.cat(out, dim=1)
        return out


lmax = 2
num_channels = 4
sphere_basis = (lmax + 1) ** 2
batch_size = 2

node_input = torch.randn(batch_size, sphere_basis, num_channels)

ARGS = {
    'lmax': lmax,
    'num_channels': num_channels,
    'eps': 1e-05,
    'affine': True,
    'normalization': 'component',
    'std_balance_degrees': True,
}

if __name__ == '__main__':
    model = EquivariantLayerNormArraySphericalHarmonics(**ARGS)
    output = model(node_input)
    print(f"Input shape: {node_input.shape}")
    print(f"Output shape: {output.shape}")
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 EquivariantLayerNormArraySphericalHarmonics — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a EquivariantLayerNormArraySphericalHarmonics 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
EquivariantRMSNormArraySphericalHarmonicsV2 Ran
ran on a synthesized input · constructed an object; no result was computed
amazon-science/Spherical_Diffusion_Policy/sdp/model/equivariant_diffusion/irreps_conditional_unet1d.py
code served (permissive licence) · get_code("a78274f2ca486503")
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 an instance of its own class, EquivariantRMSNormArraySphericalHarmonicsV2: the run constructed the object and did not call it, so no result was computed. 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 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)

ARGS = {
    'lmax': 3,
    'num_channels': 4,
    'eps': 1e-05,
    'affine': True,
    'normalization': 'component',
    'centering': True,
    'std_balance_degrees': 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 EquivariantRMSNormArraySphericalHarmonicsV2 — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a EquivariantRMSNormArraySphericalHarmonicsV2 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
IrrepLinear Ran
ran on a synthesized input · constructed an object; no result was computed
amazon-science/Spherical_Diffusion_Policy/sdp/model/equivariant_diffusion/irreps_conditional_unet1d.py
code served (permissive licence) · get_code("01079c06cf6d2ff6")
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 an instance of its own class, IrrepLinear: the run constructed the object and did not call it, so no result was computed. 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 einops
import math

torch.manual_seed(0)

# Inspect the forward method to understand tensor shapes
# - input: 'b (i m) n -> b m (i n)' where i=in_features
#   So input shape must be (batch, in_features * m, n)
#   After rearrange: (batch, m, in_features * n)
# - weight after index_select: (lmax+1)^2 x out_features x in_features
# - einsum 'bmi, moi -> bmo': (batch, m, in_features*n) x (m, out_features, in_features) -> (batch, m, out_features)
#   Wait, that doesn't match. Let me re-read.
# - Actually einsum is 'bmi, moi -> bmo' where:
#   b=batch, m=(lmax+1)^2, i=in_features, o=out_features
# - So input after rearrange should be (batch, (lmax+1)^2, in_features * n)
#   weight is ((lmax+1)^2, out_features, in_features)
# - einsum 'bmi, moi -> bmo' gives (batch, (lmax+1)^2, out_features)
# - final rearrange 'b (m n) o -> b (o m) n' with n=1:
#   input shape (batch, (lmax+1)^2, out_features) -> (batch, out_features * (lmax+1)^2, 1)

# Let me work backwards from input requirements
# input shape for rearrange 'b (i m) n -> b m (i n)' with i=in_features
# If lmax=2, then after rearrange we get (batch, m, in_features*n)
# and weight is ((lmax+1)^2, out_features, in_features) = (9, out_features, in_features)
# So m should equal (lmax+1)^2

# Let's use small values
batch_size = 2
in_features = 4
out_features = 3
lmax = 1  # so (lmax+1)^2 = 4

# For input 'b (i m) n -> b m (i n)' with i=in_features
# We need input shape (batch, in_features * m, n)
# where m = (lmax+1)^2
m = (lmax + 1) ** 2  # = 4
n = 5

# So input should be (batch, in_features * m, n) = (2, 4*4, 5) = (2, 16, 5)
input_tensor = torch.randn(batch_size, in_features * m, n)

ARGS = {
    'in_features': in_features,
    'out_features': out_features,
    'lmax': lmax,
    'bias': True,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
einops, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type IrrepLinear — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a IrrepLinear 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
ModuleListInfo Ran
ran on a synthesized input · constructed an object; no result was computed
amazon-science/Spherical_Diffusion_Policy/sdp/model/equivariant_diffusion/irreps_conditional_unet1d.py
code served (permissive licence) · get_code("d468bb391f0775e4")
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 an instance of its own class, ModuleListInfo: the run constructed the object and did not call it, so no result was computed. 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 torch.nn as nn

torch.manual_seed(0)

# The ModuleListInfo.__init__ takes:
# 1. info_str: a string
# 2. modules: optional, can be None or an iterable of nn.Module instances

# Build some small modules for the modules parameter
module1 = nn.Linear(4, 3)
module2 = nn.ReLU()
module3 = nn.Linear(3, 2)

modules_list = [module1, module2, module3]

ARGS = {
    "info_str": "Custom Module List Info",
    "modules": modules_list
}
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 ModuleListInfo — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a ModuleListInfo output the recorded ndim 1 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
get_l_to_all_m_expand_index Ran
ran, honoured the contract we drafted
amazon-science/Spherical_Diffusion_Policy/sdp/model/equivariant_diffusion/irreps_conditional_unet1d.py
code served (permissive licence) · get_code("d4c1ba3933fbb7ac")
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 int, shape (16,) 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 takes a single parameter: lmax
# It constructs a tensor of size (lmax + 1)^2 and fills it with l values
# based on the range of m values for each l quantum number

ARGS = {
    "lmax": 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 Tensor, ndim 1, dtype family int, shape (16,) — shape (16,) 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
IrrepConditionalResidualBlock1D Not yet run
unverified (harvested, no recorded run)
amazon-science/Spherical_Diffusion_Policy/sdp/model/equivariant_diffusion/irreps_conditional_unet1d.py
code served (permissive licence) · get_code("eded0b18d7e7bdb2")
How it ran

no invocation recorded.

IrrepConditionalUnet1D Not yet run
unverified (harvested, no recorded run)
amazon-science/Spherical_Diffusion_Policy/sdp/model/equivariant_diffusion/irreps_conditional_unet1d.py
code served (permissive licence) · get_code("df2e4466781e066a")
How it ran

no invocation recorded.

IrrepConv1dBlock Not yet run
unverified (harvested, no recorded run)
amazon-science/Spherical_Diffusion_Policy/sdp/model/equivariant_diffusion/irreps_conditional_unet1d.py
code served (permissive licence) · get_code("ff6c9db8e5c32a09")
How it ran

no invocation recorded.

S2Activation Not yet run
unverified (harvested, no recorded run)
amazon-science/Spherical_Diffusion_Policy/sdp/model/equivariant_diffusion/irreps_conditional_unet1d.py
code served (permissive licence) · get_code("240fb4690bd2baa4")
How it ran

no invocation recorded.

SO3_Grid Not yet run
unverified (harvested, no recorded run)
amazon-science/Spherical_Diffusion_Policy/sdp/model/equivariant_diffusion/irreps_conditional_unet1d.py
code served (permissive licence) · get_code("3f45cce7d71e0c40")
How it ran

no invocation recorded.

SeparableS2Activation Not yet run
unverified (harvested, no recorded run)
amazon-science/Spherical_Diffusion_Policy/sdp/model/equivariant_diffusion/irreps_conditional_unet1d.py
code served (permissive licence) · get_code("640b1491e4993029")
How it ran

no invocation recorded.

get_normalization_layer Not yet run
unverified (harvested, no recorded run)
amazon-science/Spherical_Diffusion_Policy/sdp/model/equivariant_diffusion/irreps_conditional_unet1d.py
code served (permissive licence) · get_code("f7554c4575963d16")
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, 2 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 0 the same month, 0 later) and 12 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
get_l_to_all_m_expand_index
brick of this paper's assembly: helper
2 other papers
2 dated earlier
2306.12059 (2023-06)
EquiformerV2: Improved Equivariant Transformer for Scaling to Higher-Degree Representations
2410.12771 (2024-10)
Open Materials 2024 (OMat24) Inorganic Materials Dataset and Models
get_normalization_layer
brick of this paper's assembly: helper
1 other paper
1 dated earlier
2306.12059 (2023-06)
EquiformerV2: Improved Equivariant Transformer for Scaling to Higher-Degree Representations

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

Diffusion Policies are effective at learning closed-loop manipulation policies from human demonstrations but generalize poorly to novel arrangements of objects in 3D space, hurting real-world performance. To address this issue, we propose Spherical Diffusion Policy (SDP), an SE(3) equivariant diffusion policy that adapts trajectories according to 3D transformations of the scene. Such equivariance is achieved by embedding the states, actions, and the denoising process in spherical Fourier space. Additionally, we employ novel spherical FiLM layers to condition the action denoising process equivariantly on the scene embeddings. Lastly, we propose a spherical denoising temporal U-net that achieves spatiotemporal equivariance with computational efficiency. In the end, SDP is end-to-end SE(3) equivariant, allowing robust generalization across transformed 3D scenes. SDP demonstrates a large performance improvement over strong baselines in 20 simulation tasks and 5 physical robot tasks including single-arm and bi-manual embodiments. Code is available at https: //github.com/amazon-science/ Spherical_Diffusion_Policy.

For agents

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

get_harvested_code_for_paper("2507.01723")
get_code_for_paper("2507.01723")
have("2507.01723")

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

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

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

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

Connect an agent — have() is free.