SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2405.06116 · 2024

Rethinking Efficient and Effective Point-based Networks for Event Camera Classification and Regression: EventMamba

arXiv · PDF · Open in the Atlas

Code that ran

5 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; 0 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 5 failures of our instrument; 3 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/2405.06116.json · badge: /api/ran/2405.06116.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
rhwxmx/eventmamba canonical (classifier label)
classifier basis: classifier_2025
5 ran · 3 no recorded run
FunctionStatusWhere it lives
cal_loss Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
rhwxmx/eventmamba/train_classification.py
code served (permissive licence) · get_code("ca8b05abe9056f68")
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 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
import torch.nn as nn

torch.manual_seed(0)

# Create a small dummy model (not actually used in the function body)
class DummyModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear = nn.Linear(4, 3)
    
    def forward(self, x):
        return self.linear(x)

# Create small tensors
batch_size = 2
num_classes = 3
feature_dim = 4

# pred: logits from model, shape (batch_size, num_classes)
pred = torch.randn(batch_size, num_classes)

# gold: target class indices, shape (batch_size,)
gold = torch.randint(0, num_classes, (batch_size,))

# model: a dummy nn.Module instance
model = DummyModel()

ARGS = {
    'pred': pred,
    'gold': gold,
    'model': model,
    'smoothing': 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 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
calculate_error Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
rhwxmx/eventmamba/train_odometry.py
code served (permissive licence) · get_code("c53b1e598da2c666")
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 list, ndim 2, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np
import math

# Create small sample data for pred and gold
# pred and gold are lists of lists of arrays
# Each inner array has shape (6,) with [translation_x, translation_y, translation_z, rotation_x, rotation_y, rotation_z]

batch_size = 2
num_poses = 3
pose_dim = 6

pred = []
gold = []

# Create batch 1
batch_pred_1 = []
batch_gold_1 = []
for _ in range(num_poses):
    batch_pred_1.append(np.random.randn(pose_dim))
    batch_gold_1.append(np.random.randn(pose_dim))
pred.append(batch_pred_1)
gold.append(batch_gold_1)

# Create batch 2
batch_pred_2 = []
batch_gold_2 = []
for _ in range(num_poses):
    batch_pred_2.append(np.random.randn(pose_dim))
    batch_gold_2.append(np.random.randn(pose_dim))
pred.append(batch_pred_2)
gold.append(batch_gold_2)

ARGS = {
    "pred": pred,
    "gold": gold
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 2, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
train Ran
ran; our contract draft was wrong, not the code
rhwxmx/eventmamba/train_odometry.py
code served (permissive licence) · get_code("8258eb088be7a4b9")
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
import torch.nn as nn
import numpy as np

torch.manual_seed(0)

# Define a minimal neural network that satisfies the usage in train()
class MinimalNet(nn.Module):
    def __init__(self):
        super(MinimalNet, self).__init__()
        self.linear = nn.Linear(4, 6)
    
    def forward(self, x):
        # x shape: (batch, 4, num_points) after transpose
        # Output shape should match label shape for criterion
        return self.linear(x.mean(dim=2))

# Define a minimal criterion that accepts (logits, label, net)
class MinimalCriterion(nn.Module):
    def forward(self, logits, label, net):
        # Simple MSE-like loss
        return torch.mean((logits - label) ** 2)

# Create minimal trainloader: list of (data, label) tuples
# data shape: (batch, num_points, 4) before transpose -> (batch, 4, num_points) after
# label shape: (batch, 6)
trainloader = [
    (torch.randn(2, 5, 4), torch.randn(2, 6)),
    (torch.randn(2, 5, 4), torch.randn(2, 6)),
]

# Create model, optimizer, and criterion
net = MinimalNet()
optimizer = torch.optim.SGD(net.parameters(), lr=0.01)
criterion = MinimalCriterion()

# Normalization parameters
mean = np.array([0.0, 0.0, 0.0, 0.0, 0.0, 0.0])
std = np.array([1.0, 1.0, 1.0, 1.0, 1.0, 1.0])

# Device
device = 'cpu'

ARGS = {
    'net': net,
    'trainloader': trainloader,
    'optimizer': optimizer,
    'criterion': criterion,
    'mean': mean,
    'std': std,
    'device': device,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
numpy, 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
validate Ran
ran; our contract draft was wrong, not the code
rhwxmx/eventmamba/train_classification.py
code served (permissive licence) · get_code("efa0099dfe3e35ee")
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
import torch.nn as nn
import numpy as np

torch.manual_seed(0)

# Define a minimal model that satisfies the function's usage
class MinimalNet(nn.Module):
    def __init__(self):
        super(MinimalNet, self).__init__()
        self.fc = nn.Linear(4, 3)  # 4 input features, 3 classes
    
    def forward(self, x):
        # x shape: (batch, 4, seq_len) after permute in validate
        # We need to output logits of shape (batch, num_classes)
        x = x.mean(dim=2)  # Average over sequence dimension
        return self.fc(x)

# Define a minimal criterion that accepts (logits, label, net)
class MinimalCriterion(nn.Module):
    def __init__(self):
        super(MinimalCriterion, self).__init__()
        self.ce = nn.CrossEntropyLoss()
    
    def forward(self, logits, label, net):
        return self.ce(logits, label)

# Create test data loader: list of (data, label) tuples
# data shape: (batch_size, seq_len, features) - will be permuted to (batch, features, seq_len)
testloader = [
    (torch.randn(2, 5, 4), torch.randint(0, 3, (2, 1))),
    (torch.randn(2, 5, 4), torch.randint(0, 3, (2, 1))),
]

# Create model and criterion
net = MinimalNet()
criterion = MinimalCriterion()

# Device (CPU only)
device = 'cpu'

# mark_test: optional sequence of labels for marking test segments
mark_test = None

# args: minimal config object
class Args:
    pass

args = Args()

ARGS = {
    'net': net,
    'testloader': testloader,
    'criterion': criterion,
    'device': device,
    'mark_test': mark_test,
    'args': args
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
numpy, sklearn, 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
validate Ran
ran; our contract draft was wrong, not the code
rhwxmx/eventmamba/train_odometry.py
code served (permissive licence) · get_code("96829ace4918336c")
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
import torch.nn as nn
import numpy as np

torch.manual_seed(0)

# Build a minimal nn.Module that satisfies how validate() uses it
class MinimalNet(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear = nn.Linear(3, 6)  # Input: 3 dims, Output: 6 (3 translation + 3 rotation)
    
    def forward(self, x):
        # x shape: (batch, 3, num_points) after permute in validate
        # We need to output shape (batch, 6)
        x = x.mean(dim=2)  # Average over points
        return self.linear(x)

# Create a minimal net
net = MinimalNet()

# Create test data loader: list of (data, label) tuples
# data shape: (batch_size, num_points, 3) before permute
# label shape: (batch_size, num_poses, 6) where 6 = [tx, ty, tz, rx, ry, rz]
testloader = [
    (
        torch.randn(2, 4, 3),  # batch_size=2, num_points=4, features=3
        torch.randn(2, 1, 6)   # batch_size=2, num_poses=1, pose_dim=6
    ),
    (
        torch.randn(2, 4, 3),
        torch.randn(2, 1, 6)
    )
]

# Criterion (not actually used in validate, but required parameter)
criterion = nn.MSELoss()

# Mean and std for denormalization
mean = np.array([0.0, 0.0, 0.0, 0.0, 0.0, 0.0])
std = np.array([1.0, 1.0, 1.0, 0.1, 0.1, 0.1])

# Device
device = 'cpu'

ARGS = {
    'net': net,
    'testloader': testloader,
    'criterion': criterion,
    'mean': mean,
    'std': std,
    'device': device
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
numpy, 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
train Not yet run
unverified (harvested, no recorded run)
rhwxmx/eventmamba/train_classification.py
code served (permissive licence) · get_code("ab7bba51098087da")
How it ran

no invocation recorded.

train Not yet run
unverified (harvested, no recorded run)
rhwxmx/eventmamba/train_eye_tracking.py
code served (permissive licence) · get_code("fbacca83bf132d97")
How it ran

no invocation recorded.

validate Not yet run
unverified (harvested, no recorded run)
rhwxmx/eventmamba/train_eye_tracking.py
code served (permissive licence) · get_code("9c3f4d0aa7f55d7f")
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, 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 8 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

Event cameras draw inspiration from biological systems, boasting low latency and high dynamic range while consuming minimal power. The most current approach to processing Event Cloud often involves converting it into frame-based representations, which neglects the sparsity of events, loses fine-grained temporal information, and increases the computational burden. In contrast, Point Cloud is a popular representation for processing 3-dimensional data and serves as an alternative method to exploit local and global spatial features. Nevertheless, previous point-based methods show an unsatisfactory performance compared to the frame-based method in dealing with spatio-temporal event streams. In order to bridge the gap, we propose EventMamba, an efficient and effective framework based on Point Cloud representation by rethinking the distinction between Event Cloud and Point Cloud, emphasizing vital temporal information. The Event Cloud is subsequently fed into a hierarchical structure with staged modules to process both implicit and explicit temporal features. Specifically, we redesign the global extractor to enhance explicit temporal extraction among a long sequence of events with temporal aggregation and State Space Model (SSM) based Mamba. Our model consumes minimal computational resources in the experiments and still exhibits SOTA point-based performance on six different scales of action recognition datasets. It even outperformed all frame-based methods on both Camera Pose Relocalization (CPR) and eye-tracking regression tasks. Our code is available at: https://github.com/rhwxmx/EventMamba.

For agents

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

get_harvested_code_for_paper("2405.06116")
get_code_for_paper("2405.06116")
have("2405.06116")

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

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

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

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

Connect an agent — have() is free.